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

kotlin.com.parrot.drone.groundsdk.protobuf.TimedMetadataKt.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("-initializetimedMetadata")
public inline fun timedMetadata(block: com.parrot.drone.groundsdk.protobuf.TimedMetadataKt.Dsl.() -> kotlin.Unit): com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata =
  com.parrot.drone.groundsdk.protobuf.TimedMetadataKt.Dsl._create(com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata.newBuilder()).apply { block() }._build()
/**
 * Protobuf type `vmeta.TimedMetadata`
 */
public object TimedMetadataKt {
  @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.TimedMetadata.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata.Builder): Dsl = Dsl(builder)
    }

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

    /**
     * ```
     * Drone-related metadata 
     * ```
     *
     * `.vmeta.DroneMetadata drone = 1;`
     */
    public var drone: com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata
      @JvmName("getDrone")
      get() = _builder.getDrone()
      @JvmName("setDrone")
      set(value) {
        _builder.setDrone(value)
      }
    /**
     * ```
     * Drone-related metadata 
     * ```
     *
     * `.vmeta.DroneMetadata drone = 1;`
     */
    public fun clearDrone() {
      _builder.clearDrone()
    }
    /**
     * ```
     * Drone-related metadata 
     * ```
     *
     * `.vmeta.DroneMetadata drone = 1;`
     * @return Whether the drone field is set.
     */
    public fun hasDrone(): kotlin.Boolean {
      return _builder.hasDrone()
    }

    /**
     * ```
     * Camera-related metadata 
     * ```
     *
     * `.vmeta.CameraMetadata camera = 2;`
     */
    public var camera: com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata
      @JvmName("getCamera")
      get() = _builder.getCamera()
      @JvmName("setCamera")
      set(value) {
        _builder.setCamera(value)
      }
    /**
     * ```
     * Camera-related metadata 
     * ```
     *
     * `.vmeta.CameraMetadata camera = 2;`
     */
    public fun clearCamera() {
      _builder.clearCamera()
    }
    /**
     * ```
     * Camera-related metadata 
     * ```
     *
     * `.vmeta.CameraMetadata camera = 2;`
     * @return Whether the camera field is set.
     */
    public fun hasCamera(): kotlin.Boolean {
      return _builder.hasCamera()
    }

    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    public class LinksProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * ```
     * Link-related metadata, one per available link 
     * ```
     *
     * `repeated .vmeta.LinkMetadata links = 3;`
     */
     public val links: com.google.protobuf.kotlin.DslList
      @kotlin.jvm.JvmSynthetic
      get() = com.google.protobuf.kotlin.DslList(
        _builder.getLinksList()
      )
    /**
     * ```
     * Link-related metadata, one per available link 
     * ```
     *
     * `repeated .vmeta.LinkMetadata links = 3;`
     * @param value The links to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addLinks")
    public fun com.google.protobuf.kotlin.DslList.add(value: com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata) {
      _builder.addLinks(value)
    }
    /**
     * ```
     * Link-related metadata, one per available link 
     * ```
     *
     * `repeated .vmeta.LinkMetadata links = 3;`
     * @param value The links to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignLinks")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata) {
      add(value)
    }
    /**
     * ```
     * Link-related metadata, one per available link 
     * ```
     *
     * `repeated .vmeta.LinkMetadata links = 3;`
     * @param values The links to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addAllLinks")
    public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
      _builder.addAllLinks(values)
    }
    /**
     * ```
     * Link-related metadata, one per available link 
     * ```
     *
     * `repeated .vmeta.LinkMetadata links = 3;`
     * @param values The links to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignAllLinks")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
      addAll(values)
    }
    /**
     * ```
     * Link-related metadata, one per available link 
     * ```
     *
     * `repeated .vmeta.LinkMetadata links = 3;`
     * @param index The index to set the value at.
     * @param value The links to set.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("setLinks")
    public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkMetadata) {
      _builder.setLinks(index, value)
    }
    /**
     * ```
     * Link-related metadata, one per available link 
     * ```
     *
     * `repeated .vmeta.LinkMetadata links = 3;`
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("clearLinks")
    public fun com.google.protobuf.kotlin.DslList.clear() {
      _builder.clearLinks()
    }


    /**
     * ```
     * Tracking metadata 
     * ```
     *
     * `.vmeta.TrackingMetadata tracking = 4;`
     */
    public var tracking: com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata
      @JvmName("getTracking")
      get() = _builder.getTracking()
      @JvmName("setTracking")
      set(value) {
        _builder.setTracking(value)
      }
    /**
     * ```
     * Tracking metadata 
     * ```
     *
     * `.vmeta.TrackingMetadata tracking = 4;`
     */
    public fun clearTracking() {
      _builder.clearTracking()
    }
    /**
     * ```
     * Tracking metadata 
     * ```
     *
     * `.vmeta.TrackingMetadata tracking = 4;`
     * @return Whether the tracking field is set.
     */
    public fun hasTracking(): kotlin.Boolean {
      return _builder.hasTracking()
    }

    /**
     * ```
     * Tracking proposal metadata 
     * ```
     *
     * `.vmeta.TrackingProposalMetadata proposal = 5;`
     */
    public var proposal: com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata
      @JvmName("getProposal")
      get() = _builder.getProposal()
      @JvmName("setProposal")
      set(value) {
        _builder.setProposal(value)
      }
    /**
     * ```
     * Tracking proposal metadata 
     * ```
     *
     * `.vmeta.TrackingProposalMetadata proposal = 5;`
     */
    public fun clearProposal() {
      _builder.clearProposal()
    }
    /**
     * ```
     * Tracking proposal metadata 
     * ```
     *
     * `.vmeta.TrackingProposalMetadata proposal = 5;`
     * @return Whether the proposal field is set.
     */
    public fun hasProposal(): kotlin.Boolean {
      return _builder.hasProposal()
    }

    /**
     * ```
     * Automation metadata 
     * ```
     *
     * `.vmeta.AutomationMetadata automation = 6;`
     */
    public var automation: com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata
      @JvmName("getAutomation")
      get() = _builder.getAutomation()
      @JvmName("setAutomation")
      set(value) {
        _builder.setAutomation(value)
      }
    /**
     * ```
     * Automation metadata 
     * ```
     *
     * `.vmeta.AutomationMetadata automation = 6;`
     */
    public fun clearAutomation() {
      _builder.clearAutomation()
    }
    /**
     * ```
     * Automation metadata 
     * ```
     *
     * `.vmeta.AutomationMetadata automation = 6;`
     * @return Whether the automation field is set.
     */
    public fun hasAutomation(): kotlin.Boolean {
      return _builder.hasAutomation()
    }

    /**
     * ```
     * Thermal metadata 
     * ```
     *
     * `.vmeta.ThermalMetadata thermal = 7;`
     */
    public var thermal: com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata
      @JvmName("getThermal")
      get() = _builder.getThermal()
      @JvmName("setThermal")
      set(value) {
        _builder.setThermal(value)
      }
    /**
     * ```
     * Thermal metadata 
     * ```
     *
     * `.vmeta.ThermalMetadata thermal = 7;`
     */
    public fun clearThermal() {
      _builder.clearThermal()
    }
    /**
     * ```
     * Thermal metadata 
     * ```
     *
     * `.vmeta.ThermalMetadata thermal = 7;`
     * @return Whether the thermal field is set.
     */
    public fun hasThermal(): kotlin.Boolean {
      return _builder.hasThermal()
    }

    /**
     * ```
     * Location From Image Coordinates (LFIC) metadata 
     * ```
     *
     * `.vmeta.LFICMetadata lfic = 8;`
     */
    public var lfic: com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata
      @JvmName("getLfic")
      get() = _builder.getLfic()
      @JvmName("setLfic")
      set(value) {
        _builder.setLfic(value)
      }
    /**
     * ```
     * Location From Image Coordinates (LFIC) metadata 
     * ```
     *
     * `.vmeta.LFICMetadata lfic = 8;`
     */
    public fun clearLfic() {
      _builder.clearLfic()
    }
    /**
     * ```
     * Location From Image Coordinates (LFIC) metadata 
     * ```
     *
     * `.vmeta.LFICMetadata lfic = 8;`
     * @return Whether the lfic field is set.
     */
    public fun hasLfic(): kotlin.Boolean {
      return _builder.hasLfic()
    }
  }
}
@kotlin.jvm.JvmSynthetic
public inline fun com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata.copy(block: com.parrot.drone.groundsdk.protobuf.TimedMetadataKt.Dsl.() -> kotlin.Unit): com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadata =
  com.parrot.drone.groundsdk.protobuf.TimedMetadataKt.Dsl._create(this.toBuilder()).apply { block() }._build()

