Package com.google.cloud.alloydb.v1beta
Interface Cluster.PrimaryConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Cluster.PrimaryConfig,Cluster.PrimaryConfig.Builder
- Enclosing class:
- Cluster
public static interface Cluster.PrimaryConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetSecondaryClusterNames(int index) Output only.com.google.protobuf.ByteStringgetSecondaryClusterNamesBytes(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
-
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, (.google.api.resource_reference) = { ... }- Returns:
- A list containing the secondaryClusterNames.
-
getSecondaryClusterNamesCount
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, (.google.api.resource_reference) = { ... }- Returns:
- The count of secondaryClusterNames.
-
getSecondaryClusterNames
Output only. Names of the clusters that are replicating from this cluster.
repeated string secondary_cluster_names = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The secondaryClusterNames at the given index.
-
getSecondaryClusterNamesBytes
com.google.protobuf.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, (.google.api.resource_reference) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the secondaryClusterNames at the given index.
-