// Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyapis/encryption_profile/v1/keyapis_encryption_profile_encryption_profile_v1.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package ru.keyapis.encryption_profile.v1; @kotlin.jvm.JvmName("-initializegetEncryptionProfileCountResponse") public inline fun getEncryptionProfileCountResponse(block: ru.keyapis.encryption_profile.v1.GetEncryptionProfileCountResponseKt.Dsl.() -> kotlin.Unit): ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse = ru.keyapis.encryption_profile.v1.GetEncryptionProfileCountResponseKt.Dsl._create(ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.newBuilder()).apply { block() }._build() /** * ``` * Ответ на запрос получения количества профилей шифрования * ``` * * Protobuf type `keyapis.encryption_profile.v1.GetEncryptionProfileCountResponse` */ public object GetEncryptionProfileCountResponseKt { @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @com.google.protobuf.kotlin.ProtoDslMarker public class Dsl private constructor( private val _builder: ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse = _builder.build() /** * ``` * Всего устройтсв * ``` * * `int32 data = 1;` */ public var data: kotlin.Int @JvmName("getData") get() = _builder.getData() @JvmName("setData") set(value) { _builder.setData(value) } /** * ``` * Всего устройтсв * ``` * * `int32 data = 1;` */ public fun clearData() { _builder.clearData() } /** * ``` * Всего устройтсв * ``` * * `int32 data = 1;` * @return Whether the data field is set. */ public fun hasData(): kotlin.Boolean { return _builder.hasData() } /** * ``` * Ошибка * ``` * * `.keyapis.encryption_profile.v1.GetEncryptionProfileCountResponse.Error error = 2;` */ public var error: ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.Error @JvmName("getError") get() = _builder.getError() @JvmName("setError") set(value) { _builder.setError(value) } /** * ``` * Ошибка * ``` * * `.keyapis.encryption_profile.v1.GetEncryptionProfileCountResponse.Error error = 2;` */ public fun clearError() { _builder.clearError() } /** * ``` * Ошибка * ``` * * `.keyapis.encryption_profile.v1.GetEncryptionProfileCountResponse.Error error = 2;` * @return Whether the error field is set. */ public fun hasError(): kotlin.Boolean { return _builder.hasError() } public val typeCase: ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.TypeCase @JvmName("getTypeCase") get() = _builder.getTypeCase() public fun clearType() { _builder.clearType() } } @kotlin.jvm.JvmName("-initializeerror") public inline fun error(block: ru.keyapis.encryption_profile.v1.GetEncryptionProfileCountResponseKt.ErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.Error = ru.keyapis.encryption_profile.v1.GetEncryptionProfileCountResponseKt.ErrorKt.Dsl._create(ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.Error.newBuilder()).apply { block() }._build() /** * ``` * Ошибка запроса получения количества профилей шифрования * ``` * * Protobuf type `keyapis.encryption_profile.v1.GetEncryptionProfileCountResponse.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.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.Error.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.Error.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.Error = _builder.build() /** * ``` * Ошибка валидации * ``` * * `.keyapis.encryption_profile.v1.ValidationError validation = 1;` */ public var validation: ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.ValidationError @JvmName("getValidation") get() = _builder.getValidation() @JvmName("setValidation") set(value) { _builder.setValidation(value) } /** * ``` * Ошибка валидации * ``` * * `.keyapis.encryption_profile.v1.ValidationError validation = 1;` */ public fun clearValidation() { _builder.clearValidation() } /** * ``` * Ошибка валидации * ``` * * `.keyapis.encryption_profile.v1.ValidationError validation = 1;` * @return Whether the validation field is set. */ public fun hasValidation(): kotlin.Boolean { return _builder.hasValidation() } public val reasonCase: ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.Error.ReasonCase @JvmName("getReasonCase") get() = _builder.getReasonCase() public fun clearReason() { _builder.clearReason() } } } } @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.copy(block: ru.keyapis.encryption_profile.v1.GetEncryptionProfileCountResponseKt.Dsl.() -> kotlin.Unit): ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse = ru.keyapis.encryption_profile.v1.GetEncryptionProfileCountResponseKt.Dsl._create(this.toBuilder()).apply { block() }._build() @kotlin.jvm.JvmSynthetic public inline fun ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.Error.copy(block: ru.keyapis.encryption_profile.v1.GetEncryptionProfileCountResponseKt.ErrorKt.Dsl.() -> kotlin.Unit): ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.Error = ru.keyapis.encryption_profile.v1.GetEncryptionProfileCountResponseKt.ErrorKt.Dsl._create(this.toBuilder()).apply { block() }._build() public val ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.ErrorOrBuilder.validationOrNull: ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.ValidationError? get() = if (hasValidation()) getValidation() else null public val ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponseOrBuilder.errorOrNull: ru.keyapis.encryption_profile.v1.KeyapisEncryptionProfileV1Proto.GetEncryptionProfileCountResponse.Error? get() = if (hasError()) getError() else null