kotlin.com.parrot.drone.groundsdk.protobuf.WifiLinkMetadataKt.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of video-metadata Show documentation
Show all versions of video-metadata Show documentation
video-metadata module is part of Parrot Ground SDK for Android
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("-initializewifiLinkMetadata")
public inline fun wifiLinkMetadata(block: com.parrot.drone.groundsdk.protobuf.WifiLinkMetadataKt.Dsl.() -> kotlin.Unit): com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata =
com.parrot.drone.groundsdk.protobuf.WifiLinkMetadataKt.Dsl._create(com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata.newBuilder()).apply { block() }._build()
/**
* Protobuf type `vmeta.WifiLinkMetadata`
*/
public object WifiLinkMetadataKt {
@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.WifiLinkMetadata.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata = _builder.build()
/**
* ```
* Wifi link goodput (throughput estimation) (kbit/s)
* ```
*
* `uint32 goodput = 1;`
*/
public var goodput: kotlin.Int
@JvmName("getGoodput")
get() = _builder.getGoodput()
@JvmName("setGoodput")
set(value) {
_builder.setGoodput(value)
}
/**
* ```
* Wifi link goodput (throughput estimation) (kbit/s)
* ```
*
* `uint32 goodput = 1;`
*/
public fun clearGoodput() {
_builder.clearGoodput()
}
/**
* ```
* Wifi link quality ([0; 5], 0 is worst, 5 is best)
* ```
*
* `uint32 quality = 2;`
*/
public var quality: kotlin.Int
@JvmName("getQuality")
get() = _builder.getQuality()
@JvmName("setQuality")
set(value) {
_builder.setQuality(value)
}
/**
* ```
* Wifi link quality ([0; 5], 0 is worst, 5 is best)
* ```
*
* `uint32 quality = 2;`
*/
public fun clearQuality() {
_builder.clearQuality()
}
/**
* ```
* Wifi link RSSI (dBm)
* ```
*
* `sint32 rssi = 3;`
*/
public var rssi: kotlin.Int
@JvmName("getRssi")
get() = _builder.getRssi()
@JvmName("setRssi")
set(value) {
_builder.setRssi(value)
}
/**
* ```
* Wifi link RSSI (dBm)
* ```
*
* `sint32 rssi = 3;`
*/
public fun clearRssi() {
_builder.clearRssi()
}
}
}
@kotlin.jvm.JvmSynthetic
public inline fun com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata.copy(block: com.parrot.drone.groundsdk.protobuf.WifiLinkMetadataKt.Dsl.() -> kotlin.Unit): com.parrot.drone.groundsdk.protobuf.VideoMetadata.WifiLinkMetadata =
com.parrot.drone.groundsdk.protobuf.WifiLinkMetadataKt.Dsl._create(this.toBuilder()).apply { block() }._build()