// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/vc/v1/keyapis_vc_camera_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.vc.v1; @kotlin.jvm.JvmName("-initializecameraFilter") public inline fun cameraFilter(block: ru.keyapis.vc.v1.CameraFilterKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.CameraFilter = ru.keyapis.vc.v1.CameraFilterKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.CameraFilter.newBuilder()).apply { block() }._build() /** * ``` * Фильтр камер * ``` * * Protobuf type `keyapis.vc.v1.CameraFilter` */ public object CameraFilterKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.CameraFilter.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.CameraFilter.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.CameraFilter = _builder.build() /** * ``` * Признак активности камеры * ``` * * `.google.protobuf.BoolValue is_active = 1;` */ public var isActive: com.google.protobuf.BoolValue @JvmName("getIsActive") get() = _builder.getIsActive() @JvmName("setIsActive") set(value) { _builder.setIsActive(value) } /** * ``` * Признак активности камеры * ``` * * `.google.protobuf.BoolValue is_active = 1;` */ public fun clearIsActive() { _builder.clearIsActive() } /** * ``` * Признак активности камеры * ``` * * `.google.protobuf.BoolValue is_active = 1;` * @return Whether the isActive field is set. */ public fun hasIsActive(): kotlin.Boolean { return _builder.hasIsActive() } /** * ``` * Признак активности канала * ``` * * `.google.protobuf.BoolValue is_channel_alive = 2;` */ public var isChannelAlive: com.google.protobuf.BoolValue @JvmName("getIsChannelAlive") get() = _builder.getIsChannelAlive() @JvmName("setIsChannelAlive") set(value) { _builder.setIsChannelAlive(value) } /** * ``` * Признак активности канала * ``` * * `.google.protobuf.BoolValue is_channel_alive = 2;` */ public fun clearIsChannelAlive() { _builder.clearIsChannelAlive() } /** * ``` * Признак активности канала * ``` * * `.google.protobuf.BoolValue is_channel_alive = 2;` * @return Whether the isChannelAlive field is set. */ public fun hasIsChannelAlive(): kotlin.Boolean { return _builder.hasIsChannelAlive() } /** * ``` * Статус камеры * ``` * * `.google.protobuf.BoolValue is_online = 3;` */ public var isOnline: com.google.protobuf.BoolValue @JvmName("getIsOnline") get() = _builder.getIsOnline() @JvmName("setIsOnline") set(value) { _builder.setIsOnline(value) } /** * ``` * Статус камеры * ``` * * `.google.protobuf.BoolValue is_online = 3;` */ public fun clearIsOnline() { _builder.clearIsOnline() } /** * ``` * Статус камеры * ``` * * `.google.protobuf.BoolValue is_online = 3;` * @return Whether the isOnline field is set. */ public fun hasIsOnline(): kotlin.Boolean { return _builder.hasIsOnline() } /** * ``` * Тип камеры * ``` * * `.keyapis.vc.v1.Camera.Type camera_type = 4;` */ public var cameraType: ru.keyapis.vc.v1.KeyapisVcV1Proto.Camera.Type @JvmName("getCameraType") get() = _builder.getCameraType() @JvmName("setCameraType") set(value) { _builder.setCameraType(value) } public var cameraTypeValue: kotlin.Int @JvmName("getCameraTypeValue") get() = _builder.getCameraTypeValue() @JvmName("setCameraTypeValue") set(value) { _builder.setCameraTypeValue(value) } /** * ``` * Тип камеры * ``` * * `.keyapis.vc.v1.Camera.Type camera_type = 4;` */ public fun clearCameraType() { _builder.clearCameraType() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.CameraFilter.copy(block: ru.keyapis.vc.v1.CameraFilterKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.CameraFilter = ru.keyapis.vc.v1.CameraFilterKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.vc.v1.KeyapisVcV1Proto.CameraFilterOrBuilder.isActiveOrNull: com.google.protobuf.BoolValue? get() = if (hasIsActive()) getIsActive() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.CameraFilterOrBuilder.isChannelAliveOrNull: com.google.protobuf.BoolValue? get() = if (hasIsChannelAlive()) getIsChannelAlive() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.CameraFilterOrBuilder.isOnlineOrNull: com.google.protobuf.BoolValue? get() = if (hasIsOnline()) getIsOnline() else null