public static final class RouteOuterClass.Route.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.Route.Builder> implements RouteOuterClass.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>`.Protobuf type
envoy.api.v2.route.Route| Modifier and Type | Method and Description |
|---|---|
RouteOuterClass.Route.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.Route |
build() |
RouteOuterClass.Route |
buildPartial() |
RouteOuterClass.Route.Builder |
clear() |
RouteOuterClass.Route.Builder |
clearAction() |
RouteOuterClass.Route.Builder |
clearAuth()
[#not-implemented-hide:]
Return a 401/403 when auth checks fail.
|
RouteOuterClass.Route.Builder |
clearDecorator()
Decorator for the matched route.
|
RouteOuterClass.Route.Builder |
clearDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
|
RouteOuterClass.Route.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteOuterClass.Route.Builder |
clearMatch()
Route matching parameters.
|
RouteOuterClass.Route.Builder |
clearMetadata()
The Metadata field can be used to provide additional information
about the route.
|
RouteOuterClass.Route.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteOuterClass.Route.Builder |
clearPerFilterConfig() |
RouteOuterClass.Route.Builder |
clearRedirect()
Return a redirect.
|
RouteOuterClass.Route.Builder |
clearRoute()
Route request to some upstream cluster.
|
RouteOuterClass.Route.Builder |
clone() |
boolean |
containsPerFilterConfig(String key)
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
RouteOuterClass.Route.ActionCase |
getActionCase() |
Auth.AuthAction |
getAuth()
[#not-implemented-hide:]
Return a 401/403 when auth checks fail.
|
Auth.AuthAction.Builder |
getAuthBuilder()
[#not-implemented-hide:]
Return a 401/403 when auth checks fail.
|
Auth.AuthActionOrBuilder |
getAuthOrBuilder()
[#not-implemented-hide:]
Return a 401/403 when auth checks fail.
|
RouteOuterClass.Decorator |
getDecorator()
Decorator for the matched route.
|
RouteOuterClass.Decorator.Builder |
getDecoratorBuilder()
Decorator for the matched route.
|
RouteOuterClass.DecoratorOrBuilder |
getDecoratorOrBuilder()
Decorator for the matched route.
|
RouteOuterClass.Route |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RouteOuterClass.DirectResponseAction |
getDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
|
RouteOuterClass.DirectResponseAction.Builder |
getDirectResponseBuilder()
Return an arbitrary HTTP response directly, without proxying.
|
RouteOuterClass.DirectResponseActionOrBuilder |
getDirectResponseOrBuilder()
Return an arbitrary HTTP response directly, without proxying.
|
RouteOuterClass.RouteMatch |
getMatch()
Route matching parameters.
|
RouteOuterClass.RouteMatch.Builder |
getMatchBuilder()
Route matching parameters.
|
RouteOuterClass.RouteMatchOrBuilder |
getMatchOrBuilder()
Route matching parameters.
|
Base.Metadata |
getMetadata()
The Metadata field can be used to provide additional information
about the route.
|
Base.Metadata.Builder |
getMetadataBuilder()
The Metadata field can be used to provide additional information
about the route.
|
Base.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.Struct> |
getPerFilterConfig()
Deprecated.
|
int |
getPerFilterConfigCount()
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
Map<String,com.google.protobuf.Struct> |
getPerFilterConfigMap()
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
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.
|
com.google.protobuf.Struct |
getPerFilterConfigOrThrow(String key)
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
RouteOuterClass.RedirectAction |
getRedirect()
Return a redirect.
|
RouteOuterClass.RedirectAction.Builder |
getRedirectBuilder()
Return a redirect.
|
RouteOuterClass.RedirectActionOrBuilder |
getRedirectOrBuilder()
Return a redirect.
|
RouteOuterClass.RouteAction |
getRoute()
Route request to some upstream cluster.
|
RouteOuterClass.RouteAction.Builder |
getRouteBuilder()
Route request to some upstream cluster.
|
RouteOuterClass.RouteActionOrBuilder |
getRouteOrBuilder()
Route request to some upstream cluster.
|
boolean |
hasAuth()
[#not-implemented-hide:]
Return a 401/403 when auth checks fail.
|
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() |
RouteOuterClass.Route.Builder |
mergeAuth(Auth.AuthAction value)
[#not-implemented-hide:]
Return a 401/403 when auth checks fail.
|
RouteOuterClass.Route.Builder |
mergeDecorator(RouteOuterClass.Decorator value)
Decorator for the matched route.
|
RouteOuterClass.Route.Builder |
mergeDirectResponse(RouteOuterClass.DirectResponseAction value)
Return an arbitrary HTTP response directly, without proxying.
|
RouteOuterClass.Route.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteOuterClass.Route.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteOuterClass.Route.Builder |
mergeFrom(RouteOuterClass.Route other) |
RouteOuterClass.Route.Builder |
mergeMatch(RouteOuterClass.RouteMatch value)
Route matching parameters.
|
RouteOuterClass.Route.Builder |
mergeMetadata(Base.Metadata value)
The Metadata field can be used to provide additional information
about the route.
|
RouteOuterClass.Route.Builder |
mergeRedirect(RouteOuterClass.RedirectAction value)
Return a redirect.
|
RouteOuterClass.Route.Builder |
mergeRoute(RouteOuterClass.RouteAction value)
Route request to some upstream cluster.
|
RouteOuterClass.Route.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteOuterClass.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.
|
RouteOuterClass.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.
|
RouteOuterClass.Route.Builder |
removePerFilterConfig(String key)
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
RouteOuterClass.Route.Builder |
setAuth(Auth.AuthAction.Builder builderForValue)
[#not-implemented-hide:]
Return a 401/403 when auth checks fail.
|
RouteOuterClass.Route.Builder |
setAuth(Auth.AuthAction value)
[#not-implemented-hide:]
Return a 401/403 when auth checks fail.
|
RouteOuterClass.Route.Builder |
setDecorator(RouteOuterClass.Decorator.Builder builderForValue)
Decorator for the matched route.
|
RouteOuterClass.Route.Builder |
setDecorator(RouteOuterClass.Decorator value)
Decorator for the matched route.
|
RouteOuterClass.Route.Builder |
setDirectResponse(RouteOuterClass.DirectResponseAction.Builder builderForValue)
Return an arbitrary HTTP response directly, without proxying.
|
RouteOuterClass.Route.Builder |
setDirectResponse(RouteOuterClass.DirectResponseAction value)
Return an arbitrary HTTP response directly, without proxying.
|
RouteOuterClass.Route.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.Route.Builder |
setMatch(RouteOuterClass.RouteMatch.Builder builderForValue)
Route matching parameters.
|
RouteOuterClass.Route.Builder |
setMatch(RouteOuterClass.RouteMatch value)
Route matching parameters.
|
RouteOuterClass.Route.Builder |
setMetadata(Base.Metadata.Builder builderForValue)
The Metadata field can be used to provide additional information
about the route.
|
RouteOuterClass.Route.Builder |
setMetadata(Base.Metadata value)
The Metadata field can be used to provide additional information
about the route.
|
RouteOuterClass.Route.Builder |
setRedirect(RouteOuterClass.RedirectAction.Builder builderForValue)
Return a redirect.
|
RouteOuterClass.Route.Builder |
setRedirect(RouteOuterClass.RedirectAction value)
Return a redirect.
|
RouteOuterClass.Route.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteOuterClass.Route.Builder |
setRoute(RouteOuterClass.RouteAction.Builder builderForValue)
Route request to some upstream cluster.
|
RouteOuterClass.Route.Builder |
setRoute(RouteOuterClass.RouteAction value)
Route request to some upstream cluster.
|
RouteOuterClass.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<RouteOuterClass.Route.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.Route.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.Route.Builder>public RouteOuterClass.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<RouteOuterClass.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<RouteOuterClass.Route.Builder>public RouteOuterClass.Route getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteOuterClass.Route build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.Route buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.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<RouteOuterClass.Route.Builder>public RouteOuterClass.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<RouteOuterClass.Route.Builder>public RouteOuterClass.Route.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.Route.Builder>public RouteOuterClass.Route.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.Route.Builder>public RouteOuterClass.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<RouteOuterClass.Route.Builder>public RouteOuterClass.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<RouteOuterClass.Route.Builder>public RouteOuterClass.Route.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteOuterClass.Route.Builder>public RouteOuterClass.Route.Builder mergeFrom(RouteOuterClass.Route other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.Route.Builder>public RouteOuterClass.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<RouteOuterClass.Route.Builder>IOExceptionpublic RouteOuterClass.Route.ActionCase getActionCase()
getActionCase in interface RouteOuterClass.RouteOrBuilderpublic RouteOuterClass.Route.Builder clearAction()
public boolean hasMatch()
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }hasMatch in interface RouteOuterClass.RouteOrBuilderpublic RouteOuterClass.RouteMatch getMatch()
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }getMatch in interface RouteOuterClass.RouteOrBuilderpublic RouteOuterClass.Route.Builder setMatch(RouteOuterClass.RouteMatch value)
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }public RouteOuterClass.Route.Builder setMatch(RouteOuterClass.RouteMatch.Builder builderForValue)
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }public RouteOuterClass.Route.Builder mergeMatch(RouteOuterClass.RouteMatch value)
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }public RouteOuterClass.Route.Builder clearMatch()
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }public RouteOuterClass.RouteMatch.Builder getMatchBuilder()
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }public RouteOuterClass.RouteMatchOrBuilder getMatchOrBuilder()
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }getMatchOrBuilder in interface RouteOuterClass.RouteOrBuilderpublic boolean hasRoute()
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;hasRoute in interface RouteOuterClass.RouteOrBuilderpublic RouteOuterClass.RouteAction getRoute()
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;getRoute in interface RouteOuterClass.RouteOrBuilderpublic RouteOuterClass.Route.Builder setRoute(RouteOuterClass.RouteAction value)
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;public RouteOuterClass.Route.Builder setRoute(RouteOuterClass.RouteAction.Builder builderForValue)
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;public RouteOuterClass.Route.Builder mergeRoute(RouteOuterClass.RouteAction value)
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;public RouteOuterClass.Route.Builder clearRoute()
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;public RouteOuterClass.RouteAction.Builder getRouteBuilder()
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;public RouteOuterClass.RouteActionOrBuilder getRouteOrBuilder()
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;getRouteOrBuilder in interface RouteOuterClass.RouteOrBuilderpublic boolean hasRedirect()
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;hasRedirect in interface RouteOuterClass.RouteOrBuilderpublic RouteOuterClass.RedirectAction getRedirect()
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;getRedirect in interface RouteOuterClass.RouteOrBuilderpublic RouteOuterClass.Route.Builder setRedirect(RouteOuterClass.RedirectAction value)
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;public RouteOuterClass.Route.Builder setRedirect(RouteOuterClass.RedirectAction.Builder builderForValue)
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;public RouteOuterClass.Route.Builder mergeRedirect(RouteOuterClass.RedirectAction value)
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;public RouteOuterClass.Route.Builder clearRedirect()
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;public RouteOuterClass.RedirectAction.Builder getRedirectBuilder()
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;public RouteOuterClass.RedirectActionOrBuilder getRedirectOrBuilder()
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;getRedirectOrBuilder in interface RouteOuterClass.RouteOrBuilderpublic boolean hasDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;hasDirectResponse in interface RouteOuterClass.RouteOrBuilderpublic RouteOuterClass.DirectResponseAction getDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;getDirectResponse in interface RouteOuterClass.RouteOrBuilderpublic RouteOuterClass.Route.Builder setDirectResponse(RouteOuterClass.DirectResponseAction value)
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;public RouteOuterClass.Route.Builder setDirectResponse(RouteOuterClass.DirectResponseAction.Builder builderForValue)
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;public RouteOuterClass.Route.Builder mergeDirectResponse(RouteOuterClass.DirectResponseAction value)
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;public RouteOuterClass.Route.Builder clearDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;public RouteOuterClass.DirectResponseAction.Builder getDirectResponseBuilder()
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;public RouteOuterClass.DirectResponseActionOrBuilder getDirectResponseOrBuilder()
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;getDirectResponseOrBuilder in interface RouteOuterClass.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 RouteOuterClass.RouteOrBuilderpublic Base.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 RouteOuterClass.RouteOrBuilderpublic RouteOuterClass.Route.Builder setMetadata(Base.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 RouteOuterClass.Route.Builder setMetadata(Base.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 RouteOuterClass.Route.Builder mergeMetadata(Base.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 RouteOuterClass.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 Base.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 Base.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 RouteOuterClass.RouteOrBuilderpublic boolean hasDecorator()
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;hasDecorator in interface RouteOuterClass.RouteOrBuilderpublic RouteOuterClass.Decorator getDecorator()
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;getDecorator in interface RouteOuterClass.RouteOrBuilderpublic RouteOuterClass.Route.Builder setDecorator(RouteOuterClass.Decorator value)
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;public RouteOuterClass.Route.Builder setDecorator(RouteOuterClass.Decorator.Builder builderForValue)
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;public RouteOuterClass.Route.Builder mergeDecorator(RouteOuterClass.Decorator value)
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;public RouteOuterClass.Route.Builder clearDecorator()
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;public RouteOuterClass.Decorator.Builder getDecoratorBuilder()
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;public RouteOuterClass.DecoratorOrBuilder getDecoratorOrBuilder()
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;getDecoratorOrBuilder in interface RouteOuterClass.RouteOrBuilderpublic boolean hasAuth()
[#not-implemented-hide:] Return a 401/403 when auth checks fail.
.envoy.api.v2.auth.AuthAction auth = 6;hasAuth in interface RouteOuterClass.RouteOrBuilderpublic Auth.AuthAction getAuth()
[#not-implemented-hide:] Return a 401/403 when auth checks fail.
.envoy.api.v2.auth.AuthAction auth = 6;getAuth in interface RouteOuterClass.RouteOrBuilderpublic RouteOuterClass.Route.Builder setAuth(Auth.AuthAction value)
[#not-implemented-hide:] Return a 401/403 when auth checks fail.
.envoy.api.v2.auth.AuthAction auth = 6;public RouteOuterClass.Route.Builder setAuth(Auth.AuthAction.Builder builderForValue)
[#not-implemented-hide:] Return a 401/403 when auth checks fail.
.envoy.api.v2.auth.AuthAction auth = 6;public RouteOuterClass.Route.Builder mergeAuth(Auth.AuthAction value)
[#not-implemented-hide:] Return a 401/403 when auth checks fail.
.envoy.api.v2.auth.AuthAction auth = 6;public RouteOuterClass.Route.Builder clearAuth()
[#not-implemented-hide:] Return a 401/403 when auth checks fail.
.envoy.api.v2.auth.AuthAction auth = 6;public Auth.AuthAction.Builder getAuthBuilder()
[#not-implemented-hide:] Return a 401/403 when auth checks fail.
.envoy.api.v2.auth.AuthAction auth = 6;public Auth.AuthActionOrBuilder getAuthOrBuilder()
[#not-implemented-hide:] Return a 401/403 when auth checks fail.
.envoy.api.v2.auth.AuthAction auth = 6;getAuthOrBuilder in interface RouteOuterClass.RouteOrBuilderpublic int getPerFilterConfigCount()
RouteOuterClass.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;getPerFilterConfigCount in interface RouteOuterClass.RouteOrBuilderpublic 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;containsPerFilterConfig in interface RouteOuterClass.RouteOrBuilder@Deprecated public Map<String,com.google.protobuf.Struct> getPerFilterConfig()
getPerFilterConfigMap() instead.getPerFilterConfig in interface RouteOuterClass.RouteOrBuilderpublic 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;getPerFilterConfigMap in interface RouteOuterClass.RouteOrBuilderpublic 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;getPerFilterConfigOrDefault in interface RouteOuterClass.RouteOrBuilderpublic 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;getPerFilterConfigOrThrow in interface RouteOuterClass.RouteOrBuilderpublic RouteOuterClass.Route.Builder clearPerFilterConfig()
public RouteOuterClass.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 public Map<String,com.google.protobuf.Struct> getMutablePerFilterConfig()
public RouteOuterClass.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;public RouteOuterClass.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;public final RouteOuterClass.Route.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.Route.Builder>public final RouteOuterClass.Route.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.Route.Builder>Copyright © 2018 The Envoy Project. All rights reserved.