Class RouteAction.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
io.envoyproxy.envoy.config.filter.network.thrift_proxy.v2alpha1.RouteAction.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RouteActionOrBuilder,Cloneable
- Enclosing class:
- RouteAction
public static final class RouteAction.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
implements RouteActionOrBuilder
[#next-free-field: 7]Protobuf type
envoy.config.filter.network.thrift_proxy.v2alpha1.RouteAction-
Method Summary
Modifier and TypeMethodDescriptionaddAllRateLimits(Iterable<? extends RateLimit> values) Specifies a set of rate limit configurations that could be applied to the route.addRateLimits(int index, RateLimit value) Specifies a set of rate limit configurations that could be applied to the route.addRateLimits(int index, RateLimit.Builder builderForValue) Specifies a set of rate limit configurations that could be applied to the route.addRateLimits(RateLimit value) Specifies a set of rate limit configurations that could be applied to the route.addRateLimits(RateLimit.Builder builderForValue) Specifies a set of rate limit configurations that could be applied to the route.Specifies a set of rate limit configurations that could be applied to the route.addRateLimitsBuilder(int index) Specifies a set of rate limit configurations that could be applied to the route.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Indicates a single upstream cluster to which the request should be routed to.Envoy will determine the cluster to route to by reading the value of the Thrift header named by cluster_header from the request headers.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Optional endpoint metadata match criteria used by the subset load balancer.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specifies a set of rate limit configurations that could be applied to the route.Strip the service prefix from the method name, if there's a prefix.Multiple upstream clusters can be specified for a given route.clone()Indicates a single upstream cluster to which the request should be routed to.com.google.protobuf.ByteStringIndicates a single upstream cluster to which the request should be routed to.Envoy will determine the cluster to route to by reading the value of the Thrift header named by cluster_header from the request headers.com.google.protobuf.ByteStringEnvoy will determine the cluster to route to by reading the value of the Thrift header named by cluster_header from the request headers.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional endpoint metadata match criteria used by the subset load balancer.Optional endpoint metadata match criteria used by the subset load balancer.Optional endpoint metadata match criteria used by the subset load balancer.getRateLimits(int index) Specifies a set of rate limit configurations that could be applied to the route.getRateLimitsBuilder(int index) Specifies a set of rate limit configurations that could be applied to the route.Specifies a set of rate limit configurations that could be applied to the route.intSpecifies a set of rate limit configurations that could be applied to the route.Specifies a set of rate limit configurations that could be applied to the route.getRateLimitsOrBuilder(int index) Specifies a set of rate limit configurations that could be applied to the route.List<? extends RateLimitOrBuilder>Specifies a set of rate limit configurations that could be applied to the route.booleanStrip the service prefix from the method name, if there's a prefix.Multiple upstream clusters can be specified for a given route.Multiple upstream clusters can be specified for a given route.Multiple upstream clusters can be specified for a given route.booleanIndicates a single upstream cluster to which the request should be routed to.booleanEnvoy will determine the cluster to route to by reading the value of the Thrift header named by cluster_header from the request headers.booleanOptional endpoint metadata match criteria used by the subset load balancer.booleanMultiple upstream clusters can be specified for a given route.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(RouteAction other) mergeMetadataMatch(Metadata value) Optional endpoint metadata match criteria used by the subset load balancer.final RouteAction.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Multiple upstream clusters can be specified for a given route.removeRateLimits(int index) Specifies a set of rate limit configurations that could be applied to the route.setCluster(String value) Indicates a single upstream cluster to which the request should be routed to.setClusterBytes(com.google.protobuf.ByteString value) Indicates a single upstream cluster to which the request should be routed to.setClusterHeader(String value) Envoy will determine the cluster to route to by reading the value of the Thrift header named by cluster_header from the request headers.setClusterHeaderBytes(com.google.protobuf.ByteString value) Envoy will determine the cluster to route to by reading the value of the Thrift header named by cluster_header from the request headers.setMetadataMatch(Metadata value) Optional endpoint metadata match criteria used by the subset load balancer.setMetadataMatch(Metadata.Builder builderForValue) Optional endpoint metadata match criteria used by the subset load balancer.setRateLimits(int index, RateLimit value) Specifies a set of rate limit configurations that could be applied to the route.setRateLimits(int index, RateLimit.Builder builderForValue) Specifies a set of rate limit configurations that could be applied to the route.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStripServiceName(boolean value) Strip the service prefix from the method name, if there's a prefix.final RouteAction.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Multiple upstream clusters can be specified for a given route.setWeightedClusters(WeightedCluster.Builder builderForValue) Multiple upstream clusters can be specified for a given route.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
setField
public RouteAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
setRepeatedField
public RouteAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
addRepeatedField
public RouteAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteAction.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
mergeFrom
public RouteAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteAction.Builder>- Throws:
IOException
-
getClusterSpecifierCase
- Specified by:
getClusterSpecifierCasein interfaceRouteActionOrBuilder
-
clearClusterSpecifier
-
hasCluster
public boolean hasCluster()Indicates a single upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }- Specified by:
hasClusterin interfaceRouteActionOrBuilder- Returns:
- Whether the cluster field is set.
-
getCluster
Indicates a single upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }- Specified by:
getClusterin interfaceRouteActionOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()Indicates a single upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }- Specified by:
getClusterBytesin interfaceRouteActionOrBuilder- Returns:
- The bytes for cluster.
-
setCluster
Indicates a single upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }- Parameters:
value- The cluster to set.- Returns:
- This builder for chaining.
-
clearCluster
Indicates a single upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setClusterBytes
Indicates a single upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for cluster to set.- Returns:
- This builder for chaining.
-
hasWeightedClusters
public 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.
.envoy.config.filter.network.thrift_proxy.v2alpha1.WeightedCluster weighted_clusters = 2;- Specified by:
hasWeightedClustersin interfaceRouteActionOrBuilder- Returns:
- Whether the weightedClusters field is set.
-
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.
.envoy.config.filter.network.thrift_proxy.v2alpha1.WeightedCluster weighted_clusters = 2;- Specified by:
getWeightedClustersin interfaceRouteActionOrBuilder- Returns:
- The weightedClusters.
-
setWeightedClusters
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.
.envoy.config.filter.network.thrift_proxy.v2alpha1.WeightedCluster weighted_clusters = 2; -
setWeightedClusters
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.
.envoy.config.filter.network.thrift_proxy.v2alpha1.WeightedCluster weighted_clusters = 2; -
mergeWeightedClusters
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.
.envoy.config.filter.network.thrift_proxy.v2alpha1.WeightedCluster weighted_clusters = 2; -
clearWeightedClusters
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.
.envoy.config.filter.network.thrift_proxy.v2alpha1.WeightedCluster weighted_clusters = 2; -
getWeightedClustersBuilder
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.
.envoy.config.filter.network.thrift_proxy.v2alpha1.WeightedCluster weighted_clusters = 2; -
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.
.envoy.config.filter.network.thrift_proxy.v2alpha1.WeightedCluster weighted_clusters = 2;- Specified by:
getWeightedClustersOrBuilderin interfaceRouteActionOrBuilder
-
hasClusterHeader
public boolean hasClusterHeader()Envoy will determine the cluster to route to by reading the value of the Thrift header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist Envoy will respond with an unknown method exception or an internal error exception, respectively.
string cluster_header = 6 [(.validate.rules) = { ... }- Specified by:
hasClusterHeaderin interfaceRouteActionOrBuilder- Returns:
- Whether the clusterHeader field is set.
-
getClusterHeader
Envoy will determine the cluster to route to by reading the value of the Thrift header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist Envoy will respond with an unknown method exception or an internal error exception, respectively.
string cluster_header = 6 [(.validate.rules) = { ... }- Specified by:
getClusterHeaderin interfaceRouteActionOrBuilder- Returns:
- The clusterHeader.
-
getClusterHeaderBytes
public com.google.protobuf.ByteString getClusterHeaderBytes()Envoy will determine the cluster to route to by reading the value of the Thrift header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist Envoy will respond with an unknown method exception or an internal error exception, respectively.
string cluster_header = 6 [(.validate.rules) = { ... }- Specified by:
getClusterHeaderBytesin interfaceRouteActionOrBuilder- Returns:
- The bytes for clusterHeader.
-
setClusterHeader
Envoy will determine the cluster to route to by reading the value of the Thrift header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist Envoy will respond with an unknown method exception or an internal error exception, respectively.
string cluster_header = 6 [(.validate.rules) = { ... }- Parameters:
value- The clusterHeader to set.- Returns:
- This builder for chaining.
-
clearClusterHeader
Envoy will determine the cluster to route to by reading the value of the Thrift header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist Envoy will respond with an unknown method exception or an internal error exception, respectively.
string cluster_header = 6 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setClusterHeaderBytes
Envoy will determine the cluster to route to by reading the value of the Thrift header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist Envoy will respond with an unknown method exception or an internal error exception, respectively.
string cluster_header = 6 [(.validate.rules) = { ... }- Parameters:
value- The bytes for clusterHeader to set.- Returns:
- This builder for chaining.
-
hasMetadataMatch
public 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. Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3;- Specified by:
hasMetadataMatchin interfaceRouteActionOrBuilder- Returns:
- Whether the metadataMatch field is set.
-
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. Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3;- Specified by:
getMetadataMatchin interfaceRouteActionOrBuilder- Returns:
- The metadataMatch.
-
setMetadataMatch
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. Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3; -
setMetadataMatch
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. Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3; -
mergeMetadataMatch
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. Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3; -
clearMetadataMatch
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. Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3; -
getMetadataMatchBuilder
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. Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3; -
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. Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3;- Specified by:
getMetadataMatchOrBuilderin interfaceRouteActionOrBuilder
-
getRateLimitsList
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4;- Specified by:
getRateLimitsListin interfaceRouteActionOrBuilder
-
getRateLimitsCount
public int getRateLimitsCount()Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4;- Specified by:
getRateLimitsCountin interfaceRouteActionOrBuilder
-
getRateLimits
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4;- Specified by:
getRateLimitsin interfaceRouteActionOrBuilder
-
setRateLimits
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4; -
setRateLimits
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4; -
addRateLimits
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4; -
addRateLimits
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4; -
addRateLimits
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4; -
addRateLimits
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4; -
addAllRateLimits
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4; -
clearRateLimits
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4; -
removeRateLimits
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4; -
getRateLimitsBuilder
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4; -
getRateLimitsOrBuilder
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4;- Specified by:
getRateLimitsOrBuilderin interfaceRouteActionOrBuilder
-
getRateLimitsOrBuilderList
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4;- Specified by:
getRateLimitsOrBuilderListin interfaceRouteActionOrBuilder
-
addRateLimitsBuilder
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4; -
addRateLimitsBuilder
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4; -
getRateLimitsBuilderList
Specifies a set of rate limit configurations that could be applied to the route. N.B. Thrift service or method name matching can be achieved by specifying a RequestHeaders action with the header name ":method-name".
repeated .envoy.api.v2.route.RateLimit rate_limits = 4; -
getStripServiceName
public boolean getStripServiceName()Strip the service prefix from the method name, if there's a prefix. For example, the method call Service:method would end up being just method.
bool strip_service_name = 5;- Specified by:
getStripServiceNamein interfaceRouteActionOrBuilder- Returns:
- The stripServiceName.
-
setStripServiceName
Strip the service prefix from the method name, if there's a prefix. For example, the method call Service:method would end up being just method.
bool strip_service_name = 5;- Parameters:
value- The stripServiceName to set.- Returns:
- This builder for chaining.
-
clearStripServiceName
Strip the service prefix from the method name, if there's a prefix. For example, the method call Service:method would end up being just method.
bool strip_service_name = 5;- Returns:
- This builder for chaining.
-
setUnknownFields
public final RouteAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-
mergeUnknownFields
public final RouteAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>
-