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

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

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

    /**
     * ```
     * Type of link 
     * ```
     *
     * `.vmeta.LinkType type = 1;`
     */
    public var type: com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkType
      @JvmName("getType")
      get() = _builder.getType()
      @JvmName("setType")
      set(value) {
        _builder.setType(value)
      }
    public var typeValue: kotlin.Int
      @JvmName("getTypeValue")
      get() = _builder.getTypeValue()
      @JvmName("setTypeValue")
      set(value) {
        _builder.setTypeValue(value)
      }
    /**
     * ```
     * Type of link 
     * ```
     *
     * `.vmeta.LinkType type = 1;`
     */
    public fun clearType() {
      _builder.clearType()
    }

    /**
     * ```
     * Link status 
     * ```
     *
     * `.vmeta.LinkStatus status = 2;`
     */
    public var status: com.parrot.drone.groundsdk.protobuf.VideoMetadata.LinkStatus
      @JvmName("getStatus")
      get() = _builder.getStatus()
      @JvmName("setStatus")
      set(value) {
        _builder.setStatus(value)
      }
    public var statusValue: kotlin.Int
      @JvmName("getStatusValue")
      get() = _builder.getStatusValue()
      @JvmName("setStatusValue")
      set(value) {
        _builder.setStatusValue(value)
      }
    /**
     * ```
     * Link status 
     * ```
     *
     * `.vmeta.LinkStatus status = 2;`
     */
    public fun clearStatus() {
      _builder.clearStatus()
    }

    /**
     * ```
     * Link quality indication: 1 (lower) to 5 (better),
     * 0 if not available 
     * ```
     *
     * `int32 quality = 3;`
     */
    public var quality: kotlin.Int
      @JvmName("getQuality")
      get() = _builder.getQuality()
      @JvmName("setQuality")
      set(value) {
        _builder.setQuality(value)
      }
    /**
     * ```
     * Link quality indication: 1 (lower) to 5 (better),
     * 0 if not available 
     * ```
     *
     * `int32 quality = 3;`
     */
    public fun clearQuality() {
      _builder.clearQuality()
    }

    /**
     * ```
     * Link active status 
     * ```
     *
     * `bool active = 4;`
     */
    public var active: kotlin.Boolean
      @JvmName("getActive")
      get() = _builder.getActive()
      @JvmName("setActive")
      set(value) {
        _builder.setActive(value)
      }
    /**
     * ```
     * Link active status 
     * ```
     *
     * `bool active = 4;`
     */
    public fun clearActive() {
      _builder.clearActive()
    }
  }
}
@kotlin.jvm.JvmSynthetic
public inline fun com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo.copy(block: com.parrot.drone.groundsdk.protobuf.StarfishLinkInfoKt.Dsl.() -> kotlin.Unit): com.parrot.drone.groundsdk.protobuf.VideoMetadata.StarfishLinkInfo =
  com.parrot.drone.groundsdk.protobuf.StarfishLinkInfoKt.Dsl._create(this.toBuilder()).apply { block() }._build()





© 2015 - 2024 Weber Informatics LLC | Privacy Policy