public interface EncryptionInfoOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the encryptionStatus field is set. |