Interface EncryptionInfoOrBuilder (0.30.0)

public interface EncryptionInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEncryptionType()

public abstract EncryptionInfo.Type getEncryptionType()

Output only. Type of encryption.

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

Returns
TypeDescription
EncryptionInfo.Type

The encryptionType.

getEncryptionTypeValue()

public abstract int getEncryptionTypeValue()

Output only. Type of encryption.

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

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<String>

A list containing the kmsKeyVersions.