// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/device/v1/keyapis_device_device_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.device.v1; @kotlin.jvm.JvmName("-initializepreset") public inline fun preset(block: ru.keyapis.device.v1.PresetKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset = ru.keyapis.device.v1.PresetKt.Dsl._create(ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.newBuilder()).apply { block() }._build() /** * ``` * Пресет. * Пресет с id=1 устанавливается при создании устройства по умолчанию * ``` * * Protobuf type `keyapis.device.v1.Preset` */ public object PresetKt { @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.Preset.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset = _builder.build() /** * ``` * Идентификатор. * # Диапазон: 1..2147483647 * ``` * * `int32 id = 1;` */ public var id: kotlin.Int @JvmName("getId") get() = _builder.getId() @JvmName("setId") set(value) { _builder.setId(value) } /** * ``` * Идентификатор. * # Диапазон: 1..2147483647 * ``` * * `int32 id = 1;` */ public fun clearId() { _builder.clearId() } /** * ``` * Наименование. * # Диапазон: 3..256 * ``` * * `string title = 2 [(.google.api.field_behavior) = REQUIRED];` */ public var title: kotlin.String @JvmName("getTitle") get() = _builder.getTitle() @JvmName("setTitle") set(value) { _builder.setTitle(value) } /** * ``` * Наименование. * # Диапазон: 3..256 * ``` * * `string title = 2 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearTitle() { _builder.clearTitle() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) public class MrfIdsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * ``` * Идентификатор МРФ. * # Диапазон: 0..10 * ``` * * `repeated int32 mrf_ids = 3 [(.google.api.field_behavior) = REQUIRED];` */ public val mrfIds: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getMrfIdsList() ) /** * ``` * Идентификатор МРФ. * # Диапазон: 0..10 * ``` * * `repeated int32 mrf_ids = 3 [(.google.api.field_behavior) = REQUIRED];` * @param value The mrfIds to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addMrfIds") public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.Int) { _builder.addMrfIds(value) }/** * ``` * Идентификатор МРФ. * # Диапазон: 0..10 * ``` * * `repeated int32 mrf_ids = 3 [(.google.api.field_behavior) = REQUIRED];` * @param value The mrfIds to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignMrfIds") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.Int) { add(value) }/** * ``` * Идентификатор МРФ. * # Диапазон: 0..10 * ``` * * `repeated int32 mrf_ids = 3 [(.google.api.field_behavior) = REQUIRED];` * @param values The mrfIds to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllMrfIds") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllMrfIds(values) }/** * ``` * Идентификатор МРФ. * # Диапазон: 0..10 * ``` * * `repeated int32 mrf_ids = 3 [(.google.api.field_behavior) = REQUIRED];` * @param values The mrfIds to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllMrfIds") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) }/** * ``` * Идентификатор МРФ. * # Диапазон: 0..10 * ``` * * `repeated int32 mrf_ids = 3 [(.google.api.field_behavior) = REQUIRED];` * @param index The index to set the value at. * @param value The mrfIds to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setMrfIds") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.Int) { _builder.setMrfIds(index, value) }/** * ``` * Идентификатор МРФ. * # Диапазон: 0..10 * ``` * * `repeated int32 mrf_ids = 3 [(.google.api.field_behavior) = REQUIRED];` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearMrfIds") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearMrfIds() } /** * 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() /** * ``` * Идентификатор РФ. * # Диапазон: 0..100 * ``` * * `repeated int32 rf_ids = 4 [(.google.api.field_behavior) = REQUIRED];` */ public val rfIds: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getRfIdsList() ) /** * ``` * Идентификатор РФ. * # Диапазон: 0..100 * ``` * * `repeated int32 rf_ids = 4 [(.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: kotlin.Int) { _builder.addRfIds(value) }/** * ``` * Идентификатор РФ. * # Диапазон: 0..100 * ``` * * `repeated int32 rf_ids = 4 [(.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: kotlin.Int) { add(value) }/** * ``` * Идентификатор РФ. * # Диапазон: 0..100 * ``` * * `repeated int32 rf_ids = 4 [(.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) }/** * ``` * Идентификатор РФ. * # Диапазон: 0..100 * ``` * * `repeated int32 rf_ids = 4 [(.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) }/** * ``` * Идентификатор РФ. * # Диапазон: 0..100 * ``` * * `repeated int32 rf_ids = 4 [(.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: kotlin.Int) { _builder.setRfIds(index, value) }/** * ``` * Идентификатор РФ. * # Диапазон: 0..100 * ``` * * `repeated int32 rf_ids = 4 [(.google.api.field_behavior) = REQUIRED];` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearRfIds") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearRfIds() } /** * ``` * Описание. * # Диапазон: 3..1024 * ``` * * `.google.protobuf.StringValue description = 5 [(.google.api.field_behavior) = OPTIONAL];` */ public var description: com.google.protobuf.StringValue @JvmName("getDescription") get() = _builder.getDescription() @JvmName("setDescription") set(value) { _builder.setDescription(value) } /** * ``` * Описание. * # Диапазон: 3..1024 * ``` * * `.google.protobuf.StringValue description = 5 [(.google.api.field_behavior) = OPTIONAL];` */ public fun clearDescription() { _builder.clearDescription() } /** * ``` * Описание. * # Диапазон: 3..1024 * ``` * * `.google.protobuf.StringValue description = 5 [(.google.api.field_behavior) = OPTIONAL];` * @return Whether the description field is set. */ public fun hasDescription(): kotlin.Boolean { return _builder.hasDescription() } /** * ``` * Дата и время создания. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];` */ public var createdAt: com.google.protobuf.Timestamp @JvmName("getCreatedAt") get() = _builder.getCreatedAt() @JvmName("setCreatedAt") set(value) { _builder.setCreatedAt(value) } /** * ``` * Дата и время создания. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];` */ public fun clearCreatedAt() { _builder.clearCreatedAt() } /** * ``` * Дата и время создания. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp created_at = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];` * @return Whether the createdAt field is set. */ public fun hasCreatedAt(): kotlin.Boolean { return _builder.hasCreatedAt() } /** * ``` * Дата последнего изменения. * Заполняется и обновляется сервером. * Заполняется при создании и изменении. * Является версией объекта. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];` */ public var changedAt: com.google.protobuf.Timestamp @JvmName("getChangedAt") get() = _builder.getChangedAt() @JvmName("setChangedAt") set(value) { _builder.setChangedAt(value) } /** * ``` * Дата последнего изменения. * Заполняется и обновляется сервером. * Заполняется при создании и изменении. * Является версией объекта. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];` */ public fun clearChangedAt() { _builder.clearChangedAt() } /** * ``` * Дата последнего изменения. * Заполняется и обновляется сервером. * Заполняется при создании и изменении. * Является версией объекта. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp changed_at = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];` * @return Whether the changedAt field is set. */ public fun hasChangedAt(): kotlin.Boolean { return _builder.hasChangedAt() } /** * ``` * Статус * ``` * * `.keyapis.device.v1.Preset.StatusType status_type = 8 [(.google.api.field_behavior) = REQUIRED];` */ public var statusType: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.StatusType @JvmName("getStatusType") get() = _builder.getStatusType() @JvmName("setStatusType") set(value) { _builder.setStatusType(value) } public var statusTypeValue: kotlin.Int @JvmName("getStatusTypeValue") get() = _builder.getStatusTypeValue() @JvmName("setStatusTypeValue") set(value) { _builder.setStatusTypeValue(value) } /** * ``` * Статус * ``` * * `.keyapis.device.v1.Preset.StatusType status_type = 8 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearStatusType() { _builder.clearStatusType() } /** * ``` * Параметр SIP * ``` * * `.keyapis.device.v1.Preset.Sip sip = 9 [(.google.api.field_behavior) = REQUIRED];` */ public var sip: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Sip @JvmName("getSip") get() = _builder.getSip() @JvmName("setSip") set(value) { _builder.setSip(value) } /** * ``` * Параметр SIP * ``` * * `.keyapis.device.v1.Preset.Sip sip = 9 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearSip() { _builder.clearSip() } /** * ``` * Параметр SIP * ``` * * `.keyapis.device.v1.Preset.Sip sip = 9 [(.google.api.field_behavior) = REQUIRED];` * @return Whether the sip field is set. */ public fun hasSip(): kotlin.Boolean { return _builder.hasSip() } /** * ``` * Параметр NTP * ``` * * `.keyapis.device.v1.Preset.Ntp ntp = 10 [(.google.api.field_behavior) = REQUIRED];` */ public var ntp: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Ntp @JvmName("getNtp") get() = _builder.getNtp() @JvmName("setNtp") set(value) { _builder.setNtp(value) } /** * ``` * Параметр NTP * ``` * * `.keyapis.device.v1.Preset.Ntp ntp = 10 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearNtp() { _builder.clearNtp() } /** * ``` * Параметр NTP * ``` * * `.keyapis.device.v1.Preset.Ntp ntp = 10 [(.google.api.field_behavior) = REQUIRED];` * @return Whether the ntp field is set. */ public fun hasNtp(): kotlin.Boolean { return _builder.hasNtp() } /** * ``` * Параметр Syslog * ``` * * `.keyapis.device.v1.Preset.Syslog syslog = 11 [(.google.api.field_behavior) = REQUIRED];` */ public var syslog: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Syslog @JvmName("getSyslog") get() = _builder.getSyslog() @JvmName("setSyslog") set(value) { _builder.setSyslog(value) } /** * ``` * Параметр Syslog * ``` * * `.keyapis.device.v1.Preset.Syslog syslog = 11 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearSyslog() { _builder.clearSyslog() } /** * ``` * Параметр Syslog * ``` * * `.keyapis.device.v1.Preset.Syslog syslog = 11 [(.google.api.field_behavior) = REQUIRED];` * @return Whether the syslog field is set. */ public fun hasSyslog(): kotlin.Boolean { return _builder.hasSyslog() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) public class RoomsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * ``` * Помещения. * # Диапазон: 0..10000 * ``` * * `repeated .keyapis.device.v1.Preset.Room rooms = 12 [(.google.api.field_behavior) = REQUIRED];` */ public val rooms: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getRoomsList() ) /** * ``` * Помещения. * # Диапазон: 0..10000 * ``` * * `repeated .keyapis.device.v1.Preset.Room rooms = 12 [(.google.api.field_behavior) = REQUIRED];` * @param value The rooms to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addRooms") public fun com.google.protobuf.kotlin.DslList.add(value: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Room) { _builder.addRooms(value) } /** * ``` * Помещения. * # Диапазон: 0..10000 * ``` * * `repeated .keyapis.device.v1.Preset.Room rooms = 12 [(.google.api.field_behavior) = REQUIRED];` * @param value The rooms to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignRooms") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Room) { add(value) } /** * ``` * Помещения. * # Диапазон: 0..10000 * ``` * * `repeated .keyapis.device.v1.Preset.Room rooms = 12 [(.google.api.field_behavior) = REQUIRED];` * @param values The rooms to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllRooms") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllRooms(values) } /** * ``` * Помещения. * # Диапазон: 0..10000 * ``` * * `repeated .keyapis.device.v1.Preset.Room rooms = 12 [(.google.api.field_behavior) = REQUIRED];` * @param values The rooms to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllRooms") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** * ``` * Помещения. * # Диапазон: 0..10000 * ``` * * `repeated .keyapis.device.v1.Preset.Room rooms = 12 [(.google.api.field_behavior) = REQUIRED];` * @param index The index to set the value at. * @param value The rooms to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setRooms") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Room) { _builder.setRooms(index, value) } /** * ``` * Помещения. * # Диапазон: 0..10000 * ``` * * `repeated .keyapis.device.v1.Preset.Room rooms = 12 [(.google.api.field_behavior) = REQUIRED];` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearRooms") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearRooms() } /** * ``` * Параметры конфигурации видео * ``` * * `.keyapis.device.v1.Preset.VideoConfig video_config = 13 [(.google.api.field_behavior) = REQUIRED];` */ public var videoConfig: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig @JvmName("getVideoConfig") get() = _builder.getVideoConfig() @JvmName("setVideoConfig") set(value) { _builder.setVideoConfig(value) } /** * ``` * Параметры конфигурации видео * ``` * * `.keyapis.device.v1.Preset.VideoConfig video_config = 13 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearVideoConfig() { _builder.clearVideoConfig() } /** * ``` * Параметры конфигурации видео * ``` * * `.keyapis.device.v1.Preset.VideoConfig video_config = 13 [(.google.api.field_behavior) = REQUIRED];` * @return Whether the videoConfig field is set. */ public fun hasVideoConfig(): kotlin.Boolean { return _builder.hasVideoConfig() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) public class DtmfProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * ``` * Параметр DTMF. * # Диапазон: 0..64 * ``` * * `repeated .keyapis.device.v1.Preset.Dtmf dtmf = 14 [(.google.api.field_behavior) = REQUIRED];` */ public val dtmf: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getDtmfList() ) /** * ``` * Параметр DTMF. * # Диапазон: 0..64 * ``` * * `repeated .keyapis.device.v1.Preset.Dtmf dtmf = 14 [(.google.api.field_behavior) = REQUIRED];` * @param value The dtmf to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addDtmf") public fun com.google.protobuf.kotlin.DslList.add(value: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Dtmf) { _builder.addDtmf(value) } /** * ``` * Параметр DTMF. * # Диапазон: 0..64 * ``` * * `repeated .keyapis.device.v1.Preset.Dtmf dtmf = 14 [(.google.api.field_behavior) = REQUIRED];` * @param value The dtmf to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignDtmf") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Dtmf) { add(value) } /** * ``` * Параметр DTMF. * # Диапазон: 0..64 * ``` * * `repeated .keyapis.device.v1.Preset.Dtmf dtmf = 14 [(.google.api.field_behavior) = REQUIRED];` * @param values The dtmf to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllDtmf") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllDtmf(values) } /** * ``` * Параметр DTMF. * # Диапазон: 0..64 * ``` * * `repeated .keyapis.device.v1.Preset.Dtmf dtmf = 14 [(.google.api.field_behavior) = REQUIRED];` * @param values The dtmf to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllDtmf") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** * ``` * Параметр DTMF. * # Диапазон: 0..64 * ``` * * `repeated .keyapis.device.v1.Preset.Dtmf dtmf = 14 [(.google.api.field_behavior) = REQUIRED];` * @param index The index to set the value at. * @param value The dtmf to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setDtmf") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Dtmf) { _builder.setDtmf(index, value) } /** * ``` * Параметр DTMF. * # Диапазон: 0..64 * ``` * * `repeated .keyapis.device.v1.Preset.Dtmf dtmf = 14 [(.google.api.field_behavior) = REQUIRED];` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearDtmf") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearDtmf() } /** * ``` * Распознование лиц * ``` * * `.keyapis.device.v1.Preset.FaceRecognition face_recognition = 15;` */ public var faceRecognition: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.FaceRecognition @JvmName("getFaceRecognition") get() = _builder.getFaceRecognition() @JvmName("setFaceRecognition") set(value) { _builder.setFaceRecognition(value) } /** * ``` * Распознование лиц * ``` * * `.keyapis.device.v1.Preset.FaceRecognition face_recognition = 15;` */ public fun clearFaceRecognition() { _builder.clearFaceRecognition() } /** * ``` * Распознование лиц * ``` * * `.keyapis.device.v1.Preset.FaceRecognition face_recognition = 15;` * @return Whether the faceRecognition field is set. */ public fun hasFaceRecognition(): kotlin.Boolean { return _builder.hasFaceRecognition() } } @kotlin.jvm.JvmName("-initializesip") public inline fun sip(block: ru.keyapis.device.v1.PresetKt.SipKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Sip = ru.keyapis.device.v1.PresetKt.SipKt.Dsl._create(ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Sip.newBuilder()).apply { block() }._build() /** * ``` * Параметр SIP * ``` * * Protobuf type `keyapis.device.v1.Preset.Sip` */ public object SipKt { @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.Preset.Sip.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Sip.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Sip = _builder.build() /** * ``` * Хост. * # Диапазон: 5..256 * ``` * * `string host = 1 [(.google.api.field_behavior) = REQUIRED];` */ public var host: kotlin.String @JvmName("getHost") get() = _builder.getHost() @JvmName("setHost") set(value) { _builder.setHost(value) } /** * ``` * Хост. * # Диапазон: 5..256 * ``` * * `string host = 1 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearHost() { _builder.clearHost() } /** * ``` * Порт. * # Диапазон: 1..65536 * ``` * * `int32 port = 2 [(.google.api.field_behavior) = REQUIRED];` */ public var port: kotlin.Int @JvmName("getPort") get() = _builder.getPort() @JvmName("setPort") set(value) { _builder.setPort(value) } /** * ``` * Порт. * # Диапазон: 1..65536 * ``` * * `int32 port = 2 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearPort() { _builder.clearPort() } /** * ``` * Хост reg. * # Диапазон: 5..256 * ``` * * `string reg_host = 3 [(.google.api.field_behavior) = REQUIRED];` */ public var regHost: kotlin.String @JvmName("getRegHost") get() = _builder.getRegHost() @JvmName("setRegHost") set(value) { _builder.setRegHost(value) } /** * ``` * Хост reg. * # Диапазон: 5..256 * ``` * * `string reg_host = 3 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearRegHost() { _builder.clearRegHost() } /** * ``` * Порт reg. * # Диапазон: 1..65536 * ``` * * `int32 reg_port = 4 [(.google.api.field_behavior) = REQUIRED];` */ public var regPort: kotlin.Int @JvmName("getRegPort") get() = _builder.getRegPort() @JvmName("setRegPort") set(value) { _builder.setRegPort(value) } /** * ``` * Порт reg. * # Диапазон: 1..65536 * ``` * * `int32 reg_port = 4 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearRegPort() { _builder.clearRegPort() } /** * ``` * Хост proxy. * # Диапазон: 5..256 * ``` * * `string proxy_host = 5 [(.google.api.field_behavior) = REQUIRED];` */ public var proxyHost: kotlin.String @JvmName("getProxyHost") get() = _builder.getProxyHost() @JvmName("setProxyHost") set(value) { _builder.setProxyHost(value) } /** * ``` * Хост proxy. * # Диапазон: 5..256 * ``` * * `string proxy_host = 5 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearProxyHost() { _builder.clearProxyHost() } /** * ``` * Порт proxy. * # Диапазон: 1..65536 * ``` * * `int32 proxy_port = 6 [(.google.api.field_behavior) = REQUIRED];` */ public var proxyPort: kotlin.Int @JvmName("getProxyPort") get() = _builder.getProxyPort() @JvmName("setProxyPort") set(value) { _builder.setProxyPort(value) } /** * ``` * Порт proxy. * # Диапазон: 1..65536 * ``` * * `int32 proxy_port = 6 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearProxyPort() { _builder.clearProxyPort() } } } @kotlin.jvm.JvmName("-initializentp") public inline fun ntp(block: ru.keyapis.device.v1.PresetKt.NtpKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Ntp = ru.keyapis.device.v1.PresetKt.NtpKt.Dsl._create(ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Ntp.newBuilder()).apply { block() }._build() /** * ``` * Параметр NTP * ``` * * Protobuf type `keyapis.device.v1.Preset.Ntp` */ public object NtpKt { @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.Preset.Ntp.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Ntp.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Ntp = _builder.build() /** * ``` * Хост. * # Диапазон: 5..256 * ``` * * `string host = 1 [(.google.api.field_behavior) = REQUIRED];` */ public var host: kotlin.String @JvmName("getHost") get() = _builder.getHost() @JvmName("setHost") set(value) { _builder.setHost(value) } /** * ``` * Хост. * # Диапазон: 5..256 * ``` * * `string host = 1 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearHost() { _builder.clearHost() } /** * ``` * Порт. * # Диапазон: 1..65536 * ``` * * `int32 port = 2 [(.google.api.field_behavior) = REQUIRED];` */ public var port: kotlin.Int @JvmName("getPort") get() = _builder.getPort() @JvmName("setPort") set(value) { _builder.setPort(value) } /** * ``` * Порт. * # Диапазон: 1..65536 * ``` * * `int32 port = 2 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearPort() { _builder.clearPort() } } } @kotlin.jvm.JvmName("-initializesyslog") public inline fun syslog(block: ru.keyapis.device.v1.PresetKt.SyslogKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Syslog = ru.keyapis.device.v1.PresetKt.SyslogKt.Dsl._create(ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Syslog.newBuilder()).apply { block() }._build() /** * ``` * Параметр Syslog * ``` * * Protobuf type `keyapis.device.v1.Preset.Syslog` */ public object SyslogKt { @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.Preset.Syslog.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Syslog.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Syslog = _builder.build() /** * ``` * Хост. * # Диапазон: 5..256 * ``` * * `string host = 1 [(.google.api.field_behavior) = REQUIRED];` */ public var host: kotlin.String @JvmName("getHost") get() = _builder.getHost() @JvmName("setHost") set(value) { _builder.setHost(value) } /** * ``` * Хост. * # Диапазон: 5..256 * ``` * * `string host = 1 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearHost() { _builder.clearHost() } /** * ``` * Порт. * # Диапазон: 1..65536 * ``` * * `int32 port = 2 [(.google.api.field_behavior) = REQUIRED];` */ public var port: kotlin.Int @JvmName("getPort") get() = _builder.getPort() @JvmName("setPort") set(value) { _builder.setPort(value) } /** * ``` * Порт. * # Диапазон: 1..65536 * ``` * * `int32 port = 2 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearPort() { _builder.clearPort() } /** * ``` * Протокол * ``` * * `.keyapis.device.v1.Preset.Syslog.ProtocolType protocol_type = 3 [(.google.api.field_behavior) = REQUIRED];` */ public var protocolType: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Syslog.ProtocolType @JvmName("getProtocolType") get() = _builder.getProtocolType() @JvmName("setProtocolType") set(value) { _builder.setProtocolType(value) } public var protocolTypeValue: kotlin.Int @JvmName("getProtocolTypeValue") get() = _builder.getProtocolTypeValue() @JvmName("setProtocolTypeValue") set(value) { _builder.setProtocolTypeValue(value) } /** * ``` * Протокол * ``` * * `.keyapis.device.v1.Preset.Syslog.ProtocolType protocol_type = 3 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearProtocolType() { _builder.clearProtocolType() } } } @kotlin.jvm.JvmName("-initializeroom") public inline fun room(block: ru.keyapis.device.v1.PresetKt.RoomKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Room = ru.keyapis.device.v1.PresetKt.RoomKt.Dsl._create(ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Room.newBuilder()).apply { block() }._build() /** * ``` * Помещение * ``` * * Protobuf type `keyapis.device.v1.Preset.Room` */ public object RoomKt { @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.Preset.Room.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Room.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Room = _builder.build() /** * ``` * Номер телефона. * # Диапазон: 5..14 * ``` * * `string phone = 1 [(.google.api.field_behavior) = REQUIRED];` */ public var phone: kotlin.String @JvmName("getPhone") get() = _builder.getPhone() @JvmName("setPhone") set(value) { _builder.setPhone(value) } /** * ``` * Номер телефона. * # Диапазон: 5..14 * ``` * * `string phone = 1 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearPhone() { _builder.clearPhone() } /** * ``` * Номер помещения. * # Диапазон: 1..10000 * ``` * * `int32 num = 2 [(.google.api.field_behavior) = REQUIRED];` */ public var num: kotlin.Int @JvmName("getNum") get() = _builder.getNum() @JvmName("setNum") set(value) { _builder.setNum(value) } /** * ``` * Номер помещения. * # Диапазон: 1..10000 * ``` * * `int32 num = 2 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearNum() { _builder.clearNum() } } } @kotlin.jvm.JvmName("-initializevideoConfig") public inline fun videoConfig(block: ru.keyapis.device.v1.PresetKt.VideoConfigKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig = ru.keyapis.device.v1.PresetKt.VideoConfigKt.Dsl._create(ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig.newBuilder()).apply { block() }._build() /** * ``` * Параметры конфигурации видео * ``` * * Protobuf type `keyapis.device.v1.Preset.VideoConfig` */ public object VideoConfigKt { @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.Preset.VideoConfig.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig = _builder.build() /** * ``` * Тип пресета * ``` * * `.keyapis.device.v1.Preset.VideoConfig.QualityType quality_type = 1 [(.google.api.field_behavior) = REQUIRED];` */ public var qualityType: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig.QualityType @JvmName("getQualityType") get() = _builder.getQualityType() @JvmName("setQualityType") set(value) { _builder.setQualityType(value) } public var qualityTypeValue: kotlin.Int @JvmName("getQualityTypeValue") get() = _builder.getQualityTypeValue() @JvmName("setQualityTypeValue") set(value) { _builder.setQualityTypeValue(value) } /** * ``` * Тип пресета * ``` * * `.keyapis.device.v1.Preset.VideoConfig.QualityType quality_type = 1 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearQualityType() { _builder.clearQualityType() } /** * ``` * Пользователь * ``` * * `.keyapis.device.v1.Preset.VideoConfig.RtspUser rtsp_user = 2 [(.google.api.field_behavior) = REQUIRED];` */ public var rtspUser: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig.RtspUser @JvmName("getRtspUser") get() = _builder.getRtspUser() @JvmName("setRtspUser") set(value) { _builder.setRtspUser(value) } /** * ``` * Пользователь * ``` * * `.keyapis.device.v1.Preset.VideoConfig.RtspUser rtsp_user = 2 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearRtspUser() { _builder.clearRtspUser() } /** * ``` * Пользователь * ``` * * `.keyapis.device.v1.Preset.VideoConfig.RtspUser rtsp_user = 2 [(.google.api.field_behavior) = REQUIRED];` * @return Whether the rtspUser field is set. */ public fun hasRtspUser(): kotlin.Boolean { return _builder.hasRtspUser() } } @kotlin.jvm.JvmName("-initializertspUser") public inline fun rtspUser(block: ru.keyapis.device.v1.PresetKt.VideoConfigKt.RtspUserKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig.RtspUser = ru.keyapis.device.v1.PresetKt.VideoConfigKt.RtspUserKt.Dsl._create(ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig.RtspUser.newBuilder()).apply { block() }._build() /** * ``` * Пользователь * ``` * * Protobuf type `keyapis.device.v1.Preset.VideoConfig.RtspUser` */ public object RtspUserKt { @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.Preset.VideoConfig.RtspUser.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig.RtspUser.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig.RtspUser = _builder.build() /** * ``` * Имя пользователя. * # Диапазон: 3..256 * ``` * * `string username = 1 [(.google.api.field_behavior) = REQUIRED];` */ public var username: kotlin.String @JvmName("getUsername") get() = _builder.getUsername() @JvmName("setUsername") set(value) { _builder.setUsername(value) } /** * ``` * Имя пользователя. * # Диапазон: 3..256 * ``` * * `string username = 1 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearUsername() { _builder.clearUsername() } /** * ``` * Пароль. * # Диапазон: 3..256 * ``` * * `string password = 2 [(.google.api.field_behavior) = REQUIRED];` */ public var password: kotlin.String @JvmName("getPassword") get() = _builder.getPassword() @JvmName("setPassword") set(value) { _builder.setPassword(value) } /** * ``` * Пароль. * # Диапазон: 3..256 * ``` * * `string password = 2 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearPassword() { _builder.clearPassword() } } } } @kotlin.jvm.JvmName("-initializedtmf") public inline fun dtmf(block: ru.keyapis.device.v1.PresetKt.DtmfKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Dtmf = ru.keyapis.device.v1.PresetKt.DtmfKt.Dsl._create(ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Dtmf.newBuilder()).apply { block() }._build() /** * ``` * Параметр DTMF * ``` * * Protobuf type `keyapis.device.v1.Preset.Dtmf` */ public object DtmfKt { @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.Preset.Dtmf.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Dtmf.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Dtmf = _builder.build() /** * ``` * Код. * # Диапазон: 1..1 * ``` * * `string code = 1 [(.google.api.field_behavior) = REQUIRED];` */ public var code: kotlin.String @JvmName("getCode") get() = _builder.getCode() @JvmName("setCode") set(value) { _builder.setCode(value) } /** * ``` * Код. * # Диапазон: 1..1 * ``` * * `string code = 1 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearCode() { _builder.clearCode() } /** * ``` * Индекс реле. * # Диапазон: 0..64 * ``` * * `int32 relay_index = 2;` */ public var relayIndex: kotlin.Int @JvmName("getRelayIndex") get() = _builder.getRelayIndex() @JvmName("setRelayIndex") set(value) { _builder.setRelayIndex(value) } /** * ``` * Индекс реле. * # Диапазон: 0..64 * ``` * * `int32 relay_index = 2;` */ public fun clearRelayIndex() { _builder.clearRelayIndex() } } } @kotlin.jvm.JvmName("-initializefaceRecognition") public inline fun faceRecognition(block: ru.keyapis.device.v1.PresetKt.FaceRecognitionKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.FaceRecognition = ru.keyapis.device.v1.PresetKt.FaceRecognitionKt.Dsl._create(ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.FaceRecognition.newBuilder()).apply { block() }._build() /** * ``` * Распознование лиц * ``` * * Protobuf type `keyapis.device.v1.Preset.FaceRecognition` */ public object FaceRecognitionKt { @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.Preset.FaceRecognition.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.FaceRecognition.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.FaceRecognition = _builder.build() /** * ``` * Адрес * ``` * * `string host = 1 [(.google.api.field_behavior) = REQUIRED];` */ public var host: kotlin.String @JvmName("getHost") get() = _builder.getHost() @JvmName("setHost") set(value) { _builder.setHost(value) } /** * ``` * Адрес * ``` * * `string host = 1 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearHost() { _builder.clearHost() } /** * ``` * Альтернативный адрес * ``` * * `string alt_host = 2;` */ public var altHost: kotlin.String @JvmName("getAltHost") get() = _builder.getAltHost() @JvmName("setAltHost") set(value) { _builder.setAltHost(value) } /** * ``` * Альтернативный адрес * ``` * * `string alt_host = 2;` */ public fun clearAltHost() { _builder.clearAltHost() } /** * ``` * Путь запроса к серверу * ``` * * `string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];` */ public var endpoint: kotlin.String @JvmName("getEndpoint") get() = _builder.getEndpoint() @JvmName("setEndpoint") set(value) { _builder.setEndpoint(value) } /** * ``` * Путь запроса к серверу * ``` * * `string endpoint = 3 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearEndpoint() { _builder.clearEndpoint() } /** * ``` * Токен * ``` * * `string auth_token = 4 [(.google.api.field_behavior) = REQUIRED];` */ public var authToken: kotlin.String @JvmName("getAuthToken") get() = _builder.getAuthToken() @JvmName("setAuthToken") set(value) { _builder.setAuthToken(value) } /** * ``` * Токен * ``` * * `string auth_token = 4 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearAuthToken() { _builder.clearAuthToken() } /** * ``` * Тип конфигурации * ``` * * `.keyapis.device.v1.Preset.FaceRecognition.ConfigurationType configuration_type = 5 [(.google.api.field_behavior) = REQUIRED];` */ public var configurationType: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.FaceRecognition.ConfigurationType @JvmName("getConfigurationType") get() = _builder.getConfigurationType() @JvmName("setConfigurationType") set(value) { _builder.setConfigurationType(value) } public var configurationTypeValue: kotlin.Int @JvmName("getConfigurationTypeValue") get() = _builder.getConfigurationTypeValue() @JvmName("setConfigurationTypeValue") set(value) { _builder.setConfigurationTypeValue(value) } /** * ``` * Тип конфигурации * ``` * * `.keyapis.device.v1.Preset.FaceRecognition.ConfigurationType configuration_type = 5 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearConfigurationType() { _builder.clearConfigurationType() } /** * ``` * Идентификатор источника в identix * ``` * * `string origin_id = 6 [(.google.api.field_behavior) = REQUIRED];` */ public var originId: kotlin.String @JvmName("getOriginId") get() = _builder.getOriginId() @JvmName("setOriginId") set(value) { _builder.setOriginId(value) } /** * ``` * Идентификатор источника в identix * ``` * * `string origin_id = 6 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearOriginId() { _builder.clearOriginId() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) public class GroupIdsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * ``` * Идентификаторы групп профилей в identix * ``` * * `repeated int32 group_ids = 7;` */ public val groupIds: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getGroupIdsList() ) /** * ``` * Идентификаторы групп профилей в identix * ``` * * `repeated int32 group_ids = 7;` * @param value The groupIds to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addGroupIds") public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.Int) { _builder.addGroupIds(value) }/** * ``` * Идентификаторы групп профилей в identix * ``` * * `repeated int32 group_ids = 7;` * @param value The groupIds to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignGroupIds") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.Int) { add(value) }/** * ``` * Идентификаторы групп профилей в identix * ``` * * `repeated int32 group_ids = 7;` * @param values The groupIds to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllGroupIds") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllGroupIds(values) }/** * ``` * Идентификаторы групп профилей в identix * ``` * * `repeated int32 group_ids = 7;` * @param values The groupIds to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllGroupIds") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) }/** * ``` * Идентификаторы групп профилей в identix * ``` * * `repeated int32 group_ids = 7;` * @param index The index to set the value at. * @param value The groupIds to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setGroupIds") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.Int) { _builder.setGroupIds(index, value) }/** * ``` * Идентификаторы групп профилей в identix * ``` * * `repeated int32 group_ids = 7;` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearGroupIds") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearGroupIds() }} } @kotlin.jvm.JvmName("-initializesavingError") public inline fun savingError(block: ru.keyapis.device.v1.PresetKt.SavingErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError = ru.keyapis.device.v1.PresetKt.SavingErrorKt.Dsl._create(ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.newBuilder()).apply { block() }._build() /** * ``` * Ошибка сохранения. * Эти проверки выполняются при работе с базой данных и сторонними сервисами * ``` * * Protobuf type `keyapis.device.v1.Preset.SavingError` */ public object SavingErrorKt { @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.Preset.SavingError.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError = _builder.build() /** * ``` * Конфликт версий * ``` * * `.keyapis.device.v1.Preset.SavingError.Conflict conflict = 1;` */ public var conflict: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.Conflict @JvmName("getConflict") get() = _builder.getConflict() @JvmName("setConflict") set(value) { _builder.setConflict(value) } /** * ``` * Конфликт версий * ``` * * `.keyapis.device.v1.Preset.SavingError.Conflict conflict = 1;` */ public fun clearConflict() { _builder.clearConflict() } /** * ``` * Конфликт версий * ``` * * `.keyapis.device.v1.Preset.SavingError.Conflict conflict = 1;` * @return Whether the conflict field is set. */ public fun hasConflict(): kotlin.Boolean { return _builder.hasConflict() } /** * ``` * Запрещено для дефолтного пресета * ``` * * `.keyapis.device.v1.Preset.SavingError.NotAllowedForDefault not_allowed_for_default = 2;` */ public var notAllowedForDefault: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.NotAllowedForDefault @JvmName("getNotAllowedForDefault") get() = _builder.getNotAllowedForDefault() @JvmName("setNotAllowedForDefault") set(value) { _builder.setNotAllowedForDefault(value) } /** * ``` * Запрещено для дефолтного пресета * ``` * * `.keyapis.device.v1.Preset.SavingError.NotAllowedForDefault not_allowed_for_default = 2;` */ public fun clearNotAllowedForDefault() { _builder.clearNotAllowedForDefault() } /** * ``` * Запрещено для дефолтного пресета * ``` * * `.keyapis.device.v1.Preset.SavingError.NotAllowedForDefault not_allowed_for_default = 2;` * @return Whether the notAllowedForDefault field is set. */ public fun hasNotAllowedForDefault(): kotlin.Boolean { return _builder.hasNotAllowedForDefault() } public val reasonCase: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.ReasonCase @JvmName("getReasonCase") get() = _builder.getReasonCase() public fun clearReason() { _builder.clearReason() } } @kotlin.jvm.JvmName("-initializeconflict") public inline fun conflict(block: ru.keyapis.device.v1.PresetKt.SavingErrorKt.ConflictKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.Conflict = ru.keyapis.device.v1.PresetKt.SavingErrorKt.ConflictKt.Dsl._create(ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.Conflict.newBuilder()).apply { block() }._build() /** * ``` * Конфликт версий. * Причины: * - В базе хранится другая версия строки, значения changed_at отличаются * ``` * * Protobuf type `keyapis.device.v1.Preset.SavingError.Conflict` */ public object ConflictKt { @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.Preset.SavingError.Conflict.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.Conflict.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.Conflict = _builder.build() } } @kotlin.jvm.JvmName("-initializenotAllowedForDefault") public inline fun notAllowedForDefault(block: ru.keyapis.device.v1.PresetKt.SavingErrorKt.NotAllowedForDefaultKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.NotAllowedForDefault = ru.keyapis.device.v1.PresetKt.SavingErrorKt.NotAllowedForDefaultKt.Dsl._create(ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.NotAllowedForDefault.newBuilder()).apply { block() }._build() /** * ``` * Недоступно для дефолтного пресета. * Причины: * - Смена статуса на Архивный * ``` * * Protobuf type `keyapis.device.v1.Preset.SavingError.NotAllowedForDefault` */ public object NotAllowedForDefaultKt { @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.Preset.SavingError.NotAllowedForDefault.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.NotAllowedForDefault.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.NotAllowedForDefault = _builder.build() } } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.copy(block: ru.keyapis.device.v1.PresetKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset = ru.keyapis.device.v1.PresetKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Sip.copy(block: ru.keyapis.device.v1.PresetKt.SipKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Sip = ru.keyapis.device.v1.PresetKt.SipKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Ntp.copy(block: ru.keyapis.device.v1.PresetKt.NtpKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Ntp = ru.keyapis.device.v1.PresetKt.NtpKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Syslog.copy(block: ru.keyapis.device.v1.PresetKt.SyslogKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Syslog = ru.keyapis.device.v1.PresetKt.SyslogKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Room.copy(block: ru.keyapis.device.v1.PresetKt.RoomKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Room = ru.keyapis.device.v1.PresetKt.RoomKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig.copy(block: ru.keyapis.device.v1.PresetKt.VideoConfigKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig = ru.keyapis.device.v1.PresetKt.VideoConfigKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig.RtspUser.copy(block: ru.keyapis.device.v1.PresetKt.VideoConfigKt.RtspUserKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig.RtspUser = ru.keyapis.device.v1.PresetKt.VideoConfigKt.RtspUserKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfigOrBuilder.rtspUserOrNull: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig.RtspUser? get() = if (hasRtspUser()) getRtspUser() else null @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Dtmf.copy(block: ru.keyapis.device.v1.PresetKt.DtmfKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Dtmf = ru.keyapis.device.v1.PresetKt.DtmfKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.FaceRecognition.copy(block: ru.keyapis.device.v1.PresetKt.FaceRecognitionKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.FaceRecognition = ru.keyapis.device.v1.PresetKt.FaceRecognitionKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.copy(block: ru.keyapis.device.v1.PresetKt.SavingErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError = ru.keyapis.device.v1.PresetKt.SavingErrorKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.Conflict.copy(block: ru.keyapis.device.v1.PresetKt.SavingErrorKt.ConflictKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.Conflict = ru.keyapis.device.v1.PresetKt.SavingErrorKt.ConflictKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.NotAllowedForDefault.copy(block: ru.keyapis.device.v1.PresetKt.SavingErrorKt.NotAllowedForDefaultKt.Dsl.() -> kotlin.Unit): ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.NotAllowedForDefault = ru.keyapis.device.v1.PresetKt.SavingErrorKt.NotAllowedForDefaultKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingErrorOrBuilder.conflictOrNull: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.Conflict? get() = if (hasConflict()) getConflict() else null public val ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingErrorOrBuilder.notAllowedForDefaultOrNull: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.SavingError.NotAllowedForDefault? get() = if (hasNotAllowedForDefault()) getNotAllowedForDefault() else null public val ru.keyapis.device.v1.KeyapisDeviceV1Proto.PresetOrBuilder.descriptionOrNull: com.google.protobuf.StringValue? get() = if (hasDescription()) getDescription() else null public val ru.keyapis.device.v1.KeyapisDeviceV1Proto.PresetOrBuilder.createdAtOrNull: com.google.protobuf.Timestamp? get() = if (hasCreatedAt()) getCreatedAt() else null public val ru.keyapis.device.v1.KeyapisDeviceV1Proto.PresetOrBuilder.changedAtOrNull: com.google.protobuf.Timestamp? get() = if (hasChangedAt()) getChangedAt() else null public val ru.keyapis.device.v1.KeyapisDeviceV1Proto.PresetOrBuilder.sipOrNull: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Sip? get() = if (hasSip()) getSip() else null public val ru.keyapis.device.v1.KeyapisDeviceV1Proto.PresetOrBuilder.ntpOrNull: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Ntp? get() = if (hasNtp()) getNtp() else null public val ru.keyapis.device.v1.KeyapisDeviceV1Proto.PresetOrBuilder.syslogOrNull: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.Syslog? get() = if (hasSyslog()) getSyslog() else null public val ru.keyapis.device.v1.KeyapisDeviceV1Proto.PresetOrBuilder.videoConfigOrNull: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.VideoConfig? get() = if (hasVideoConfig()) getVideoConfig() else null public val ru.keyapis.device.v1.KeyapisDeviceV1Proto.PresetOrBuilder.faceRecognitionOrNull: ru.keyapis.device.v1.KeyapisDeviceV1Proto.Preset.FaceRecognition? get() = if (hasFaceRecognition()) getFaceRecognition() else null