Interface EncryptionInfoOrBuilder (6.52.1)

public interface EncryptionInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEncryptionStatus()

public abstract Status getEncryptionStatus()

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()

public abstract StatusOrBuilder getEncryptionStatusOrBuilder()

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()

public abstract EncryptionInfo.Type getEncryptionType()

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()

public abstract int getEncryptionTypeValue()

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()

public abstract String getKmsKeyVersion()

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()

public abstract ByteString getKmsKeyVersionBytes()

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()

public abstract boolean hasEncryptionStatus()

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.