Interface ClusterConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClusterConfig,ClusterConfig.Builder
public interface ClusterConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetClusters(int index)Load balancing clusters in aggregate cluster.com.google.protobuf.ByteStringgetClustersBytes(int index)Load balancing clusters in aggregate cluster.intgetClustersCount()Load balancing clusters in aggregate cluster.List<String>getClustersList()Load balancing clusters in aggregate cluster.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getClustersList
List<String> getClustersList()
Load balancing clusters in aggregate cluster. Clusters are prioritized based on the order they appear in this list.
repeated string clusters = 1 [(.validate.rules) = { ... }- Returns:
- A list containing the clusters.
-
getClustersCount
int getClustersCount()
Load balancing clusters in aggregate cluster. Clusters are prioritized based on the order they appear in this list.
repeated string clusters = 1 [(.validate.rules) = { ... }- Returns:
- The count of clusters.
-
getClusters
String getClusters(int index)
Load balancing clusters in aggregate cluster. Clusters are prioritized based on the order they appear in this list.
repeated string clusters = 1 [(.validate.rules) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The clusters at the given index.
-
getClustersBytes
com.google.protobuf.ByteString getClustersBytes(int index)
Load balancing clusters in aggregate cluster. Clusters are prioritized based on the order they appear in this list.
repeated string clusters = 1 [(.validate.rules) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the clusters at the given index.
-
-