public static final class Route.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder> implements RouteOrBuilder
A route is both a specification of how to match a request as well as an indication of what to do next (e.g., redirect, forward, rewrite, etc.). .. attention:: Envoy supports routing on HTTP method via :ref:`header matching <envoy_api_msg_route.HeaderMatcher>`. [#comment:next free field: 14]Protobuf type
envoy.api.v2.route.Route| Modifier and Type | Method and Description |
|---|---|
Route.Builder |
addAllRequestHeadersToAdd(Iterable<? extends HeaderValueOption> values)
Specifies a set of headers that will be added to requests matching this
route.
|
Route.Builder |
addAllRequestHeadersToRemove(Iterable<String> values)
Specifies a list of HTTP headers that should be removed from each request
matching this route.
|
Route.Builder |
addAllResponseHeadersToAdd(Iterable<? extends HeaderValueOption> values)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
Route.Builder |
addAllResponseHeadersToRemove(Iterable<String> values)
Specifies a list of HTTP headers that should be removed from each response
to requests matching this route.
|
Route.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Route.Builder |
addRequestHeadersToAdd(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(int index,
HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added 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.
|
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(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(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(int index,
HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests
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.
|
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(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() |
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 |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Route.Builder |
clearMatch()
Route matching parameters.
|
Route.Builder |
clearMetadata()
The Metadata field can be used to provide additional information
about the route.
|
Route.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Route.Builder |
clearPerFilterConfig()
Deprecated.
|
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 |
clearTypedPerFilterConfig() |
Route.Builder |
clone() |
boolean |
containsPerFilterConfig(String key)
Deprecated.
|
boolean |
containsTypedPerFilterConfig(String key)
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
Route.ActionCase |
getActionCase() |
Decorator |
getDecorator()
Decorator for the matched route.
|
Decorator.Builder |
getDecoratorBuilder()
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.
|
DirectResponseActionOrBuilder |
getDirectResponseOrBuilder()
Return an arbitrary HTTP response directly, without proxying.
|
RouteMatch |
getMatch()
Route matching parameters.
|
RouteMatch.Builder |
getMatchBuilder()
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.
|
MetadataOrBuilder |
getMetadataOrBuilder()
The Metadata field can be used to provide additional information
about the route.
|
Map<String,com.google.protobuf.Struct> |
getMutablePerFilterConfig()
Deprecated.
|
Map<String,com.google.protobuf.Any> |
getMutableTypedPerFilterConfig()
Deprecated.
|
Map<String,com.google.protobuf.Struct> |
getPerFilterConfig()
Deprecated.
|
int |
getPerFilterConfigCount()
Deprecated.
|
Map<String,com.google.protobuf.Struct> |
getPerFilterConfigMap()
Deprecated.
|
com.google.protobuf.Struct |
getPerFilterConfigOrDefault(String key,
com.google.protobuf.Struct defaultValue)
Deprecated.
|
com.google.protobuf.Struct |
getPerFilterConfigOrThrow(String key)
Deprecated.
|
RedirectAction |
getRedirect()
Return a redirect.
|
RedirectAction.Builder |
getRedirectBuilder()
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.
|
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.
|
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.
|
List<? extends HeaderValueOptionOrBuilder> |
getRequestHeadersToAddOrBuilderList()
Specifies a set of headers that will be added to requests matching this
route.
|
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.
|
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.
|
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.
|
List<? extends HeaderValueOptionOrBuilder> |
getResponseHeadersToAddOrBuilderList()
Specifies a set of headers that will be added to responses to requests
matching this route.
|
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.
|
RouteActionOrBuilder |
getRouteOrBuilder()
Route request to some upstream cluster.
|
Map<String,com.google.protobuf.Any> |
getTypedPerFilterConfig()
Deprecated.
|
int |
getTypedPerFilterConfigCount()
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
Map<String,com.google.protobuf.Any> |
getTypedPerFilterConfigMap()
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
com.google.protobuf.Any |
getTypedPerFilterConfigOrDefault(String key,
com.google.protobuf.Any defaultValue)
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
com.google.protobuf.Any |
getTypedPerFilterConfigOrThrow(String key)
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
boolean |
hasDecorator()
Decorator for the matched route.
|
boolean |
hasDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
|
boolean |
hasMatch()
Route matching parameters.
|
boolean |
hasMetadata()
The Metadata field can be used to provide additional information
about the route.
|
boolean |
hasRedirect()
Return a redirect.
|
boolean |
hasRoute()
Route request to some upstream cluster.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
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 |
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 |
mergeRedirect(RedirectAction value)
Return a redirect.
|
Route.Builder |
mergeRoute(RouteAction value)
Route request to some upstream cluster.
|
Route.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Route.Builder |
putAllPerFilterConfig(Map<String,com.google.protobuf.Struct> values)
Deprecated.
|
Route.Builder |
putAllTypedPerFilterConfig(Map<String,com.google.protobuf.Any> values)
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
Route.Builder |
putPerFilterConfig(String key,
com.google.protobuf.Struct value)
Deprecated.
|
Route.Builder |
putTypedPerFilterConfig(String key,
com.google.protobuf.Any value)
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
Route.Builder |
removePerFilterConfig(String key)
Deprecated.
|
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(String key)
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
Route.Builder |
setDecorator(Decorator.Builder builderForValue)
Decorator for the matched route.
|
Route.Builder |
setDecorator(Decorator value)
Decorator for the matched route.
|
Route.Builder |
setDirectResponse(DirectResponseAction.Builder builderForValue)
Return an arbitrary HTTP response directly, without proxying.
|
Route.Builder |
setDirectResponse(DirectResponseAction value)
Return an arbitrary HTTP response directly, without proxying.
|
Route.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Route.Builder |
setMatch(RouteMatch.Builder builderForValue)
Route matching parameters.
|
Route.Builder |
setMatch(RouteMatch value)
Route matching parameters.
|
Route.Builder |
setMetadata(Metadata.Builder builderForValue)
The Metadata field can be used to provide additional information
about the route.
|
Route.Builder |
setMetadata(Metadata value)
The Metadata field can be used to provide additional information
about the route.
|
Route.Builder |
setRedirect(RedirectAction.Builder builderForValue)
Return a redirect.
|
Route.Builder |
setRedirect(RedirectAction value)
Return a redirect.
|
Route.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Route.Builder |
setRequestHeadersToAdd(int index,
HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this
route.
|
Route.Builder |
setRequestHeadersToAdd(int index,
HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this
route.
|
Route.Builder |
setRequestHeadersToRemove(int index,
String value)
Specifies a list of HTTP headers that should be removed from each request
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 |
setResponseHeadersToAdd(int index,
HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
Route.Builder |
setResponseHeadersToRemove(int index,
String value)
Specifies a list of HTTP headers that should be removed from each response
to requests matching this route.
|
Route.Builder |
setRoute(RouteAction.Builder builderForValue)
Route request to some upstream cluster.
|
Route.Builder |
setRoute(RouteAction value)
Route request to some upstream cluster.
|
Route.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Route build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Route buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Route.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Route.Builder>public Route.Builder mergeFrom(Route other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public Route.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Route.Builder>IOExceptionpublic Route.ActionCase getActionCase()
getActionCase in interface RouteOrBuilderpublic Route.Builder clearAction()
public boolean hasMatch()
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }hasMatch in interface RouteOrBuilderpublic RouteMatch getMatch()
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }getMatch in interface RouteOrBuilderpublic Route.Builder setMatch(RouteMatch value)
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }public Route.Builder setMatch(RouteMatch.Builder builderForValue)
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }public Route.Builder mergeMatch(RouteMatch value)
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }public Route.Builder clearMatch()
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }public RouteMatch.Builder getMatchBuilder()
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }public RouteMatchOrBuilder getMatchOrBuilder()
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }getMatchOrBuilder in interface RouteOrBuilderpublic boolean hasRoute()
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;hasRoute in interface RouteOrBuilderpublic RouteAction getRoute()
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;getRoute in interface RouteOrBuilderpublic Route.Builder setRoute(RouteAction value)
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;public Route.Builder setRoute(RouteAction.Builder builderForValue)
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;public Route.Builder mergeRoute(RouteAction value)
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;public Route.Builder clearRoute()
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;public RouteAction.Builder getRouteBuilder()
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;public RouteActionOrBuilder getRouteOrBuilder()
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;getRouteOrBuilder in interface RouteOrBuilderpublic boolean hasRedirect()
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;hasRedirect in interface RouteOrBuilderpublic RedirectAction getRedirect()
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;getRedirect in interface RouteOrBuilderpublic Route.Builder setRedirect(RedirectAction value)
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;public Route.Builder setRedirect(RedirectAction.Builder builderForValue)
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;public Route.Builder mergeRedirect(RedirectAction value)
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;public Route.Builder clearRedirect()
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;public RedirectAction.Builder getRedirectBuilder()
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;public RedirectActionOrBuilder getRedirectOrBuilder()
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;getRedirectOrBuilder in interface RouteOrBuilderpublic boolean hasDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;hasDirectResponse in interface RouteOrBuilderpublic DirectResponseAction getDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;getDirectResponse in interface RouteOrBuilderpublic Route.Builder setDirectResponse(DirectResponseAction value)
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;public Route.Builder setDirectResponse(DirectResponseAction.Builder builderForValue)
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;public Route.Builder mergeDirectResponse(DirectResponseAction value)
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;public Route.Builder clearDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;public DirectResponseAction.Builder getDirectResponseBuilder()
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;public DirectResponseActionOrBuilder getDirectResponseOrBuilder()
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;getDirectResponseOrBuilder in interface RouteOrBuilderpublic 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.router*.
.envoy.api.v2.core.Metadata metadata = 4;hasMetadata in interface RouteOrBuilderpublic 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.router*.
.envoy.api.v2.core.Metadata metadata = 4;getMetadata in interface RouteOrBuilderpublic 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.router*.
.envoy.api.v2.core.Metadata metadata = 4;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.router*.
.envoy.api.v2.core.Metadata metadata = 4;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.router*.
.envoy.api.v2.core.Metadata metadata = 4;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.router*.
.envoy.api.v2.core.Metadata metadata = 4;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.router*.
.envoy.api.v2.core.Metadata metadata = 4;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.router*.
.envoy.api.v2.core.Metadata metadata = 4;getMetadataOrBuilder in interface RouteOrBuilderpublic boolean hasDecorator()
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;hasDecorator in interface RouteOrBuilderpublic Decorator getDecorator()
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;getDecorator in interface RouteOrBuilderpublic Route.Builder setDecorator(Decorator value)
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;public Route.Builder setDecorator(Decorator.Builder builderForValue)
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;public Route.Builder mergeDecorator(Decorator value)
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;public Route.Builder clearDecorator()
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;public Decorator.Builder getDecoratorBuilder()
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;public DecoratorOrBuilder getDecoratorOrBuilder()
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;getDecoratorOrBuilder in interface RouteOrBuilder@Deprecated public int getPerFilterConfigCount()
RouteOrBuilderThe per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];getPerFilterConfigCount in interface RouteOrBuilder@Deprecated public boolean containsPerFilterConfig(String key)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];containsPerFilterConfig in interface RouteOrBuilder@Deprecated public Map<String,com.google.protobuf.Struct> getPerFilterConfig()
getPerFilterConfigMap() instead.getPerFilterConfig in interface RouteOrBuilder@Deprecated public Map<String,com.google.protobuf.Struct> getPerFilterConfigMap()
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];getPerFilterConfigMap in interface RouteOrBuilder@Deprecated public com.google.protobuf.Struct getPerFilterConfigOrDefault(String key, com.google.protobuf.Struct defaultValue)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];getPerFilterConfigOrDefault in interface RouteOrBuilder@Deprecated public com.google.protobuf.Struct getPerFilterConfigOrThrow(String key)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];getPerFilterConfigOrThrow in interface RouteOrBuilder@Deprecated public Route.Builder clearPerFilterConfig()
@Deprecated public Route.Builder removePerFilterConfig(String key)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];@Deprecated public Map<String,com.google.protobuf.Struct> getMutablePerFilterConfig()
@Deprecated public Route.Builder putPerFilterConfig(String key, com.google.protobuf.Struct value)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];@Deprecated public Route.Builder putAllPerFilterConfig(Map<String,com.google.protobuf.Struct> values)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];public int getTypedPerFilterConfigCount()
RouteOrBuilderThe per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;getTypedPerFilterConfigCount in interface RouteOrBuilderpublic boolean containsTypedPerFilterConfig(String key)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;containsTypedPerFilterConfig in interface RouteOrBuilder@Deprecated public Map<String,com.google.protobuf.Any> getTypedPerFilterConfig()
getTypedPerFilterConfigMap() instead.getTypedPerFilterConfig in interface RouteOrBuilderpublic Map<String,com.google.protobuf.Any> getTypedPerFilterConfigMap()
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;getTypedPerFilterConfigMap in interface RouteOrBuilderpublic com.google.protobuf.Any getTypedPerFilterConfigOrDefault(String key, com.google.protobuf.Any defaultValue)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;getTypedPerFilterConfigOrDefault in interface RouteOrBuilderpublic com.google.protobuf.Any getTypedPerFilterConfigOrThrow(String key)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;getTypedPerFilterConfigOrThrow in interface RouteOrBuilderpublic Route.Builder clearTypedPerFilterConfig()
public Route.Builder removeTypedPerFilterConfig(String key)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;@Deprecated public Map<String,com.google.protobuf.Any> getMutableTypedPerFilterConfig()
public Route.Builder putTypedPerFilterConfig(String key, com.google.protobuf.Any value)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;public Route.Builder putAllTypedPerFilterConfig(Map<String,com.google.protobuf.Any> values)
The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;public List<HeaderValueOption> getRequestHeadersToAddList()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }getRequestHeadersToAddList in interface RouteOrBuilderpublic int getRequestHeadersToAddCount()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }getRequestHeadersToAddCount in interface RouteOrBuilderpublic 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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }getRequestHeadersToAdd in interface RouteOrBuilderpublic 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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }public Route.Builder addAllRequestHeadersToAdd(Iterable<? extends HeaderValueOption> values)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }getRequestHeadersToAddOrBuilder in interface RouteOrBuilderpublic 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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }getRequestHeadersToAddOrBuilderList in interface RouteOrBuilderpublic 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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }public List<HeaderValueOption.Builder> getRequestHeadersToAddBuilderList()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }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;getRequestHeadersToRemoveList in interface RouteOrBuilderpublic 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;getRequestHeadersToRemoveCount in interface RouteOrBuilderpublic 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;getRequestHeadersToRemove in interface RouteOrBuilderpublic 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;getRequestHeadersToRemoveBytes in interface RouteOrBuilderpublic Route.Builder setRequestHeadersToRemove(int index, String value)
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12;public Route.Builder addRequestHeadersToRemove(String value)
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12;public Route.Builder addAllRequestHeadersToRemove(Iterable<String> values)
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12;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;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;public List<HeaderValueOption> getResponseHeadersToAddList()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }getResponseHeadersToAddList in interface RouteOrBuilderpublic int getResponseHeadersToAddCount()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }getResponseHeadersToAddCount in interface RouteOrBuilderpublic 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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }getResponseHeadersToAdd in interface RouteOrBuilderpublic 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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }public Route.Builder addAllResponseHeadersToAdd(Iterable<? extends HeaderValueOption> values)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }getResponseHeadersToAddOrBuilder in interface RouteOrBuilderpublic 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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }getResponseHeadersToAddOrBuilderList in interface RouteOrBuilderpublic 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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }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_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }public List<HeaderValueOption.Builder> getResponseHeadersToAddBuilderList()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }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;getResponseHeadersToRemoveList in interface RouteOrBuilderpublic 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;getResponseHeadersToRemoveCount in interface RouteOrBuilderpublic 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;getResponseHeadersToRemove in interface RouteOrBuilderpublic 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;getResponseHeadersToRemoveBytes in interface RouteOrBuilderpublic Route.Builder setResponseHeadersToRemove(int index, String value)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11;public Route.Builder addResponseHeadersToRemove(String value)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11;public Route.Builder addAllResponseHeadersToRemove(Iterable<String> values)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11;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;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;public final Route.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>public final Route.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Route.Builder>Copyright © 2018–2019 The Envoy Project. All rights reserved.