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
Modifier and TypeMethodDescriptiongetClusters(int index) List of clusters to use for request routing.intList of clusters to use for request routing.List of clusters to use for request routing.getClustersOrBuilder(int index) List of clusters to use for request routing.List<? extends ClusterConfig.ClusterEntryOrBuilder>List of clusters to use for request routing.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
-
getClustersList
List<ClusterConfig.ClusterEntry> getClustersList()List of clusters to use for request routing. The first cluster is used for the initial request (attempt 1), the second cluster for the first retry (attempt 2), and so on. Must contain at least one cluster. When retry attempts exceed the number of configured clusters, requests will fail with no host available.
repeated .envoy.extensions.clusters.composite.v3.ClusterConfig.ClusterEntry clusters = 1 [(.validate.rules) = { ... } -
getClusters
List of clusters to use for request routing. The first cluster is used for the initial request (attempt 1), the second cluster for the first retry (attempt 2), and so on. Must contain at least one cluster. When retry attempts exceed the number of configured clusters, requests will fail with no host available.
repeated .envoy.extensions.clusters.composite.v3.ClusterConfig.ClusterEntry clusters = 1 [(.validate.rules) = { ... } -
getClustersCount
int getClustersCount()List of clusters to use for request routing. The first cluster is used for the initial request (attempt 1), the second cluster for the first retry (attempt 2), and so on. Must contain at least one cluster. When retry attempts exceed the number of configured clusters, requests will fail with no host available.
repeated .envoy.extensions.clusters.composite.v3.ClusterConfig.ClusterEntry clusters = 1 [(.validate.rules) = { ... } -
getClustersOrBuilderList
List<? extends ClusterConfig.ClusterEntryOrBuilder> getClustersOrBuilderList()List of clusters to use for request routing. The first cluster is used for the initial request (attempt 1), the second cluster for the first retry (attempt 2), and so on. Must contain at least one cluster. When retry attempts exceed the number of configured clusters, requests will fail with no host available.
repeated .envoy.extensions.clusters.composite.v3.ClusterConfig.ClusterEntry clusters = 1 [(.validate.rules) = { ... } -
getClustersOrBuilder
List of clusters to use for request routing. The first cluster is used for the initial request (attempt 1), the second cluster for the first retry (attempt 2), and so on. Must contain at least one cluster. When retry attempts exceed the number of configured clusters, requests will fail with no host available.
repeated .envoy.extensions.clusters.composite.v3.ClusterConfig.ClusterEntry clusters = 1 [(.validate.rules) = { ... }
-