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()MetadatagetMetadataMatch()Optional endpoint metadata match criteria used by the subset load balancer.MetadataOrBuildergetMetadataMatchOrBuilder()Optional endpoint metadata match criteria used by the subset load balancer.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.booleanhasMetadataMatch()Optional endpoint metadata match criteria used by the subset load balancer.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;
-
hasMetadataMatch
boolean hasMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered for load balancing. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 3;- Returns:
- Whether the metadataMatch field is set.
-
getMetadataMatch
Metadata getMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered for load balancing. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 3;- Returns:
- The metadataMatch.
-
getMetadataMatchOrBuilder
MetadataOrBuilder getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered for load balancing. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 3;
-
getClusterSpecifierCase
RouteAction.ClusterSpecifierCase getClusterSpecifierCase()
-
-