public static final class RouteAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder> implements RouteActionOrBuilder
[#next-free-field: 7]Protobuf type
envoy.extensions.filters.network.thrift_proxy.v3.RouteAction| Modifier and Type | Method and Description |
|---|---|
RouteAction.Builder |
addAllRateLimits(Iterable<? extends RateLimit> values)
Specifies a set of rate limit configurations that could be applied to the route.
|
RouteAction.Builder |
addRateLimits(int index,
RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that could be applied to the route.
|
RouteAction.Builder |
addRateLimits(int index,
RateLimit value)
Specifies a set of rate limit configurations that could be applied to the route.
|
RouteAction.Builder |
addRateLimits(RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that could be applied to the route.
|
RouteAction.Builder |
addRateLimits(RateLimit value)
Specifies a set of rate limit configurations that could be applied to the route.
|
RateLimit.Builder |
addRateLimitsBuilder()
Specifies a set of rate limit configurations that could be applied to the route.
|
RateLimit.Builder |
addRateLimitsBuilder(int index)
Specifies a set of rate limit configurations that could be applied to the route.
|
RouteAction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteAction |
build() |
RouteAction |
buildPartial() |
RouteAction.Builder |
clear() |
RouteAction.Builder |
clearCluster()
Indicates a single upstream cluster to which the request should be routed
to.
|
RouteAction.Builder |
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.
|
RouteAction.Builder |
clearClusterSpecifier() |
RouteAction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteAction.Builder |
clearMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteAction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteAction.Builder |
clearRateLimits()
Specifies a set of rate limit configurations that could be applied to the route.
|
RouteAction.Builder |
clearStripServiceName()
Strip the service prefix from the method name, if there's a prefix.
|
RouteAction.Builder |
clearWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
RouteAction.Builder |
clone() |
String |
getCluster()
Indicates a single upstream cluster to which the request should be routed
to.
|
com.google.protobuf.ByteString |
getClusterBytes()
Indicates a single upstream cluster to which the request should be routed
to.
|
String |
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.
|
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.
|
RouteAction.ClusterSpecifierCase |
getClusterSpecifierCase() |
RouteAction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Metadata |
getMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
Metadata.Builder |
getMetadataMatchBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.
|
MetadataOrBuilder |
getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.
|
RateLimit |
getRateLimits(int index)
Specifies a set of rate limit configurations that could be applied to the route.
|
RateLimit.Builder |
getRateLimitsBuilder(int index)
Specifies a set of rate limit configurations that could be applied to the route.
|
List<RateLimit.Builder> |
getRateLimitsBuilderList()
Specifies a set of rate limit configurations that could be applied to the route.
|
int |
getRateLimitsCount()
Specifies a set of rate limit configurations that could be applied to the route.
|
List<RateLimit> |
getRateLimitsList()
Specifies a set of rate limit configurations that could be applied to the route.
|
RateLimitOrBuilder |
getRateLimitsOrBuilder(int index)
Specifies a set of rate limit configurations that could be applied to the route.
|
List<? extends RateLimitOrBuilder> |
getRateLimitsOrBuilderList()
Specifies a set of rate limit configurations that could be applied to the route.
|
boolean |
getStripServiceName()
Strip the service prefix from the method name, if there's a prefix.
|
WeightedCluster |
getWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
WeightedCluster.Builder |
getWeightedClustersBuilder()
Multiple upstream clusters can be specified for a given route.
|
WeightedClusterOrBuilder |
getWeightedClustersOrBuilder()
Multiple upstream clusters can be specified for a given route.
|
boolean |
hasMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
boolean |
hasWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouteAction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteAction.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteAction.Builder |
mergeFrom(RouteAction other) |
RouteAction.Builder |
mergeMetadataMatch(Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteAction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteAction.Builder |
mergeWeightedClusters(WeightedCluster value)
Multiple upstream clusters can be specified for a given route.
|
RouteAction.Builder |
removeRateLimits(int index)
Specifies a set of rate limit configurations that could be applied to the route.
|
RouteAction.Builder |
setCluster(String value)
Indicates a single upstream cluster to which the request should be routed
to.
|
RouteAction.Builder |
setClusterBytes(com.google.protobuf.ByteString value)
Indicates a single upstream cluster to which the request should be routed
to.
|
RouteAction.Builder |
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.
|
RouteAction.Builder |
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.
|
RouteAction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteAction.Builder |
setMetadataMatch(Metadata.Builder builderForValue)
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteAction.Builder |
setMetadataMatch(Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteAction.Builder |
setRateLimits(int index,
RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that could be applied to the route.
|
RouteAction.Builder |
setRateLimits(int index,
RateLimit value)
Specifies a set of rate limit configurations that could be applied to the route.
|
RouteAction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteAction.Builder |
setStripServiceName(boolean value)
Strip the service prefix from the method name, if there's a prefix.
|
RouteAction.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteAction.Builder |
setWeightedClusters(WeightedCluster.Builder builderForValue)
Multiple upstream clusters can be specified for a given route.
|
RouteAction.Builder |
setWeightedClusters(WeightedCluster value)
Multiple upstream clusters can be specified for a given route.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public RouteAction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public RouteAction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteAction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteAction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteAction.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public RouteAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public RouteAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public RouteAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public RouteAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public RouteAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public RouteAction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteAction.Builder>public RouteAction.Builder mergeFrom(RouteAction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public RouteAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteAction.Builder>IOExceptionpublic RouteAction.ClusterSpecifierCase getClusterSpecifierCase()
getClusterSpecifierCase in interface RouteActionOrBuilderpublic RouteAction.Builder clearClusterSpecifier()
public String getCluster()
Indicates a single upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }getCluster in interface RouteActionOrBuilderpublic com.google.protobuf.ByteString getClusterBytes()
Indicates a single upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }getClusterBytes in interface RouteActionOrBuilderpublic RouteAction.Builder setCluster(String value)
Indicates a single upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }public RouteAction.Builder clearCluster()
Indicates a single upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }public RouteAction.Builder setClusterBytes(com.google.protobuf.ByteString value)
Indicates a single upstream cluster to which the request should be routed to.
string cluster = 1 [(.validate.rules) = { ... }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.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;hasWeightedClusters in interface RouteActionOrBuilderpublic 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.
.envoy.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;getWeightedClusters in interface RouteActionOrBuilderpublic RouteAction.Builder setWeightedClusters(WeightedCluster value)
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.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;public RouteAction.Builder setWeightedClusters(WeightedCluster.Builder builderForValue)
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.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;public RouteAction.Builder mergeWeightedClusters(WeightedCluster value)
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.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;public RouteAction.Builder 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.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;public WeightedCluster.Builder 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.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;public 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.
.envoy.extensions.filters.network.thrift_proxy.v3.WeightedCluster weighted_clusters = 2;getWeightedClustersOrBuilder in interface RouteActionOrBuilderpublic String 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) = { ... }getClusterHeader in interface RouteActionOrBuilderpublic 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) = { ... }getClusterHeaderBytes in interface RouteActionOrBuilderpublic RouteAction.Builder 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. 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) = { ... }public RouteAction.Builder 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) = { ... }public RouteAction.Builder 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. 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) = { ... }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_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.config.core.v3.Metadata metadata_match = 3;hasMetadataMatch in interface RouteActionOrBuilderpublic 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. Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match <envoy_api_field_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.config.core.v3.Metadata metadata_match = 3;getMetadataMatch in interface RouteActionOrBuilderpublic RouteAction.Builder setMetadataMatch(Metadata value)
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_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.config.core.v3.Metadata metadata_match = 3;public RouteAction.Builder setMetadataMatch(Metadata.Builder builderForValue)
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_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.config.core.v3.Metadata metadata_match = 3;public RouteAction.Builder mergeMetadataMatch(Metadata value)
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_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.config.core.v3.Metadata metadata_match = 3;public RouteAction.Builder 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_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.config.core.v3.Metadata metadata_match = 3;public Metadata.Builder 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_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.config.core.v3.Metadata metadata_match = 3;public 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. Note that this will be merged with what's provided in :ref:`WeightedCluster.metadata_match <envoy_api_field_extensions.filters.network.thrift_proxy.v3.WeightedCluster.ClusterWeight.metadata_match>`, with values there taking precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.config.core.v3.Metadata metadata_match = 3;getMetadataMatchOrBuilder in interface RouteActionOrBuilderpublic List<RateLimit> 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.config.route.v3.RateLimit rate_limits = 4;getRateLimitsList in interface RouteActionOrBuilderpublic 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.config.route.v3.RateLimit rate_limits = 4;getRateLimitsCount in interface RouteActionOrBuilderpublic RateLimit getRateLimits(int index)
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.config.route.v3.RateLimit rate_limits = 4;getRateLimits in interface RouteActionOrBuilderpublic RouteAction.Builder setRateLimits(int index, RateLimit value)
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.config.route.v3.RateLimit rate_limits = 4;public RouteAction.Builder setRateLimits(int index, RateLimit.Builder builderForValue)
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.config.route.v3.RateLimit rate_limits = 4;public RouteAction.Builder addRateLimits(RateLimit value)
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.config.route.v3.RateLimit rate_limits = 4;public RouteAction.Builder addRateLimits(int index, RateLimit value)
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.config.route.v3.RateLimit rate_limits = 4;public RouteAction.Builder addRateLimits(RateLimit.Builder builderForValue)
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.config.route.v3.RateLimit rate_limits = 4;public RouteAction.Builder addRateLimits(int index, RateLimit.Builder builderForValue)
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.config.route.v3.RateLimit rate_limits = 4;public RouteAction.Builder addAllRateLimits(Iterable<? extends RateLimit> values)
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.config.route.v3.RateLimit rate_limits = 4;public RouteAction.Builder 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.config.route.v3.RateLimit rate_limits = 4;public RouteAction.Builder removeRateLimits(int index)
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.config.route.v3.RateLimit rate_limits = 4;public RateLimit.Builder getRateLimitsBuilder(int index)
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.config.route.v3.RateLimit rate_limits = 4;public RateLimitOrBuilder getRateLimitsOrBuilder(int index)
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.config.route.v3.RateLimit rate_limits = 4;getRateLimitsOrBuilder in interface RouteActionOrBuilderpublic List<? extends RateLimitOrBuilder> 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.config.route.v3.RateLimit rate_limits = 4;getRateLimitsOrBuilderList in interface RouteActionOrBuilderpublic RateLimit.Builder 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.config.route.v3.RateLimit rate_limits = 4;public RateLimit.Builder addRateLimitsBuilder(int index)
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.config.route.v3.RateLimit rate_limits = 4;public List<RateLimit.Builder> 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.config.route.v3.RateLimit rate_limits = 4;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;getStripServiceName in interface RouteActionOrBuilderpublic RouteAction.Builder setStripServiceName(boolean value)
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;public RouteAction.Builder 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;public final RouteAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>public final RouteAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.