Package com.google.cloud.alloydb.v1alpha
Interface EncryptionInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EncryptionInfo,EncryptionInfo.Builder
public interface EncryptionInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncryptionInfo.TypegetEncryptionType()Output only.intgetEncryptionTypeValue()Output only.StringgetKmsKeyVersions(int index)Output only.com.google.protobuf.ByteStringgetKmsKeyVersionsBytes(int index)Output only.intgetKmsKeyVersionsCount()Output only.List<String>getKmsKeyVersionsList()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEncryptionTypeValue
int getEncryptionTypeValue()
Output only. Type of encryption.
.google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for encryptionType.
-
getEncryptionType
EncryptionInfo.Type getEncryptionType()
Output only. Type of encryption.
.google.cloud.alloydb.v1alpha.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The encryptionType.
-
getKmsKeyVersionsList
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:
- A list containing the kmsKeyVersions.
-
getKmsKeyVersionsCount
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:
- The count of kmsKeyVersions.
-
getKmsKeyVersions
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) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The kmsKeyVersions at the given index.
-
getKmsKeyVersionsBytes
com.google.protobuf.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) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the kmsKeyVersions at the given index.
-
-