public val com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadataOrBuilder.droneOrNull: com.parrot.drone.groundsdk.protobuf.VideoMetadata.DroneMetadata?
  get() = if (hasDrone()) getDrone() else null

public val com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadataOrBuilder.cameraOrNull: com.parrot.drone.groundsdk.protobuf.VideoMetadata.CameraMetadata?
  get() = if (hasCamera()) getCamera() else null

public val com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadataOrBuilder.trackingOrNull: com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingMetadata?
  get() = if (hasTracking()) getTracking() else null

public val com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadataOrBuilder.proposalOrNull: com.parrot.drone.groundsdk.protobuf.VideoMetadata.TrackingProposalMetadata?
  get() = if (hasProposal()) getProposal() else null

public val com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadataOrBuilder.automationOrNull: com.parrot.drone.groundsdk.protobuf.VideoMetadata.AutomationMetadata?
  get() = if (hasAutomation()) getAutomation() else null

public val com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadataOrBuilder.thermalOrNull: com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata?
  get() = if (hasThermal()) getThermal() else null

public val com.parrot.drone.groundsdk.protobuf.VideoMetadata.TimedMetadataOrBuilder.lficOrNull: com.parrot.drone.groundsdk.protobuf.VideoMetadata.LFICMetadata?
  get() = if (hasLfic()) getLfic() else null





© 2015 - 2024 Weber Informatics LLC | Privacy Policy