Interface EncryptionInfoOrBuilder (0.61.0)
public interface EncryptionInfoOrBuilder extends MessageOrBuilder
Methods
getEncryptionType()
public abstract EncryptionInfo.Type getEncryptionType()
Output only. Type of encryption.
.google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionTypeValue()
public abstract int getEncryptionTypeValue()
Output only. Type of encryption.
.google.cloud.alloydb.v1.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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface EncryptionInfoOrBuilder (0.61.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.61.0 (latest)](/java/docs/reference/google-cloud-alloydb/latest/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.59.0](/java/docs/reference/google-cloud-alloydb/0.59.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.57.0](/java/docs/reference/google-cloud-alloydb/0.57.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.56.0](/java/docs/reference/google-cloud-alloydb/0.56.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.53.0](/java/docs/reference/google-cloud-alloydb/0.53.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.52.0](/java/docs/reference/google-cloud-alloydb/0.52.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.51.0](/java/docs/reference/google-cloud-alloydb/0.51.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.49.0](/java/docs/reference/google-cloud-alloydb/0.49.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.48.0](/java/docs/reference/google-cloud-alloydb/0.48.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.47.0](/java/docs/reference/google-cloud-alloydb/0.47.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.46.0](/java/docs/reference/google-cloud-alloydb/0.46.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.45.0](/java/docs/reference/google-cloud-alloydb/0.45.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.44.0](/java/docs/reference/google-cloud-alloydb/0.44.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.43.0](/java/docs/reference/google-cloud-alloydb/0.43.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.42.0](/java/docs/reference/google-cloud-alloydb/0.42.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.41.0](/java/docs/reference/google-cloud-alloydb/0.41.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.40.0](/java/docs/reference/google-cloud-alloydb/0.40.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.38.0](/java/docs/reference/google-cloud-alloydb/0.38.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.37.0](/java/docs/reference/google-cloud-alloydb/0.37.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.36.0](/java/docs/reference/google-cloud-alloydb/0.36.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.35.0](/java/docs/reference/google-cloud-alloydb/0.35.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.34.0](/java/docs/reference/google-cloud-alloydb/0.34.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.33.0](/java/docs/reference/google-cloud-alloydb/0.33.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.32.0](/java/docs/reference/google-cloud-alloydb/0.32.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.31.0](/java/docs/reference/google-cloud-alloydb/0.31.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.30.0](/java/docs/reference/google-cloud-alloydb/0.30.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.29.0](/java/docs/reference/google-cloud-alloydb/0.29.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.28.0](/java/docs/reference/google-cloud-alloydb/0.28.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-alloydb/0.26.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.25.0](/java/docs/reference/google-cloud-alloydb/0.25.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.24.0](/java/docs/reference/google-cloud-alloydb/0.24.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-alloydb/0.23.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.22.0](/java/docs/reference/google-cloud-alloydb/0.22.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.21.0](/java/docs/reference/google-cloud-alloydb/0.21.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.20.0](/java/docs/reference/google-cloud-alloydb/0.20.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-alloydb/0.19.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-alloydb/0.18.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.17.0](/java/docs/reference/google-cloud-alloydb/0.17.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-alloydb/0.16.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-alloydb/0.13.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-alloydb/0.12.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-alloydb/0.11.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-alloydb/0.10.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.9.0](/java/docs/reference/google-cloud-alloydb/0.9.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-alloydb/0.8.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-alloydb/0.7.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-alloydb/0.6.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-alloydb/0.5.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-alloydb/0.4.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-alloydb/0.3.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-alloydb/0.2.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-alloydb/0.1.0/com.google.cloud.alloydb.v1.EncryptionInfoOrBuilder) \n\n public interface EncryptionInfoOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getEncryptionType()\n\n public abstract EncryptionInfo.Type getEncryptionType()\n\nOutput only. Type of encryption.\n\n`\n.google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getEncryptionTypeValue()\n\n public abstract int getEncryptionTypeValue()\n\nOutput only. Type of encryption.\n\n`\n.google.cloud.alloydb.v1.EncryptionInfo.Type encryption_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getKmsKeyVersions(int index)\n\n public abstract String getKmsKeyVersions(int index)\n\nOutput only. Cloud KMS key versions that are being used to protect the\ndatabase or the backup.\n\n`\nrepeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }\n`\n\n### getKmsKeyVersionsBytes(int index)\n\n public abstract ByteString getKmsKeyVersionsBytes(int index)\n\nOutput only. Cloud KMS key versions that are being used to protect the\ndatabase or the backup.\n\n`\nrepeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }\n`\n\n### getKmsKeyVersionsCount()\n\n public abstract int getKmsKeyVersionsCount()\n\nOutput only. Cloud KMS key versions that are being used to protect the\ndatabase or the backup.\n\n`\nrepeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }\n`\n\n### getKmsKeyVersionsList()\n\n public abstract List\u003cString\u003e getKmsKeyVersionsList()\n\nOutput only. Cloud KMS key versions that are being used to protect the\ndatabase or the backup.\n\n`\nrepeated string kms_key_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }\n`"]]