All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.parrot.drone.groundsdk.protobuf.TrackingProposalMetadataKt.kt Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: vmeta.proto

// Generated files should ignore deprecation warnings
@file:Suppress("DEPRECATION")
package com.parrot.drone.groundsdk.protobuf;

@kotlin.jvm.JvmName("-initializetrackingProposalMetadata")
public inline fun trackingProposalMetadata(block: com.parrot.drone.groundsdk.protobuf.TrackingProposalMetadataKt.Dsl.() -> kotlin.Unit): com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata =
  com.parrot.drone.groundsdk.protobuf.TrackingProposalMetadataKt.Dsl._create(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata.newBuilder()).apply { block() }._build()
/**
 * Protobuf type `vmeta.TrackingProposalMetadata`
 */
public object TrackingProposalMetadataKt {
  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
  @com.google.protobuf.kotlin.ProtoDslMarker
  public class Dsl private constructor(
    private val _builder: com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata = _builder.build()

    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    public class ProposalsProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * ```
     * List of proposed bounding boxes 
     * ```
     *
     * `repeated .vmeta.BoundingBox proposals = 1;`
     */
     public val proposals: com.google.protobuf.kotlin.DslList
      @kotlin.jvm.JvmSynthetic
      get() = com.google.protobuf.kotlin.DslList(
        _builder.getProposalsList()
      )
    /**
     * ```
     * List of proposed bounding boxes 
     * ```
     *
     * `repeated .vmeta.BoundingBox proposals = 1;`
     * @param value The proposals to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addProposals")
    public fun com.google.protobuf.kotlin.DslList.add(value: com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox) {
      _builder.addProposals(value)
    }
    /**
     * ```
     * List of proposed bounding boxes 
     * ```
     *
     * `repeated .vmeta.BoundingBox proposals = 1;`
     * @param value The proposals to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignProposals")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox) {
      add(value)
    }
    /**
     * ```
     * List of proposed bounding boxes 
     * ```
     *
     * `repeated .vmeta.BoundingBox proposals = 1;`
     * @param values The proposals to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addAllProposals")
    public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
      _builder.addAllProposals(values)
    }
    /**
     * ```
     * List of proposed bounding boxes 
     * ```
     *
     * `repeated .vmeta.BoundingBox proposals = 1;`
     * @param values The proposals to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignAllProposals")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
      addAll(values)
    }
    /**
     * ```
     * List of proposed bounding boxes 
     * ```
     *
     * `repeated .vmeta.BoundingBox proposals = 1;`
     * @param index The index to set the value at.
     * @param value The proposals to set.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("setProposals")
    public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.parrot.drone.groundsdk.protobuf.VideoMetadata.BoundingBox) {
      _builder.setProposals(index, value)
    }
    /**
     * ```
     * List of proposed bounding boxes 
     * ```
     *
     * `repeated .vmeta.BoundingBox proposals = 1;`
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("clearProposals")
    public fun com.google.protobuf.kotlin.DslList.clear() {
      _builder.clearProposals()
    }


    /**
     * ```
     * Processed frame capture timestamp (us, monotonic)
     * note: may be different from the timestamp in CameraMetadata 
     * ```
     *
     * `uint64 timestamp = 2;`
     */
    public var timestamp: kotlin.Long
      @JvmName("getTimestamp")
      get() = _builder.getTimestamp()
      @JvmName("setTimestamp")
      set(value) {
        _builder.setTimestamp(value)
      }
    /**
     * ```
     * Processed frame capture timestamp (us, monotonic)
     * note: may be different from the timestamp in CameraMetadata 
     * ```
     *
     * `uint64 timestamp = 2;`
     */
    public fun clearTimestamp() {
      _builder.clearTimestamp()
    }
  }
}
@kotlin.jvm.JvmSynthetic
public inline fun com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata.copy(block: com.parrot.drone.groundsdk.protobuf.TrackingProposalMetadataKt.Dsl.() -> kotlin.Unit): com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata =
  com.parrot.drone.groundsdk.protobuf.TrackingProposalMetadataKt.Dsl._create(this.toBuilder()).apply { block() }._build()





© 2015 - 2024 Weber Informatics LLC | Privacy Policy