Class EncryptionInfo
java.lang.Object
com.google.cloud.spanner.encryption.EncryptionInfo
Represents the encryption information for a Cloud Spanner backup.
-
Constructor Summary
ConstructorsConstructorDescriptionEncryptionInfo(EncryptionInfo proto) EncryptionInfo(String kmsKeyVersion, EncryptionInfo.Type encryptionType, com.google.rpc.Status encryptionStatus) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic EncryptionInfofromProtoOrNull(EncryptionInfo proto) Returns aEncryptionInfoinstance from the given proto, ornullif the given proto is the default proto instance (i.e. there is no encryption info).com.google.rpc.StatusinthashCode()toString()
-
Constructor Details
-
EncryptionInfo
-
EncryptionInfo
public EncryptionInfo(String kmsKeyVersion, EncryptionInfo.Type encryptionType, com.google.rpc.Status encryptionStatus)
-
-
Method Details
-
fromProtoOrNull
Returns aEncryptionInfoinstance from the given proto, ornullif 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
-