Class Route.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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
,java.lang.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 typeenvoy.config.route.v3.Route
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
Route.Builder.TypedPerFilterConfigConverter
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object
action_
private int
actionCase_
private int
bitField0_
private Decorator
decorator_
private com.google.protobuf.SingleFieldBuilder<Decorator,Decorator.Builder,DecoratorOrBuilder>
decoratorBuilder_
private com.google.protobuf.SingleFieldBuilder<DirectResponseAction,DirectResponseAction.Builder,DirectResponseActionOrBuilder>
directResponseBuilder_
private com.google.protobuf.SingleFieldBuilder<FilterAction,FilterAction.Builder,FilterActionOrBuilder>
filterActionBuilder_
private RouteMatch
match_
private com.google.protobuf.SingleFieldBuilder<RouteMatch,RouteMatch.Builder,RouteMatchOrBuilder>
matchBuilder_
private Metadata
metadata_
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder>
metadataBuilder_
private java.lang.Object
name_
private com.google.protobuf.SingleFieldBuilder<NonForwardingAction,NonForwardingAction.Builder,NonForwardingActionOrBuilder>
nonForwardingActionBuilder_
private com.google.protobuf.UInt32Value
perRequestBufferLimitBytes_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
perRequestBufferLimitBytesBuilder_
private com.google.protobuf.SingleFieldBuilder<RedirectAction,RedirectAction.Builder,RedirectActionOrBuilder>
redirectBuilder_
private java.util.List<HeaderValueOption>
requestHeadersToAdd_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
requestHeadersToAddBuilder_
private com.google.protobuf.LazyStringArrayList
requestHeadersToRemove_
private java.util.List<HeaderValueOption>
responseHeadersToAdd_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
responseHeadersToAddBuilder_
private com.google.protobuf.LazyStringArrayList
responseHeadersToRemove_
private com.google.protobuf.SingleFieldBuilder<RouteAction,RouteAction.Builder,RouteActionOrBuilder>
routeBuilder_
private java.lang.Object
statPrefix_
private Tracing
tracing_
private com.google.protobuf.SingleFieldBuilder<Tracing,Tracing.Builder,TracingOrBuilder>
tracingBuilder_
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder>
typedPerFilterConfig_
private static Route.Builder.TypedPerFilterConfigConverter
typedPerFilterConfigConverter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Route.Builder
addAllRequestHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
Specifies a set of headers that will be added to requests matching this route.Route.Builder
addAllRequestHeadersToRemove(java.lang.Iterable<java.lang.String> values)
Specifies a list of HTTP headers that should be removed from each request matching this route.Route.Builder
addAllResponseHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
Specifies a set of headers that will be added to responses to requests matching this route.Route.Builder
addAllResponseHeadersToRemove(java.lang.Iterable<java.lang.String> values)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.Route.Builder
addRequestHeadersToAdd(int index, HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this route.Route.Builder
addRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this route.Route.Builder
addRequestHeadersToAdd(HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this route.Route.Builder
addRequestHeadersToAdd(HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this route.HeaderValueOption.Builder
addRequestHeadersToAddBuilder()
Specifies a set of headers that will be added to requests matching this route.HeaderValueOption.Builder
addRequestHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to requests matching this route.Route.Builder
addRequestHeadersToRemove(java.lang.String value)
Specifies a list of HTTP headers that should be removed from each request matching this route.Route.Builder
addRequestHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers that should be removed from each request matching this route.Route.Builder
addResponseHeadersToAdd(int index, HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests matching this route.Route.Builder
addResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests matching this route.Route.Builder
addResponseHeadersToAdd(HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests matching this route.Route.Builder
addResponseHeadersToAdd(HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests matching this route.HeaderValueOption.Builder
addResponseHeadersToAddBuilder()
Specifies a set of headers that will be added to responses to requests matching this route.HeaderValueOption.Builder
addResponseHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to responses to requests matching this route.Route.Builder
addResponseHeadersToRemove(java.lang.String value)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.Route.Builder
addResponseHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.Route
build()
Route
buildPartial()
private void
buildPartial0(Route result)
private void
buildPartialOneofs(Route result)
private void
buildPartialRepeatedFields(Route result)
Route.Builder
clear()
Route.Builder
clearAction()
Route.Builder
clearDecorator()
Decorator for the matched route.Route.Builder
clearDirectResponse()
Return an arbitrary HTTP response directly, without proxying.Route.Builder
clearFilterAction()
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).Route.Builder
clearMatch()
Route matching parameters.Route.Builder
clearMetadata()
The Metadata field can be used to provide additional information about the route.Route.Builder
clearName()
Name for the route.Route.Builder
clearNonForwardingAction()
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.Route.Builder
clearPerRequestBufferLimitBytes()
The maximum bytes which will be buffered for retries and shadowing.Route.Builder
clearRedirect()
Return a redirect.Route.Builder
clearRequestHeadersToAdd()
Specifies a set of headers that will be added to requests matching this route.Route.Builder
clearRequestHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each request matching this route.Route.Builder
clearResponseHeadersToAdd()
Specifies a set of headers that will be added to responses to requests matching this route.Route.Builder
clearResponseHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.Route.Builder
clearRoute()
Route request to some upstream cluster.Route.Builder
clearStatPrefix()
The human readable prefix to use when emitting statistics for this endpoint.Route.Builder
clearTracing()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Route.Builder
clearTypedPerFilterConfig()
boolean
containsTypedPerFilterConfig(java.lang.String key)
This field can be used to provide route specific per filter config.private void
ensureRequestHeadersToAddIsMutable()
private void
ensureRequestHeadersToRemoveIsMutable()
private void
ensureResponseHeadersToAddIsMutable()
private void
ensureResponseHeadersToRemoveIsMutable()
Route.ActionCase
getActionCase()
Decorator
getDecorator()
Decorator for the matched route.Decorator.Builder
getDecoratorBuilder()
Decorator for the matched route.private com.google.protobuf.SingleFieldBuilder<Decorator,Decorator.Builder,DecoratorOrBuilder>
getDecoratorFieldBuilder()
Decorator for the matched route.DecoratorOrBuilder
getDecoratorOrBuilder()
Decorator for the matched route.Route
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
DirectResponseAction
getDirectResponse()
Return an arbitrary HTTP response directly, without proxying.DirectResponseAction.Builder
getDirectResponseBuilder()
Return an arbitrary HTTP response directly, without proxying.private com.google.protobuf.SingleFieldBuilder<DirectResponseAction,DirectResponseAction.Builder,DirectResponseActionOrBuilder>
getDirectResponseFieldBuilder()
Return an arbitrary HTTP response directly, without proxying.DirectResponseActionOrBuilder
getDirectResponseOrBuilder()
Return an arbitrary HTTP response directly, without proxying.FilterAction
getFilterAction()
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).FilterAction.Builder
getFilterActionBuilder()
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).private com.google.protobuf.SingleFieldBuilder<FilterAction,FilterAction.Builder,FilterActionOrBuilder>
getFilterActionFieldBuilder()
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).FilterActionOrBuilder
getFilterActionOrBuilder()
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).RouteMatch
getMatch()
Route matching parameters.RouteMatch.Builder
getMatchBuilder()
Route matching parameters.private com.google.protobuf.SingleFieldBuilder<RouteMatch,RouteMatch.Builder,RouteMatchOrBuilder>
getMatchFieldBuilder()
Route matching parameters.RouteMatchOrBuilder
getMatchOrBuilder()
Route matching parameters.Metadata
getMetadata()
The Metadata field can be used to provide additional information about the route.Metadata.Builder
getMetadataBuilder()
The Metadata field can be used to provide additional information about the route.private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder>
getMetadataFieldBuilder()
The Metadata field can be used to provide additional information about the route.MetadataOrBuilder
getMetadataOrBuilder()
The Metadata field can be used to provide additional information about the route.java.util.Map<java.lang.String,com.google.protobuf.Any>
getMutableTypedPerFilterConfig()
Deprecated.java.lang.String
getName()
Name for the route.com.google.protobuf.ByteString
getNameBytes()
Name for the route.NonForwardingAction
getNonForwardingAction()
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.NonForwardingAction.Builder
getNonForwardingActionBuilder()
[#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<NonForwardingAction,NonForwardingAction.Builder,NonForwardingActionOrBuilder>
getNonForwardingActionFieldBuilder()
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.NonForwardingActionOrBuilder
getNonForwardingActionOrBuilder()
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.com.google.protobuf.UInt32Value
getPerRequestBufferLimitBytes()
The maximum bytes which will be buffered for retries and shadowing.com.google.protobuf.UInt32Value.Builder
getPerRequestBufferLimitBytesBuilder()
The maximum bytes which will be buffered for retries and shadowing.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
getPerRequestBufferLimitBytesFieldBuilder()
The maximum bytes which will be buffered for retries and shadowing.com.google.protobuf.UInt32ValueOrBuilder
getPerRequestBufferLimitBytesOrBuilder()
The maximum bytes which will be buffered for retries and shadowing.RedirectAction
getRedirect()
Return a redirect.RedirectAction.Builder
getRedirectBuilder()
Return a redirect.private com.google.protobuf.SingleFieldBuilder<RedirectAction,RedirectAction.Builder,RedirectActionOrBuilder>
getRedirectFieldBuilder()
Return a redirect.RedirectActionOrBuilder
getRedirectOrBuilder()
Return a redirect.HeaderValueOption
getRequestHeadersToAdd(int index)
Specifies a set of headers that will be added to requests matching this route.HeaderValueOption.Builder
getRequestHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to requests matching this route.java.util.List<HeaderValueOption.Builder>
getRequestHeadersToAddBuilderList()
Specifies a set of headers that will be added to requests matching this route.int
getRequestHeadersToAddCount()
Specifies a set of headers that will be added to requests matching this route.private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
getRequestHeadersToAddFieldBuilder()
java.util.List<HeaderValueOption>
getRequestHeadersToAddList()
Specifies a set of headers that will be added to requests matching this route.HeaderValueOptionOrBuilder
getRequestHeadersToAddOrBuilder(int index)
Specifies a set of headers that will be added to requests matching this route.java.util.List<? extends HeaderValueOptionOrBuilder>
getRequestHeadersToAddOrBuilderList()
Specifies a set of headers that will be added to requests matching this route.java.lang.String
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
getRequestHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each request matching this route.com.google.protobuf.ProtocolStringList
getRequestHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each request matching this route.HeaderValueOption
getResponseHeadersToAdd(int index)
Specifies a set of headers that will be added to responses to requests matching this route.HeaderValueOption.Builder
getResponseHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to responses to requests matching this route.java.util.List<HeaderValueOption.Builder>
getResponseHeadersToAddBuilderList()
Specifies a set of headers that will be added to responses to requests matching this route.int
getResponseHeadersToAddCount()
Specifies a set of headers that will be added to responses to requests matching this route.private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
getResponseHeadersToAddFieldBuilder()
java.util.List<HeaderValueOption>
getResponseHeadersToAddList()
Specifies a set of headers that will be added to responses to requests matching this route.HeaderValueOptionOrBuilder
getResponseHeadersToAddOrBuilder(int index)
Specifies a set of headers that will be added to responses to requests matching this route.java.util.List<? extends HeaderValueOptionOrBuilder>
getResponseHeadersToAddOrBuilderList()
Specifies a set of headers that will be added to responses to requests matching this route.java.lang.String
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
getResponseHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.com.google.protobuf.ProtocolStringList
getResponseHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.RouteAction
getRoute()
Route request to some upstream cluster.RouteAction.Builder
getRouteBuilder()
Route request to some upstream cluster.private com.google.protobuf.SingleFieldBuilder<RouteAction,RouteAction.Builder,RouteActionOrBuilder>
getRouteFieldBuilder()
Route request to some upstream cluster.RouteActionOrBuilder
getRouteOrBuilder()
Route request to some upstream cluster.java.lang.String
getStatPrefix()
The human readable prefix to use when emitting statistics for this endpoint.com.google.protobuf.ByteString
getStatPrefixBytes()
The human readable prefix to use when emitting statistics for this endpoint.Tracing
getTracing()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Tracing.Builder
getTracingBuilder()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.private com.google.protobuf.SingleFieldBuilder<Tracing,Tracing.Builder,TracingOrBuilder>
getTracingFieldBuilder()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.TracingOrBuilder
getTracingOrBuilder()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.java.util.Map<java.lang.String,com.google.protobuf.Any>
getTypedPerFilterConfig()
Deprecated.int
getTypedPerFilterConfigCount()
This field can be used to provide route specific per filter config.java.util.Map<java.lang.String,com.google.protobuf.Any>
getTypedPerFilterConfigMap()
This field can be used to provide route specific per filter config.com.google.protobuf.Any
getTypedPerFilterConfigOrDefault(java.lang.String key, com.google.protobuf.Any defaultValue)
This field can be used to provide route specific per filter config.com.google.protobuf.Any
getTypedPerFilterConfigOrThrow(java.lang.String key)
This field can be used to provide route specific per filter config.boolean
hasDecorator()
Decorator for the matched route.boolean
hasDirectResponse()
Return an arbitrary HTTP response directly, without proxying.boolean
hasFilterAction()
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).boolean
hasMatch()
Route matching parameters.boolean
hasMetadata()
The Metadata field can be used to provide additional information about the route.boolean
hasNonForwardingAction()
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.boolean
hasPerRequestBufferLimitBytes()
The maximum bytes which will be buffered for retries and shadowing.boolean
hasRedirect()
Return a redirect.boolean
hasRoute()
Route request to some upstream cluster.boolean
hasTracing()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection(int number)
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection(int number)
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder>
internalGetMutableTypedPerFilterConfig()
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder>
internalGetTypedPerFilterConfig()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
Route.Builder
mergeDecorator(Decorator value)
Decorator for the matched route.Route.Builder
mergeDirectResponse(DirectResponseAction value)
Return an arbitrary HTTP response directly, without proxying.Route.Builder
mergeFilterAction(FilterAction value)
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).Route.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Route.Builder
mergeFrom(com.google.protobuf.Message other)
Route.Builder
mergeFrom(Route other)
Route.Builder
mergeMatch(RouteMatch value)
Route matching parameters.Route.Builder
mergeMetadata(Metadata value)
The Metadata field can be used to provide additional information about the route.Route.Builder
mergeNonForwardingAction(NonForwardingAction value)
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.Route.Builder
mergePerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value)
The maximum bytes which will be buffered for retries and shadowing.Route.Builder
mergeRedirect(RedirectAction value)
Return a redirect.Route.Builder
mergeRoute(RouteAction value)
Route request to some upstream cluster.Route.Builder
mergeTracing(Tracing value)
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Route.Builder
putAllTypedPerFilterConfig(java.util.Map<java.lang.String,com.google.protobuf.Any> values)
This field can be used to provide route specific per filter config.Route.Builder
putTypedPerFilterConfig(java.lang.String key, com.google.protobuf.Any value)
This field can be used to provide route specific per filter config.com.google.protobuf.Any.Builder
putTypedPerFilterConfigBuilderIfAbsent(java.lang.String key)
This field can be used to provide route specific per filter config.Route.Builder
removeRequestHeadersToAdd(int index)
Specifies a set of headers that will be added to requests matching this route.Route.Builder
removeResponseHeadersToAdd(int index)
Specifies a set of headers that will be added to responses to requests matching this route.Route.Builder
removeTypedPerFilterConfig(java.lang.String key)
This field can be used to provide route specific per filter config.Route.Builder
setDecorator(Decorator value)
Decorator for the matched route.Route.Builder
setDecorator(Decorator.Builder builderForValue)
Decorator for the matched route.Route.Builder
setDirectResponse(DirectResponseAction value)
Return an arbitrary HTTP response directly, without proxying.Route.Builder
setDirectResponse(DirectResponseAction.Builder builderForValue)
Return an arbitrary HTTP response directly, without proxying.Route.Builder
setFilterAction(FilterAction value)
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).Route.Builder
setFilterAction(FilterAction.Builder builderForValue)
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction).Route.Builder
setMatch(RouteMatch value)
Route matching parameters.Route.Builder
setMatch(RouteMatch.Builder builderForValue)
Route matching parameters.Route.Builder
setMetadata(Metadata value)
The Metadata field can be used to provide additional information about the route.Route.Builder
setMetadata(Metadata.Builder builderForValue)
The Metadata field can be used to provide additional information about the route.Route.Builder
setName(java.lang.String value)
Name for the route.Route.Builder
setNameBytes(com.google.protobuf.ByteString value)
Name for the route.Route.Builder
setNonForwardingAction(NonForwardingAction value)
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.Route.Builder
setNonForwardingAction(NonForwardingAction.Builder builderForValue)
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host.Route.Builder
setPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value)
The maximum bytes which will be buffered for retries and shadowing.Route.Builder
setPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum bytes which will be buffered for retries and shadowing.Route.Builder
setRedirect(RedirectAction value)
Return a redirect.Route.Builder
setRedirect(RedirectAction.Builder builderForValue)
Return a redirect.Route.Builder
setRequestHeadersToAdd(int index, HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this route.Route.Builder
setRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this route.Route.Builder
setRequestHeadersToRemove(int index, java.lang.String value)
Specifies a list of HTTP headers that should be removed from each request matching this route.Route.Builder
setResponseHeadersToAdd(int index, HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests matching this route.Route.Builder
setResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests matching this route.Route.Builder
setResponseHeadersToRemove(int index, java.lang.String value)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.Route.Builder
setRoute(RouteAction value)
Route request to some upstream cluster.Route.Builder
setRoute(RouteAction.Builder builderForValue)
Route request to some upstream cluster.Route.Builder
setStatPrefix(java.lang.String value)
The human readable prefix to use when emitting statistics for this endpoint.Route.Builder
setStatPrefixBytes(com.google.protobuf.ByteString value)
The human readable prefix to use when emitting statistics for this endpoint.Route.Builder
setTracing(Tracing value)
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Route.Builder
setTracing(Tracing.Builder builderForValue)
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.-
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
-
-
-
-
Field Detail
-
actionCase_
private int actionCase_
-
action_
private java.lang.Object action_
-
bitField0_
private int bitField0_
-
name_
private java.lang.Object name_
-
match_
private RouteMatch match_
-
matchBuilder_
private com.google.protobuf.SingleFieldBuilder<RouteMatch,RouteMatch.Builder,RouteMatchOrBuilder> matchBuilder_
-
routeBuilder_
private com.google.protobuf.SingleFieldBuilder<RouteAction,RouteAction.Builder,RouteActionOrBuilder> routeBuilder_
-
redirectBuilder_
private com.google.protobuf.SingleFieldBuilder<RedirectAction,RedirectAction.Builder,RedirectActionOrBuilder> redirectBuilder_
-
directResponseBuilder_
private com.google.protobuf.SingleFieldBuilder<DirectResponseAction,DirectResponseAction.Builder,DirectResponseActionOrBuilder> directResponseBuilder_
-
filterActionBuilder_
private com.google.protobuf.SingleFieldBuilder<FilterAction,FilterAction.Builder,FilterActionOrBuilder> filterActionBuilder_
-
nonForwardingActionBuilder_
private com.google.protobuf.SingleFieldBuilder<NonForwardingAction,NonForwardingAction.Builder,NonForwardingActionOrBuilder> nonForwardingActionBuilder_
-
metadata_
private Metadata metadata_
-
metadataBuilder_
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder> metadataBuilder_
-
decorator_
private Decorator decorator_
-
decoratorBuilder_
private com.google.protobuf.SingleFieldBuilder<Decorator,Decorator.Builder,DecoratorOrBuilder> decoratorBuilder_
-
typedPerFilterConfigConverter
private static final Route.Builder.TypedPerFilterConfigConverter typedPerFilterConfigConverter
-
typedPerFilterConfig_
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder> typedPerFilterConfig_
-
requestHeadersToAdd_
private java.util.List<HeaderValueOption> requestHeadersToAdd_
-
requestHeadersToAddBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> requestHeadersToAddBuilder_
-
requestHeadersToRemove_
private com.google.protobuf.LazyStringArrayList requestHeadersToRemove_
-
responseHeadersToAdd_
private java.util.List<HeaderValueOption> responseHeadersToAdd_
-
responseHeadersToAddBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> responseHeadersToAddBuilder_
-
responseHeadersToRemove_
private com.google.protobuf.LazyStringArrayList responseHeadersToRemove_
-
tracing_
private Tracing tracing_
-
tracingBuilder_
private com.google.protobuf.SingleFieldBuilder<Tracing,Tracing.Builder,TracingOrBuilder> tracingBuilder_
-
perRequestBufferLimitBytes_
private com.google.protobuf.UInt32Value perRequestBufferLimitBytes_
-
perRequestBufferLimitBytesBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> perRequestBufferLimitBytesBuilder_
-
statPrefix_
private java.lang.Object statPrefix_
-
-
Method Detail
-
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
public Route.Builder 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
public Route getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Route build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Route buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(Route result)
-
buildPartial0
private void buildPartial0(Route result)
-
buildPartialOneofs
private void buildPartialOneofs(Route result)
-
mergeFrom
public Route.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Route.Builder>
-
mergeFrom
public Route.Builder mergeFrom(Route other)
-
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 java.io.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:
java.io.IOException
-
getActionCase
public Route.ActionCase getActionCase()
- Specified by:
getActionCase
in interfaceRouteOrBuilder
-
clearAction
public Route.Builder clearAction()
-
getName
public java.lang.String 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
public Route.Builder setName(java.lang.String value)
Name for the route.
string name = 14;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Route.Builder clearName()
Name for the route.
string name = 14;
- Returns:
- This builder for chaining.
-
setNameBytes
public Route.Builder setNameBytes(com.google.protobuf.ByteString value)
Name for the route.
string name = 14;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasMatch
public boolean hasMatch()
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }
- Specified by:
hasMatch
in interfaceRouteOrBuilder
- Returns:
- Whether the match field is set.
-
getMatch
public RouteMatch getMatch()
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }
- Specified by:
getMatch
in interfaceRouteOrBuilder
- Returns:
- The match.
-
setMatch
public Route.Builder setMatch(RouteMatch value)
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }
-
setMatch
public Route.Builder setMatch(RouteMatch.Builder builderForValue)
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }
-
mergeMatch
public Route.Builder mergeMatch(RouteMatch value)
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }
-
clearMatch
public Route.Builder clearMatch()
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }
-
getMatchBuilder
public RouteMatch.Builder getMatchBuilder()
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }
-
getMatchOrBuilder
public RouteMatchOrBuilder getMatchOrBuilder()
Route matching parameters.
.envoy.config.route.v3.RouteMatch match = 1 [(.validate.rules) = { ... }
- Specified by:
getMatchOrBuilder
in interfaceRouteOrBuilder
-
getMatchFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RouteMatch,RouteMatch.Builder,RouteMatchOrBuilder> getMatchFieldBuilder()
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
public RouteAction getRoute()
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;
- Specified by:
getRoute
in interfaceRouteOrBuilder
- Returns:
- The route.
-
setRoute
public Route.Builder setRoute(RouteAction value)
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;
-
setRoute
public Route.Builder setRoute(RouteAction.Builder builderForValue)
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;
-
mergeRoute
public Route.Builder mergeRoute(RouteAction value)
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;
-
clearRoute
public Route.Builder clearRoute()
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;
-
getRouteBuilder
public RouteAction.Builder getRouteBuilder()
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;
-
getRouteOrBuilder
public RouteActionOrBuilder getRouteOrBuilder()
Route request to some upstream cluster.
.envoy.config.route.v3.RouteAction route = 2;
- Specified by:
getRouteOrBuilder
in interfaceRouteOrBuilder
-
getRouteFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RouteAction,RouteAction.Builder,RouteActionOrBuilder> getRouteFieldBuilder()
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
public RedirectAction getRedirect()
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;
- Specified by:
getRedirect
in interfaceRouteOrBuilder
- Returns:
- The redirect.
-
setRedirect
public Route.Builder setRedirect(RedirectAction value)
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;
-
setRedirect
public Route.Builder setRedirect(RedirectAction.Builder builderForValue)
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;
-
mergeRedirect
public Route.Builder mergeRedirect(RedirectAction value)
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;
-
clearRedirect
public Route.Builder clearRedirect()
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;
-
getRedirectBuilder
public RedirectAction.Builder getRedirectBuilder()
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;
-
getRedirectOrBuilder
public RedirectActionOrBuilder getRedirectOrBuilder()
Return a redirect.
.envoy.config.route.v3.RedirectAction redirect = 3;
- Specified by:
getRedirectOrBuilder
in interfaceRouteOrBuilder
-
getRedirectFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RedirectAction,RedirectAction.Builder,RedirectActionOrBuilder> getRedirectFieldBuilder()
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
public DirectResponseAction 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
public Route.Builder setDirectResponse(DirectResponseAction value)
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;
-
setDirectResponse
public Route.Builder setDirectResponse(DirectResponseAction.Builder builderForValue)
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;
-
mergeDirectResponse
public Route.Builder mergeDirectResponse(DirectResponseAction value)
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;
-
clearDirectResponse
public Route.Builder clearDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;
-
getDirectResponseBuilder
public DirectResponseAction.Builder getDirectResponseBuilder()
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;
-
getDirectResponseOrBuilder
public DirectResponseActionOrBuilder getDirectResponseOrBuilder()
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v3.DirectResponseAction direct_response = 7;
- Specified by:
getDirectResponseOrBuilder
in interfaceRouteOrBuilder
-
getDirectResponseFieldBuilder
private com.google.protobuf.SingleFieldBuilder<DirectResponseAction,DirectResponseAction.Builder,DirectResponseActionOrBuilder> getDirectResponseFieldBuilder()
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
public FilterAction getFilterAction()
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v3.FilterAction filter_action = 17;
- Specified by:
getFilterAction
in interfaceRouteOrBuilder
- Returns:
- The filterAction.
-
setFilterAction
public Route.Builder setFilterAction(FilterAction value)
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v3.FilterAction filter_action = 17;
-
setFilterAction
public Route.Builder setFilterAction(FilterAction.Builder builderForValue)
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v3.FilterAction filter_action = 17;
-
mergeFilterAction
public Route.Builder mergeFilterAction(FilterAction value)
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v3.FilterAction filter_action = 17;
-
clearFilterAction
public Route.Builder clearFilterAction()
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v3.FilterAction filter_action = 17;
-
getFilterActionBuilder
public FilterAction.Builder getFilterActionBuilder()
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v3.FilterAction filter_action = 17;
-
getFilterActionOrBuilder
public FilterActionOrBuilder getFilterActionOrBuilder()
[#not-implemented-hide:] A filter-defined action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v3.FilterAction filter_action = 17;
- Specified by:
getFilterActionOrBuilder
in interfaceRouteOrBuilder
-
getFilterActionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<FilterAction,FilterAction.Builder,FilterActionOrBuilder> getFilterActionFieldBuilder()
[#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
public NonForwardingAction getNonForwardingAction()
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host. This will be used in non-proxy xDS clients like the gRPC server. It could also be used in the future in Envoy for a filter that directly generates responses for requests.
.envoy.config.route.v3.NonForwardingAction non_forwarding_action = 18;
- Specified by:
getNonForwardingAction
in interfaceRouteOrBuilder
- Returns:
- The nonForwardingAction.
-
setNonForwardingAction
public Route.Builder setNonForwardingAction(NonForwardingAction value)
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host. This will be used in non-proxy xDS clients like the gRPC server. It could also be used in the future in Envoy for a filter that directly generates responses for requests.
.envoy.config.route.v3.NonForwardingAction non_forwarding_action = 18;
-
setNonForwardingAction
public Route.Builder setNonForwardingAction(NonForwardingAction.Builder builderForValue)
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host. This will be used in non-proxy xDS clients like the gRPC server. It could also be used in the future in Envoy for a filter that directly generates responses for requests.
.envoy.config.route.v3.NonForwardingAction non_forwarding_action = 18;
-
mergeNonForwardingAction
public Route.Builder mergeNonForwardingAction(NonForwardingAction value)
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host. This will be used in non-proxy xDS clients like the gRPC server. It could also be used in the future in Envoy for a filter that directly generates responses for requests.
.envoy.config.route.v3.NonForwardingAction non_forwarding_action = 18;
-
clearNonForwardingAction
public Route.Builder clearNonForwardingAction()
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host. This will be used in non-proxy xDS clients like the gRPC server. It could also be used in the future in Envoy for a filter that directly generates responses for requests.
.envoy.config.route.v3.NonForwardingAction non_forwarding_action = 18;
-
getNonForwardingActionBuilder
public NonForwardingAction.Builder getNonForwardingActionBuilder()
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host. This will be used in non-proxy xDS clients like the gRPC server. It could also be used in the future in Envoy for a filter that directly generates responses for requests.
.envoy.config.route.v3.NonForwardingAction non_forwarding_action = 18;
-
getNonForwardingActionOrBuilder
public NonForwardingActionOrBuilder getNonForwardingActionOrBuilder()
[#not-implemented-hide:] An action used when the route will generate a response directly, without forwarding to an upstream host. This will be used in non-proxy xDS clients like the gRPC server. It could also be used in the future in Envoy for a filter that directly generates responses for requests.
.envoy.config.route.v3.NonForwardingAction non_forwarding_action = 18;
- Specified by:
getNonForwardingActionOrBuilder
in interfaceRouteOrBuilder
-
getNonForwardingActionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<NonForwardingAction,NonForwardingAction.Builder,NonForwardingActionOrBuilder> getNonForwardingActionFieldBuilder()
[#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
public Metadata getMetadata()
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 4;
- Specified by:
getMetadata
in interfaceRouteOrBuilder
- Returns:
- The metadata.
-
setMetadata
public Route.Builder setMetadata(Metadata value)
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 4;
-
setMetadata
public Route.Builder setMetadata(Metadata.Builder builderForValue)
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 4;
-
mergeMetadata
public Route.Builder mergeMetadata(Metadata value)
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 4;
-
clearMetadata
public Route.Builder clearMetadata()
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 4;
-
getMetadataBuilder
public Metadata.Builder getMetadataBuilder()
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 4;
-
getMetadataOrBuilder
public MetadataOrBuilder getMetadataOrBuilder()
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as ``envoy.filters.http.router``.
.envoy.config.core.v3.Metadata metadata = 4;
- Specified by:
getMetadataOrBuilder
in interfaceRouteOrBuilder
-
getMetadataFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder> getMetadataFieldBuilder()
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
public Decorator getDecorator()
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;
- Specified by:
getDecorator
in interfaceRouteOrBuilder
- Returns:
- The decorator.
-
setDecorator
public Route.Builder setDecorator(Decorator value)
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;
-
setDecorator
public Route.Builder setDecorator(Decorator.Builder builderForValue)
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;
-
mergeDecorator
public Route.Builder mergeDecorator(Decorator value)
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;
-
clearDecorator
public Route.Builder clearDecorator()
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;
-
getDecoratorBuilder
public Decorator.Builder getDecoratorBuilder()
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;
-
getDecoratorOrBuilder
public DecoratorOrBuilder getDecoratorOrBuilder()
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;
- Specified by:
getDecoratorOrBuilder
in interfaceRouteOrBuilder
-
getDecoratorFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Decorator,Decorator.Builder,DecoratorOrBuilder> getDecoratorFieldBuilder()
Decorator for the matched route.
.envoy.config.route.v3.Decorator decorator = 5;
-
internalGetTypedPerFilterConfig
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder> internalGetTypedPerFilterConfig()
-
internalGetMutableTypedPerFilterConfig
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder> internalGetMutableTypedPerFilterConfig()
-
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
public boolean containsTypedPerFilterConfig(java.lang.String key)
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 public java.util.Map<java.lang.String,com.google.protobuf.Any> getTypedPerFilterConfig()
Deprecated.UsegetTypedPerFilterConfigMap()
instead.- Specified by:
getTypedPerFilterConfig
in interfaceRouteOrBuilder
-
getTypedPerFilterConfigMap
public java.util.Map<java.lang.String,com.google.protobuf.Any> 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(java.lang.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
public com.google.protobuf.Any getTypedPerFilterConfigOrThrow(java.lang.String key)
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
public Route.Builder clearTypedPerFilterConfig()
-
removeTypedPerFilterConfig
public Route.Builder removeTypedPerFilterConfig(java.lang.String key)
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 public java.util.Map<java.lang.String,com.google.protobuf.Any> getMutableTypedPerFilterConfig()
Deprecated.Use alternate mutation accessors instead.
-
putTypedPerFilterConfig
public Route.Builder putTypedPerFilterConfig(java.lang.String key, com.google.protobuf.Any value)
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
public Route.Builder putAllTypedPerFilterConfig(java.util.Map<java.lang.String,com.google.protobuf.Any> values)
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
public com.google.protobuf.Any.Builder putTypedPerFilterConfigBuilderIfAbsent(java.lang.String key)
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
public java.util.List<HeaderValueOption> getRequestHeadersToAddList()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
- Specified by:
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
public HeaderValueOption getRequestHeadersToAdd(int index)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAdd
in interfaceRouteOrBuilder
-
setRequestHeadersToAdd
public Route.Builder setRequestHeadersToAdd(int index, HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
setRequestHeadersToAdd
public Route.Builder setRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public Route.Builder addRequestHeadersToAdd(HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public Route.Builder addRequestHeadersToAdd(int index, HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public Route.Builder addRequestHeadersToAdd(HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public Route.Builder addRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
addAllRequestHeadersToAdd
public Route.Builder addAllRequestHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
clearRequestHeadersToAdd
public Route.Builder clearRequestHeadersToAdd()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
removeRequestHeadersToAdd
public Route.Builder removeRequestHeadersToAdd(int index)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
getRequestHeadersToAddBuilder
public HeaderValueOption.Builder getRequestHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
getRequestHeadersToAddOrBuilder
public HeaderValueOptionOrBuilder getRequestHeadersToAddOrBuilder(int index)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddOrBuilder
in interfaceRouteOrBuilder
-
getRequestHeadersToAddOrBuilderList
public java.util.List<? extends HeaderValueOptionOrBuilder> getRequestHeadersToAddOrBuilderList()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddOrBuilderList
in interfaceRouteOrBuilder
-
addRequestHeadersToAddBuilder
public HeaderValueOption.Builder addRequestHeadersToAddBuilder()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
addRequestHeadersToAddBuilder
public HeaderValueOption.Builder addRequestHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
getRequestHeadersToAddBuilderList
public java.util.List<HeaderValueOption.Builder> getRequestHeadersToAddBuilderList()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }
-
getRequestHeadersToAddFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> getRequestHeadersToAddFieldBuilder()
-
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
public java.lang.String getRequestHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12 [(.validate.rules) = { ... }
- Specified by:
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
public Route.Builder setRequestHeadersToRemove(int index, java.lang.String value)
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12 [(.validate.rules) = { ... }
- Parameters:
index
- The index to set the value at.value
- The requestHeadersToRemove to set.- Returns:
- This builder for chaining.
-
addRequestHeadersToRemove
public Route.Builder addRequestHeadersToRemove(java.lang.String value)
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12 [(.validate.rules) = { ... }
- Parameters:
value
- The requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
addAllRequestHeadersToRemove
public Route.Builder addAllRequestHeadersToRemove(java.lang.Iterable<java.lang.String> values)
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12 [(.validate.rules) = { ... }
- Parameters:
values
- The requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
clearRequestHeadersToRemove
public Route.Builder clearRequestHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
addRequestHeadersToRemoveBytes
public Route.Builder addRequestHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes of the requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
ensureResponseHeadersToAddIsMutable
private void ensureResponseHeadersToAddIsMutable()
-
getResponseHeadersToAddList
public java.util.List<HeaderValueOption> getResponseHeadersToAddList()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
- Specified by:
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
public HeaderValueOption getResponseHeadersToAdd(int index)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAdd
in interfaceRouteOrBuilder
-
setResponseHeadersToAdd
public Route.Builder setResponseHeadersToAdd(int index, HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
setResponseHeadersToAdd
public Route.Builder setResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public Route.Builder addResponseHeadersToAdd(HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public Route.Builder addResponseHeadersToAdd(int index, HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public Route.Builder addResponseHeadersToAdd(HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public Route.Builder addResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addAllResponseHeadersToAdd
public Route.Builder addAllResponseHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
clearResponseHeadersToAdd
public Route.Builder clearResponseHeadersToAdd()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
removeResponseHeadersToAdd
public Route.Builder removeResponseHeadersToAdd(int index)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
getResponseHeadersToAddBuilder
public HeaderValueOption.Builder getResponseHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
getResponseHeadersToAddOrBuilder
public HeaderValueOptionOrBuilder getResponseHeadersToAddOrBuilder(int index)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAddOrBuilder
in interfaceRouteOrBuilder
-
getResponseHeadersToAddOrBuilderList
public java.util.List<? extends HeaderValueOptionOrBuilder> getResponseHeadersToAddOrBuilderList()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAddOrBuilderList
in interfaceRouteOrBuilder
-
addResponseHeadersToAddBuilder
public HeaderValueOption.Builder addResponseHeadersToAddBuilder()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addResponseHeadersToAddBuilder
public HeaderValueOption.Builder addResponseHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
getResponseHeadersToAddBuilderList
public java.util.List<HeaderValueOption.Builder> getResponseHeadersToAddBuilderList()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` and :ref:`envoy_v3_api_msg_config.route.v3.RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
getResponseHeadersToAddFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> getResponseHeadersToAddFieldBuilder()
-
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
public java.lang.String getResponseHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }
- Specified by:
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
public Route.Builder setResponseHeadersToRemove(int index, java.lang.String value)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }
- Parameters:
index
- The index to set the value at.value
- The responseHeadersToRemove to set.- Returns:
- This builder for chaining.
-
addResponseHeadersToRemove
public Route.Builder addResponseHeadersToRemove(java.lang.String value)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }
- Parameters:
value
- The responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
addAllResponseHeadersToRemove
public Route.Builder addAllResponseHeadersToRemove(java.lang.Iterable<java.lang.String> values)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }
- Parameters:
values
- The responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
clearResponseHeadersToRemove
public Route.Builder clearResponseHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
addResponseHeadersToRemoveBytes
public Route.Builder addResponseHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes of the responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
hasTracing
public boolean hasTracing()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;
- Specified by:
hasTracing
in interfaceRouteOrBuilder
- Returns:
- Whether the tracing field is set.
-
getTracing
public Tracing getTracing()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;
- Specified by:
getTracing
in interfaceRouteOrBuilder
- Returns:
- The tracing.
-
setTracing
public Route.Builder setTracing(Tracing value)
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;
-
setTracing
public Route.Builder setTracing(Tracing.Builder builderForValue)
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;
-
mergeTracing
public Route.Builder mergeTracing(Tracing value)
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;
-
clearTracing
public Route.Builder clearTracing()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;
-
getTracingBuilder
public Tracing.Builder getTracingBuilder()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;
-
getTracingOrBuilder
public TracingOrBuilder getTracingOrBuilder()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v3.Tracing tracing = 15;
- Specified by:
getTracingOrBuilder
in interfaceRouteOrBuilder
-
getTracingFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Tracing,Tracing.Builder,TracingOrBuilder> getTracingFieldBuilder()
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
public Route.Builder setPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value)
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;
-
setPerRequestBufferLimitBytes
public Route.Builder setPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;
-
mergePerRequestBufferLimitBytes
public Route.Builder mergePerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value)
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;
-
clearPerRequestBufferLimitBytes
public Route.Builder clearPerRequestBufferLimitBytes()
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;
-
getPerRequestBufferLimitBytesBuilder
public com.google.protobuf.UInt32Value.Builder getPerRequestBufferLimitBytesBuilder()
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;
-
getPerRequestBufferLimitBytesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getPerRequestBufferLimitBytesOrBuilder()
The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;
- Specified by:
getPerRequestBufferLimitBytesOrBuilder
in interfaceRouteOrBuilder
-
getPerRequestBufferLimitBytesFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> getPerRequestBufferLimitBytesFieldBuilder()
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
public java.lang.String getStatPrefix()
The human readable prefix to use when emitting statistics for this endpoint. The statistics are rooted at vhost.<virtual host name>.route.<stat_prefix>. This should be set for highly critical endpoints that one wishes to get “per-route” statistics on. If not set, endpoint statistics are not generated. The emitted statistics are the same as those documented for :ref:`virtual clusters <config_http_filters_router_vcluster_stats>`. .. warning:: We do not recommend setting up a stat prefix for every application endpoint. This is both not easily maintainable and statistics use a non-trivial amount of memory(approximately 1KiB per route).
string stat_prefix = 19;
- Specified by:
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
public Route.Builder setStatPrefix(java.lang.String value)
The human readable prefix to use when emitting statistics for this endpoint. The statistics are rooted at vhost.<virtual host name>.route.<stat_prefix>. This should be set for highly critical endpoints that one wishes to get “per-route” statistics on. If not set, endpoint statistics are not generated. The emitted statistics are the same as those documented for :ref:`virtual clusters <config_http_filters_router_vcluster_stats>`. .. warning:: We do not recommend setting up a stat prefix for every application endpoint. This is both not easily maintainable and statistics use a non-trivial amount of memory(approximately 1KiB per route).
string stat_prefix = 19;
- Parameters:
value
- The statPrefix to set.- Returns:
- This builder for chaining.
-
clearStatPrefix
public Route.Builder clearStatPrefix()
The human readable prefix to use when emitting statistics for this endpoint. The statistics are rooted at vhost.<virtual host name>.route.<stat_prefix>. This should be set for highly critical endpoints that one wishes to get “per-route” statistics on. If not set, endpoint statistics are not generated. The emitted statistics are the same as those documented for :ref:`virtual clusters <config_http_filters_router_vcluster_stats>`. .. warning:: We do not recommend setting up a stat prefix for every application endpoint. This is both not easily maintainable and statistics use a non-trivial amount of memory(approximately 1KiB per route).
string stat_prefix = 19;
- Returns:
- This builder for chaining.
-
setStatPrefixBytes
public Route.Builder setStatPrefixBytes(com.google.protobuf.ByteString value)
The human readable prefix to use when emitting statistics for this endpoint. The statistics are rooted at vhost.<virtual host name>.route.<stat_prefix>. This should be set for highly critical endpoints that one wishes to get “per-route” statistics on. If not set, endpoint statistics are not generated. The emitted statistics are the same as those documented for :ref:`virtual clusters <config_http_filters_router_vcluster_stats>`. .. warning:: We do not recommend setting up a stat prefix for every application endpoint. This is both not easily maintainable and statistics use a non-trivial amount of memory(approximately 1KiB per route).
string stat_prefix = 19;
- Parameters:
value
- The bytes for statPrefix to set.- Returns:
- This builder for chaining.
-
-