Package com.google.cloud.alloydb.v1alpha
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getSecondaryClusterNames(int index)
Output only.com.google.protobuf.ByteString
getSecondaryClusterNamesBytes(int index)
Output only.int
getSecondaryClusterNamesCount()
Output only.List<String>
getSecondaryClusterNamesList()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSecondaryClusterNamesList
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:
- 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];
- Returns:
- The count of secondaryClusterNames.
-
getSecondaryClusterNames
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];
- 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];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the secondaryClusterNames at the given index.
-
-