Interface EncryptionInfoOrBuilder (6.89.0)

publicinterfaceEncryptionInfoOrBuilderextendsMessageOrBuilder

Methods

getEncryptionStatus()

publicabstractStatusgetEncryptionStatus()

Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.

.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.Status

The encryptionStatus.

getEncryptionStatusOrBuilder()

publicabstractStatusOrBuildergetEncryptionStatusOrBuilder()

Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.

.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getEncryptionType()

publicabstractEncryptionInfo.TypegetEncryptionType()

Output only. The type of encryption.

.google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
EncryptionInfo.Type

The encryptionType.

getEncryptionTypeValue()

publicabstractintgetEncryptionTypeValue()

Output only. The type of encryption.

.google.spanner.admin.database.v1.EncryptionInfo.Type encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for encryptionType.

getKmsKeyVersion()

publicabstractStringgetKmsKeyVersion()

Output only. A Cloud KMS key version that is being used to protect the database or backup.

string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The kmsKeyVersion.

getKmsKeyVersionBytes()

publicabstractByteStringgetKmsKeyVersionBytes()

Output only. A Cloud KMS key version that is being used to protect the database or backup.

string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for kmsKeyVersion.

hasEncryptionStatus()

publicabstractbooleanhasEncryptionStatus()

Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.

.google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the encryptionStatus field is set.