Class Route.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
- io.envoyproxy.envoy.config.route.v3.Route.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RouteOrBuilder,Cloneable
- Enclosing class:
- Route
public static final class Route.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder> implements RouteOrBuilder
A route is both a specification of how to match a request as well as an indication of what to do next (e.g., redirect, forward, rewrite, etc.). .. attention:: Envoy supports routing on HTTP method via :ref:`header matching <envoy_v3_api_msg_config.route.v3.HeaderMatcher>`. [#next-free-field: 20]
Protobuf typeenvoy.config.route.v3.Route
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Route.BuilderaddAllRequestHeadersToAdd(Iterable<? extends HeaderValueOption> values)Specifies a set of headers that will be added to requests matching this route.Route.BuilderaddAllRequestHeadersToRemove(Iterable<String> values)Specifies a list of HTTP headers that should be removed from each request matching this route.Route.BuilderaddAllResponseHeadersToAdd(Iterable<? extends HeaderValueOption> values)Specifies a set of headers that will be added to responses to requests matching this route.Route.BuilderaddAllResponseHeadersToRemove(Iterable<String> values)Specifies a list of HTTP headers that should be removed from each response to requests matching this route.Route.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Route.BuilderaddRequestHeadersToAdd(int index, HeaderValueOption value)Specifies a set of headers that will be added to requests matching this route.Route.BuilderaddRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)Specifies a set of headers that will be added to requests matching this route.Route.BuilderaddRequestHeadersToAdd(HeaderValueOption value)Specifies a set of headers that will be added to requests matching this route.Route.BuilderaddRequestHeadersToAdd(HeaderValueOption.Builder builderForValue)Specifies a set of headers that will be added to requests matching this route.HeaderValueOption.BuilderaddRequestHeadersToAddBuilder()Specifies a set of headers that will be added to requests matching this route.HeaderValueOption.BuilderaddRequestHeadersToAddBuilder(int index)Specifies a set of headers that will be added to requests matching this route.Route.BuilderaddRequestHeadersToRemove(String value)Specifies a list of HTTP headers that should be removed from each request matching this route.Route.BuilderaddRequestHeadersToRemoveBytes(com.google.protobuf.ByteString value)Specifies a list of HTTP headers that should be removed from each request matching this route.Route.BuilderaddResponseHeadersToAdd(int index, HeaderValueOption value)Specifies a set of headers that will be added to responses to requests matching this route.Route.BuilderaddResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)Specifies a set of headers that will be added to responses to requests matching this route.Route.BuilderaddResponseHeadersToAdd(HeaderValueOption value)Specifies a set of headers that will be added to responses to requests matching this route.Route.BuilderaddResponseHeadersToAdd(HeaderValueOption.Builder builderForValue)Specifies a set of headers that will be added to responses to requests matching this route.HeaderValueOption.BuilderaddResponseHeadersToAddBuilder()Specifies a set of headers that will be added to responses to requests matching this route.HeaderValueOption.BuilderaddResponseHeadersToAddBuilder(int index)Specifies a set of headers that will be added to responses to requests matching this route.Route.BuilderaddResponseHeadersToRemove(String value)Specifies a list of HTTP headers that should be removed from each response to requests matching this route.Route.BuilderaddResponseHeadersToRemoveBytes(com.google.protobuf.ByteString value)Specifies a list of HTTP headers that should be removed from each response to requests matching this route.Routebuild()RoutebuildPartial()Route.Builderclear()Route.BuilderclearAction()Route.BuilderclearDecorator()Decorator for the matched route.Route.BuilderclearDirectResponse()Return an arbitrary HTTP response directly, without proxying.Route.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Route.BuilderclearFilterAction()[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).Route.BuilderclearMatch()Route matching parameters.Route.BuilderclearMetadata()The Metadata field can be used to provide additional information about the route.Route.BuilderclearName()Name for the route.Route.BuilderclearNonForwardingAction()[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.Route.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Route.BuilderclearPerRequestBufferLimitBytes()The maximum bytes which will be buffered for retries and shadowing.Route.BuilderclearRedirect()Return a redirect.Route.BuilderclearRequestHeadersToAdd()Specifies a set of headers that will be added to requests matching this route.Route.BuilderclearRequestHeadersToRemove()Specifies a list of HTTP headers that should be removed from each request matching this route.Route.BuilderclearResponseHeadersToAdd()Specifies a set of headers that will be added to responses to requests matching this route.Route.BuilderclearResponseHeadersToRemove()Specifies a list of HTTP headers that should be removed from each response to requests matching this route.Route.BuilderclearRoute()Route request to some upstream cluster.Route.BuilderclearStatPrefix()The human readable prefix to use when emitting statistics for this endpoint.Route.BuilderclearTracing()Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Route.BuilderclearTypedPerFilterConfig()Route.Builderclone()booleancontainsTypedPerFilterConfig(String key)The per_filter_config field can be used to provide route-specific configurations for filters.Route.ActionCasegetActionCase()DecoratorgetDecorator()Decorator for the matched route.Decorator.BuildergetDecoratorBuilder()Decorator for the matched route.DecoratorOrBuildergetDecoratorOrBuilder()Decorator for the matched route.RoutegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DirectResponseActiongetDirectResponse()Return an arbitrary HTTP response directly, without proxying.DirectResponseAction.BuildergetDirectResponseBuilder()Return an arbitrary HTTP response directly, without proxying.DirectResponseActionOrBuildergetDirectResponseOrBuilder()Return an arbitrary HTTP response directly, without proxying.FilterActiongetFilterAction()[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).FilterAction.BuildergetFilterActionBuilder()[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).FilterActionOrBuildergetFilterActionOrBuilder()[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).RouteMatchgetMatch()Route matching parameters.RouteMatch.BuildergetMatchBuilder()Route matching parameters.RouteMatchOrBuildergetMatchOrBuilder()Route matching parameters.MetadatagetMetadata()The Metadata field can be used to provide additional information about the route.Metadata.BuildergetMetadataBuilder()The Metadata field can be used to provide additional information about the route.MetadataOrBuildergetMetadataOrBuilder()The Metadata field can be used to provide additional information about the route.Map<String,com.google.protobuf.Any>getMutableTypedPerFilterConfig()Deprecated.StringgetName()Name for the route.com.google.protobuf.ByteStringgetNameBytes()Name for the route.NonForwardingActiongetNonForwardingAction()[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.NonForwardingAction.BuildergetNonForwardingActionBuilder()[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.NonForwardingActionOrBuildergetNonForwardingActionOrBuilder()[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.com.google.protobuf.UInt32ValuegetPerRequestBufferLimitBytes()The maximum bytes which will be buffered for retries and shadowing.com.google.protobuf.UInt32Value.BuildergetPerRequestBufferLimitBytesBuilder()The maximum bytes which will be buffered for retries and shadowing.com.google.protobuf.UInt32ValueOrBuildergetPerRequestBufferLimitBytesOrBuilder()The maximum bytes which will be buffered for retries and shadowing.RedirectActiongetRedirect()Return a redirect.RedirectAction.BuildergetRedirectBuilder()Return a redirect.RedirectActionOrBuildergetRedirectOrBuilder()Return a redirect.HeaderValueOptiongetRequestHeadersToAdd(int index)Specifies a set of headers that will be added to requests matching this route.HeaderValueOption.BuildergetRequestHeadersToAddBuilder(int index)Specifies a set of headers that will be added to requests matching this route.List<HeaderValueOption.Builder>getRequestHeadersToAddBuilderList()Specifies a set of headers that will be added to requests matching this route.intgetRequestHeadersToAddCount()Specifies a set of headers that will be added to requests matching this route.List<HeaderValueOption>getRequestHeadersToAddList()Specifies a set of headers that will be added to requests matching this route.HeaderValueOptionOrBuildergetRequestHeadersToAddOrBuilder(int index)Specifies a set of headers that will be added to requests matching this route.List<? extends HeaderValueOptionOrBuilder>getRequestHeadersToAddOrBuilderList()Specifies a set of headers that will be added to requests matching this route.StringgetRequestHeadersToRemove(int index)Specifies a list of HTTP headers that should be removed from each request matching this route.com.google.protobuf.ByteStringgetRequestHeadersToRemoveBytes(int index)Specifies a list of HTTP headers that should be removed from each request matching this route.intgetRequestHeadersToRemoveCount()Specifies a list of HTTP headers that should be removed from each request matching this route.com.google.protobuf.ProtocolStringListgetRequestHeadersToRemoveList()Specifies a list of HTTP headers that should be removed from each request matching this route.HeaderValueOptiongetResponseHeadersToAdd(int index)Specifies a set of headers that will be added to responses to requests matching this route.HeaderValueOption.BuildergetResponseHeadersToAddBuilder(int index)Specifies a set of headers that will be added to responses to requests matching this route.List<HeaderValueOption.Builder>getResponseHeadersToAddBuilderList()Specifies a set of headers that will be added to responses to requests matching this route.intgetResponseHeadersToAddCount()Specifies a set of headers that will be added to responses to requests matching this route.List<HeaderValueOption>getResponseHeadersToAddList()Specifies a set of headers that will be added to responses to requests matching this route.HeaderValueOptionOrBuildergetResponseHeadersToAddOrBuilder(int index)Specifies a set of headers that will be added to responses to requests matching this route.List<? extends HeaderValueOptionOrBuilder>getResponseHeadersToAddOrBuilderList()Specifies a set of headers that will be added to responses to requests matching this route.StringgetResponseHeadersToRemove(int index)Specifies a list of HTTP headers that should be removed from each response to requests matching this route.com.google.protobuf.ByteStringgetResponseHeadersToRemoveBytes(int index)Specifies a list of HTTP headers that should be removed from each response to requests matching this route.intgetResponseHeadersToRemoveCount()Specifies a list of HTTP headers that should be removed from each response to requests matching this route.com.google.protobuf.ProtocolStringListgetResponseHeadersToRemoveList()Specifies a list of HTTP headers that should be removed from each response to requests matching this route.RouteActiongetRoute()Route request to some upstream cluster.RouteAction.BuildergetRouteBuilder()Route request to some upstream cluster.RouteActionOrBuildergetRouteOrBuilder()Route request to some upstream cluster.StringgetStatPrefix()The human readable prefix to use when emitting statistics for this endpoint.com.google.protobuf.ByteStringgetStatPrefixBytes()The human readable prefix to use when emitting statistics for this endpoint.TracinggetTracing()Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Tracing.BuildergetTracingBuilder()Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.TracingOrBuildergetTracingOrBuilder()Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Map<String,com.google.protobuf.Any>getTypedPerFilterConfig()Deprecated.intgetTypedPerFilterConfigCount()The per_filter_config field can be used to provide route-specific configurations for filters.Map<String,com.google.protobuf.Any>getTypedPerFilterConfigMap()The per_filter_config field can be used to provide route-specific configurations for filters.com.google.protobuf.AnygetTypedPerFilterConfigOrDefault(String key, com.google.protobuf.Any defaultValue)The per_filter_config field can be used to provide route-specific configurations for filters.com.google.protobuf.AnygetTypedPerFilterConfigOrThrow(String key)The per_filter_config field can be used to provide route-specific configurations for filters.booleanhasDecorator()Decorator for the matched route.booleanhasDirectResponse()Return an arbitrary HTTP response directly, without proxying.booleanhasFilterAction()[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).booleanhasMatch()Route matching parameters.booleanhasMetadata()The Metadata field can be used to provide additional information about the route.booleanhasNonForwardingAction()[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.booleanhasPerRequestBufferLimitBytes()The maximum bytes which will be buffered for retries and shadowing.booleanhasRedirect()Return a redirect.booleanhasRoute()Route request to some upstream cluster.booleanhasTracing()Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Route.BuildermergeDecorator(Decorator value)Decorator for the matched route.Route.BuildermergeDirectResponse(DirectResponseAction value)Return an arbitrary HTTP response directly, without proxying.Route.BuildermergeFilterAction(FilterAction value)[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).Route.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Route.BuildermergeFrom(com.google.protobuf.Message other)Route.BuildermergeFrom(Route other)Route.BuildermergeMatch(RouteMatch value)Route matching parameters.Route.BuildermergeMetadata(Metadata value)The Metadata field can be used to provide additional information about the route.Route.BuildermergeNonForwardingAction(NonForwardingAction value)[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.Route.BuildermergePerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value)The maximum bytes which will be buffered for retries and shadowing.Route.BuildermergeRedirect(RedirectAction value)Return a redirect.Route.BuildermergeRoute(RouteAction value)Route request to some upstream cluster.Route.BuildermergeTracing(Tracing value)Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Route.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Route.BuilderputAllTypedPerFilterConfig(Map<String,com.google.protobuf.Any> values)The per_filter_config field can be used to provide route-specific configurations for filters.Route.BuilderputTypedPerFilterConfig(String key, com.google.protobuf.Any value)The per_filter_config field can be used to provide route-specific configurations for filters.Route.BuilderremoveRequestHeadersToAdd(int index)Specifies a set of headers that will be added to requests matching this route.Route.BuilderremoveResponseHeadersToAdd(int index)Specifies a set of headers that will be added to responses to requests matching this route.Route.BuilderremoveTypedPerFilterConfig(String key)The per_filter_config field can be used to provide route-specific configurations for filters.Route.BuildersetDecorator(Decorator value)Decorator for the matched route.Route.BuildersetDecorator(Decorator.Builder builderForValue)Decorator for the matched route.Route.BuildersetDirectResponse(DirectResponseAction value)Return an arbitrary HTTP response directly, without proxying.Route.BuildersetDirectResponse(DirectResponseAction.Builder builderForValue)Return an arbitrary HTTP response directly, without proxying.Route.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Route.BuildersetFilterAction(FilterAction value)[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).Route.BuildersetFilterAction(FilterAction.Builder builderForValue)[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).Route.BuildersetMatch(RouteMatch value)Route matching parameters.Route.BuildersetMatch(RouteMatch.Builder builderForValue)Route matching parameters.Route.BuildersetMetadata(Metadata value)The Metadata field can be used to provide additional information about the route.Route.BuildersetMetadata(Metadata.Builder builderForValue)The Metadata field can be used to provide additional information about the route.Route.BuildersetName(String value)Name for the route.Route.BuildersetNameBytes(com.google.protobuf.ByteString value)Name for the route.Route.BuildersetNonForwardingAction(NonForwardingAction value)[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.Route.BuildersetNonForwardingAction(NonForwardingAction.Builder builderForValue)[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.Route.BuildersetPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value)The maximum bytes which will be buffered for retries and shadowing.Route.BuildersetPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value.Builder builderForValue)The maximum bytes which will be buffered for retries and shadowing.Route.BuildersetRedirect(RedirectAction value)Return a redirect.Route.BuildersetRedirect(RedirectAction.Builder builderForValue)Return a redirect.Route.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Route.BuildersetRequestHeadersToAdd(int index, HeaderValueOption value)Specifies a set of headers that will be added to requests matching this route.Route.BuildersetRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)Specifies a set of headers that will be added to requests matching this route.Route.BuildersetRequestHeadersToRemove(int index, String value)Specifies a list of HTTP headers that should be removed from each request matching this route.Route.BuildersetResponseHeadersToAdd(int index, HeaderValueOption value)Specifies a set of headers that will be added to responses to requests matching this route.Route.BuildersetResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)Specifies a set of headers that will be added to responses to requests matching this route.Route.BuildersetResponseHeadersToRemove(int index, String value)Specifies a list of HTTP headers that should be removed from each response to requests matching this route.Route.BuildersetRoute(RouteAction value)Route request to some upstream cluster.Route.BuildersetRoute(RouteAction.Builder builderForValue)Route request to some upstream cluster.Route.BuildersetStatPrefix(String value)The human readable prefix to use when emitting statistics for this endpoint.Route.BuildersetStatPrefixBytes(com.google.protobuf.ByteString value)The human readable prefix to use when emitting statistics for this endpoint.Route.BuildersetTracing(Tracing value)Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Route.BuildersetTracing(Tracing.Builder builderForValue)Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Route.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
clear
public Route.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<Route.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<Route.Builder>
-
getDefaultInstanceForType
public Route getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Route build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Route buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Route.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<Route.Builder>
-
setField
public Route.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<Route.Builder>
-
clearField
public Route.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
clearOneof
public Route.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
setRepeatedField
public Route.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<Route.Builder>
-
addRepeatedField
public Route.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<Route.Builder>
-
mergeFrom
public Route.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Route.Builder>
-
mergeFrom
public Route.Builder mergeFrom(Route other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
mergeFrom
public Route.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<Route.Builder>- Throws:
IOException
-
getActionCase
public Route.ActionCase getActionCase()
- Specified by:
getActionCasein interfaceRouteOrBuilder
-
clearAction
public Route.Builder clearAction()
-
getName
public String getName()
Name for the route.
string name = 14;- Specified by:
getNamein interfaceRouteOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name for the route.
string name = 14;- Specified by:
getNameBytesin interfaceRouteOrBuilder- Returns:
- The bytes for name.
-
setName
public Route.Builder setName(String value)
Name for the route.
string name = 14;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Route.Builder clearName()
Name for the route.
string name = 14;- Returns:
- This builder for chaining.
-
setNameBytes
public Route.Builder setNameBytes(com.google.protobuf.ByteString value)
Name for the route.
string name = 14;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasMatch
public boolean hasMatch()
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }- Specified by:
hasMatchin interfaceRouteOrBuilder- Returns:
- Whether the match field is set.
-
getMatch
public RouteMatch getMatch()
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }- Specified by:
getMatchin interfaceRouteOrBuilder- Returns:
- The match.
-
setMatch
public Route.Builder setMatch(RouteMatch value)
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }
-
setMatch
public Route.Builder setMatch(RouteMatch.Builder builderForValue)
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }
-
mergeMatch
public Route.Builder mergeMatch(RouteMatch value)
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }
-
clearMatch
public Route.Builder clearMatch()
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }
-
getMatchBuilder
public RouteMatch.Builder getMatchBuilder()
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }
-
getMatchOrBuilder
public RouteMatchOrBuilder getMatchOrBuilder()
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }- Specified by:
getMatchOrBuilderin interfaceRouteOrBuilder
-
hasRoute
public boolean hasRoute()
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;- Specified by:
hasRoutein interfaceRouteOrBuilder- Returns:
- Whether the route field is set.
-
getRoute
public RouteAction getRoute()
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;- Specified by:
getRoutein interfaceRouteOrBuilder- Returns:
- The route.
-
setRoute
public Route.Builder setRoute(RouteAction value)
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;
-
setRoute
public Route.Builder setRoute(RouteAction.Builder builderForValue)
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;
-
mergeRoute
public Route.Builder mergeRoute(RouteAction value)
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;
-
clearRoute
public Route.Builder clearRoute()
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;
-
getRouteBuilder
public RouteAction.Builder getRouteBuilder()
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;
-
getRouteOrBuilder
public RouteActionOrBuilder getRouteOrBuilder()
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;- Specified by:
getRouteOrBuilderin interfaceRouteOrBuilder
-
hasRedirect
public boolean hasRedirect()
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;- Specified by:
hasRedirectin interfaceRouteOrBuilder- Returns:
- Whether the redirect field is set.
-
getRedirect
public RedirectAction getRedirect()
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;- Specified by:
getRedirectin interfaceRouteOrBuilder- Returns:
- The redirect.
-
setRedirect
public Route.Builder setRedirect(RedirectAction value)
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;
-
setRedirect
public Route.Builder setRedirect(RedirectAction.Builder builderForValue)
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;
-
mergeRedirect
public Route.Builder mergeRedirect(RedirectAction value)
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;
-
clearRedirect
public Route.Builder clearRedirect()
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;
-
getRedirectBuilder
public RedirectAction.Builder getRedirectBuilder()
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;
-
getRedirectOrBuilder
public RedirectActionOrBuilder getRedirectOrBuilder()
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;- Specified by:
getRedirectOrBuilderin interfaceRouteOrBuilder
-
hasDirectResponse
public boolean hasDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;- Specified by:
hasDirectResponsein interfaceRouteOrBuilder- Returns:
- Whether the directResponse field is set.
-
getDirectResponse
public DirectResponseAction getDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;- Specified by:
getDirectResponsein interfaceRouteOrBuilder- Returns:
- The directResponse.
-
setDirectResponse
public Route.Builder setDirectResponse(DirectResponseAction value)
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;
-
setDirectResponse
public Route.Builder setDirectResponse(DirectResponseAction.Builder builderForValue)
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;
-
mergeDirectResponse
public Route.Builder mergeDirectResponse(DirectResponseAction value)
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;
-
clearDirectResponse
public Route.Builder clearDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;
-
getDirectResponseBuilder
public DirectResponseAction.Builder getDirectResponseBuilder()
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;
-
getDirectResponseOrBuilder
public DirectResponseActionOrBuilder getDirectResponseOrBuilder()
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;- Specified by:
getDirectResponseOrBuilderin interfaceRouteOrBuilder
-
hasFilterAction
public boolean hasFilterAction()
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v3.FilterAction filter_action = 17;- Specified by:
hasFilterActionin interfaceRouteOrBuilder- Returns:
- Whether the filterAction field is set.
-
getFilterAction
public FilterAction getFilterAction()
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v3.FilterAction filter_action = 17;- Specified by:
getFilterActionin interfaceRouteOrBuilder- Returns:
- The filterAction.
-
setFilterAction
public Route.Builder setFilterAction(FilterAction value)
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v3.FilterAction filter_action = 17;
-
setFilterAction
public Route.Builder setFilterAction(FilterAction.Builder builderForValue)
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v3.FilterAction filter_action = 17;
-
mergeFilterAction
public Route.Builder mergeFilterAction(FilterAction value)
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v3.FilterAction filter_action = 17;
-
clearFilterAction
public Route.Builder clearFilterAction()
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v3.FilterAction filter_action = 17;
-
getFilterActionBuilder
public FilterAction.Builder getFilterActionBuilder()
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v3.FilterAction filter_action = 17;
-
getFilterActionOrBuilder
public FilterActionOrBuilder getFilterActionOrBuilder()
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v3.FilterAction filter_action = 17;- Specified by:
getFilterActionOrBuilderin interfaceRouteOrBuilder
-
hasNonForwardingAction
public boolean hasNonForwardingAction()
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host. This will be used in non-proxy xDS clients like the gRPC server. It could also be used in the future in Envoy for a filter that directly generates responses for requests.
.envoy.config.route.v3.NonForwardingAction non_forwarding_action = 18;- Specified by:
hasNonForwardingActionin interfaceRouteOrBuilder- Returns:
- Whether the nonForwardingAction field is set.
-
getNonForwardingAction
public NonForwardingAction getNonForwardingAction()
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host. This will be used in non-proxy xDS clients like the gRPC server. It could also be used in the future in Envoy for a filter that directly generates responses for requests.
.envoy.config.route.v3.NonForwardingAction non_forwarding_action = 18;- Specified by:
getNonForwardingActionin interfaceRouteOrBuilder- Returns:
- The nonForwardingAction.
-
setNonForwardingAction
public Route.Builder setNonForwardingAction(NonForwardingAction value)
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host. This will be used in non-proxy xDS clients like the gRPC server. It could also be used in the future in Envoy for a filter that directly generates responses for requests.
.envoy.config.route.v3.NonForwardingAction non_forwarding_action = 18;
-
setNonForwardingAction
public Route.Builder setNonForwardingAction(NonForwardingAction.Builder builderForValue)
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host. This will be used in non-proxy xDS clients like the gRPC server. It could also be used in the future in Envoy for a filter that directly generates responses for requests.
.envoy.config.route.v3.NonForwardingAction non_forwarding_action = 18;
-
mergeNonForwardingAction
public Route.Builder mergeNonForwardingAction(NonForwardingAction value)
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host. This will be used in non-proxy xDS clients like the gRPC server. It could also be used in the future in Envoy for a filter that directly generates responses for requests.
.envoy.config.route.v3.NonForwardingAction non_forwarding_action = 18;
-
clearNonForwardingAction
public Route.Builder clearNonForwardingAction()
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host. This will be used in non-proxy xDS clients like the gRPC server. It could also be used in the future in Envoy for a filter that directly generates responses for requests.
.envoy.config.route.v3.NonForwardingAction non_forwarding_action = 18;
-
getNonForwardingActionBuilder
public NonForwardingAction.Builder getNonForwardingActionBuilder()
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host. This will be used in non-proxy xDS clients like the gRPC server. It could also be used in the future in Envoy for a filter that directly generates responses for requests.
.envoy.config.route.v3.NonForwardingAction non_forwarding_action = 18;
-
getNonForwardingActionOrBuilder
public NonForwardingActionOrBuilder getNonForwardingActionOrBuilder()
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host. This will be used in non-proxy xDS clients like the gRPC server. It could also be used in the future in Envoy for a filter that directly generates responses for requests.
.envoy.config.route.v3.NonForwardingAction non_forwarding_action = 18;- Specified by:
getNonForwardingActionOrBuilderin interfaceRouteOrBuilder
-
hasMetadata
public boolean hasMetadata()
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 4;- Specified by:
hasMetadatain interfaceRouteOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public Metadata getMetadata()
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 4;- Specified by:
getMetadatain interfaceRouteOrBuilder- Returns:
- The metadata.
-
setMetadata
public Route.Builder setMetadata(Metadata value)
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 4;
-
setMetadata
public Route.Builder setMetadata(Metadata.Builder builderForValue)
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 4;
-
mergeMetadata
public Route.Builder mergeMetadata(Metadata value)
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 4;
-
clearMetadata
public Route.Builder clearMetadata()
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 4;
-
getMetadataBuilder
public Metadata.Builder getMetadataBuilder()
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 4;
-
getMetadataOrBuilder
public MetadataOrBuilder getMetadataOrBuilder()
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 4;- Specified by:
getMetadataOrBuilderin interfaceRouteOrBuilder
-
hasDecorator
public boolean hasDecorator()
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;- Specified by:
hasDecoratorin interfaceRouteOrBuilder- Returns:
- Whether the decorator field is set.
-
getDecorator
public Decorator getDecorator()
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;- Specified by:
getDecoratorin interfaceRouteOrBuilder- Returns:
- The decorator.
-
setDecorator
public Route.Builder setDecorator(Decorator value)
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;
-
setDecorator
public Route.Builder setDecorator(Decorator.Builder builderForValue)
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;
-
mergeDecorator
public Route.Builder mergeDecorator(Decorator value)
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;
-
clearDecorator
public Route.Builder clearDecorator()
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;
-
getDecoratorBuilder
public Decorator.Builder getDecoratorBuilder()
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;
-
getDecoratorOrBuilder
public DecoratorOrBuilder getDecoratorOrBuilder()
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;- Specified by:
getDecoratorOrBuilderin interfaceRouteOrBuilder
-
getTypedPerFilterConfigCount
public int getTypedPerFilterConfigCount()
Description copied from interface:RouteOrBuilderThe per_filter_config field can be used to provide route-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 13;- Specified by:
getTypedPerFilterConfigCountin interfaceRouteOrBuilder
-
containsTypedPerFilterConfig
public boolean containsTypedPerFilterConfig(String key)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 13;- Specified by:
containsTypedPerFilterConfigin interfaceRouteOrBuilder
-
getTypedPerFilterConfig
@Deprecated public Map<String,com.google.protobuf.Any> getTypedPerFilterConfig()
Deprecated.UsegetTypedPerFilterConfigMap()instead.- Specified by:
getTypedPerFilterConfigin interfaceRouteOrBuilder
-
getTypedPerFilterConfigMap
public Map<String,com.google.protobuf.Any> getTypedPerFilterConfigMap()
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 13;- Specified by:
getTypedPerFilterConfigMapin interfaceRouteOrBuilder
-
getTypedPerFilterConfigOrDefault
public com.google.protobuf.Any getTypedPerFilterConfigOrDefault(String key, com.google.protobuf.Any defaultValue)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 13;- Specified by:
getTypedPerFilterConfigOrDefaultin interfaceRouteOrBuilder
-
getTypedPerFilterConfigOrThrow
public com.google.protobuf.Any getTypedPerFilterConfigOrThrow(String key)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 13;- Specified by:
getTypedPerFilterConfigOrThrowin interfaceRouteOrBuilder
-
clearTypedPerFilterConfig
public Route.Builder clearTypedPerFilterConfig()
-
removeTypedPerFilterConfig
public Route.Builder removeTypedPerFilterConfig(String key)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 13;
-
getMutableTypedPerFilterConfig
@Deprecated public Map<String,com.google.protobuf.Any> getMutableTypedPerFilterConfig()
Deprecated.Use alternate mutation accessors instead.
-
putTypedPerFilterConfig
public Route.Builder putTypedPerFilterConfig(String key, com.google.protobuf.Any value)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 13;
-
putAllTypedPerFilterConfig
public Route.Builder putAllTypedPerFilterConfig(Map<String,com.google.protobuf.Any> values)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 13;
-
getRequestHeadersToAddList
public List<HeaderValueOption> getRequestHeadersToAddList()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddListin interfaceRouteOrBuilder
-
getRequestHeadersToAddCount
public int getRequestHeadersToAddCount()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddCountin interfaceRouteOrBuilder
-
getRequestHeadersToAdd
public HeaderValueOption getRequestHeadersToAdd(int index)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddin interfaceRouteOrBuilder
-
setRequestHeadersToAdd
public Route.Builder setRequestHeadersToAdd(int index, HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
setRequestHeadersToAdd
public Route.Builder setRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public Route.Builder addRequestHeadersToAdd(HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public Route.Builder addRequestHeadersToAdd(int index, HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public Route.Builder addRequestHeadersToAdd(HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public Route.Builder addRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
addAllRequestHeadersToAdd
public Route.Builder addAllRequestHeadersToAdd(Iterable<? extends HeaderValueOption> values)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
clearRequestHeadersToAdd
public Route.Builder clearRequestHeadersToAdd()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
removeRequestHeadersToAdd
public Route.Builder removeRequestHeadersToAdd(int index)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
getRequestHeadersToAddBuilder
public HeaderValueOption.Builder getRequestHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
getRequestHeadersToAddOrBuilder
public HeaderValueOptionOrBuilder getRequestHeadersToAddOrBuilder(int index)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddOrBuilderin interfaceRouteOrBuilder
-
getRequestHeadersToAddOrBuilderList
public List<? extends HeaderValueOptionOrBuilder> getRequestHeadersToAddOrBuilderList()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddOrBuilderListin interfaceRouteOrBuilder
-
addRequestHeadersToAddBuilder
public HeaderValueOption.Builder addRequestHeadersToAddBuilder()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
addRequestHeadersToAddBuilder
public HeaderValueOption.Builder addRequestHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
getRequestHeadersToAddBuilderList
public List<HeaderValueOption.Builder> getRequestHeadersToAddBuilderList()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
getRequestHeadersToRemoveList
public com.google.protobuf.ProtocolStringList getRequestHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToRemoveListin interfaceRouteOrBuilder- Returns:
- A list containing the requestHeadersToRemove.
-
getRequestHeadersToRemoveCount
public int getRequestHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToRemoveCountin interfaceRouteOrBuilder- Returns:
- The count of requestHeadersToRemove.
-
getRequestHeadersToRemove
public String getRequestHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToRemovein interfaceRouteOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The requestHeadersToRemove at the given index.
-
getRequestHeadersToRemoveBytes
public com.google.protobuf.ByteString getRequestHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToRemoveBytesin interfaceRouteOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requestHeadersToRemove at the given index.
-
setRequestHeadersToRemove
public Route.Builder setRequestHeadersToRemove(int index, String value)
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12 [(.validate.rules) = { ... }- Parameters:
index- The index to set the value at.value- The requestHeadersToRemove to set.- Returns:
- This builder for chaining.
-
addRequestHeadersToRemove
public Route.Builder addRequestHeadersToRemove(String value)
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12 [(.validate.rules) = { ... }- Parameters:
value- The requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
addAllRequestHeadersToRemove
public Route.Builder addAllRequestHeadersToRemove(Iterable<String> values)
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12 [(.validate.rules) = { ... }- Parameters:
values- The requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
clearRequestHeadersToRemove
public Route.Builder clearRequestHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
addRequestHeadersToRemoveBytes
public Route.Builder addRequestHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12 [(.validate.rules) = { ... }- Parameters:
value- The bytes of the requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
getResponseHeadersToAddList
public List<HeaderValueOption> getResponseHeadersToAddList()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddListin interfaceRouteOrBuilder
-
getResponseHeadersToAddCount
public int getResponseHeadersToAddCount()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddCountin interfaceRouteOrBuilder
-
getResponseHeadersToAdd
public HeaderValueOption getResponseHeadersToAdd(int index)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddin interfaceRouteOrBuilder
-
setResponseHeadersToAdd
public Route.Builder setResponseHeadersToAdd(int index, HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
setResponseHeadersToAdd
public Route.Builder setResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public Route.Builder addResponseHeadersToAdd(HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public Route.Builder addResponseHeadersToAdd(int index, HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public Route.Builder addResponseHeadersToAdd(HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public Route.Builder addResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addAllResponseHeadersToAdd
public Route.Builder addAllResponseHeadersToAdd(Iterable<? extends HeaderValueOption> values)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
clearResponseHeadersToAdd
public Route.Builder clearResponseHeadersToAdd()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
removeResponseHeadersToAdd
public Route.Builder removeResponseHeadersToAdd(int index)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
getResponseHeadersToAddBuilder
public HeaderValueOption.Builder getResponseHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
getResponseHeadersToAddOrBuilder
public HeaderValueOptionOrBuilder getResponseHeadersToAddOrBuilder(int index)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddOrBuilderin interfaceRouteOrBuilder
-
getResponseHeadersToAddOrBuilderList
public List<? extends HeaderValueOptionOrBuilder> getResponseHeadersToAddOrBuilderList()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddOrBuilderListin interfaceRouteOrBuilder
-
addResponseHeadersToAddBuilder
public HeaderValueOption.Builder addResponseHeadersToAddBuilder()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addResponseHeadersToAddBuilder
public HeaderValueOption.Builder addResponseHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
getResponseHeadersToAddBuilderList
public List<HeaderValueOption.Builder> getResponseHeadersToAddBuilderList()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
getResponseHeadersToRemoveList
public com.google.protobuf.ProtocolStringList getResponseHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToRemoveListin interfaceRouteOrBuilder- Returns:
- A list containing the responseHeadersToRemove.
-
getResponseHeadersToRemoveCount
public int getResponseHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToRemoveCountin interfaceRouteOrBuilder- Returns:
- The count of responseHeadersToRemove.
-
getResponseHeadersToRemove
public String getResponseHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToRemovein interfaceRouteOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The responseHeadersToRemove at the given index.
-
getResponseHeadersToRemoveBytes
public com.google.protobuf.ByteString getResponseHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToRemoveBytesin interfaceRouteOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the responseHeadersToRemove at the given index.
-
setResponseHeadersToRemove
public Route.Builder setResponseHeadersToRemove(int index, String value)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }- Parameters:
index- The index to set the value at.value- The responseHeadersToRemove to set.- Returns:
- This builder for chaining.
-
addResponseHeadersToRemove
public Route.Builder addResponseHeadersToRemove(String value)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }- Parameters:
value- The responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
addAllResponseHeadersToRemove
public Route.Builder addAllResponseHeadersToRemove(Iterable<String> values)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }- Parameters:
values- The responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
clearResponseHeadersToRemove
public Route.Builder clearResponseHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
addResponseHeadersToRemoveBytes
public Route.Builder addResponseHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }- Parameters:
value- The bytes of the responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
hasTracing
public boolean hasTracing()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;- Specified by:
hasTracingin interfaceRouteOrBuilder- Returns:
- Whether the tracing field is set.
-
getTracing
public Tracing getTracing()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;- Specified by:
getTracingin interfaceRouteOrBuilder- Returns:
- The tracing.
-
setTracing
public Route.Builder setTracing(Tracing value)
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;
-
setTracing
public Route.Builder setTracing(Tracing.Builder builderForValue)
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;
-
mergeTracing
public Route.Builder mergeTracing(Tracing value)
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;
-
clearTracing
public Route.Builder clearTracing()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;
-
getTracingBuilder
public Tracing.Builder getTracingBuilder()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;
-
getTracingOrBuilder
public TracingOrBuilder getTracingOrBuilder()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;- Specified by:
getTracingOrBuilderin interfaceRouteOrBuilder
-
hasPerRequestBufferLimitBytes
public boolean hasPerRequestBufferLimitBytes()
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;- Specified by:
hasPerRequestBufferLimitBytesin interfaceRouteOrBuilder- Returns:
- Whether the perRequestBufferLimitBytes field is set.
-
getPerRequestBufferLimitBytes
public com.google.protobuf.UInt32Value getPerRequestBufferLimitBytes()
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;- Specified by:
getPerRequestBufferLimitBytesin interfaceRouteOrBuilder- Returns:
- The perRequestBufferLimitBytes.
-
setPerRequestBufferLimitBytes
public Route.Builder setPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value)
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;
-
setPerRequestBufferLimitBytes
public Route.Builder setPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;
-
mergePerRequestBufferLimitBytes
public Route.Builder mergePerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value)
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;
-
clearPerRequestBufferLimitBytes
public Route.Builder clearPerRequestBufferLimitBytes()
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;
-
getPerRequestBufferLimitBytesBuilder
public com.google.protobuf.UInt32Value.Builder getPerRequestBufferLimitBytesBuilder()
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;
-
getPerRequestBufferLimitBytesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getPerRequestBufferLimitBytesOrBuilder()
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;- Specified by:
getPerRequestBufferLimitBytesOrBuilderin interfaceRouteOrBuilder
-
getStatPrefix
public String getStatPrefix()
The human readable prefix to use when emitting statistics for this endpoint. The statistics are rooted at vhost.<virtual host name>.route.<stat_prefix>. This should be set for highly critical endpoints that one wishes to get “per-route” statistics on. If not set, endpoint statistics are not generated. The emitted statistics are the same as those documented for :ref:`virtual clusters <config_http_filters_router_vcluster_stats>`. .. warning:: We do not recommend setting up a stat prefix for every application endpoint. This is both not easily maintainable and statistics use a non-trivial amount of memory(approximately 1KiB per route).string stat_prefix = 19;- Specified by:
getStatPrefixin interfaceRouteOrBuilder- Returns:
- The statPrefix.
-
getStatPrefixBytes
public com.google.protobuf.ByteString getStatPrefixBytes()
The human readable prefix to use when emitting statistics for this endpoint. The statistics are rooted at vhost.<virtual host name>.route.<stat_prefix>. This should be set for highly critical endpoints that one wishes to get “per-route” statistics on. If not set, endpoint statistics are not generated. The emitted statistics are the same as those documented for :ref:`virtual clusters <config_http_filters_router_vcluster_stats>`. .. warning:: We do not recommend setting up a stat prefix for every application endpoint. This is both not easily maintainable and statistics use a non-trivial amount of memory(approximately 1KiB per route).string stat_prefix = 19;- Specified by:
getStatPrefixBytesin interfaceRouteOrBuilder- Returns:
- The bytes for statPrefix.
-
setStatPrefix
public Route.Builder setStatPrefix(String value)
The human readable prefix to use when emitting statistics for this endpoint. The statistics are rooted at vhost.<virtual host name>.route.<stat_prefix>. This should be set for highly critical endpoints that one wishes to get “per-route” statistics on. If not set, endpoint statistics are not generated. The emitted statistics are the same as those documented for :ref:`virtual clusters <config_http_filters_router_vcluster_stats>`. .. warning:: We do not recommend setting up a stat prefix for every application endpoint. This is both not easily maintainable and statistics use a non-trivial amount of memory(approximately 1KiB per route).string stat_prefix = 19;- Parameters:
value- The statPrefix to set.- Returns:
- This builder for chaining.
-
clearStatPrefix
public Route.Builder clearStatPrefix()
The human readable prefix to use when emitting statistics for this endpoint. The statistics are rooted at vhost.<virtual host name>.route.<stat_prefix>. This should be set for highly critical endpoints that one wishes to get “per-route” statistics on. If not set, endpoint statistics are not generated. The emitted statistics are the same as those documented for :ref:`virtual clusters <config_http_filters_router_vcluster_stats>`. .. warning:: We do not recommend setting up a stat prefix for every application endpoint. This is both not easily maintainable and statistics use a non-trivial amount of memory(approximately 1KiB per route).string stat_prefix = 19;- Returns:
- This builder for chaining.
-
setStatPrefixBytes
public Route.Builder setStatPrefixBytes(com.google.protobuf.ByteString value)
The human readable prefix to use when emitting statistics for this endpoint. The statistics are rooted at vhost.<virtual host name>.route.<stat_prefix>. This should be set for highly critical endpoints that one wishes to get “per-route” statistics on. If not set, endpoint statistics are not generated. The emitted statistics are the same as those documented for :ref:`virtual clusters <config_http_filters_router_vcluster_stats>`. .. warning:: We do not recommend setting up a stat prefix for every application endpoint. This is both not easily maintainable and statistics use a non-trivial amount of memory(approximately 1KiB per route).string stat_prefix = 19;- Parameters:
value- The bytes for statPrefix to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Route.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
mergeUnknownFields
public final Route.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
-