Class EncryptionInfo
java.lang.Object
com.google.cloud.spanner.encryption.EncryptionInfo
Represents the encryption information for a Cloud Spanner backup.
-
Constructor Summary
ConstructorDescriptionEncryptionInfo
(EncryptionInfo proto) EncryptionInfo
(String kmsKeyVersion, EncryptionInfo.Type encryptionType, com.google.rpc.Status encryptionStatus) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static EncryptionInfo
fromProtoOrNull
(EncryptionInfo proto) Returns aEncryptionInfo
instance from the given proto, ornull
if the given proto is the default proto instance (i.e.com.google.rpc.Status
int
hashCode()
toString()
-
Constructor Details
-
EncryptionInfo
-
EncryptionInfo
public EncryptionInfo(String kmsKeyVersion, EncryptionInfo.Type encryptionType, com.google.rpc.Status encryptionStatus)
-
-
Method Details
-
fromProtoOrNull
Returns aEncryptionInfo
instance from the given proto, ornull
if the given proto is the default proto instance (i.e. there is no encryption info). -
getKmsKeyVersion
-
getEncryptionType
-
getEncryptionStatus
public com.google.rpc.Status getEncryptionStatus() -
equals
-
hashCode
public int hashCode() -
toString
-