// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/telemetry_control/v1/keyapis_telemetry_control_device_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.telemetry_control.v1; @kotlin.jvm.JvmName("-initializepostDeviceFullDuplexResponse") public inline fun postDeviceFullDuplexResponse(block: ru.keyapis.telemetry_control.v1.PostDeviceFullDuplexResponseKt.Dsl.() -> kotlin.Unit): ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.PostDeviceFullDuplexResponse = ru.keyapis.telemetry_control.v1.PostDeviceFullDuplexResponseKt.Dsl._create(ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.PostDeviceFullDuplexResponse.newBuilder()).apply { block() }._build() /** * ``` * Событие изменения ПУ на сервера * ``` * * Protobuf type `keyapis.telemetry_control.v1.PostDeviceFullDuplexResponse` */ public object PostDeviceFullDuplexResponseKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.PostDeviceFullDuplexResponse.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.PostDeviceFullDuplexResponse.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.PostDeviceFullDuplexResponse = _builder.build() /** * ``` * Идентификатор запроса * ``` * * `string request_id = 1 [(.google.api.field_behavior) = REQUIRED];` */ public var requestId: kotlin.String @JvmName("getRequestId") get() = _builder.getRequestId() @JvmName("setRequestId") set(value) { _builder.setRequestId(value) } /** * ``` * Идентификатор запроса * ``` * * `string request_id = 1 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearRequestId() { _builder.clearRequestId() } /** * ``` * Измененние ПУ на сервере * ``` * * `.keyapis.telemetry_control.v1.PostDeviceResponse post_device = 2;` */ public var postDevice: ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.PostDeviceResponse @JvmName("getPostDevice") get() = _builder.getPostDevice() @JvmName("setPostDevice") set(value) { _builder.setPostDevice(value) } /** * ``` * Измененние ПУ на сервере * ``` * * `.keyapis.telemetry_control.v1.PostDeviceResponse post_device = 2;` */ public fun clearPostDevice() { _builder.clearPostDevice() } /** * ``` * Измененние ПУ на сервере * ``` * * `.keyapis.telemetry_control.v1.PostDeviceResponse post_device = 2;` * @return Whether the postDevice field is set. */ public fun hasPostDevice(): kotlin.Boolean { return _builder.hasPostDevice() } public val eventCase: ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.PostDeviceFullDuplexResponse.EventCase @JvmName("getEventCase") get() = _builder.getEventCase() public fun clearEvent() { _builder.clearEvent() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.PostDeviceFullDuplexResponse.copy(block: ru.keyapis.telemetry_control.v1.PostDeviceFullDuplexResponseKt.Dsl.() -> kotlin.Unit): ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.PostDeviceFullDuplexResponse = ru.keyapis.telemetry_control.v1.PostDeviceFullDuplexResponseKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.PostDeviceFullDuplexResponseOrBuilder.postDeviceOrNull: ru.keyapis.telemetry_control.v1.KeyapisTelemetryControlV1Proto.PostDeviceResponse? get() = if (hasPostDevice()) getPostDevice() else null