// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/preset/v1/keyapis_preset_events_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.preset.v1; @kotlin.jvm.JvmName("-initializepresetConfigurationSuccessTask") public inline fun presetConfigurationSuccessTask(block: ru.keyapis.preset.v1.PresetConfigurationSuccessTaskKt.Dsl.() -> kotlin.Unit): ru.keyapis.preset.v1.KeyapisPresetV1Proto.PresetConfigurationSuccessTask = ru.keyapis.preset.v1.PresetConfigurationSuccessTaskKt.Dsl._create(ru.keyapis.preset.v1.KeyapisPresetV1Proto.PresetConfigurationSuccessTask.newBuilder()).apply { block() }._build() /** * ``` * Задача успешной конфигурации устройства. * Очередь key.preset.configuration_success * ``` * * Protobuf type `keyapis.preset.v1.PresetConfigurationSuccessTask` */ public object PresetConfigurationSuccessTaskKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.preset.v1.KeyapisPresetV1Proto.PresetConfigurationSuccessTask.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.preset.v1.KeyapisPresetV1Proto.PresetConfigurationSuccessTask.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.preset.v1.KeyapisPresetV1Proto.PresetConfigurationSuccessTask = _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() } /** * ``` * Идентификатор устройства * ``` * * `int32 device_id = 2 [(.google.api.field_behavior) = REQUIRED];` */ public var deviceId: kotlin.Int @JvmName("getDeviceId") get() = _builder.getDeviceId() @JvmName("setDeviceId") set(value) { _builder.setDeviceId(value) } /** * ``` * Идентификатор устройства * ``` * * `int32 device_id = 2 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearDeviceId() { _builder.clearDeviceId() } /** * ``` * Идентификатор пресета * ``` * * `int32 preset_id = 3 [(.google.api.field_behavior) = REQUIRED];` */ public var presetId: kotlin.Int @JvmName("getPresetId") get() = _builder.getPresetId() @JvmName("setPresetId") set(value) { _builder.setPresetId(value) } /** * ``` * Идентификатор пресета * ``` * * `int32 preset_id = 3 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearPresetId() { _builder.clearPresetId() } /** * ``` * Дата и время конфигурации * ``` * * `.google.protobuf.Timestamp configured_at = 4 [(.google.api.field_behavior) = REQUIRED];` */ public var configuredAt: com.google.protobuf.Timestamp @JvmName("getConfiguredAt") get() = _builder.getConfiguredAt() @JvmName("setConfiguredAt") set(value) { _builder.setConfiguredAt(value) } /** * ``` * Дата и время конфигурации * ``` * * `.google.protobuf.Timestamp configured_at = 4 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearConfiguredAt() { _builder.clearConfiguredAt() } /** * ``` * Дата и время конфигурации * ``` * * `.google.protobuf.Timestamp configured_at = 4 [(.google.api.field_behavior) = REQUIRED];` * @return Whether the configuredAt field is set. */ public fun hasConfiguredAt(): kotlin.Boolean { return _builder.hasConfiguredAt() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.preset.v1.KeyapisPresetV1Proto.PresetConfigurationSuccessTask.copy(block: ru.keyapis.preset.v1.PresetConfigurationSuccessTaskKt.Dsl.() -> kotlin.Unit): ru.keyapis.preset.v1.KeyapisPresetV1Proto.PresetConfigurationSuccessTask = ru.keyapis.preset.v1.PresetConfigurationSuccessTaskKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.preset.v1.KeyapisPresetV1Proto.PresetConfigurationSuccessTaskOrBuilder.configuredAtOrNull: com.google.protobuf.Timestamp? get() = if (hasConfiguredAt()) getConfiguredAt() else null