kotlin.com.parrot.drone.groundsdk.protobuf.QuaternionKt.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("-initializequaternion")
public inline fun quaternion(block: com.parrot.drone.groundsdk.protobuf.QuaternionKt.Dsl.() -> kotlin.Unit): com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion =
com.parrot.drone.groundsdk.protobuf.QuaternionKt.Dsl._create(com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.newBuilder()).apply { block() }._build()
/**
* ```
* Unit quaternion
* ```
*
* Protobuf type `vmeta.Quaternion`
*/
public object QuaternionKt {
@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.Quaternion.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion = _builder.build()
/**
* `float w = 1;`
*/
public var w: kotlin.Float
@JvmName("getW")
get() = _builder.getW()
@JvmName("setW")
set(value) {
_builder.setW(value)
}
/**
* `float w = 1;`
*/
public fun clearW() {
_builder.clearW()
}
/**
* `float x = 2;`
*/
public var x: kotlin.Float
@JvmName("getX")
get() = _builder.getX()
@JvmName("setX")
set(value) {
_builder.setX(value)
}
/**
* `float x = 2;`
*/
public fun clearX() {
_builder.clearX()
}
/**
* `float y = 3;`
*/
public var y: kotlin.Float
@JvmName("getY")
get() = _builder.getY()
@JvmName("setY")
set(value) {
_builder.setY(value)
}
/**
* `float y = 3;`
*/
public fun clearY() {
_builder.clearY()
}
/**
* `float z = 4;`
*/
public var z: kotlin.Float
@JvmName("getZ")
get() = _builder.getZ()
@JvmName("setZ")
set(value) {
_builder.setZ(value)
}
/**
* `float z = 4;`
*/
public fun clearZ() {
_builder.clearZ()
}
}
}
@kotlin.jvm.JvmSynthetic
public inline fun com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion.copy(block: com.parrot.drone.groundsdk.protobuf.QuaternionKt.Dsl.() -> kotlin.Unit): com.parrot.drone.groundsdk.protobuf.VideoMetadata.Quaternion =
com.parrot.drone.groundsdk.protobuf.QuaternionKt.Dsl._create(this.toBuilder()).apply { block() }._build()