// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/identity/v1/keyapis_identity_oauth2_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.identity.v1; @kotlin.jvm.JvmName("-initializegetOauth2ConsentRequest") public inline fun getOauth2ConsentRequest(block: ru.keyapis.identity.v1.GetOauth2ConsentRequestKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity.v1.KeyapisIdentityV1Proto.GetOauth2ConsentRequest = ru.keyapis.identity.v1.GetOauth2ConsentRequestKt.Dsl._create(ru.keyapis.identity.v1.KeyapisIdentityV1Proto.GetOauth2ConsentRequest.newBuilder()).apply { block() }._build() /** * ``` * Запрос соглашения пользователя по процедуре OAuth2 * ``` * * Protobuf type `keyapis.identity.v1.GetOauth2ConsentRequest` */ public object GetOauth2ConsentRequestKt { @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.GetOauth2ConsentRequest.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.identity.v1.KeyapisIdentityV1Proto.GetOauth2ConsentRequest.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.identity.v1.KeyapisIdentityV1Proto.GetOauth2ConsentRequest = _builder.build() /** * ``` * Идентификатор текущей попытки запроса соглашения пользователя * ``` * * `string consent_challenge = 1 [(.google.api.field_behavior) = REQUIRED];` */ public var consentChallenge: kotlin.String @JvmName("getConsentChallenge") get() = _builder.getConsentChallenge() @JvmName("setConsentChallenge") set(value) { _builder.setConsentChallenge(value) } /** * ``` * Идентификатор текущей попытки запроса соглашения пользователя * ``` * * `string consent_challenge = 1 [(.google.api.field_behavior) = REQUIRED];` */ public fun clearConsentChallenge() { _builder.clearConsentChallenge() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.identity.v1.KeyapisIdentityV1Proto.GetOauth2ConsentRequest.copy(block: ru.keyapis.identity.v1.GetOauth2ConsentRequestKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity.v1.KeyapisIdentityV1Proto.GetOauth2ConsentRequest = ru.keyapis.identity.v1.GetOauth2ConsentRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()