Interface EncryptionInfoOrBuilder (0.15.0)

public interface EncryptionInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEncryptionType()

public abstract EncryptionInfo.Type getEncryptionType()

Output only. Type of encryption.

.google.events.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1;

Returns
Type Description
EncryptionInfo.Type

The encryptionType.

getEncryptionTypeValue()

public abstract int getEncryptionTypeValue()

Output only. Type of encryption.

.google.events.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for encryptionType.

getKmsKeyVersions(int index)

public abstract String getKmsKeyVersions(int index)

Output only. Cloud KMS key versions that are being used to protect the database or the backup.

repeated string kms_key_versions = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The kmsKeyVersions at the given index.

getKmsKeyVersionsBytes(int index)

public abstract ByteString getKmsKeyVersionsBytes(int index)

Output only. Cloud KMS key versions that are being used to protect the database or the backup.

repeated string kms_key_versions = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the kmsKeyVersions at the given index.

getKmsKeyVersionsCount()

public abstract int getKmsKeyVersionsCount()

Output only. Cloud KMS key versions that are being used to protect the database or the backup.

repeated string kms_key_versions = 2;

Returns
Type Description
int

The count of kmsKeyVersions.

getKmsKeyVersionsList()

public abstract List<String> getKmsKeyVersionsList()

Output only. Cloud KMS key versions that are being used to protect the database or the backup.

repeated string kms_key_versions = 2;

Returns
Type Description
List<String>

A list containing the kmsKeyVersions.