// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/vc/v1/keyapis_vc_camera_archive_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.vc.v1; @kotlin.jvm.JvmName("-initializegetCameraArchiveCalendarResponse") public inline fun getCameraArchiveCalendarResponse(block: ru.keyapis.vc.v1.GetCameraArchiveCalendarResponseKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse = ru.keyapis.vc.v1.GetCameraArchiveCalendarResponseKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.newBuilder()).apply { block() }._build() /** * ``` * Ответ запрос на получения дней, в которых есть записи на камере * ``` * * Protobuf type `keyapis.vc.v1.GetCameraArchiveCalendarResponse` */ public object GetCameraArchiveCalendarResponseKt { @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.GetCameraArchiveCalendarResponse.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse = _builder.build() /** * ``` * Календарь с датами, в которые есть записи * ``` * * `.keyapis.vc.v1.CameraArchiveCalendar data = 1;` */ public var data: ru.keyapis.vc.v1.KeyapisVcV1Proto.CameraArchiveCalendar @JvmName("getData") get() = _builder.getData() @JvmName("setData") set(value) { _builder.setData(value) } /** * ``` * Календарь с датами, в которые есть записи * ``` * * `.keyapis.vc.v1.CameraArchiveCalendar data = 1;` */ public fun clearData() { _builder.clearData() } /** * ``` * Календарь с датами, в которые есть записи * ``` * * `.keyapis.vc.v1.CameraArchiveCalendar data = 1;` * @return Whether the data field is set. */ public fun hasData(): kotlin.Boolean { return _builder.hasData() } /** * ``` * Ошибка * ``` * * `.keyapis.vc.v1.GetCameraArchiveCalendarResponse.Error error = 2;` */ public var error: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error @JvmName("getError") get() = _builder.getError() @JvmName("setError") set(value) { _builder.setError(value) } /** * ``` * Ошибка * ``` * * `.keyapis.vc.v1.GetCameraArchiveCalendarResponse.Error error = 2;` */ public fun clearError() { _builder.clearError() } /** * ``` * Ошибка * ``` * * `.keyapis.vc.v1.GetCameraArchiveCalendarResponse.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.GetCameraArchiveCalendarResponse.TypeCase @JvmName("getTypeCase") get() = _builder.getTypeCase() public fun clearType() { _builder.clearType() } } @kotlin.jvm.JvmName("-initializeerror") public inline fun error(block: ru.keyapis.vc.v1.GetCameraArchiveCalendarResponseKt.ErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error = ru.keyapis.vc.v1.GetCameraArchiveCalendarResponseKt.ErrorKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.newBuilder()).apply { block() }._build() /** * ``` * Ошибка запроса * ``` * * Protobuf type `keyapis.vc.v1.GetCameraArchiveCalendarResponse.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.GetCameraArchiveCalendarResponse.Error.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.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.GetCameraArchiveCalendarResponse.Error.VcError vc_error = 2;` */ public var vcError: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.VcError @JvmName("getVcError") get() = _builder.getVcError() @JvmName("setVcError") set(value) { _builder.setVcError(value) } /** * ``` * Ошибка в сервисе ВН * ``` * * `.keyapis.vc.v1.GetCameraArchiveCalendarResponse.Error.VcError vc_error = 2;` */ public fun clearVcError() { _builder.clearVcError() } /** * ``` * Ошибка в сервисе ВН * ``` * * `.keyapis.vc.v1.GetCameraArchiveCalendarResponse.Error.VcError vc_error = 2;` * @return Whether the vcError field is set. */ public fun hasVcError(): kotlin.Boolean { return _builder.hasVcError() } /** * ``` * Отсутствует идентификатор пользователя в Видеоплатформе * ``` * * `.keyapis.vc.v1.GetCameraArchiveCalendarResponse.Error.VcUserNotFound vc_user_not_found = 3;` */ public var vcUserNotFound: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.VcUserNotFound @JvmName("getVcUserNotFound") get() = _builder.getVcUserNotFound() @JvmName("setVcUserNotFound") set(value) { _builder.setVcUserNotFound(value) } /** * ``` * Отсутствует идентификатор пользователя в Видеоплатформе * ``` * * `.keyapis.vc.v1.GetCameraArchiveCalendarResponse.Error.VcUserNotFound vc_user_not_found = 3;` */ public fun clearVcUserNotFound() { _builder.clearVcUserNotFound() } /** * ``` * Отсутствует идентификатор пользователя в Видеоплатформе * ``` * * `.keyapis.vc.v1.GetCameraArchiveCalendarResponse.Error.VcUserNotFound vc_user_not_found = 3;` * @return Whether the vcUserNotFound field is set. */ public fun hasVcUserNotFound(): kotlin.Boolean { return _builder.hasVcUserNotFound() } public val reasonCase: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.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.GetCameraArchiveCalendarResponseKt.ErrorKt.VcErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.VcError = ru.keyapis.vc.v1.GetCameraArchiveCalendarResponseKt.ErrorKt.VcErrorKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.VcError.newBuilder()).apply { block() }._build() /** * ``` * Ошибка в сервисе ВН * ``` * * Protobuf type `keyapis.vc.v1.GetCameraArchiveCalendarResponse.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.GetCameraArchiveCalendarResponse.Error.VcError.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.VcError.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.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.JvmName("-initializevcUserNotFound") public inline fun vcUserNotFound(block: ru.keyapis.vc.v1.GetCameraArchiveCalendarResponseKt.ErrorKt.VcUserNotFoundKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.VcUserNotFound = ru.keyapis.vc.v1.GetCameraArchiveCalendarResponseKt.ErrorKt.VcUserNotFoundKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.VcUserNotFound.newBuilder()).apply { block() }._build() /** * ``` * Отсутствует идентификатор пользователя в Видеоплатформе * ``` * * Protobuf type `keyapis.vc.v1.GetCameraArchiveCalendarResponse.Error.VcUserNotFound` */ public object VcUserNotFoundKt { @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.GetCameraArchiveCalendarResponse.Error.VcUserNotFound.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.VcUserNotFound.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.VcUserNotFound = _builder.build() } } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.copy(block: ru.keyapis.vc.v1.GetCameraArchiveCalendarResponseKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse = ru.keyapis.vc.v1.GetCameraArchiveCalendarResponseKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.copy(block: ru.keyapis.vc.v1.GetCameraArchiveCalendarResponseKt.ErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error = ru.keyapis.vc.v1.GetCameraArchiveCalendarResponseKt.ErrorKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.VcError.copy(block: ru.keyapis.vc.v1.GetCameraArchiveCalendarResponseKt.ErrorKt.VcErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.VcError = ru.keyapis.vc.v1.GetCameraArchiveCalendarResponseKt.ErrorKt.VcErrorKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.VcUserNotFound.copy(block: ru.keyapis.vc.v1.GetCameraArchiveCalendarResponseKt.ErrorKt.VcUserNotFoundKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.VcUserNotFound = ru.keyapis.vc.v1.GetCameraArchiveCalendarResponseKt.ErrorKt.VcUserNotFoundKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.ErrorOrBuilder.validationOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.ValidationError? get() = if (hasValidation()) getValidation() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.ErrorOrBuilder.vcErrorOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.VcError? get() = if (hasVcError()) getVcError() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.ErrorOrBuilder.vcUserNotFoundOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error.VcUserNotFound? get() = if (hasVcUserNotFound()) getVcUserNotFound() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponseOrBuilder.dataOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.CameraArchiveCalendar? get() = if (hasData()) getData() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponseOrBuilder.errorOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraArchiveCalendarResponse.Error? get() = if (hasError()) getError() else null