Interface EncryptionInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
EncryptionInfo, EncryptionInfo.Builder

@Generated public interface EncryptionInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getEncryptionTypeValue

      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:
      The enum numeric value on the wire for encryptionType.
    • getEncryptionType

      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:
      The encryptionType.
    • hasEncryptionStatus

      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:
      Whether the encryptionStatus field is set.
    • getEncryptionStatus

      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:
      The encryptionStatus.
    • getEncryptionStatusOrBuilder

      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];
    • getKmsKeyVersion

      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:
      The kmsKeyVersion.
    • getKmsKeyVersionBytes

      com.google.protobuf.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:
      The bytes for kmsKeyVersion.