public class EncryptionInfo extends Object
Constructor and Description |
---|
EncryptionInfo(EncryptionInfo proto) |
EncryptionInfo(String kmsKeyVersion,
EncryptionInfo.Type encryptionType,
com.google.rpc.Status encryptionStatus) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
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. |
com.google.rpc.Status |
getEncryptionStatus() |
EncryptionInfo.Type |
getEncryptionType() |
String |
getKmsKeyVersion() |
int |
hashCode() |
String |
toString() |
public EncryptionInfo(EncryptionInfo proto)
public EncryptionInfo(String kmsKeyVersion, EncryptionInfo.Type encryptionType, com.google.rpc.Status encryptionStatus)
public static EncryptionInfo fromProtoOrNull(EncryptionInfo proto)
EncryptionInfo
instance from the given proto, or null
if the
given proto is the default proto instance (i.e. there is no encryption info).public String getKmsKeyVersion()
public EncryptionInfo.Type getEncryptionType()
public com.google.rpc.Status getEncryptionStatus()
Copyright © 2021 Google LLC. All rights reserved.