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 Object
private int
private int
private Decorator
private 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 RouteMatch
private com.google.protobuf.SingleFieldBuilder
<RouteMatch, RouteMatch.Builder, RouteMatchOrBuilder> private Metadata
private com.google.protobuf.SingleFieldBuilder
<Metadata, Metadata.Builder, MetadataOrBuilder> private Object
private com.google.protobuf.SingleFieldBuilder
<NonForwardingAction, NonForwardingAction.Builder, NonForwardingActionOrBuilder> private com.google.protobuf.UInt32Value
private 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.LazyStringArrayList
private List
<HeaderValueOption> private com.google.protobuf.RepeatedFieldBuilder
<HeaderValueOption, HeaderValueOption.Builder, HeaderValueOptionOrBuilder> private com.google.protobuf.LazyStringArrayList
private com.google.protobuf.SingleFieldBuilder
<RouteAction, RouteAction.Builder, RouteActionOrBuilder> private Object
private Tracing
private 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 void
buildPartial0
(Route result) private void
buildPartialOneofs
(Route result) private void
buildPartialRepeatedFields
(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.boolean
This field can be used to provide route specific per filter config.private void
private void
private void
private void
Decorator for the matched route.Decorator for the matched route.Decorator for the matched route.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Return 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.ByteString
Name 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.UInt32Value
The maximum bytes which will be buffered for retries and shadowing.com.google.protobuf.UInt32Value.Builder
The maximum bytes which will be buffered for retries and shadowing.com.google.protobuf.UInt32ValueOrBuilder
The 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.int
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.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.ByteString
getRequestHeadersToRemoveBytes
(int index) Specifies a list of HTTP headers that should be removed from each request matching this route.int
Specifies a list of HTTP headers that should be removed from each request matching this route.com.google.protobuf.ProtocolStringList
Specifies 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.int
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.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.ByteString
getResponseHeadersToRemoveBytes
(int index) Specifies a list of HTTP headers that should be removed from each response to requests matching this route.int
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.com.google.protobuf.ProtocolStringList
Specifies 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.ByteString
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.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.int
This 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.Any
getTypedPerFilterConfigOrDefault
(String key, com.google.protobuf.Any defaultValue) This field can be used to provide route specific per filter config.com.google.protobuf.Any
This field can be used to provide route specific per filter config.boolean
Decorator for the matched route.boolean
Return an arbitrary HTTP response directly, without proxying.boolean
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).boolean
hasMatch()
Route matching parameters.boolean
The 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.boolean
The maximum bytes which will be buffered for retries and shadowing.boolean
Return a redirect.boolean
hasRoute()
Route request to some upstream cluster.boolean
Presence 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.FieldAccessorTable
private 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.MapFieldReflectionAccessor
internalGetMapFieldReflection
(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.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection
(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 boolean
private void
mergeDecorator
(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.Builder
This 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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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, matchBuilder_RouteMatchOrBuilder> -
routeBuilder_
private com.google.protobuf.SingleFieldBuilder<RouteAction,RouteAction.Builder, routeBuilder_RouteActionOrBuilder> -
redirectBuilder_
private com.google.protobuf.SingleFieldBuilder<RedirectAction,RedirectAction.Builder, redirectBuilder_RedirectActionOrBuilder> -
directResponseBuilder_
private com.google.protobuf.SingleFieldBuilder<DirectResponseAction,DirectResponseAction.Builder, directResponseBuilder_DirectResponseActionOrBuilder> -
filterActionBuilder_
private com.google.protobuf.SingleFieldBuilder<FilterAction,FilterAction.Builder, filterActionBuilder_FilterActionOrBuilder> -
nonForwardingActionBuilder_
private com.google.protobuf.SingleFieldBuilder<NonForwardingAction,NonForwardingAction.Builder, nonForwardingActionBuilder_NonForwardingActionOrBuilder> -
metadata_
-
metadataBuilder_
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder, metadataBuilder_MetadataOrBuilder> -
decorator_
-
decoratorBuilder_
private com.google.protobuf.SingleFieldBuilder<Decorator,Decorator.Builder, decoratorBuilder_DecoratorOrBuilder> -
typedPerFilterConfigConverter
-
typedPerFilterConfig_
private com.google.protobuf.MapFieldBuilder<String,com.google.protobuf.AnyOrBuilder, typedPerFilterConfig_com.google.protobuf.Any, com.google.protobuf.Any.Builder> -
requestHeadersToAdd_
-
requestHeadersToAddBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder, requestHeadersToAddBuilder_HeaderValueOptionOrBuilder> -
requestHeadersToRemove_
private com.google.protobuf.LazyStringArrayList requestHeadersToRemove_ -
responseHeadersToAdd_
-
responseHeadersToAddBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder, responseHeadersToAddBuilder_HeaderValueOptionOrBuilder> -
responseHeadersToRemove_
private com.google.protobuf.LazyStringArrayList responseHeadersToRemove_ -
tracing_
-
tracingBuilder_
private com.google.protobuf.SingleFieldBuilder<Tracing,Tracing.Builder, tracingBuilder_TracingOrBuilder> -
perRequestBufferLimitBytes_
private com.google.protobuf.UInt32Value perRequestBufferLimitBytes_ -
perRequestBufferLimitBytesBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, perRequestBufferLimitBytesBuilder_com.google.protobuf.UInt32ValueOrBuilder> -
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:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<Route.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<Route.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Route.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Route.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Route.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Route.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Route.Builder>
- Throws:
IOException
-
getActionCase
- Specified by:
getActionCase
in interfaceRouteOrBuilder
-
clearAction
-
getName
Name for the route.
string name = 14;
- Specified by:
getName
in interfaceRouteOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name for the route.
string name = 14;
- Specified by:
getNameBytes
in 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:
hasMatch
in interfaceRouteOrBuilder
- Returns:
- Whether the match field is set.
-
getMatch
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }
- Specified by:
getMatch
in 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:
getMatchOrBuilder
in interfaceRouteOrBuilder
-
internalGetMatchFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RouteMatch,RouteMatch.Builder, internalGetMatchFieldBuilder()RouteMatchOrBuilder> 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:
hasRoute
in interfaceRouteOrBuilder
- Returns:
- Whether the route field is set.
-
getRoute
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;
- Specified by:
getRoute
in 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:
getRouteOrBuilder
in interfaceRouteOrBuilder
-
internalGetRouteFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RouteAction,RouteAction.Builder, internalGetRouteFieldBuilder()RouteActionOrBuilder> 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:
hasRedirect
in interfaceRouteOrBuilder
- Returns:
- Whether the redirect field is set.
-
getRedirect
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;
- Specified by:
getRedirect
in 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:
getRedirectOrBuilder
in interfaceRouteOrBuilder
-
internalGetRedirectFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RedirectAction,RedirectAction.Builder, internalGetRedirectFieldBuilder()RedirectActionOrBuilder> 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:
hasDirectResponse
in 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:
getDirectResponse
in 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:
getDirectResponseOrBuilder
in interfaceRouteOrBuilder
-
internalGetDirectResponseFieldBuilder
private com.google.protobuf.SingleFieldBuilder<DirectResponseAction,DirectResponseAction.Builder, internalGetDirectResponseFieldBuilder()DirectResponseActionOrBuilder> 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:
hasFilterAction
in 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:
getFilterAction
in 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:
getFilterActionOrBuilder
in interfaceRouteOrBuilder
-
internalGetFilterActionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<FilterAction,FilterAction.Builder, internalGetFilterActionFieldBuilder()FilterActionOrBuilder> [#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:
hasNonForwardingAction
in 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:
getNonForwardingAction
in 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:
getNonForwardingActionOrBuilder
in interfaceRouteOrBuilder
-
internalGetNonForwardingActionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<NonForwardingAction,NonForwardingAction.Builder, internalGetNonForwardingActionFieldBuilder()NonForwardingActionOrBuilder> [#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:
hasMetadata
in 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:
getMetadata
in 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:
getMetadataOrBuilder
in interfaceRouteOrBuilder
-
internalGetMetadataFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder, internalGetMetadataFieldBuilder()MetadataOrBuilder> 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:
hasDecorator
in interfaceRouteOrBuilder
- Returns:
- Whether the decorator field is set.
-
getDecorator
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;
- Specified by:
getDecorator
in 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:
getDecoratorOrBuilder
in interfaceRouteOrBuilder
-
internalGetDecoratorFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Decorator,Decorator.Builder, internalGetDecoratorFieldBuilder()DecoratorOrBuilder> Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;
-
internalGetTypedPerFilterConfig
private com.google.protobuf.MapFieldBuilder<String,com.google.protobuf.AnyOrBuilder, internalGetTypedPerFilterConfig()com.google.protobuf.Any, com.google.protobuf.Any.Builder> -
internalGetMutableTypedPerFilterConfig
private com.google.protobuf.MapFieldBuilder<String,com.google.protobuf.AnyOrBuilder, internalGetMutableTypedPerFilterConfig()com.google.protobuf.Any, com.google.protobuf.Any.Builder> -
getTypedPerFilterConfigCount
public int getTypedPerFilterConfigCount()Description copied from interface:RouteOrBuilder
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:
getTypedPerFilterConfigCount
in 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:
containsTypedPerFilterConfig
in interfaceRouteOrBuilder
-
getTypedPerFilterConfig
Deprecated.UsegetTypedPerFilterConfigMap()
instead.- Specified by:
getTypedPerFilterConfig
in 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:
getTypedPerFilterConfigMap
in 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:
getTypedPerFilterConfigOrDefault
in 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:
getTypedPerFilterConfigOrThrow
in 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:
getRequestHeadersToAddList
in 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:
getRequestHeadersToAddCount
in 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:
getRequestHeadersToAdd
in 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:
getRequestHeadersToAddOrBuilder
in 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:
getRequestHeadersToAddOrBuilderList
in 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, internalGetRequestHeadersToAddFieldBuilder()HeaderValueOptionOrBuilder> -
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:
getRequestHeadersToRemoveList
in 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:
getRequestHeadersToRemoveCount
in 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:
getRequestHeadersToRemove
in 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:
getRequestHeadersToRemoveBytes
in 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:
getResponseHeadersToAddList
in 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:
getResponseHeadersToAddCount
in 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:
getResponseHeadersToAdd
in 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:
getResponseHeadersToAddOrBuilder
in 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:
getResponseHeadersToAddOrBuilderList
in 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, internalGetResponseHeadersToAddFieldBuilder()HeaderValueOptionOrBuilder> -
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:
getResponseHeadersToRemoveList
in 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:
getResponseHeadersToRemoveCount
in 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:
getResponseHeadersToRemove
in 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:
getResponseHeadersToRemoveBytes
in 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:
hasTracing
in 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:
getTracing
in 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:
getTracingOrBuilder
in interfaceRouteOrBuilder
-
internalGetTracingFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Tracing,Tracing.Builder, internalGetTracingFieldBuilder()TracingOrBuilder> 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:
hasPerRequestBufferLimitBytes
in 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:
getPerRequestBufferLimitBytes
in 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:
getPerRequestBufferLimitBytesOrBuilder
in interfaceRouteOrBuilder
-
internalGetPerRequestBufferLimitBytesFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, internalGetPerRequestBufferLimitBytesFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> 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:
getStatPrefix
in 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:
getStatPrefixBytes
in 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.
-