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 Type
    Method
    Description
    Output only.
    int
    Output only.
    getKmsKeyVersions(int index)
    Output only.
    com.google.protobuf.ByteString
    Output only.
    int
    Output only.
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      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.