kotlin.com.parrot.drone.groundsdk.protobuf.ThermalSpotKt.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("-initializethermalSpot")
public inline fun thermalSpot(block: com.parrot.drone.groundsdk.protobuf.ThermalSpotKt.Dsl.() -> kotlin.Unit): com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot =
com.parrot.drone.groundsdk.protobuf.ThermalSpotKt.Dsl._create(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.newBuilder()).apply { block() }._build()
/**
* ```
* Thermal spot for thermal metadata
* ```
*
* Protobuf type `vmeta.ThermalSpot`
*/
public object ThermalSpotKt {
@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.ThermalSpot.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot = _builder.build()
/**
* ```
* Position [0; 1] in picture
* ```
*
* `float x = 1;`
*/
public var x: kotlin.Float
@JvmName("getX")
get() = _builder.getX()
@JvmName("setX")
set(value) {
_builder.setX(value)
}
/**
* ```
* Position [0; 1] in picture
* ```
*
* `float x = 1;`
*/
public fun clearX() {
_builder.clearX()
}
/**
* `float y = 2;`
*/
public var y: kotlin.Float
@JvmName("getY")
get() = _builder.getY()
@JvmName("setY")
set(value) {
_builder.setY(value)
}
/**
* `float y = 2;`
*/
public fun clearY() {
_builder.clearY()
}
/**
* ```
* Temperature, in either Kelvin for radiometric sensors,
* or raw sensor unit for non-radiometric sensors
* ```
*
* `float temp = 3;`
*/
public var temp: kotlin.Float
@JvmName("getTemp")
get() = _builder.getTemp()
@JvmName("setTemp")
set(value) {
_builder.setTemp(value)
}
/**
* ```
* Temperature, in either Kelvin for radiometric sensors,
* or raw sensor unit for non-radiometric sensors
* ```
*
* `float temp = 3;`
*/
public fun clearTemp() {
_builder.clearTemp()
}
}
}
@kotlin.jvm.JvmSynthetic
public inline fun com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot.copy(block: com.parrot.drone.groundsdk.protobuf.ThermalSpotKt.Dsl.() -> kotlin.Unit): com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot =
com.parrot.drone.groundsdk.protobuf.ThermalSpotKt.Dsl._create(this.toBuilder()).apply { block() }._build()