// 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("-initializedeleteRfidsTask") public inline fun deleteRfidsTask(block: ru.keyapis.device.v1.DeleteRfidsTaskKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.DeleteRfidsTask = ru.keyapis.device.v1.DeleteRfidsTaskKt.Dsl._create(ru.keyapis.device.v1.KeyapisDeviceV1Proto.DeleteRfidsTask.newBuilder()).apply { block() }._build() /** * ``` * Задача на удаление ключей с устройства. * Очередь key.device.delete_rfids * ``` * * Protobuf type `keyapis.device.v1.DeleteRfidsTask` */ public object DeleteRfidsTaskKt { @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.DeleteRfidsTask.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.DeleteRfidsTask.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.device.v1.KeyapisDeviceV1Proto.DeleteRfidsTask = _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() } /** * ``` * Модель * ``` * * `string model = 2 [(.google.api.field_behavior) = REQUIRED];` */ public var model: kotlin.String @JvmName("getModel") get() = _builder.getModel() @JvmName("setModel") set(value) { _builder.setModel(value) } /** * ``` * Модель * ``` * * `string model = 2 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearModel() { _builder.clearModel() } /** * ``` * Хост * ``` * * `string host = 3 [(.google.api.field_behavior) = REQUIRED];` */ public var host: kotlin.String @JvmName("getHost") get() = _builder.getHost() @JvmName("setHost") set(value) { _builder.setHost(value) } /** * ``` * Хост * ``` * * `string host = 3 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearHost() { _builder.clearHost() } /** * ``` * Имя пользователя * ``` * * `string username = 4;` */ public var username: kotlin.String @JvmName("getUsername") get() = _builder.getUsername() @JvmName("setUsername") set(value) { _builder.setUsername(value) } /** * ``` * Имя пользователя * ``` * * `string username = 4;` */ public fun clearUsername() { _builder.clearUsername() } /** * ``` * Пароль * ``` * * `string password = 5;` */ public var password: kotlin.String @JvmName("getPassword") get() = _builder.getPassword() @JvmName("setPassword") set(value) { _builder.setPassword(value) } /** * ``` * Пароль * ``` * * `string password = 5;` */ public fun clearPassword() { _builder.clearPassword() } /** * ``` * Идентификатор устройства * ``` * * `int32 device_id = 6 [(.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 = 6 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearDeviceId() { _builder.clearDeviceId() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) public class RfidsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * ``` * Ключи * ``` * * `repeated .keyapis.device.v1.Rfid rfids = 7 [(.google.api.field_behavior) = REQUIRED];` */ public val rfids: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getRfidsList() ) /** * ``` * Ключи * ``` * * `repeated .keyapis.device.v1.Rfid rfids = 7 [(.google.api.field_behavior) = REQUIRED];` * @param value The rfids to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addRfids") public fun com.google.protobuf.kotlin.DslList.add(value: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Rfid) { _builder.addRfids(value) } /** * ``` * Ключи * ``` * * `repeated .keyapis.device.v1.Rfid rfids = 7 [(.google.api.field_behavior) = REQUIRED];` * @param value The rfids to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignRfids") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Rfid) { add(value) } /** * ``` * Ключи * ``` * * `repeated .keyapis.device.v1.Rfid rfids = 7 [(.google.api.field_behavior) = REQUIRED];` * @param values The rfids to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllRfids") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllRfids(values) } /** * ``` * Ключи * ``` * * `repeated .keyapis.device.v1.Rfid rfids = 7 [(.google.api.field_behavior) = REQUIRED];` * @param values The rfids to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllRfids") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** * ``` * Ключи * ``` * * `repeated .keyapis.device.v1.Rfid rfids = 7 [(.google.api.field_behavior) = REQUIRED];` * @param index The index to set the value at. * @param value The rfids to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setRfids") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Rfid) { _builder.setRfids(index, value) } /** * ``` * Ключи * ``` * * `repeated .keyapis.device.v1.Rfid rfids = 7 [(.google.api.field_behavior) = REQUIRED];` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearRfids") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearRfids() } /** * ``` * При передаче этого флага в true, ответное сообщение не будет получено * ``` * * `.google.protobuf.BoolValue is_answer_unnecessary = 8;` */ public var isAnswerUnnecessary: com.google.protobuf.BoolValue @JvmName("getIsAnswerUnnecessary") get() = _builder.getIsAnswerUnnecessary() @JvmName("setIsAnswerUnnecessary") set(value) { _builder.setIsAnswerUnnecessary(value) } /** * ``` * При передаче этого флага в true, ответное сообщение не будет получено * ``` * * `.google.protobuf.BoolValue is_answer_unnecessary = 8;` */ public fun clearIsAnswerUnnecessary() { _builder.clearIsAnswerUnnecessary() } /** * ``` * При передаче этого флага в true, ответное сообщение не будет получено * ``` * * `.google.protobuf.BoolValue is_answer_unnecessary = 8;` * @return Whether the isAnswerUnnecessary field is set. */ public fun hasIsAnswerUnnecessary(): kotlin.Boolean { return _builder.hasIsAnswerUnnecessary() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.device.v1.KeyapisDeviceV1Proto.DeleteRfidsTask.copy(block: ru.keyapis.device.v1.DeleteRfidsTaskKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.DeleteRfidsTask = ru.keyapis.device.v1.DeleteRfidsTaskKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.device.v1.KeyapisDeviceV1Proto.DeleteRfidsTaskOrBuilder.isAnswerUnnecessaryOrNull: com.google.protobuf.BoolValue? get() = if (hasIsAnswerUnnecessary()) getIsAnswerUnnecessary() else null