// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/identity_b2b/v1/keyapis_identity_b2b_authorization_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.identity_b2b.v1; @kotlin.jvm.JvmName("-initializessoError") public inline fun ssoError(block: ru.keyapis.identity_b2b.v1.SsoErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError = ru.keyapis.identity_b2b.v1.SsoErrorKt.Dsl._create(ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.newBuilder()).apply { block() }._build() /** * ``` * Ошибки из ССО * ``` * * Protobuf type `keyapis.identity_b2b.v1.SsoError` */ public object SsoErrorKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError = _builder.build() /** * ``` * Пользователь временно заблокирован * ``` * * `.keyapis.identity_b2b.v1.SsoError.UserIsTemporaryBlocked user_is_temporary_blocked = 1;` */ public var userIsTemporaryBlocked: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsTemporaryBlocked @JvmName("getUserIsTemporaryBlocked") get() = _builder.getUserIsTemporaryBlocked() @JvmName("setUserIsTemporaryBlocked") set(value) { _builder.setUserIsTemporaryBlocked(value) } /** * ``` * Пользователь временно заблокирован * ``` * * `.keyapis.identity_b2b.v1.SsoError.UserIsTemporaryBlocked user_is_temporary_blocked = 1;` */ public fun clearUserIsTemporaryBlocked() { _builder.clearUserIsTemporaryBlocked() } /** * ``` * Пользователь временно заблокирован * ``` * * `.keyapis.identity_b2b.v1.SsoError.UserIsTemporaryBlocked user_is_temporary_blocked = 1;` * @return Whether the userIsTemporaryBlocked field is set. */ public fun hasUserIsTemporaryBlocked(): kotlin.Boolean { return _builder.hasUserIsTemporaryBlocked() } /** * ``` * Пользователь не найден * ``` * * `.keyapis.identity_b2b.v1.SsoError.UserNotFound user_not_found = 2;` */ public var userNotFound: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserNotFound @JvmName("getUserNotFound") get() = _builder.getUserNotFound() @JvmName("setUserNotFound") set(value) { _builder.setUserNotFound(value) } /** * ``` * Пользователь не найден * ``` * * `.keyapis.identity_b2b.v1.SsoError.UserNotFound user_not_found = 2;` */ public fun clearUserNotFound() { _builder.clearUserNotFound() } /** * ``` * Пользователь не найден * ``` * * `.keyapis.identity_b2b.v1.SsoError.UserNotFound user_not_found = 2;` * @return Whether the userNotFound field is set. */ public fun hasUserNotFound(): kotlin.Boolean { return _builder.hasUserNotFound() } /** * ``` * Неверный пароль * ``` * * `.keyapis.identity_b2b.v1.SsoError.WrongCredentials wrong_credentials = 3;` */ public var wrongCredentials: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.WrongCredentials @JvmName("getWrongCredentials") get() = _builder.getWrongCredentials() @JvmName("setWrongCredentials") set(value) { _builder.setWrongCredentials(value) } /** * ``` * Неверный пароль * ``` * * `.keyapis.identity_b2b.v1.SsoError.WrongCredentials wrong_credentials = 3;` */ public fun clearWrongCredentials() { _builder.clearWrongCredentials() } /** * ``` * Неверный пароль * ``` * * `.keyapis.identity_b2b.v1.SsoError.WrongCredentials wrong_credentials = 3;` * @return Whether the wrongCredentials field is set. */ public fun hasWrongCredentials(): kotlin.Boolean { return _builder.hasWrongCredentials() } /** * ``` * Пользователь заблокирован * ``` * * `.keyapis.identity_b2b.v1.SsoError.UserIsBlocked user_is_blocked = 4;` */ public var userIsBlocked: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsBlocked @JvmName("getUserIsBlocked") get() = _builder.getUserIsBlocked() @JvmName("setUserIsBlocked") set(value) { _builder.setUserIsBlocked(value) } /** * ``` * Пользователь заблокирован * ``` * * `.keyapis.identity_b2b.v1.SsoError.UserIsBlocked user_is_blocked = 4;` */ public fun clearUserIsBlocked() { _builder.clearUserIsBlocked() } /** * ``` * Пользователь заблокирован * ``` * * `.keyapis.identity_b2b.v1.SsoError.UserIsBlocked user_is_blocked = 4;` * @return Whether the userIsBlocked field is set. */ public fun hasUserIsBlocked(): kotlin.Boolean { return _builder.hasUserIsBlocked() } /** * ``` * Превышен интервал отправки кода подтверждения * ``` * * `.keyapis.identity_b2b.v1.SsoError.IntervalExceeded interval_exceeded = 5;` */ public var intervalExceeded: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.IntervalExceeded @JvmName("getIntervalExceeded") get() = _builder.getIntervalExceeded() @JvmName("setIntervalExceeded") set(value) { _builder.setIntervalExceeded(value) } /** * ``` * Превышен интервал отправки кода подтверждения * ``` * * `.keyapis.identity_b2b.v1.SsoError.IntervalExceeded interval_exceeded = 5;` */ public fun clearIntervalExceeded() { _builder.clearIntervalExceeded() } /** * ``` * Превышен интервал отправки кода подтверждения * ``` * * `.keyapis.identity_b2b.v1.SsoError.IntervalExceeded interval_exceeded = 5;` * @return Whether the intervalExceeded field is set. */ public fun hasIntervalExceeded(): kotlin.Boolean { return _builder.hasIntervalExceeded() } public val reasonCase: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.ReasonCase @JvmName("getReasonCase") get() = _builder.getReasonCase() public fun clearReason() { _builder.clearReason() } } @kotlin.jvm.JvmName("-initializeuserIsTemporaryBlocked") public inline fun userIsTemporaryBlocked(block: ru.keyapis.identity_b2b.v1.SsoErrorKt.UserIsTemporaryBlockedKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsTemporaryBlocked = ru.keyapis.identity_b2b.v1.SsoErrorKt.UserIsTemporaryBlockedKt.Dsl._create(ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsTemporaryBlocked.newBuilder()).apply { block() }._build() /** * ``` * Пользователь временно заблокирован * ``` * * Protobuf type `keyapis.identity_b2b.v1.SsoError.UserIsTemporaryBlocked` */ public object UserIsTemporaryBlockedKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsTemporaryBlocked.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsTemporaryBlocked.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsTemporaryBlocked = _builder.build() } } @kotlin.jvm.JvmName("-initializeuserNotFound") public inline fun userNotFound(block: ru.keyapis.identity_b2b.v1.SsoErrorKt.UserNotFoundKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserNotFound = ru.keyapis.identity_b2b.v1.SsoErrorKt.UserNotFoundKt.Dsl._create(ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserNotFound.newBuilder()).apply { block() }._build() /** * ``` * Пользователь не найден * ``` * * Protobuf type `keyapis.identity_b2b.v1.SsoError.UserNotFound` */ public object UserNotFoundKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserNotFound.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserNotFound.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserNotFound = _builder.build() } } @kotlin.jvm.JvmName("-initializewrongCredentials") public inline fun wrongCredentials(block: ru.keyapis.identity_b2b.v1.SsoErrorKt.WrongCredentialsKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.WrongCredentials = ru.keyapis.identity_b2b.v1.SsoErrorKt.WrongCredentialsKt.Dsl._create(ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.WrongCredentials.newBuilder()).apply { block() }._build() /** * ``` * Неверный пароль * ``` * * Protobuf type `keyapis.identity_b2b.v1.SsoError.WrongCredentials` */ public object WrongCredentialsKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.WrongCredentials.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.WrongCredentials.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.WrongCredentials = _builder.build() /** * ``` * Капча * ``` * * `.keyapis.identity_b2b.v1.Captcha captcha = 1 [(.google.api.field_behavior) = OPTIONAL];` */ public var captcha: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.Captcha @JvmName("getCaptcha") get() = _builder.getCaptcha() @JvmName("setCaptcha") set(value) { _builder.setCaptcha(value) } /** * ``` * Капча * ``` * * `.keyapis.identity_b2b.v1.Captcha captcha = 1 [(.google.api.field_behavior) = OPTIONAL];` */ public fun clearCaptcha() { _builder.clearCaptcha() } /** * ``` * Капча * ``` * * `.keyapis.identity_b2b.v1.Captcha captcha = 1 [(.google.api.field_behavior) = OPTIONAL];` * @return Whether the captcha field is set. */ public fun hasCaptcha(): kotlin.Boolean { return _builder.hasCaptcha() } } } @kotlin.jvm.JvmName("-initializeuserIsBlocked") public inline fun userIsBlocked(block: ru.keyapis.identity_b2b.v1.SsoErrorKt.UserIsBlockedKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsBlocked = ru.keyapis.identity_b2b.v1.SsoErrorKt.UserIsBlockedKt.Dsl._create(ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsBlocked.newBuilder()).apply { block() }._build() /** * ``` * Пользователь заблокирован * ``` * * Protobuf type `keyapis.identity_b2b.v1.SsoError.UserIsBlocked` */ public object UserIsBlockedKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsBlocked.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsBlocked.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsBlocked = _builder.build() } } @kotlin.jvm.JvmName("-initializeintervalExceeded") public inline fun intervalExceeded(block: ru.keyapis.identity_b2b.v1.SsoErrorKt.IntervalExceededKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.IntervalExceeded = ru.keyapis.identity_b2b.v1.SsoErrorKt.IntervalExceededKt.Dsl._create(ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.IntervalExceeded.newBuilder()).apply { block() }._build() /** * ``` * Превышен интервал отправки кода подтверждения * ``` * * Protobuf type `keyapis.identity_b2b.v1.SsoError.IntervalExceeded` */ public object IntervalExceededKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.IntervalExceeded.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.IntervalExceeded.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.IntervalExceeded = _builder.build() } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.copy(block: ru.keyapis.identity_b2b.v1.SsoErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError = ru.keyapis.identity_b2b.v1.SsoErrorKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsTemporaryBlocked.copy(block: ru.keyapis.identity_b2b.v1.SsoErrorKt.UserIsTemporaryBlockedKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsTemporaryBlocked = ru.keyapis.identity_b2b.v1.SsoErrorKt.UserIsTemporaryBlockedKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserNotFound.copy(block: ru.keyapis.identity_b2b.v1.SsoErrorKt.UserNotFoundKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserNotFound = ru.keyapis.identity_b2b.v1.SsoErrorKt.UserNotFoundKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.WrongCredentials.copy(block: ru.keyapis.identity_b2b.v1.SsoErrorKt.WrongCredentialsKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.WrongCredentials = ru.keyapis.identity_b2b.v1.SsoErrorKt.WrongCredentialsKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.WrongCredentialsOrBuilder.captchaOrNull: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.Captcha? get() = if (hasCaptcha()) getCaptcha() else null @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsBlocked.copy(block: ru.keyapis.identity_b2b.v1.SsoErrorKt.UserIsBlockedKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsBlocked = ru.keyapis.identity_b2b.v1.SsoErrorKt.UserIsBlockedKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.IntervalExceeded.copy(block: ru.keyapis.identity_b2b.v1.SsoErrorKt.IntervalExceededKt.Dsl.() -> kotlin.Unit): ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.IntervalExceeded = ru.keyapis.identity_b2b.v1.SsoErrorKt.IntervalExceededKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoErrorOrBuilder.userIsTemporaryBlockedOrNull: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsTemporaryBlocked? get() = if (hasUserIsTemporaryBlocked()) getUserIsTemporaryBlocked() else null public val ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoErrorOrBuilder.userNotFoundOrNull: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserNotFound? get() = if (hasUserNotFound()) getUserNotFound() else null public val ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoErrorOrBuilder.wrongCredentialsOrNull: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.WrongCredentials? get() = if (hasWrongCredentials()) getWrongCredentials() else null public val ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoErrorOrBuilder.userIsBlockedOrNull: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.UserIsBlocked? get() = if (hasUserIsBlocked()) getUserIsBlocked() else null public val ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoErrorOrBuilder.intervalExceededOrNull: ru.keyapis.identity_b2b.v1.KeyapisIdentityB2bV1Proto.SsoError.IntervalExceeded? get() = if (hasIntervalExceeded()) getIntervalExceeded() else null