// 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("-initializegetCameraRequest") public inline fun getCameraRequest(block: ru.keyapis.vc.v1.GetCameraRequestKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraRequest = ru.keyapis.vc.v1.GetCameraRequestKt.Dsl._create(ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraRequest.newBuilder()).apply { block() }._build() /** * ``` * Запрос получения камеры * ``` * * Protobuf type `keyapis.vc.v1.GetCameraRequest` */ public object GetCameraRequestKt { @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.GetCameraRequest.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraRequest.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraRequest = _builder.build() /** * ``` * Ограничение выборки * ``` * * `.keyapis.vc.v1.CameraScope scope = 1 [(.google.api.field_behavior) = REQUIRED];` */ public var scope: ru.keyapis.vc.v1.KeyapisVcV1Proto.CameraScope @JvmName("getScope") get() = _builder.getScope() @JvmName("setScope") set(value) { _builder.setScope(value) } /** * ``` * Ограничение выборки * ``` * * `.keyapis.vc.v1.CameraScope scope = 1 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearScope() { _builder.clearScope() } /** * ``` * Ограничение выборки * ``` * * `.keyapis.vc.v1.CameraScope scope = 1 [(.google.api.field_behavior) = REQUIRED];` * @return Whether the scope field is set. */ public fun hasScope(): kotlin.Boolean { return _builder.hasScope() } /** * ``` * uid камеры * ``` * * `string uid = 2 [(.google.api.field_behavior) = REQUIRED];` */ public var uid: kotlin.String @JvmName("getUid") get() = _builder.getUid() @JvmName("setUid") set(value) { _builder.setUid(value) } /** * ``` * uid камеры * ``` * * `string uid = 2 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearUid() { _builder.clearUid() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraRequest.copy(block: ru.keyapis.vc.v1.GetCameraRequestKt.Dsl.() -> kotlin.Unit): ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraRequest = ru.keyapis.vc.v1.GetCameraRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.vc.v1.KeyapisVcV1Proto.GetCameraRequestOrBuilder.scopeOrNull: ru.keyapis.vc.v1.KeyapisVcV1Proto.CameraScope? get() = if (hasScope()) getScope() else null