kotlin.com.parrot.drone.groundsdk.protobuf.NEDKt.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("-initializenED")
public inline fun nED(block: com.parrot.drone.groundsdk.protobuf.NEDKt.Dsl.() -> kotlin.Unit): com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED =
com.parrot.drone.groundsdk.protobuf.NEDKt.Dsl._create(com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED.newBuilder()).apply { block() }._build()
/**
* ```
* 3 component vector, in NED frame
* ```
*
* Protobuf type `vmeta.NED`
*/
public object NEDKt {
@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.NED.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED = _builder.build()
/**
* `float north = 1;`
*/
public var north: kotlin.Float
@JvmName("getNorth")
get() = _builder.getNorth()
@JvmName("setNorth")
set(value) {
_builder.setNorth(value)
}
/**
* `float north = 1;`
*/
public fun clearNorth() {
_builder.clearNorth()
}
/**
* `float east = 2;`
*/
public var east: kotlin.Float
@JvmName("getEast")
get() = _builder.getEast()
@JvmName("setEast")
set(value) {
_builder.setEast(value)
}
/**
* `float east = 2;`
*/
public fun clearEast() {
_builder.clearEast()
}
/**
* `float down = 3;`
*/
public var down: kotlin.Float
@JvmName("getDown")
get() = _builder.getDown()
@JvmName("setDown")
set(value) {
_builder.setDown(value)
}
/**
* `float down = 3;`
*/
public fun clearDown() {
_builder.clearDown()
}
}
}
@kotlin.jvm.JvmSynthetic
public inline fun com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED.copy(block: com.parrot.drone.groundsdk.protobuf.NEDKt.Dsl.() -> kotlin.Unit): com.parrot.drone.groundsdk.protobuf.VideoMetadata.NED =
com.parrot.drone.groundsdk.protobuf.NEDKt.Dsl._create(this.toBuilder()).apply { block() }._build()