// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/identity/v1/keyapis_identity_authorization_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.identity.v1; @kotlin.jvm.JvmName("-initializecaptcha") public inline fun captcha(block: ru.keyapis.identity.v1.CaptchaKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity.v1.KeyapisIdentityV1Proto.Captcha = ru.keyapis.identity.v1.CaptchaKt.Dsl._create(ru.keyapis.identity.v1.KeyapisIdentityV1Proto.Captcha.newBuilder()).apply { block() }._build() /** * ``` * Капча * ``` * * Protobuf type `keyapis.identity.v1.Captcha` */ public object CaptchaKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.identity.v1.KeyapisIdentityV1Proto.Captcha.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.identity.v1.KeyapisIdentityV1Proto.Captcha.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.identity.v1.KeyapisIdentityV1Proto.Captcha = _builder.build() /** * ``` * Идентификатор капчи * ``` * * `string id = 1 [(.google.api.field_behavior) = REQUIRED];` */ public var id: kotlin.String @JvmName("getId") get() = _builder.getId() @JvmName("setId") set(value) { _builder.setId(value) } /** * ``` * Идентификатор капчи * ``` * * `string id = 1 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearId() { _builder.clearId() } /** * ``` * Ссылка на капчу * ``` * * `string url = 2 [(.google.api.field_behavior) = REQUIRED];` */ public var url: kotlin.String @JvmName("getUrl") get() = _builder.getUrl() @JvmName("setUrl") set(value) { _builder.setUrl(value) } /** * ``` * Ссылка на капчу * ``` * * `string url = 2 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearUrl() { _builder.clearUrl() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.identity.v1.KeyapisIdentityV1Proto.Captcha.copy(block: ru.keyapis.identity.v1.CaptchaKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity.v1.KeyapisIdentityV1Proto.Captcha = ru.keyapis.identity.v1.CaptchaKt.Dsl._create(this.toBuilder()).apply { block() }._build()