Class EncryptionInfo


  • public class EncryptionInfo
    extends Object
    Represents the encryption information for a Cloud Spanner backup.
    • Constructor Detail

      • EncryptionInfo

        public EncryptionInfo​(String kmsKeyVersion,
                              EncryptionInfo.Type encryptionType,
                              com.google.rpc.Status encryptionStatus)
    • Method Detail

      • fromProtoOrNull

        public static EncryptionInfo fromProtoOrNull​(EncryptionInfo proto)
        Returns a EncryptionInfo instance from the given proto, or null if the given proto is the default proto instance (i.e. there is no encryption info).
      • getKmsKeyVersion

        public String getKmsKeyVersion()
      • getEncryptionStatus

        public com.google.rpc.Status getEncryptionStatus()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object