// Generated by the protocol buffer compiler. DO NOT EDIT! // source: deviceapis/device/v1/deviceapis_device_video_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.deviceapis.device.v1; @kotlin.jvm.JvmName("-initializevideoChannel") public inline fun videoChannel(block: ru.deviceapis.device.v1.VideoChannelKt.Dsl.() -> kotlin.Unit): ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.VideoChannel = ru.deviceapis.device.v1.VideoChannelKt.Dsl._create(ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.VideoChannel.newBuilder()).apply { block() }._build() /** * ``` * Настройки видеоконфига * ``` * * Protobuf type `deviceapis.device.v1.VideoChannel` */ public object VideoChannelKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.VideoChannel.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.VideoChannel.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.VideoChannel = _builder.build() /** * ``` * Порядковый номер видеоконфига * ``` * * `int32 chanel_number = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public var chanelNumber: kotlin.Int @JvmName("getChanelNumber") get() = _builder.getChanelNumber() @JvmName("setChanelNumber") set(value) { _builder.setChanelNumber(value) } /** * ``` * Порядковый номер видеоконфига * ``` * * `int32 chanel_number = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public fun clearChanelNumber() { _builder.clearChanelNumber() } /** * ``` * Флаг активности * ``` * * `bool is_enabled = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public var isEnabled: kotlin.Boolean @JvmName("getIsEnabled") get() = _builder.getIsEnabled() @JvmName("setIsEnabled") set(value) { _builder.setIsEnabled(value) } /** * ``` * Флаг активности * ``` * * `bool is_enabled = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public fun clearIsEnabled() { _builder.clearIsEnabled() } /** * ``` * Тип разрешения видео * ``` * * `.deviceapis.device.v1.VideoChannel.ResolutionType resolution_type = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public var resolutionType: ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.VideoChannel.ResolutionType @JvmName("getResolutionType") get() = _builder.getResolutionType() @JvmName("setResolutionType") set(value) { _builder.setResolutionType(value) } public var resolutionTypeValue: kotlin.Int @JvmName("getResolutionTypeValue") get() = _builder.getResolutionTypeValue() @JvmName("setResolutionTypeValue") set(value) { _builder.setResolutionTypeValue(value) } /** * ``` * Тип разрешения видео * ``` * * `.deviceapis.device.v1.VideoChannel.ResolutionType resolution_type = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public fun clearResolutionType() { _builder.clearResolutionType() } /** * ``` * Формат видео * ``` * * `.deviceapis.device.v1.VideoChannel.FormatType format_type = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public var formatType: ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.VideoChannel.FormatType @JvmName("getFormatType") get() = _builder.getFormatType() @JvmName("setFormatType") set(value) { _builder.setFormatType(value) } public var formatTypeValue: kotlin.Int @JvmName("getFormatTypeValue") get() = _builder.getFormatTypeValue() @JvmName("setFormatTypeValue") set(value) { _builder.setFormatTypeValue(value) } /** * ``` * Формат видео * ``` * * `.deviceapis.device.v1.VideoChannel.FormatType format_type = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public fun clearFormatType() { _builder.clearFormatType() } /** * ``` * Профиль * ``` * * `.deviceapis.device.v1.VideoChannel.ProfileType profile_type = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public var profileType: ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.VideoChannel.ProfileType @JvmName("getProfileType") get() = _builder.getProfileType() @JvmName("setProfileType") set(value) { _builder.setProfileType(value) } public var profileTypeValue: kotlin.Int @JvmName("getProfileTypeValue") get() = _builder.getProfileTypeValue() @JvmName("setProfileTypeValue") set(value) { _builder.setProfileTypeValue(value) } /** * ``` * Профиль * ``` * * `.deviceapis.device.v1.VideoChannel.ProfileType profile_type = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public fun clearProfileType() { _builder.clearProfileType() } /** * ``` * Частота кадров * ``` * * `int32 fps = 6 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public var fps: kotlin.Int @JvmName("getFps") get() = _builder.getFps() @JvmName("setFps") set(value) { _builder.setFps(value) } /** * ``` * Частота кадров * ``` * * `int32 fps = 6 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public fun clearFps() { _builder.clearFps() } /** * ``` * Периодичность опорного кадра * ``` * * `int32 gop = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public var gop: kotlin.Int @JvmName("getGop") get() = _builder.getGop() @JvmName("setGop") set(value) { _builder.setGop(value) } /** * ``` * Периодичность опорного кадра * ``` * * `int32 gop = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public fun clearGop() { _builder.clearGop() } /** * ``` * Режим FlowControlModeType * ``` * * `.deviceapis.device.v1.VideoChannel.FlowControlModeType flow_control_mode_type = 8 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public var flowControlModeType: ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.VideoChannel.FlowControlModeType @JvmName("getFlowControlModeType") get() = _builder.getFlowControlModeType() @JvmName("setFlowControlModeType") set(value) { _builder.setFlowControlModeType(value) } public var flowControlModeTypeValue: kotlin.Int @JvmName("getFlowControlModeTypeValue") get() = _builder.getFlowControlModeTypeValue() @JvmName("setFlowControlModeTypeValue") set(value) { _builder.setFlowControlModeTypeValue(value) } /** * ``` * Режим FlowControlModeType * ``` * * `.deviceapis.device.v1.VideoChannel.FlowControlModeType flow_control_mode_type = 8 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public fun clearFlowControlModeType() { _builder.clearFlowControlModeType() } /** * ``` * Целевая скорость потока, килобит * ``` * * `int32 biterate = 9 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public var biterate: kotlin.Int @JvmName("getBiterate") get() = _builder.getBiterate() @JvmName("setBiterate") set(value) { _builder.setBiterate(value) } /** * ``` * Целевая скорость потока, килобит * ``` * * `int32 biterate = 9 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public fun clearBiterate() { _builder.clearBiterate() } /** * ``` * Флаг rtsp_audio * ``` * * `bool is_rtsp_audio = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public var isRtspAudio: kotlin.Boolean @JvmName("getIsRtspAudio") get() = _builder.getIsRtspAudio() @JvmName("setIsRtspAudio") set(value) { _builder.setIsRtspAudio(value) } /** * ``` * Флаг rtsp_audio * ``` * * `bool is_rtsp_audio = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public fun clearIsRtspAudio() { _builder.clearIsRtspAudio() } /** * ``` * Флаг use for sip * ``` * * `bool is_used_for_sip = 11 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public var isUsedForSip: kotlin.Boolean @JvmName("getIsUsedForSip") get() = _builder.getIsUsedForSip() @JvmName("setIsUsedForSip") set(value) { _builder.setIsUsedForSip(value) } /** * ``` * Флаг use for sip * ``` * * `bool is_used_for_sip = 11 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }` */ public fun clearIsUsedForSip() { _builder.clearIsUsedForSip() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.VideoChannel.copy(block: ru.deviceapis.device.v1.VideoChannelKt.Dsl.() -> kotlin.Unit): ru.deviceapis.device.v1.DeviceapisDeviceV1Proto.VideoChannel = ru.deviceapis.device.v1.VideoChannelKt.Dsl._create(this.toBuilder()).apply { block() }._build()