// 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("-initializegetCameraListResponse") public inline fun getCameraListResponse(block: ru.keyapis.vc.v1.GetCameraListResponseKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse = ru.keyapis.vc.v1.GetCameraListResponseKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.newBuilder()).apply { block() }._build() /** * ``` * Ответ на получение списка камер * ``` * * Protobuf type `keyapis.vc.v1.GetCameraListResponse` */ public object GetCameraListResponseKt { @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.GetCameraListResponse.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse = _builder.build() /** * ``` * Список * ``` * * `.keyapis.vc.v1.GetCameraListResponse.Data data = 1;` */ public var data: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Data @JvmName("getData") get() = _builder.getData() @JvmName("setData") set(value) { _builder.setData(value) } /** * ``` * Список * ``` * * `.keyapis.vc.v1.GetCameraListResponse.Data data = 1;` */ public fun clearData() { _builder.clearData() } /** * ``` * Список * ``` * * `.keyapis.vc.v1.GetCameraListResponse.Data data = 1;` * @return Whether the data field is set. */ public fun hasData(): kotlin.Boolean { return _builder.hasData() } /** * ``` * Ошибка * ``` * * `.keyapis.vc.v1.GetCameraListResponse.Error error = 2;` */ public var error: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Error @JvmName("getError") get() = _builder.getError() @JvmName("setError") set(value) { _builder.setError(value) } /** * ``` * Ошибка * ``` * * `.keyapis.vc.v1.GetCameraListResponse.Error error = 2;` */ public fun clearError() { _builder.clearError() } /** * ``` * Ошибка * ``` * * `.keyapis.vc.v1.GetCameraListResponse.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.GetCameraListResponse.TypeCase @JvmName("getTypeCase") get() = _builder.getTypeCase() public fun clearType() { _builder.clearType() } } @kotlin.jvm.JvmName("-initializeerror") public inline fun error(block: ru.keyapis.vc.v1.GetCameraListResponseKt.ErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Error = ru.keyapis.vc.v1.GetCameraListResponseKt.ErrorKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Error.newBuilder()).apply { block() }._build() /** * ``` * Ошибка запроса * ``` * * Protobuf type `keyapis.vc.v1.GetCameraListResponse.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.GetCameraListResponse.Error.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Error.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.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() } public val reasonCase: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Error.ReasonCase @JvmName("getReasonCase") get() = _builder.getReasonCase() public fun clearReason() { _builder.clearReason() } } } @kotlin.jvm.JvmName("-initializedata") public inline fun data(block: ru.keyapis.vc.v1.GetCameraListResponseKt.DataKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Data = ru.keyapis.vc.v1.GetCameraListResponseKt.DataKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Data.newBuilder()).apply { block() }._build() /** * ``` * Список * ``` * * Protobuf type `keyapis.vc.v1.GetCameraListResponse.Data` */ public object DataKt { @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.GetCameraListResponse.Data.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Data.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Data = _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() /** * ``` * Список Camera * ``` * * `repeated .keyapis.vc.v1.Camera items = 1;` */ public val items: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getItemsList() ) /** * ``` * Список Camera * ``` * * `repeated .keyapis.vc.v1.Camera 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.Camera) { _builder.addItems(value) } /** * ``` * Список Camera * ``` * * `repeated .keyapis.vc.v1.Camera 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.Camera) { add(value) } /** * ``` * Список Camera * ``` * * `repeated .keyapis.vc.v1.Camera 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) } /** * ``` * Список Camera * ``` * * `repeated .keyapis.vc.v1.Camera 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) } /** * ``` * Список Camera * ``` * * `repeated .keyapis.vc.v1.Camera 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.Camera) { _builder.setItems(index, value) } /** * ``` * Список Camera * ``` * * `repeated .keyapis.vc.v1.Camera items = 1;` */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearItems") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearItems() } /** * ``` * Всего количество * ``` * * `int32 total = 2;` */ public var total: kotlin.Int @JvmName("getTotal") get() = _builder.getTotal() @JvmName("setTotal") set(value) { _builder.setTotal(value) } /** * ``` * Всего количество * ``` * * `int32 total = 2;` */ public fun clearTotal() { _builder.clearTotal() } } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.copy(block: ru.keyapis.vc.v1.GetCameraListResponseKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse = ru.keyapis.vc.v1.GetCameraListResponseKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Error.copy(block: ru.keyapis.vc.v1.GetCameraListResponseKt.ErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Error = ru.keyapis.vc.v1.GetCameraListResponseKt.ErrorKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.ErrorOrBuilder.validationOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.ValidationError? get() = if (hasValidation()) getValidation() else null @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Data.copy(block: ru.keyapis.vc.v1.GetCameraListResponseKt.DataKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Data = ru.keyapis.vc.v1.GetCameraListResponseKt.DataKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponseOrBuilder.dataOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Data? get() = if (hasData()) getData() else null public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponseOrBuilder.errorOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraListResponse.Error? get() = if (hasError()) getError() else null