Package com.google.cloud.alloydb.v1beta
Interface EncryptionInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EncryptionInfo,EncryptionInfo.Builder
@Generated
public interface EncryptionInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.intOutput only.getKmsKeyVersions(int index) Output only.com.google.protobuf.ByteStringgetKmsKeyVersionsBytes(int index) Output only.intOutput only.Output only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEncryptionTypeValue
int getEncryptionTypeValue()Output only. Type of encryption.
.google.cloud.alloydb.v1beta.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.v1beta.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The encryptionType.
-
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
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.
-