Package io.envoyproxy.envoy.api.v2.route
Class Route.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
io.envoyproxy.envoy.api.v2.route.Route.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RouteOrBuilder,Cloneable
- Enclosing class:
- Route
public static final class Route.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
implements RouteOrBuilder
A route is both a specification of how to match a request as well as an indication of what to do next (e.g., redirect, forward, rewrite, etc.). .. attention:: Envoy supports routing on HTTP method via :ref:`header matching <envoy_api_msg_route.HeaderMatcher>`. [#next-free-field: 18]Protobuf type
envoy.api.v2.route.Route-
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.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) 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()clear()Decorator for the matched route.Return an arbitrary HTTP response directly, without proxying.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) [#not-implemented-hide:] If true, a filter will define the 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.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Deprecated.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.Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.clone()booleanDeprecated.booleanThe typed_per_filter_config field can be used to provide route-specific configurations for filters.Decorator for the matched route.Decorator for the matched route.Decorator for the matched route.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorReturn an arbitrary HTTP response directly, without proxying.Return an arbitrary HTTP response directly, without proxying.Return an arbitrary HTTP response directly, without proxying.[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).[#not-implemented-hide:] If true, a filter will define the 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.Deprecated.getName()Name for the route.com.google.protobuf.ByteStringName for the route.Deprecated.intDeprecated.Deprecated.com.google.protobuf.StructgetPerFilterConfigOrDefault(String key, com.google.protobuf.Struct defaultValue) Deprecated.com.google.protobuf.StructDeprecated.com.google.protobuf.UInt32ValueThe maximum bytes which will be buffered for retries and shadowing.com.google.protobuf.UInt32Value.BuilderThe maximum bytes which will be buffered for retries and shadowing.com.google.protobuf.UInt32ValueOrBuilderThe maximum bytes which will be buffered for retries and shadowing.Return a redirect.Return a redirect.Return a redirect.getRequestHeadersToAdd(int index) Specifies a set of headers that will be added to requests matching this route.getRequestHeadersToAddBuilder(int index) Specifies a set of headers that will be added to requests matching this route.Specifies a set of headers that will be added to requests matching this route.intSpecifies a set of headers that will be added to requests matching this route.Specifies a set of headers that will be added to requests matching this route.getRequestHeadersToAddOrBuilder(int index) Specifies a set of headers that will be added to requests matching this route.List<? extends HeaderValueOptionOrBuilder>Specifies a set of headers that will be added to requests matching this route.getRequestHeadersToRemove(int index) Specifies a list of HTTP headers that should be removed from each request matching this route.com.google.protobuf.ByteStringgetRequestHeadersToRemoveBytes(int index) Specifies a list of HTTP headers that should be removed from each request matching this route.intSpecifies a list of HTTP headers that should be removed from each request matching this route.com.google.protobuf.ProtocolStringListSpecifies a list of HTTP headers that should be removed from each request matching this route.getResponseHeadersToAdd(int index) Specifies a set of headers that will be added to responses to requests matching this route.getResponseHeadersToAddBuilder(int index) Specifies a set of headers that will be added to responses to requests matching this route.Specifies a set of headers that will be added to responses to requests matching this route.intSpecifies a set of headers that will be added to responses to requests matching this route.Specifies a set of headers that will be added to responses to requests matching this route.getResponseHeadersToAddOrBuilder(int index) Specifies a set of headers that will be added to responses to requests matching this route.List<? extends HeaderValueOptionOrBuilder>Specifies a set of headers that will be added to responses to requests matching this route.getResponseHeadersToRemove(int index) Specifies a list of HTTP headers that should be removed from each response to requests matching this route.com.google.protobuf.ByteStringgetResponseHeadersToRemoveBytes(int index) Specifies a list of HTTP headers that should be removed from each response to requests matching this route.intSpecifies a list of HTTP headers that should be removed from each response to requests matching this route.com.google.protobuf.ProtocolStringListSpecifies a list of HTTP headers that should be removed from each response to requests matching this route.getRoute()Route request to some upstream cluster.Route request to some upstream cluster.Route request to some upstream cluster.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.intThe typed_per_filter_config field can be used to provide route-specific configurations for filters.The typed_per_filter_config field can be used to provide route-specific configurations for filters.com.google.protobuf.AnygetTypedPerFilterConfigOrDefault(String key, com.google.protobuf.Any defaultValue) The typed_per_filter_config field can be used to provide route-specific configurations for filters.com.google.protobuf.AnyThe typed_per_filter_config field can be used to provide route-specific configurations for filters.booleanDecorator for the matched route.booleanReturn an arbitrary HTTP response directly, without proxying.boolean[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).booleanhasMatch()Route matching parameters.booleanThe Metadata field can be used to provide additional information about the route.booleanThe maximum bytes which will be buffered for retries and shadowing.booleanReturn a redirect.booleanhasRoute()Route request to some upstream cluster.booleanPresence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeDecorator(Decorator value) Decorator for the matched route.Return an arbitrary HTTP response directly, without proxying.mergeFilterAction(FilterAction value) [#not-implemented-hide:] If true, a filter will define the 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.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.final Route.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllPerFilterConfig(Map<String, com.google.protobuf.Struct> values) Deprecated.putAllTypedPerFilterConfig(Map<String, com.google.protobuf.Any> values) The typed_per_filter_config field can be used to provide route-specific configurations for filters.putPerFilterConfig(String key, com.google.protobuf.Struct value) Deprecated.com.google.protobuf.Struct.BuilderDeprecated.putTypedPerFilterConfig(String key, com.google.protobuf.Any value) The typed_per_filter_config field can be used to provide route-specific configurations for filters.com.google.protobuf.Any.BuilderThe typed_per_filter_config field can be used to provide route-specific configurations for filters.Deprecated.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.The typed_per_filter_config field can be used to provide route-specific configurations for filters.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:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).setFilterAction(FilterAction.Builder builderForValue) [#not-implemented-hide:] If true, a filter will define the 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.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.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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.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.final Route.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
setRepeatedField
public Route.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
addRepeatedField
public Route.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Route.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
mergeFrom
public Route.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Route.Builder>- Throws:
IOException
-
getActionCase
- Specified by:
getActionCasein interfaceRouteOrBuilder
-
clearAction
-
getName
Name for the route.
string name = 14;- Specified by:
getNamein interfaceRouteOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name for the route.
string name = 14;- Specified by:
getNameBytesin interfaceRouteOrBuilder- Returns:
- The bytes for name.
-
setName
Name for the route.
string name = 14;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name for the route.
string name = 14;- Returns:
- This builder for chaining.
-
setNameBytes
Name for the route.
string name = 14;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasMatch
public boolean hasMatch()Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.validate.rules) = { ... }- Specified by:
hasMatchin interfaceRouteOrBuilder- Returns:
- Whether the match field is set.
-
getMatch
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.validate.rules) = { ... }- Specified by:
getMatchin interfaceRouteOrBuilder- Returns:
- The match.
-
setMatch
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.validate.rules) = { ... } -
setMatch
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.validate.rules) = { ... } -
mergeMatch
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.validate.rules) = { ... } -
clearMatch
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.validate.rules) = { ... } -
getMatchBuilder
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.validate.rules) = { ... } -
getMatchOrBuilder
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.validate.rules) = { ... }- Specified by:
getMatchOrBuilderin interfaceRouteOrBuilder
-
hasRoute
public boolean hasRoute()Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;- Specified by:
hasRoutein interfaceRouteOrBuilder- Returns:
- Whether the route field is set.
-
getRoute
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;- Specified by:
getRoutein interfaceRouteOrBuilder- Returns:
- The route.
-
setRoute
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2; -
setRoute
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2; -
mergeRoute
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2; -
clearRoute
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2; -
getRouteBuilder
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2; -
getRouteOrBuilder
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;- Specified by:
getRouteOrBuilderin interfaceRouteOrBuilder
-
hasRedirect
public boolean hasRedirect()Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;- Specified by:
hasRedirectin interfaceRouteOrBuilder- Returns:
- Whether the redirect field is set.
-
getRedirect
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;- Specified by:
getRedirectin interfaceRouteOrBuilder- Returns:
- The redirect.
-
setRedirect
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3; -
setRedirect
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3; -
mergeRedirect
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3; -
clearRedirect
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3; -
getRedirectBuilder
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3; -
getRedirectOrBuilder
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;- Specified by:
getRedirectOrBuilderin interfaceRouteOrBuilder
-
hasDirectResponse
public boolean hasDirectResponse()Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;- Specified by:
hasDirectResponsein interfaceRouteOrBuilder- Returns:
- Whether the directResponse field is set.
-
getDirectResponse
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;- Specified by:
getDirectResponsein interfaceRouteOrBuilder- Returns:
- The directResponse.
-
setDirectResponse
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7; -
setDirectResponse
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7; -
mergeDirectResponse
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7; -
clearDirectResponse
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7; -
getDirectResponseBuilder
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7; -
getDirectResponseOrBuilder
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;- Specified by:
getDirectResponseOrBuilderin interfaceRouteOrBuilder
-
hasFilterAction
public boolean hasFilterAction()[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).
.envoy.api.v2.route.FilterAction filter_action = 17;- Specified by:
hasFilterActionin interfaceRouteOrBuilder- Returns:
- Whether the filterAction field is set.
-
getFilterAction
[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).
.envoy.api.v2.route.FilterAction filter_action = 17;- Specified by:
getFilterActionin interfaceRouteOrBuilder- Returns:
- The filterAction.
-
setFilterAction
[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).
.envoy.api.v2.route.FilterAction filter_action = 17; -
setFilterAction
[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).
.envoy.api.v2.route.FilterAction filter_action = 17; -
mergeFilterAction
[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).
.envoy.api.v2.route.FilterAction filter_action = 17; -
clearFilterAction
[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).
.envoy.api.v2.route.FilterAction filter_action = 17; -
getFilterActionBuilder
[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).
.envoy.api.v2.route.FilterAction filter_action = 17; -
getFilterActionOrBuilder
[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).
.envoy.api.v2.route.FilterAction filter_action = 17;- Specified by:
getFilterActionOrBuilderin interfaceRouteOrBuilder
-
hasMetadata
public boolean hasMetadata()The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as *envoy.filters.http.router*.
.envoy.api.v2.core.Metadata metadata = 4;- Specified by:
hasMetadatain interfaceRouteOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as *envoy.filters.http.router*.
.envoy.api.v2.core.Metadata metadata = 4;- Specified by:
getMetadatain interfaceRouteOrBuilder- Returns:
- The metadata.
-
setMetadata
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as *envoy.filters.http.router*.
.envoy.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.Metadata metadata = 4;- Specified by:
getMetadataOrBuilderin interfaceRouteOrBuilder
-
hasDecorator
public boolean hasDecorator()Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;- Specified by:
hasDecoratorin interfaceRouteOrBuilder- Returns:
- Whether the decorator field is set.
-
getDecorator
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;- Specified by:
getDecoratorin interfaceRouteOrBuilder- Returns:
- The decorator.
-
setDecorator
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5; -
setDecorator
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5; -
mergeDecorator
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5; -
clearDecorator
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5; -
getDecoratorBuilder
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5; -
getDecoratorOrBuilder
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;- Specified by:
getDecoratorOrBuilderin interfaceRouteOrBuilder
-
getPerFilterConfigCount
Deprecated.Description copied from interface:RouteOrBuilderThe per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];- Specified by:
getPerFilterConfigCountin interfaceRouteOrBuilder
-
containsPerFilterConfig
Deprecated.The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];- Specified by:
containsPerFilterConfigin interfaceRouteOrBuilder
-
getPerFilterConfig
Deprecated.UsegetPerFilterConfigMap()instead.- Specified by:
getPerFilterConfigin interfaceRouteOrBuilder
-
getPerFilterConfigMap
Deprecated.The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];- Specified by:
getPerFilterConfigMapin interfaceRouteOrBuilder
-
getPerFilterConfigOrDefault
@Deprecated public com.google.protobuf.Struct getPerFilterConfigOrDefault(String key, com.google.protobuf.Struct defaultValue) Deprecated.The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];- Specified by:
getPerFilterConfigOrDefaultin interfaceRouteOrBuilder
-
getPerFilterConfigOrThrow
Deprecated.The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];- Specified by:
getPerFilterConfigOrThrowin interfaceRouteOrBuilder
-
clearPerFilterConfig
Deprecated. -
removePerFilterConfig
Deprecated.The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true]; -
getMutablePerFilterConfig
Deprecated.Use alternate mutation accessors instead. -
putPerFilterConfig
Deprecated.The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true]; -
putAllPerFilterConfig
@Deprecated public Route.Builder putAllPerFilterConfig(Map<String, com.google.protobuf.Struct> values) Deprecated.The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true]; -
putPerFilterConfigBuilderIfAbsent
Deprecated.The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true]; -
getTypedPerFilterConfigCount
public int getTypedPerFilterConfigCount()Description copied from interface:RouteOrBuilderThe typed_per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;- Specified by:
getTypedPerFilterConfigCountin interfaceRouteOrBuilder
-
containsTypedPerFilterConfig
The typed_per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;- Specified by:
containsTypedPerFilterConfigin interfaceRouteOrBuilder
-
getTypedPerFilterConfig
Deprecated.UsegetTypedPerFilterConfigMap()instead.- Specified by:
getTypedPerFilterConfigin interfaceRouteOrBuilder
-
getTypedPerFilterConfigMap
The typed_per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;- Specified by:
getTypedPerFilterConfigMapin interfaceRouteOrBuilder
-
getTypedPerFilterConfigOrDefault
public com.google.protobuf.Any getTypedPerFilterConfigOrDefault(String key, com.google.protobuf.Any defaultValue) The typed_per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;- Specified by:
getTypedPerFilterConfigOrDefaultin interfaceRouteOrBuilder
-
getTypedPerFilterConfigOrThrow
The typed_per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;- Specified by:
getTypedPerFilterConfigOrThrowin interfaceRouteOrBuilder
-
clearTypedPerFilterConfig
-
removeTypedPerFilterConfig
The typed_per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13; -
getMutableTypedPerFilterConfig
Deprecated.Use alternate mutation accessors instead. -
putTypedPerFilterConfig
The typed_per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13; -
putAllTypedPerFilterConfig
The typed_per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13; -
putTypedPerFilterConfigBuilderIfAbsent
The typed_per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13; -
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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddListin interfaceRouteOrBuilder
-
getRequestHeadersToAddCount
public int getRequestHeadersToAddCount()Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddCountin interfaceRouteOrBuilder
-
getRequestHeadersToAdd
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddin interfaceRouteOrBuilder
-
setRequestHeadersToAdd
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddOrBuilderin interfaceRouteOrBuilder
-
getRequestHeadersToAddOrBuilderList
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddOrBuilderListin interfaceRouteOrBuilder
-
addRequestHeadersToAddBuilder
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... } -
getRequestHeadersToRemoveList
public com.google.protobuf.ProtocolStringList getRequestHeadersToRemoveList()Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12;- Specified by:
getRequestHeadersToRemoveListin interfaceRouteOrBuilder- Returns:
- A list containing the requestHeadersToRemove.
-
getRequestHeadersToRemoveCount
public int getRequestHeadersToRemoveCount()Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12;- Specified by:
getRequestHeadersToRemoveCountin interfaceRouteOrBuilder- Returns:
- The count of requestHeadersToRemove.
-
getRequestHeadersToRemove
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12;- Specified by:
getRequestHeadersToRemovein interfaceRouteOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The requestHeadersToRemove at the given index.
-
getRequestHeadersToRemoveBytes
public com.google.protobuf.ByteString getRequestHeadersToRemoveBytes(int index) Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12;- Specified by:
getRequestHeadersToRemoveBytesin interfaceRouteOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requestHeadersToRemove at the given index.
-
setRequestHeadersToRemove
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12;- 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;- 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;- 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;- 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;- Parameters:
value- The bytes of the requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddListin interfaceRouteOrBuilder
-
getResponseHeadersToAddCount
public int getResponseHeadersToAddCount()Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddCountin interfaceRouteOrBuilder
-
getResponseHeadersToAdd
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddin interfaceRouteOrBuilder
-
setResponseHeadersToAdd
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddOrBuilderin interfaceRouteOrBuilder
-
getResponseHeadersToAddOrBuilderList
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddOrBuilderListin interfaceRouteOrBuilder
-
addResponseHeadersToAddBuilder
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_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.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... } -
getResponseHeadersToRemoveList
public com.google.protobuf.ProtocolStringList getResponseHeadersToRemoveList()Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11;- Specified by:
getResponseHeadersToRemoveListin interfaceRouteOrBuilder- Returns:
- A list containing the responseHeadersToRemove.
-
getResponseHeadersToRemoveCount
public int getResponseHeadersToRemoveCount()Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11;- Specified by:
getResponseHeadersToRemoveCountin interfaceRouteOrBuilder- Returns:
- The count of responseHeadersToRemove.
-
getResponseHeadersToRemove
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11;- Specified by:
getResponseHeadersToRemovein interfaceRouteOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The responseHeadersToRemove at the given index.
-
getResponseHeadersToRemoveBytes
public com.google.protobuf.ByteString getResponseHeadersToRemoveBytes(int index) Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11;- Specified by:
getResponseHeadersToRemoveBytesin interfaceRouteOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the responseHeadersToRemove at the given index.
-
setResponseHeadersToRemove
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11;- 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;- 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;- 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;- 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;- 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.api.v2.route.Tracing tracing = 15;- Specified by:
hasTracingin interfaceRouteOrBuilder- Returns:
- Whether the tracing field is set.
-
getTracing
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.api.v2.route.Tracing tracing = 15;- Specified by:
getTracingin interfaceRouteOrBuilder- Returns:
- The tracing.
-
setTracing
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.api.v2.route.Tracing tracing = 15; -
setTracing
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.api.v2.route.Tracing tracing = 15; -
mergeTracing
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.api.v2.route.Tracing tracing = 15; -
clearTracing
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.api.v2.route.Tracing tracing = 15; -
getTracingBuilder
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.api.v2.route.Tracing tracing = 15; -
getTracingOrBuilder
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.api.v2.route.Tracing tracing = 15;- Specified by:
getTracingOrBuilderin interfaceRouteOrBuilder
-
hasPerRequestBufferLimitBytes
public boolean hasPerRequestBufferLimitBytes()The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;- Specified by:
hasPerRequestBufferLimitBytesin interfaceRouteOrBuilder- Returns:
- Whether the perRequestBufferLimitBytes field is set.
-
getPerRequestBufferLimitBytes
public com.google.protobuf.UInt32Value getPerRequestBufferLimitBytes()The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;- Specified by:
getPerRequestBufferLimitBytesin interfaceRouteOrBuilder- Returns:
- The perRequestBufferLimitBytes.
-
setPerRequestBufferLimitBytes
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16; -
setPerRequestBufferLimitBytes
public Route.Builder setPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value.Builder builderForValue) The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16; -
mergePerRequestBufferLimitBytes
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16; -
clearPerRequestBufferLimitBytes
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16; -
getPerRequestBufferLimitBytesBuilder
public com.google.protobuf.UInt32Value.Builder getPerRequestBufferLimitBytesBuilder()The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16; -
getPerRequestBufferLimitBytesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getPerRequestBufferLimitBytesOrBuilder()The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;- Specified by:
getPerRequestBufferLimitBytesOrBuilderin interfaceRouteOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>
-