Class Route.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Route.Builder>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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 type
envoy.config.route.v3.Route-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Objectprivate intprivate intprivate Decoratorprivate com.google.protobuf.SingleFieldBuilder<Decorator, Decorator.Builder, DecoratorOrBuilder> private com.google.protobuf.SingleFieldBuilder<DirectResponseAction, DirectResponseAction.Builder, DirectResponseActionOrBuilder> private com.google.protobuf.SingleFieldBuilder<FilterAction, FilterAction.Builder, FilterActionOrBuilder> private RouteMatchprivate com.google.protobuf.SingleFieldBuilder<RouteMatch, RouteMatch.Builder, RouteMatchOrBuilder> private Metadataprivate com.google.protobuf.SingleFieldBuilder<Metadata, Metadata.Builder, MetadataOrBuilder> private Objectprivate com.google.protobuf.SingleFieldBuilder<NonForwardingAction, NonForwardingAction.Builder, NonForwardingActionOrBuilder> private com.google.protobuf.UInt32Valueprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> private com.google.protobuf.SingleFieldBuilder<RedirectAction, RedirectAction.Builder, RedirectActionOrBuilder> private List<HeaderValueOption> private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption, HeaderValueOption.Builder, HeaderValueOptionOrBuilder> private com.google.protobuf.LazyStringArrayListprivate List<HeaderValueOption> private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption, HeaderValueOption.Builder, HeaderValueOptionOrBuilder> private com.google.protobuf.LazyStringArrayListprivate com.google.protobuf.SingleFieldBuilder<RouteAction, RouteAction.Builder, RouteActionOrBuilder> private Objectprivate Tracingprivate com.google.protobuf.SingleFieldBuilder<Tracing, Tracing.Builder, TracingOrBuilder> private com.google.protobuf.MapFieldBuilder<String, com.google.protobuf.AnyOrBuilder, com.google.protobuf.Any, com.google.protobuf.Any.Builder> private static final Route.Builder.TypedPerFilterConfigConverter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllRequestHeadersToAdd(Iterable<? extends HeaderValueOption> values) Specifies a set of headers that will be added to requests matching this route.addAllRequestHeadersToRemove(Iterable<String> values) Specifies a list of HTTP headers that should be removed from each request matching this route.addAllResponseHeadersToAdd(Iterable<? extends HeaderValueOption> values) Specifies a set of headers that will be added to responses to requests matching this route.addAllResponseHeadersToRemove(Iterable<String> values) Specifies a list of HTTP headers that should be removed from each response to requests matching this route.addRequestHeadersToAdd(int index, HeaderValueOption value) Specifies a set of headers that will be added to requests matching this route.addRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue) Specifies a set of headers that will be added to requests matching this route.Specifies a set of headers that will be added to requests matching this route.addRequestHeadersToAdd(HeaderValueOption.Builder builderForValue) Specifies a set of headers that will be added to requests matching this route.Specifies a set of headers that will be added to requests matching this route.addRequestHeadersToAddBuilder(int index) Specifies a set of headers that will be added to requests matching this route.addRequestHeadersToRemove(String value) Specifies a list of HTTP headers that should be removed from each request matching this route.addRequestHeadersToRemoveBytes(com.google.protobuf.ByteString value) Specifies a list of HTTP headers that should be removed from each request matching this route.addResponseHeadersToAdd(int index, HeaderValueOption value) Specifies a set of headers that will be added to responses to requests matching this route.addResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue) Specifies a set of headers that will be added to responses to requests matching this route.Specifies a set of headers that will be added to responses to requests matching this route.addResponseHeadersToAdd(HeaderValueOption.Builder builderForValue) Specifies a set of headers that will be added to responses to requests matching this route.Specifies a set of headers that will be added to responses to requests matching this route.addResponseHeadersToAddBuilder(int index) Specifies a set of headers that will be added to responses to requests matching this route.addResponseHeadersToRemove(String value) Specifies a list of HTTP headers that should be removed from each response to requests matching this route.addResponseHeadersToRemoveBytes(com.google.protobuf.ByteString value) Specifies a list of HTTP headers that should be removed from each response to requests matching this route.build()private voidbuildPartial0(Route result) private voidbuildPartialOneofs(Route result) private voidbuildPartialRepeatedFields(Route result) clear()Decorator for the matched route.Return an arbitrary HTTP response directly, without proxying.[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).Route matching parameters.The Metadata field can be used to provide additional information about the route.Name for the route.[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.The maximum bytes which will be buffered for retries and shadowing.Return a redirect.Specifies a set of headers that will be added to requests matching this route.Specifies a list of HTTP headers that should be removed from each request matching this route.Specifies a set of headers that will be added to responses to requests matching this route.Specifies a list of HTTP headers that should be removed from each response to requests matching this route.Route request to some upstream cluster.The human readable prefix to use when emitting statistics for this endpoint.Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.booleanThis field can be used to provide route specific per filter config.private voidprivate voidprivate voidprivate voidDecorator for the matched route.Decorator for the matched route.Decorator for the matched route.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorReturn an arbitrary HTTP response directly, without proxying.Return an arbitrary HTTP response directly, without proxying.Return an arbitrary HTTP response directly, without proxying.[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).getMatch()Route matching parameters.Route matching parameters.Route matching parameters.The Metadata field can be used to provide additional information about the route.The Metadata field can be used to provide additional information about the route.The Metadata field can be used to provide additional information about the route.Deprecated.getName()Name for the route.com.google.protobuf.ByteStringName for the route.[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.com.google.protobuf.UInt32ValueThe maximum bytes which will be buffered for retries and shadowing.com.google.protobuf.UInt32Value.BuilderThe maximum bytes which will be buffered for retries and shadowing.com.google.protobuf.UInt32ValueOrBuilderThe maximum bytes which will be buffered for retries and shadowing.Return a redirect.Return a redirect.Return a redirect.getRequestHeadersToAdd(int index) Specifies a set of headers that will be added to requests matching this route.getRequestHeadersToAddBuilder(int index) Specifies a set of headers that will be added to requests matching this route.Specifies a set of headers that will be added to requests matching this route.intSpecifies a set of headers that will be added to requests matching this route.Specifies a set of headers that will be added to requests matching this route.getRequestHeadersToAddOrBuilder(int index) Specifies a set of headers that will be added to requests matching this route.List<? extends HeaderValueOptionOrBuilder> Specifies a set of headers that will be added to requests matching this route.getRequestHeadersToRemove(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.intSpecifies a list of HTTP headers that should be removed from each request matching this route.com.google.protobuf.ProtocolStringListSpecifies a list of HTTP headers that should be removed from each request matching this route.getResponseHeadersToAdd(int index) Specifies a set of headers that will be added to responses to requests matching this route.getResponseHeadersToAddBuilder(int index) Specifies a set of headers that will be added to responses to requests matching this route.Specifies a set of headers that will be added to responses to requests matching this route.intSpecifies a set of headers that will be added to responses to requests matching this route.Specifies a set of headers that will be added to responses to requests matching this route.getResponseHeadersToAddOrBuilder(int index) Specifies a set of headers that will be added to responses to requests matching this route.List<? extends HeaderValueOptionOrBuilder> Specifies a set of headers that will be added to responses to requests matching this route.getResponseHeadersToRemove(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.intSpecifies a list of HTTP headers that should be removed from each response to requests matching this route.com.google.protobuf.ProtocolStringListSpecifies a list of HTTP headers that should be removed from each response to requests matching this route.getRoute()Route request to some upstream cluster.Route request to some upstream cluster.Route request to some upstream cluster.The human readable prefix to use when emitting statistics for this endpoint.com.google.protobuf.ByteStringThe human readable prefix to use when emitting statistics for this endpoint.Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Deprecated.intThis field can be used to provide route specific per filter config.This field can be used to provide route specific per filter config.com.google.protobuf.AnygetTypedPerFilterConfigOrDefault(String key, com.google.protobuf.Any defaultValue) This field can be used to provide route specific per filter config.com.google.protobuf.AnyThis field can be used to provide route specific per filter config.booleanDecorator for the matched route.booleanReturn an arbitrary HTTP response directly, without proxying.boolean[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).booleanhasMatch()Route matching parameters.booleanThe Metadata field can be used to provide additional information about the route.boolean[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.booleanThe maximum bytes which will be buffered for retries and shadowing.booleanReturn a redirect.booleanhasRoute()Route request to some upstream cluster.booleanPresence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.private com.google.protobuf.SingleFieldBuilder<Decorator, Decorator.Builder, DecoratorOrBuilder> Decorator for the matched route.private com.google.protobuf.SingleFieldBuilder<DirectResponseAction, DirectResponseAction.Builder, DirectResponseActionOrBuilder> Return an arbitrary HTTP response directly, without proxying.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<FilterAction, FilterAction.Builder, FilterActionOrBuilder> [#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) private com.google.protobuf.SingleFieldBuilder<RouteMatch, RouteMatch.Builder, RouteMatchOrBuilder> Route matching parameters.private com.google.protobuf.SingleFieldBuilder<Metadata, Metadata.Builder, MetadataOrBuilder> The Metadata field can be used to provide additional information about the route.protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) private com.google.protobuf.MapFieldBuilder<String, com.google.protobuf.AnyOrBuilder, com.google.protobuf.Any, com.google.protobuf.Any.Builder> private com.google.protobuf.SingleFieldBuilder<NonForwardingAction, NonForwardingAction.Builder, NonForwardingActionOrBuilder> [#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> The maximum bytes which will be buffered for retries and shadowing.private com.google.protobuf.SingleFieldBuilder<RedirectAction, RedirectAction.Builder, RedirectActionOrBuilder> Return a redirect.private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption, HeaderValueOption.Builder, HeaderValueOptionOrBuilder> private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption, HeaderValueOption.Builder, HeaderValueOptionOrBuilder> private com.google.protobuf.SingleFieldBuilder<RouteAction, RouteAction.Builder, RouteActionOrBuilder> Route request to some upstream cluster.private com.google.protobuf.SingleFieldBuilder<Tracing, Tracing.Builder, TracingOrBuilder> Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.private com.google.protobuf.MapFieldBuilder<String, com.google.protobuf.AnyOrBuilder, com.google.protobuf.Any, com.google.protobuf.Any.Builder> final booleanprivate voidmergeDecorator(Decorator value) Decorator for the matched route.Return an arbitrary HTTP response directly, without proxying.mergeFilterAction(FilterAction value) [#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMatch(RouteMatch value) Route matching parameters.mergeMetadata(Metadata value) The Metadata field can be used to provide additional information about the route.[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.mergePerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value) The maximum bytes which will be buffered for retries and shadowing.mergeRedirect(RedirectAction value) Return a redirect.mergeRoute(RouteAction value) Route request to some upstream cluster.mergeTracing(Tracing value) Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.putAllTypedPerFilterConfig(Map<String, com.google.protobuf.Any> values) This field can be used to provide route specific per filter config.putTypedPerFilterConfig(String key, com.google.protobuf.Any value) This field can be used to provide route specific per filter config.com.google.protobuf.Any.BuilderThis field can be used to provide route specific per filter config.removeRequestHeadersToAdd(int index) Specifies a set of headers that will be added to requests matching this route.removeResponseHeadersToAdd(int index) Specifies a set of headers that will be added to responses to requests matching this route.This field can be used to provide route specific per filter config.setDecorator(Decorator value) Decorator for the matched route.setDecorator(Decorator.Builder builderForValue) Decorator for the matched route.Return an arbitrary HTTP response directly, without proxying.setDirectResponse(DirectResponseAction.Builder builderForValue) Return an arbitrary HTTP response directly, without proxying.setFilterAction(FilterAction value) [#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).setFilterAction(FilterAction.Builder builderForValue) [#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).setMatch(RouteMatch value) Route matching parameters.setMatch(RouteMatch.Builder builderForValue) Route matching parameters.setMetadata(Metadata value) The Metadata field can be used to provide additional information about the route.setMetadata(Metadata.Builder builderForValue) The Metadata field can be used to provide additional information about the route.Name for the route.setNameBytes(com.google.protobuf.ByteString value) Name for the route.[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.setNonForwardingAction(NonForwardingAction.Builder builderForValue) [#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.setPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value) The maximum bytes which will be buffered for retries and shadowing.setPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value.Builder builderForValue) The maximum bytes which will be buffered for retries and shadowing.setRedirect(RedirectAction value) Return a redirect.setRedirect(RedirectAction.Builder builderForValue) Return a redirect.setRequestHeadersToAdd(int index, HeaderValueOption value) Specifies a set of headers that will be added to requests matching this route.setRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue) Specifies a set of headers that will be added to requests matching this route.setRequestHeadersToRemove(int index, String value) Specifies a list of HTTP headers that should be removed from each request matching this route.setResponseHeadersToAdd(int index, HeaderValueOption value) Specifies a set of headers that will be added to responses to requests matching this route.setResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue) Specifies a set of headers that will be added to responses to requests matching this route.setResponseHeadersToRemove(int index, String value) Specifies a list of HTTP headers that should be removed from each response to requests matching this route.setRoute(RouteAction value) Route request to some upstream cluster.setRoute(RouteAction.Builder builderForValue) Route request to some upstream cluster.setStatPrefix(String value) The human readable prefix to use when emitting statistics for this endpoint.setStatPrefixBytes(com.google.protobuf.ByteString value) The human readable prefix to use when emitting statistics for this endpoint.setTracing(Tracing value) Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.setTracing(Tracing.Builder builderForValue) Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
actionCase_
private int actionCase_ -
action_
-
bitField0_
private int bitField0_ -
name_
-
match_
-
matchBuilder_
private com.google.protobuf.SingleFieldBuilder<RouteMatch, RouteMatch.Builder, RouteMatchOrBuilder> matchBuilder_ -
routeBuilder_
private com.google.protobuf.SingleFieldBuilder<RouteAction, RouteAction.Builder, RouteActionOrBuilder> routeBuilder_ -
redirectBuilder_
private com.google.protobuf.SingleFieldBuilder<RedirectAction, RedirectAction.Builder, RedirectActionOrBuilder> redirectBuilder_ -
directResponseBuilder_
private com.google.protobuf.SingleFieldBuilder<DirectResponseAction, DirectResponseAction.Builder, DirectResponseActionOrBuilder> directResponseBuilder_ -
filterActionBuilder_
private com.google.protobuf.SingleFieldBuilder<FilterAction, FilterAction.Builder, FilterActionOrBuilder> filterActionBuilder_ -
nonForwardingActionBuilder_
private com.google.protobuf.SingleFieldBuilder<NonForwardingAction, NonForwardingAction.Builder, NonForwardingActionOrBuilder> nonForwardingActionBuilder_ -
metadata_
-
metadataBuilder_
private com.google.protobuf.SingleFieldBuilder<Metadata, Metadata.Builder, MetadataOrBuilder> metadataBuilder_ -
decorator_
-
decoratorBuilder_
private com.google.protobuf.SingleFieldBuilder<Decorator, Decorator.Builder, DecoratorOrBuilder> decoratorBuilder_ -
typedPerFilterConfigConverter
-
typedPerFilterConfig_
private com.google.protobuf.MapFieldBuilder<String, com.google.protobuf.AnyOrBuilder, com.google.protobuf.Any, com.google.protobuf.Any.Builder> typedPerFilterConfig_ -
requestHeadersToAdd_
-
requestHeadersToAddBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption, HeaderValueOption.Builder, HeaderValueOptionOrBuilder> requestHeadersToAddBuilder_ -
requestHeadersToRemove_
private com.google.protobuf.LazyStringArrayList requestHeadersToRemove_ -
responseHeadersToAdd_
-
responseHeadersToAddBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption, HeaderValueOption.Builder, HeaderValueOptionOrBuilder> responseHeadersToAddBuilder_ -
responseHeadersToRemove_
private com.google.protobuf.LazyStringArrayList responseHeadersToRemove_ -
tracing_
-
tracingBuilder_
private com.google.protobuf.SingleFieldBuilder<Tracing, Tracing.Builder, TracingOrBuilder> tracingBuilder_ -
perRequestBufferLimitBytes_
private com.google.protobuf.UInt32Value perRequestBufferLimitBytes_ -
perRequestBufferLimitBytesBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> perRequestBufferLimitBytesBuilder_ -
statPrefix_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Route.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Route.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Route.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Route.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Route.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
- Specified by:
getActionCasein interfaceRouteOrBuilder
-
clearAction
-
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
Name for the route.
string name = 14;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name for the route.
string name = 14;- Returns:
- This builder for chaining.
-
setNameBytes
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
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }- Specified by:
getMatchin interfaceRouteOrBuilder- Returns:
- The match.
-
setMatch
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... } -
setMatch
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... } -
mergeMatch
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... } -
clearMatch
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... } -
getMatchBuilder
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... } -
getMatchOrBuilder
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }- Specified by:
getMatchOrBuilderin interfaceRouteOrBuilder
-
internalGetMatchFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RouteMatch, RouteMatch.Builder, RouteMatchOrBuilder> internalGetMatchFieldBuilder()Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... } -
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
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;- Specified by:
getRoutein interfaceRouteOrBuilder- Returns:
- The route.
-
setRoute
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2; -
setRoute
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2; -
mergeRoute
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2; -
clearRoute
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2; -
getRouteBuilder
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2; -
getRouteOrBuilder
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;- Specified by:
getRouteOrBuilderin interfaceRouteOrBuilder
-
internalGetRouteFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RouteAction, RouteAction.Builder, RouteActionOrBuilder> internalGetRouteFieldBuilder()Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2; -
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
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;- Specified by:
getRedirectin interfaceRouteOrBuilder- Returns:
- The redirect.
-
setRedirect
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3; -
setRedirect
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3; -
mergeRedirect
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3; -
clearRedirect
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3; -
getRedirectBuilder
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3; -
getRedirectOrBuilder
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;- Specified by:
getRedirectOrBuilderin interfaceRouteOrBuilder
-
internalGetRedirectFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RedirectAction, RedirectAction.Builder, RedirectActionOrBuilder> internalGetRedirectFieldBuilder()Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3; -
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
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;- Specified by:
getDirectResponsein interfaceRouteOrBuilder- Returns:
- The directResponse.
-
setDirectResponse
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7; -
setDirectResponse
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7; -
mergeDirectResponse
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7; -
clearDirectResponse
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7; -
getDirectResponseBuilder
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7; -
getDirectResponseOrBuilder
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;- Specified by:
getDirectResponseOrBuilderin interfaceRouteOrBuilder
-
internalGetDirectResponseFieldBuilder
private com.google.protobuf.SingleFieldBuilder<DirectResponseAction, DirectResponseAction.Builder, DirectResponseActionOrBuilder> internalGetDirectResponseFieldBuilder()Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7; -
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
[#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
[#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
[#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
[#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
[#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
[#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
[#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
-
internalGetFilterActionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<FilterAction, FilterAction.Builder, FilterActionOrBuilder> internalGetFilterActionFieldBuilder()[#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; -
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
[#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
[#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
[#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
[#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
[#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
[#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
[#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
-
internalGetNonForwardingActionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<NonForwardingAction, NonForwardingAction.Builder, NonForwardingActionOrBuilder> internalGetNonForwardingActionFieldBuilder()[#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; -
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
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
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
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
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
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
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
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
-
internalGetMetadataFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Metadata, Metadata.Builder, MetadataOrBuilder> internalGetMetadataFieldBuilder()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; -
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
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;- Specified by:
getDecoratorin interfaceRouteOrBuilder- Returns:
- The decorator.
-
setDecorator
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5; -
setDecorator
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5; -
mergeDecorator
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5; -
clearDecorator
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5; -
getDecoratorBuilder
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5; -
getDecoratorOrBuilder
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;- Specified by:
getDecoratorOrBuilderin interfaceRouteOrBuilder
-
internalGetDecoratorFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Decorator, Decorator.Builder, DecoratorOrBuilder> internalGetDecoratorFieldBuilder()Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5; -
internalGetTypedPerFilterConfig
private com.google.protobuf.MapFieldBuilder<String, com.google.protobuf.AnyOrBuilder, com.google.protobuf.Any, com.google.protobuf.Any.Builder> internalGetTypedPerFilterConfig() -
internalGetMutableTypedPerFilterConfig
private com.google.protobuf.MapFieldBuilder<String, com.google.protobuf.AnyOrBuilder, com.google.protobuf.Any, com.google.protobuf.Any.Builder> internalGetMutableTypedPerFilterConfig() -
getTypedPerFilterConfigCount
public int getTypedPerFilterConfigCount()Description copied from interface:RouteOrBuilderThis field can be used to provide route specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#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
This field can be used to provide route specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#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.UsegetTypedPerFilterConfigMap()instead.- Specified by:
getTypedPerFilterConfigin interfaceRouteOrBuilder
-
getTypedPerFilterConfigMap
This field can be used to provide route specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#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) This field can be used to provide route specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#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
This field can be used to provide route specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#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
-
removeTypedPerFilterConfig
This field can be used to provide route specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#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.Use alternate mutation accessors instead. -
putTypedPerFilterConfig
This field can be used to provide route specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#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
This field can be used to provide route specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#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; -
putTypedPerFilterConfigBuilderIfAbsent
This field can be used to provide route specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#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; -
ensureRequestHeadersToAddIsMutable
private void ensureRequestHeadersToAddIsMutable() -
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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) = { ... } -
internalGetRequestHeadersToAddFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption, HeaderValueOption.Builder, HeaderValueOptionOrBuilder> internalGetRequestHeadersToAddFieldBuilder() -
ensureRequestHeadersToRemoveIsMutable
private void ensureRequestHeadersToRemoveIsMutable() -
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
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
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
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
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
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
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.
-
ensureResponseHeadersToAddIsMutable
private void ensureResponseHeadersToAddIsMutable() -
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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) = { ... } -
internalGetResponseHeadersToAddFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption, HeaderValueOption.Builder, HeaderValueOptionOrBuilder> internalGetResponseHeadersToAddFieldBuilder() -
ensureResponseHeadersToRemoveIsMutable
private void ensureResponseHeadersToRemoveIsMutable() -
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-
internalGetTracingFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Tracing, Tracing.Builder, TracingOrBuilder> internalGetTracingFieldBuilder()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; -
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
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
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
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
-
internalGetPerRequestBufferLimitBytesFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> internalGetPerRequestBufferLimitBytesFieldBuilder()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; -
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
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
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
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.
-