// 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("-initializedeleteSipAccountTask") public inline fun deleteSipAccountTask(block: ru.keyapis.device.v1.DeleteSipAccountTaskKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.DeleteSipAccountTask = ru.keyapis.device.v1.DeleteSipAccountTaskKt.Dsl._create(ru.keyapis.device.v1.KeyapisDeviceV1Proto.DeleteSipAccountTask.newBuilder()).apply { block() }._build() /** * ``` * Задача на удаление sip-аккаунта. * Очередь key.device.delete_sip_account * ``` * * Protobuf type `keyapis.device.v1.DeleteSipAccountTask` */ public object DeleteSipAccountTaskKt { @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.DeleteSipAccountTask.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.DeleteSipAccountTask.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.device.v1.KeyapisDeviceV1Proto.DeleteSipAccountTask = _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() } /** * ``` * Дата и время удаления устройства * ``` * * `.google.protobuf.Timestamp deleted_at = 3 [(.google.api.field_behavior) = REQUIRED];` */ public var deletedAt: com.google.protobuf.Timestamp @JvmName("getDeletedAt") get() = _builder.getDeletedAt() @JvmName("setDeletedAt") set(value) { _builder.setDeletedAt(value) } /** * ``` * Дата и время удаления устройства * ``` * * `.google.protobuf.Timestamp deleted_at = 3 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearDeletedAt() { _builder.clearDeletedAt() } /** * ``` * Дата и время удаления устройства * ``` * * `.google.protobuf.Timestamp deleted_at = 3 [(.google.api.field_behavior) = REQUIRED];` * @return Whether the deletedAt field is set. */ public fun hasDeletedAt(): kotlin.Boolean { return _builder.hasDeletedAt() } /** * ``` * Sip-login устройства * ``` * * `string sip_login = 4 [(.google.api.field_behavior) = REQUIRED];` */ public var sipLogin: kotlin.String @JvmName("getSipLogin") get() = _builder.getSipLogin() @JvmName("setSipLogin") set(value) { _builder.setSipLogin(value) } /** * ``` * Sip-login устройства * ``` * * `string sip_login = 4 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearSipLogin() { _builder.clearSipLogin() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.device.v1.KeyapisDeviceV1Proto.DeleteSipAccountTask.copy(block: ru.keyapis.device.v1.DeleteSipAccountTaskKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.DeleteSipAccountTask = ru.keyapis.device.v1.DeleteSipAccountTaskKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.device.v1.KeyapisDeviceV1Proto.DeleteSipAccountTaskOrBuilder.deletedAtOrNull: com.google.protobuf.Timestamp? get() = if (hasDeletedAt()) getDeletedAt() else null