com.parrot.drone.groundsdk.protobuf.ThermalMetadataKt.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("-initializethermalMetadata")
public inline fun thermalMetadata(block: com.parrot.drone.groundsdk.protobuf.ThermalMetadataKt.Dsl.() -> kotlin.Unit): com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata =
com.parrot.drone.groundsdk.protobuf.ThermalMetadataKt.Dsl._create(com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata.newBuilder()).apply { block() }._build()
/**
* Protobuf type `vmeta.ThermalMetadata`
*/
public object ThermalMetadataKt {
@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.ThermalMetadata.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata = _builder.build()
/**
* ```
* Thermal calibration state
* ```
*
* `.vmeta.ThermalCalibrationState calibration_state = 1;`
*/
public var calibrationState: com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalCalibrationState
@JvmName("getCalibrationState")
get() = _builder.getCalibrationState()
@JvmName("setCalibrationState")
set(value) {
_builder.setCalibrationState(value)
}
public var calibrationStateValue: kotlin.Int
@JvmName("getCalibrationStateValue")
get() = _builder.getCalibrationStateValue()
@JvmName("setCalibrationStateValue")
set(value) {
_builder.setCalibrationStateValue(value)
}
/**
* ```
* Thermal calibration state
* ```
*
* `.vmeta.ThermalCalibrationState calibration_state = 1;`
*/
public fun clearCalibrationState() {
_builder.clearCalibrationState()
}
/**
* ```
* Minimum temperature spot
* ```
*
* `.vmeta.ThermalSpot min = 2;`
*/
public var min: com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot
@JvmName("getMin")
get() = _builder.getMin()
@JvmName("setMin")
set(value) {
_builder.setMin(value)
}
/**
* ```
* Minimum temperature spot
* ```
*
* `.vmeta.ThermalSpot min = 2;`
*/
public fun clearMin() {
_builder.clearMin()
}
/**
* ```
* Minimum temperature spot
* ```
*
* `.vmeta.ThermalSpot min = 2;`
* @return Whether the min field is set.
*/
public fun hasMin(): kotlin.Boolean {
return _builder.hasMin()
}
/**
* ```
* Maximum temperature spot
* ```
*
* `.vmeta.ThermalSpot max = 3;`
*/
public var max: com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot
@JvmName("getMax")
get() = _builder.getMax()
@JvmName("setMax")
set(value) {
_builder.setMax(value)
}
/**
* ```
* Maximum temperature spot
* ```
*
* `.vmeta.ThermalSpot max = 3;`
*/
public fun clearMax() {
_builder.clearMax()
}
/**
* ```
* Maximum temperature spot
* ```
*
* `.vmeta.ThermalSpot max = 3;`
* @return Whether the max field is set.
*/
public fun hasMax(): kotlin.Boolean {
return _builder.hasMax()
}
/**
* ```
* Probe temperature spot
* ```
*
* `.vmeta.ThermalSpot probe = 4;`
*/
public var probe: com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot
@JvmName("getProbe")
get() = _builder.getProbe()
@JvmName("setProbe")
set(value) {
_builder.setProbe(value)
}
/**
* ```
* Probe temperature spot
* ```
*
* `.vmeta.ThermalSpot probe = 4;`
*/
public fun clearProbe() {
_builder.clearProbe()
}
/**
* ```
* Probe temperature spot
* ```
*
* `.vmeta.ThermalSpot probe = 4;`
* @return Whether the probe field is set.
*/
public fun hasProbe(): kotlin.Boolean {
return _builder.hasProbe()
}
}
}
@kotlin.jvm.JvmSynthetic
public inline fun com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata.copy(block: com.parrot.drone.groundsdk.protobuf.ThermalMetadataKt.Dsl.() -> kotlin.Unit): com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadata =
com.parrot.drone.groundsdk.protobuf.ThermalMetadataKt.Dsl._create(this.toBuilder()).apply { block() }._build()
public val com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadataOrBuilder.minOrNull: com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot?
get() = if (hasMin()) getMin() else null
public val com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadataOrBuilder.maxOrNull: com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot?
get() = if (hasMax()) getMax() else null
public val com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalMetadataOrBuilder.probeOrNull: com.parrot.drone.groundsdk.protobuf.VideoMetadata.ThermalSpot?
get() = if (hasProbe()) getProbe() else null