Interface EncryptionInfoOrBuilder (0.31.0)

public interface EncryptionInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEncryptionType()

public abstract EncryptionInfo.Type getEncryptionType()

Output only. Type of encryption.

.google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EncryptionInfo.Type

The encryptionType.

getEncryptionTypeValue()

public abstract int getEncryptionTypeValue()

Output only. Type of encryption.

.google.cloud.alloydb.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

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 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

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 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

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 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the kmsKeyVersions.