// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/device/v1/keyapis_device_events_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.device.v1; @kotlin.jvm.JvmName("-initializeactivateCmsPhoneFailTask") public inline fun activateCmsPhoneFailTask(block: ru.keyapis.device.v1.ActivateCmsPhoneFailTaskKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.ActivateCmsPhoneFailTask = ru.keyapis.device.v1.ActivateCmsPhoneFailTaskKt.Dsl._create(ru.keyapis.device.v1.KeyapisDeviceV1Proto.ActivateCmsPhoneFailTask.newBuilder()).apply { block() }._build() /** * ``` * Задача ответ на ошибку при разблокировке аналоговой трубки на устройстве для квартиры. * Очередь key.device.cms_phone_activate_fail * ``` * * Protobuf type `keyapis.device.v1.ActivateCmsPhoneFailTask` */ public object ActivateCmsPhoneFailTaskKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.ActivateCmsPhoneFailTask.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.ActivateCmsPhoneFailTask.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.device.v1.KeyapisDeviceV1Proto.ActivateCmsPhoneFailTask = _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 cms_phone_id = 2 [(.google.api.field_behavior) = REQUIRED];` */ public var cmsPhoneId: kotlin.Int @JvmName("getCmsPhoneId") get() = _builder.getCmsPhoneId() @JvmName("setCmsPhoneId") set(value) { _builder.setCmsPhoneId(value) } /** * ``` * Идентификатор аналоговой трубки * ``` * * `int32 cms_phone_id = 2 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearCmsPhoneId() { _builder.clearCmsPhoneId() } /** * ``` * Текст ошибки * ``` * * `string error_message = 3 [(.google.api.field_behavior) = REQUIRED];` */ public var errorMessage: kotlin.String @JvmName("getErrorMessage") get() = _builder.getErrorMessage() @JvmName("setErrorMessage") set(value) { _builder.setErrorMessage(value) } /** * ``` * Текст ошибки * ``` * * `string error_message = 3 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearErrorMessage() { _builder.clearErrorMessage() } /** * ``` * Дата и время события * ``` * * `.google.protobuf.Timestamp occured_at = 4 [(.google.api.field_behavior) = REQUIRED];` */ public var occuredAt: com.google.protobuf.Timestamp @JvmName("getOccuredAt") get() = _builder.getOccuredAt() @JvmName("setOccuredAt") set(value) { _builder.setOccuredAt(value) } /** * ``` * Дата и время события * ``` * * `.google.protobuf.Timestamp occured_at = 4 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearOccuredAt() { _builder.clearOccuredAt() } /** * ``` * Дата и время события * ``` * * `.google.protobuf.Timestamp occured_at = 4 [(.google.api.field_behavior) = REQUIRED];` * @return Whether the occuredAt field is set. */ public fun hasOccuredAt(): kotlin.Boolean { return _builder.hasOccuredAt() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.device.v1.KeyapisDeviceV1Proto.ActivateCmsPhoneFailTask.copy(block: ru.keyapis.device.v1.ActivateCmsPhoneFailTaskKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.ActivateCmsPhoneFailTask = ru.keyapis.device.v1.ActivateCmsPhoneFailTaskKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.device.v1.KeyapisDeviceV1Proto.ActivateCmsPhoneFailTaskOrBuilder.occuredAtOrNull: com.google.protobuf.Timestamp? get() = if (hasOccuredAt()) getOccuredAt() else null