Interface RouteActionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouteAction,RouteAction.Builder
public interface RouteActionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCluster()Indicates the upstream cluster to which the request should be routed.com.google.protobuf.ByteStringgetClusterBytes()Indicates the upstream cluster to which the request should be routed.RouteAction.ClusterSpecifierCasegetClusterSpecifierCase()WeightedClustergetWeightedClusters()Multiple upstream clusters can be specified for a given route.WeightedClusterOrBuildergetWeightedClustersOrBuilder()Multiple upstream clusters can be specified for a given route.booleanhasCluster()Indicates the upstream cluster to which the request should be routed.booleanhasWeightedClusters()Multiple upstream clusters can be specified for a given route.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCluster
boolean hasCluster()
Indicates the upstream cluster to which the request should be routed.
string cluster = 1;- Returns:
- Whether the cluster field is set.
-
getCluster
String getCluster()
Indicates the upstream cluster to which the request should be routed.
string cluster = 1;- Returns:
- The cluster.
-
getClusterBytes
com.google.protobuf.ByteString getClusterBytes()
Indicates the upstream cluster to which the request should be routed.
string cluster = 1;- Returns:
- The bytes for cluster.
-
hasWeightedClusters
boolean hasWeightedClusters()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. Currently ClusterWeight only supports the name and weight fields.
.envoy.config.route.v3.WeightedCluster weighted_clusters = 2;- Returns:
- Whether the weightedClusters field is set.
-
getWeightedClusters
WeightedCluster getWeightedClusters()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. Currently ClusterWeight only supports the name and weight fields.
.envoy.config.route.v3.WeightedCluster weighted_clusters = 2;- Returns:
- The weightedClusters.
-
getWeightedClustersOrBuilder
WeightedClusterOrBuilder getWeightedClustersOrBuilder()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. Currently ClusterWeight only supports the name and weight fields.
.envoy.config.route.v3.WeightedCluster weighted_clusters = 2;
-
getClusterSpecifierCase
RouteAction.ClusterSpecifierCase getClusterSpecifierCase()
-
-