// 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("-initializegetCameraIntervalsResponse") public inline fun getCameraIntervalsResponse(block: ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse = ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.newBuilder()).apply { block() }._build() /** * ``` * Ответ на запрос получения интервалов, когда доступны записи * ``` * * Protobuf type `keyapis.vc.v1.GetCameraIntervalsResponse` */ public object GetCameraIntervalsResponseKt { @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.GetCameraIntervalsResponse.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse = _builder.build() /** * ``` * Интервалы * ``` * * `.keyapis.vc.v1.GetCameraIntervalsResponse.Interval data = 1;` */ public var data: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval @JvmName("getData") get() = _builder.getData() @JvmName("setData") set(value) { _builder.setData(value) } /** * ``` * Интервалы * ``` * * `.keyapis.vc.v1.GetCameraIntervalsResponse.Interval data = 1;` */ public fun clearData() { _builder.clearData() } /** * ``` * Интервалы * ``` * * `.keyapis.vc.v1.GetCameraIntervalsResponse.Interval data = 1;` * @return Whether the data field is set. */ public fun hasData(): kotlin.Boolean { return _builder.hasData() } /** * ``` * Ошибка * ``` * * `.keyapis.vc.v1.GetCameraIntervalsResponse.Error error = 2;` */ public var error: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error @JvmName("getError") get() = _builder.getError() @JvmName("setError") set(value) { _builder.setError(value) } /** * ``` * Ошибка * ``` * * `.keyapis.vc.v1.GetCameraIntervalsResponse.Error error = 2;` */ public fun clearError() { _builder.clearError() } /** * ``` * Ошибка * ``` * * `.keyapis.vc.v1.GetCameraIntervalsResponse.Error error = 2;` * @return Whether the error field is set. */ public fun hasError(): kotlin.Boolean { return _builder.hasError() } public val typeCase: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.TypeCase @JvmName("getTypeCase") get() = _builder.getTypeCase() public fun clearType() { _builder.clearType() } } @kotlin.jvm.JvmName("-initializeinterval") public inline fun interval(block: ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.IntervalKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval = ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.IntervalKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval.newBuilder()).apply { block() }._build() /** * ``` * Интервалы * ``` * * Protobuf type `keyapis.vc.v1.GetCameraIntervalsResponse.Interval` */ public object IntervalKt { @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.GetCameraIntervalsResponse.Interval.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval = _builder.build() /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) public class ItemsProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * ``` * Список интервалов * ``` * * `repeated .keyapis.vc.v1.GetCameraIntervalsResponse.Interval.Item items = 1;` */ public val items: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getItemsList() ) /** * ``` * Список интервалов * ``` * * `repeated .keyapis.vc.v1.GetCameraIntervalsResponse.Interval.Item items = 1;` * @param value The items to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addItems") public fun com.google.protobuf.kotlin.DslList.add(value: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval.Item) { _builder.addItems(value) } /** * ``` * Список интервалов * ``` * * `repeated .keyapis.vc.v1.GetCameraIntervalsResponse.Interval.Item items = 1;` * @param value The items to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignItems") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval.Item) { add(value) } /** * ``` * Список интервалов * ``` * * `repeated .keyapis.vc.v1.GetCameraIntervalsResponse.Interval.Item items = 1;` * @param values The items to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllItems") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllItems(values) } /** * ``` * Список интервалов * ``` * * `repeated .keyapis.vc.v1.GetCameraIntervalsResponse.Interval.Item items = 1;` * @param values The items to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllItems") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** * ``` * Список интервалов * ``` * * `repeated .keyapis.vc.v1.GetCameraIntervalsResponse.Interval.Item items = 1;` * @param index The index to set the value at. * @param value The items to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setItems") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval.Item) { _builder.setItems(index, value) } /** * ``` * Список интервалов * ``` * * `repeated .keyapis.vc.v1.GetCameraIntervalsResponse.Interval.Item items = 1;` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearItems") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearItems() } } @kotlin.jvm.JvmName("-initializeitem") public inline fun item(block: ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.IntervalKt.ItemKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval.Item = ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.IntervalKt.ItemKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval.Item.newBuilder()).apply { block() }._build() /** * ``` * Интервал * ``` * * Protobuf type `keyapis.vc.v1.GetCameraIntervalsResponse.Interval.Item` */ public object ItemKt { @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.GetCameraIntervalsResponse.Interval.Item.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval.Item.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval.Item = _builder.build() /** * ``` * Значение интервала с. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp since_at = 1;` */ public var sinceAt: com.google.protobuf.Timestamp @JvmName("getSinceAt") get() = _builder.getSinceAt() @JvmName("setSinceAt") set(value) { _builder.setSinceAt(value) } /** * ``` * Значение интервала с. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp since_at = 1;` */ public fun clearSinceAt() { _builder.clearSinceAt() } /** * ``` * Значение интервала с. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp since_at = 1;` * @return Whether the sinceAt field is set. */ public fun hasSinceAt(): kotlin.Boolean { return _builder.hasSinceAt() } /** * ``` * Значение интервала до. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp till_at = 2;` */ public var tillAt: com.google.protobuf.Timestamp @JvmName("getTillAt") get() = _builder.getTillAt() @JvmName("setTillAt") set(value) { _builder.setTillAt(value) } /** * ``` * Значение интервала до. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp till_at = 2;` */ public fun clearTillAt() { _builder.clearTillAt() } /** * ``` * Значение интервала до. * # Тип: DateTime * ``` * * `.google.protobuf.Timestamp till_at = 2;` * @return Whether the tillAt field is set. */ public fun hasTillAt(): kotlin.Boolean { return _builder.hasTillAt() } } } } @kotlin.jvm.JvmName("-initializeerror") public inline fun error(block: ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.ErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error = ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.ErrorKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error.newBuilder()).apply { block() }._build() /** * ``` * Ошибка запроса * ``` * * Protobuf type `keyapis.vc.v1.GetCameraIntervalsResponse.Error` */ public object ErrorKt { @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.GetCameraIntervalsResponse.Error.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error = _builder.build() /** * ``` * Ошибка валидации * ``` * * `.keyapis.vc.v1.ValidationError validation = 1;` */ public var validation: ru.keyapis.vc.v1.KeyapisVcV1Proto.ValidationError @JvmName("getValidation") get() = _builder.getValidation() @JvmName("setValidation") set(value) { _builder.setValidation(value) } /** * ``` * Ошибка валидации * ``` * * `.keyapis.vc.v1.ValidationError validation = 1;` */ public fun clearValidation() { _builder.clearValidation() } /** * ``` * Ошибка валидации * ``` * * `.keyapis.vc.v1.ValidationError validation = 1;` * @return Whether the validation field is set. */ public fun hasValidation(): kotlin.Boolean { return _builder.hasValidation() } /** * ``` * Ошибка в сервисе ВН * ``` * * `.keyapis.vc.v1.GetCameraIntervalsResponse.Error.VcError vc = 2;` */ public var vc: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error.VcError @JvmName("getVc") get() = _builder.getVc() @JvmName("setVc") set(value) { _builder.setVc(value) } /** * ``` * Ошибка в сервисе ВН * ``` * * `.keyapis.vc.v1.GetCameraIntervalsResponse.Error.VcError vc = 2;` */ public fun clearVc() { _builder.clearVc() } /** * ``` * Ошибка в сервисе ВН * ``` * * `.keyapis.vc.v1.GetCameraIntervalsResponse.Error.VcError vc = 2;` * @return Whether the vc field is set. */ public fun hasVc(): kotlin.Boolean { return _builder.hasVc() } public val reasonCase: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error.ReasonCase @JvmName("getReasonCase") get() = _builder.getReasonCase() public fun clearReason() { _builder.clearReason() } } @kotlin.jvm.JvmName("-initializevcError") public inline fun vcError(block: ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.ErrorKt.VcErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error.VcError = ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.ErrorKt.VcErrorKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error.VcError.newBuilder()).apply { block() }._build() /** * ``` * Ошибка в сервисе ВН * ``` * * Protobuf type `keyapis.vc.v1.GetCameraIntervalsResponse.Error.VcError` */ public object VcErrorKt { @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.GetCameraIntervalsResponse.Error.VcError.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error.VcError.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error.VcError = _builder.build() /** * ``` * Текст ошибки * ``` * * `string text = 1;` */ public var text: kotlin.String @JvmName("getText") get() = _builder.getText() @JvmName("setText") set(value) { _builder.setText(value) } /** * ``` * Текст ошибки * ``` * * `string text = 1;` */ public fun clearText() { _builder.clearText() } } } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.copy(block: ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse = ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval.copy(block: ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.IntervalKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval = ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.IntervalKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval.Item.copy(block: ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.IntervalKt.ItemKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval.Item = ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.IntervalKt.ItemKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval.ItemOrBuilder.sinceAtOrNull: com.google.protobuf.Timestamp? get() = if (hasSinceAt()) getSinceAt() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval.ItemOrBuilder.tillAtOrNull: com.google.protobuf.Timestamp? get() = if (hasTillAt()) getTillAt() else null @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error.copy(block: ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.ErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error = ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.ErrorKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error.VcError.copy(block: ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.ErrorKt.VcErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error.VcError = ru.keyapis.vc.v1.GetCameraIntervalsResponseKt.ErrorKt.VcErrorKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.ErrorOrBuilder.validationOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.ValidationError? get() = if (hasValidation()) getValidation() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.ErrorOrBuilder.vcOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error.VcError? get() = if (hasVc()) getVc() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponseOrBuilder.dataOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Interval? get() = if (hasData()) getData() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponseOrBuilder.errorOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraIntervalsResponse.Error? get() = if (hasError()) getError() else null