Interface Cluster.PrimaryConfigOrBuilder (0.61.0)
public static interface Cluster.PrimaryConfigOrBuilder extends MessageOrBuilder
Methods
getSecondaryClusterNames(int index)
public abstract String getSecondaryClusterNames(int index)
Output only. Names of the clusters that are replicating from this
cluster.
repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The secondaryClusterNames at the given index.
|
getSecondaryClusterNamesBytes(int index)
public abstract ByteString getSecondaryClusterNamesBytes(int index)
Output only. Names of the clusters that are replicating from this
cluster.
repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the secondaryClusterNames at the given index.
|
getSecondaryClusterNamesCount()
public abstract int getSecondaryClusterNamesCount()
Output only. Names of the clusters that are replicating from this
cluster.
repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The count of secondaryClusterNames.
|
getSecondaryClusterNamesList()
public abstract List<String> getSecondaryClusterNamesList()
Output only. Names of the clusters that are replicating from this
cluster.
repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<String> |
A list containing the secondaryClusterNames.
|
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 Cluster.PrimaryConfigOrBuilder (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.Cluster.PrimaryConfigOrBuilder)\n- [0.59.0](/java/docs/reference/google-cloud-alloydb/0.59.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.57.0](/java/docs/reference/google-cloud-alloydb/0.57.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.56.0](/java/docs/reference/google-cloud-alloydb/0.56.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.53.0](/java/docs/reference/google-cloud-alloydb/0.53.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.52.0](/java/docs/reference/google-cloud-alloydb/0.52.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.51.0](/java/docs/reference/google-cloud-alloydb/0.51.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.49.0](/java/docs/reference/google-cloud-alloydb/0.49.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.48.0](/java/docs/reference/google-cloud-alloydb/0.48.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.47.0](/java/docs/reference/google-cloud-alloydb/0.47.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.46.0](/java/docs/reference/google-cloud-alloydb/0.46.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.45.0](/java/docs/reference/google-cloud-alloydb/0.45.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.44.0](/java/docs/reference/google-cloud-alloydb/0.44.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.43.0](/java/docs/reference/google-cloud-alloydb/0.43.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.42.0](/java/docs/reference/google-cloud-alloydb/0.42.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.41.0](/java/docs/reference/google-cloud-alloydb/0.41.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.40.0](/java/docs/reference/google-cloud-alloydb/0.40.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.38.0](/java/docs/reference/google-cloud-alloydb/0.38.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.37.0](/java/docs/reference/google-cloud-alloydb/0.37.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.36.0](/java/docs/reference/google-cloud-alloydb/0.36.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.35.0](/java/docs/reference/google-cloud-alloydb/0.35.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.34.0](/java/docs/reference/google-cloud-alloydb/0.34.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.33.0](/java/docs/reference/google-cloud-alloydb/0.33.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.32.0](/java/docs/reference/google-cloud-alloydb/0.32.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.31.0](/java/docs/reference/google-cloud-alloydb/0.31.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.30.0](/java/docs/reference/google-cloud-alloydb/0.30.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.29.0](/java/docs/reference/google-cloud-alloydb/0.29.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.28.0](/java/docs/reference/google-cloud-alloydb/0.28.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-alloydb/0.26.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.25.0](/java/docs/reference/google-cloud-alloydb/0.25.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.24.0](/java/docs/reference/google-cloud-alloydb/0.24.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-alloydb/0.23.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.22.0](/java/docs/reference/google-cloud-alloydb/0.22.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.21.0](/java/docs/reference/google-cloud-alloydb/0.21.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.20.0](/java/docs/reference/google-cloud-alloydb/0.20.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-alloydb/0.19.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-alloydb/0.18.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.17.0](/java/docs/reference/google-cloud-alloydb/0.17.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-alloydb/0.16.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-alloydb/0.13.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-alloydb/0.12.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-alloydb/0.11.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-alloydb/0.10.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.9.0](/java/docs/reference/google-cloud-alloydb/0.9.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-alloydb/0.8.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-alloydb/0.7.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-alloydb/0.6.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-alloydb/0.5.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-alloydb/0.4.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-alloydb/0.3.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-alloydb/0.2.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-alloydb/0.1.0/com.google.cloud.alloydb.v1.Cluster.PrimaryConfigOrBuilder) \n\n public static interface Cluster.PrimaryConfigOrBuilder 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### getSecondaryClusterNames(int index)\n\n public abstract String getSecondaryClusterNames(int index)\n\nOutput only. Names of the clusters that are replicating from this\ncluster.\n\n`\nrepeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getSecondaryClusterNamesBytes(int index)\n\n public abstract ByteString getSecondaryClusterNamesBytes(int index)\n\nOutput only. Names of the clusters that are replicating from this\ncluster.\n\n`\nrepeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getSecondaryClusterNamesCount()\n\n public abstract int getSecondaryClusterNamesCount()\n\nOutput only. Names of the clusters that are replicating from this\ncluster.\n\n`\nrepeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getSecondaryClusterNamesList()\n\n public abstract List\u003cString\u003e getSecondaryClusterNamesList()\n\nOutput only. Names of the clusters that are replicating from this\ncluster.\n\n`\nrepeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`"]]