// 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("-initializegetCameraCalendarResponse") public inline fun getCameraCalendarResponse(block: ru.keyapis.vc.v1.GetCameraCalendarResponseKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse = ru.keyapis.vc.v1.GetCameraCalendarResponseKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.newBuilder()).apply { block() }._build() /** * ``` * Ответ на запрос получения дней, когда доступны записи * ``` * * Protobuf type `keyapis.vc.v1.GetCameraCalendarResponse` */ public object GetCameraCalendarResponseKt { @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.GetCameraCalendarResponse.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse = _builder.build() /** * ``` * Дни с записями * ``` * * `.keyapis.vc.v1.GetCameraCalendarResponse.Caledar data = 1;` */ public var data: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Caledar @JvmName("getData") get() = _builder.getData() @JvmName("setData") set(value) { _builder.setData(value) } /** * ``` * Дни с записями * ``` * * `.keyapis.vc.v1.GetCameraCalendarResponse.Caledar data = 1;` */ public fun clearData() { _builder.clearData() } /** * ``` * Дни с записями * ``` * * `.keyapis.vc.v1.GetCameraCalendarResponse.Caledar data = 1;` * @return Whether the data field is set. */ public fun hasData(): kotlin.Boolean { return _builder.hasData() } /** * ``` * Ошибка * ``` * * `.keyapis.vc.v1.GetCameraCalendarResponse.Error error = 2;` */ public var error: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Error @JvmName("getError") get() = _builder.getError() @JvmName("setError") set(value) { _builder.setError(value) } /** * ``` * Ошибка * ``` * * `.keyapis.vc.v1.GetCameraCalendarResponse.Error error = 2;` */ public fun clearError() { _builder.clearError() } /** * ``` * Ошибка * ``` * * `.keyapis.vc.v1.GetCameraCalendarResponse.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.GetCameraCalendarResponse.TypeCase @JvmName("getTypeCase") get() = _builder.getTypeCase() public fun clearType() { _builder.clearType() } } @kotlin.jvm.JvmName("-initializecaledar") public inline fun caledar(block: ru.keyapis.vc.v1.GetCameraCalendarResponseKt.CaledarKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Caledar = ru.keyapis.vc.v1.GetCameraCalendarResponseKt.CaledarKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Caledar.newBuilder()).apply { block() }._build() /** * ``` * Дни с записями * ``` * * Protobuf type `keyapis.vc.v1.GetCameraCalendarResponse.Caledar` */ public object CaledarKt { @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.GetCameraCalendarResponse.Caledar.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Caledar.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Caledar = _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 string items = 1;` * @return A list containing the items. */ public val items: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getItemsList() ) /** * ``` * День с записью * ``` * * `repeated string items = 1;` * @param value The items to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addItems") public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { _builder.addItems(value) } /** * ``` * День с записью * ``` * * `repeated string 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: kotlin.String) { add(value) } /** * ``` * День с записью * ``` * * `repeated string 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 string 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 string 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: kotlin.String) { _builder.setItems(index, value) }/** * ``` * День с записью * ``` * * `repeated string items = 1;` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearItems") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearItems() }} } @kotlin.jvm.JvmName("-initializeerror") public inline fun error(block: ru.keyapis.vc.v1.GetCameraCalendarResponseKt.ErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Error = ru.keyapis.vc.v1.GetCameraCalendarResponseKt.ErrorKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Error.newBuilder()).apply { block() }._build() /** * ``` * Ошибка запроса * ``` * * Protobuf type `keyapis.vc.v1.GetCameraCalendarResponse.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.GetCameraCalendarResponse.Error.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Error.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.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.GetCameraCalendarResponse.Error.VcError vc = 2;` */ public var vc: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Error.VcError @JvmName("getVc") get() = _builder.getVc() @JvmName("setVc") set(value) { _builder.setVc(value) } /** * ``` * Ошибка в сервисе ВН * ``` * * `.keyapis.vc.v1.GetCameraCalendarResponse.Error.VcError vc = 2;` */ public fun clearVc() { _builder.clearVc() } /** * ``` * Ошибка в сервисе ВН * ``` * * `.keyapis.vc.v1.GetCameraCalendarResponse.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.GetCameraCalendarResponse.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.GetCameraCalendarResponseKt.ErrorKt.VcErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Error.VcError = ru.keyapis.vc.v1.GetCameraCalendarResponseKt.ErrorKt.VcErrorKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Error.VcError.newBuilder()).apply { block() }._build() /** * ``` * Ошибка в сервисе ВН * ``` * * Protobuf type `keyapis.vc.v1.GetCameraCalendarResponse.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.GetCameraCalendarResponse.Error.VcError.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Error.VcError.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.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.GetCameraCalendarResponse.copy(block: ru.keyapis.vc.v1.GetCameraCalendarResponseKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse = ru.keyapis.vc.v1.GetCameraCalendarResponseKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Caledar.copy(block: ru.keyapis.vc.v1.GetCameraCalendarResponseKt.CaledarKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Caledar = ru.keyapis.vc.v1.GetCameraCalendarResponseKt.CaledarKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Error.copy(block: ru.keyapis.vc.v1.GetCameraCalendarResponseKt.ErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Error = ru.keyapis.vc.v1.GetCameraCalendarResponseKt.ErrorKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Error.VcError.copy(block: ru.keyapis.vc.v1.GetCameraCalendarResponseKt.ErrorKt.VcErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Error.VcError = ru.keyapis.vc.v1.GetCameraCalendarResponseKt.ErrorKt.VcErrorKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.ErrorOrBuilder.validationOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.ValidationError? get() = if (hasValidation()) getValidation() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.ErrorOrBuilder.vcOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Error.VcError? get() = if (hasVc()) getVc() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponseOrBuilder.dataOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Caledar? get() = if (hasData()) getData() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponseOrBuilder.errorOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraCalendarResponse.Error? get() = if (hasError()) getError() else null