Class RouteMatch.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<RouteMatch.Builder>
-
- io.envoyproxy.envoy.config.route.v3.RouteMatch.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,RouteMatchOrBuilder
,java.lang.Cloneable
- Enclosing class:
- RouteMatch
public static final class RouteMatch.Builder extends com.google.protobuf.GeneratedMessage.Builder<RouteMatch.Builder> implements RouteMatchOrBuilder
[#next-free-field: 16]
Protobuf typeenvoy.config.route.v3.RouteMatch
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteMatch.Builder
addAllDynamicMetadata(java.lang.Iterable<? extends MetadataMatcher> values)
Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.Builder
addAllHeaders(java.lang.Iterable<? extends HeaderMatcher> values)
Specifies a set of headers that the route should match on.RouteMatch.Builder
addAllQueryParameters(java.lang.Iterable<? extends QueryParameterMatcher> values)
Specifies a set of URL query parameters on which the route should match.RouteMatch.Builder
addDynamicMetadata(int index, MetadataMatcher value)
Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.Builder
addDynamicMetadata(int index, MetadataMatcher.Builder builderForValue)
Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.Builder
addDynamicMetadata(MetadataMatcher value)
Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.Builder
addDynamicMetadata(MetadataMatcher.Builder builderForValue)
Specifies a set of dynamic metadata matchers on which the route should match.MetadataMatcher.Builder
addDynamicMetadataBuilder()
Specifies a set of dynamic metadata matchers on which the route should match.MetadataMatcher.Builder
addDynamicMetadataBuilder(int index)
Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.Builder
addHeaders(int index, HeaderMatcher value)
Specifies a set of headers that the route should match on.RouteMatch.Builder
addHeaders(int index, HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on.RouteMatch.Builder
addHeaders(HeaderMatcher value)
Specifies a set of headers that the route should match on.RouteMatch.Builder
addHeaders(HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on.HeaderMatcher.Builder
addHeadersBuilder()
Specifies a set of headers that the route should match on.HeaderMatcher.Builder
addHeadersBuilder(int index)
Specifies a set of headers that the route should match on.RouteMatch.Builder
addQueryParameters(int index, QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should match.RouteMatch.Builder
addQueryParameters(int index, QueryParameterMatcher.Builder builderForValue)
Specifies a set of URL query parameters on which the route should match.RouteMatch.Builder
addQueryParameters(QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should match.RouteMatch.Builder
addQueryParameters(QueryParameterMatcher.Builder builderForValue)
Specifies a set of URL query parameters on which the route should match.QueryParameterMatcher.Builder
addQueryParametersBuilder()
Specifies a set of URL query parameters on which the route should match.QueryParameterMatcher.Builder
addQueryParametersBuilder(int index)
Specifies a set of URL query parameters on which the route should match.RouteMatch
build()
RouteMatch
buildPartial()
private void
buildPartial0(RouteMatch result)
private void
buildPartialOneofs(RouteMatch result)
private void
buildPartialRepeatedFields(RouteMatch result)
RouteMatch.Builder
clear()
RouteMatch.Builder
clearCaseSensitive()
Indicates that prefix/path matching should be case sensitive.RouteMatch.Builder
clearConnectMatcher()
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests.RouteMatch.Builder
clearDynamicMetadata()
Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.Builder
clearGrpc()
If specified, only gRPC requests will be matched.RouteMatch.Builder
clearHeaders()
Specifies a set of headers that the route should match on.RouteMatch.Builder
clearPath()
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.RouteMatch.Builder
clearPathMatchPolicy()
[#extension-category: envoy.path.match]RouteMatch.Builder
clearPathSeparatedPrefix()
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``RouteMatch.Builder
clearPathSpecifier()
RouteMatch.Builder
clearPrefix()
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.RouteMatch.Builder
clearQueryParameters()
Specifies a set of URL query parameters on which the route should match.RouteMatch.Builder
clearRuntimeFraction()
Indicates that the route should additionally match on a runtime key.RouteMatch.Builder
clearSafeRegex()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.RouteMatch.Builder
clearTlsContext()
If specified, the client tls context will be matched against the defined match options.private void
ensureDynamicMetadataIsMutable()
private void
ensureHeadersIsMutable()
private void
ensureQueryParametersIsMutable()
com.google.protobuf.BoolValue
getCaseSensitive()
Indicates that prefix/path matching should be case sensitive.com.google.protobuf.BoolValue.Builder
getCaseSensitiveBuilder()
Indicates that prefix/path matching should be case sensitive.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder>
getCaseSensitiveFieldBuilder()
Indicates that prefix/path matching should be case sensitive.com.google.protobuf.BoolValueOrBuilder
getCaseSensitiveOrBuilder()
Indicates that prefix/path matching should be case sensitive.RouteMatch.ConnectMatcher
getConnectMatcher()
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests.RouteMatch.ConnectMatcher.Builder
getConnectMatcherBuilder()
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests.private com.google.protobuf.SingleFieldBuilder<RouteMatch.ConnectMatcher,RouteMatch.ConnectMatcher.Builder,RouteMatch.ConnectMatcherOrBuilder>
getConnectMatcherFieldBuilder()
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests.RouteMatch.ConnectMatcherOrBuilder
getConnectMatcherOrBuilder()
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests.RouteMatch
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
MetadataMatcher
getDynamicMetadata(int index)
Specifies a set of dynamic metadata matchers on which the route should match.MetadataMatcher.Builder
getDynamicMetadataBuilder(int index)
Specifies a set of dynamic metadata matchers on which the route should match.java.util.List<MetadataMatcher.Builder>
getDynamicMetadataBuilderList()
Specifies a set of dynamic metadata matchers on which the route should match.int
getDynamicMetadataCount()
Specifies a set of dynamic metadata matchers on which the route should match.private com.google.protobuf.RepeatedFieldBuilder<MetadataMatcher,MetadataMatcher.Builder,MetadataMatcherOrBuilder>
getDynamicMetadataFieldBuilder()
java.util.List<MetadataMatcher>
getDynamicMetadataList()
Specifies a set of dynamic metadata matchers on which the route should match.MetadataMatcherOrBuilder
getDynamicMetadataOrBuilder(int index)
Specifies a set of dynamic metadata matchers on which the route should match.java.util.List<? extends MetadataMatcherOrBuilder>
getDynamicMetadataOrBuilderList()
Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.GrpcRouteMatchOptions
getGrpc()
If specified, only gRPC requests will be matched.RouteMatch.GrpcRouteMatchOptions.Builder
getGrpcBuilder()
If specified, only gRPC requests will be matched.private com.google.protobuf.SingleFieldBuilder<RouteMatch.GrpcRouteMatchOptions,RouteMatch.GrpcRouteMatchOptions.Builder,RouteMatch.GrpcRouteMatchOptionsOrBuilder>
getGrpcFieldBuilder()
If specified, only gRPC requests will be matched.RouteMatch.GrpcRouteMatchOptionsOrBuilder
getGrpcOrBuilder()
If specified, only gRPC requests will be matched.HeaderMatcher
getHeaders(int index)
Specifies a set of headers that the route should match on.HeaderMatcher.Builder
getHeadersBuilder(int index)
Specifies a set of headers that the route should match on.java.util.List<HeaderMatcher.Builder>
getHeadersBuilderList()
Specifies a set of headers that the route should match on.int
getHeadersCount()
Specifies a set of headers that the route should match on.private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher,HeaderMatcher.Builder,HeaderMatcherOrBuilder>
getHeadersFieldBuilder()
java.util.List<HeaderMatcher>
getHeadersList()
Specifies a set of headers that the route should match on.HeaderMatcherOrBuilder
getHeadersOrBuilder(int index)
Specifies a set of headers that the route should match on.java.util.List<? extends HeaderMatcherOrBuilder>
getHeadersOrBuilderList()
Specifies a set of headers that the route should match on.java.lang.String
getPath()
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.com.google.protobuf.ByteString
getPathBytes()
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.TypedExtensionConfig
getPathMatchPolicy()
[#extension-category: envoy.path.match]TypedExtensionConfig.Builder
getPathMatchPolicyBuilder()
[#extension-category: envoy.path.match]private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder>
getPathMatchPolicyFieldBuilder()
[#extension-category: envoy.path.match]TypedExtensionConfigOrBuilder
getPathMatchPolicyOrBuilder()
[#extension-category: envoy.path.match]java.lang.String
getPathSeparatedPrefix()
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``com.google.protobuf.ByteString
getPathSeparatedPrefixBytes()
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``RouteMatch.PathSpecifierCase
getPathSpecifierCase()
java.lang.String
getPrefix()
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.com.google.protobuf.ByteString
getPrefixBytes()
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.QueryParameterMatcher
getQueryParameters(int index)
Specifies a set of URL query parameters on which the route should match.QueryParameterMatcher.Builder
getQueryParametersBuilder(int index)
Specifies a set of URL query parameters on which the route should match.java.util.List<QueryParameterMatcher.Builder>
getQueryParametersBuilderList()
Specifies a set of URL query parameters on which the route should match.int
getQueryParametersCount()
Specifies a set of URL query parameters on which the route should match.private com.google.protobuf.RepeatedFieldBuilder<QueryParameterMatcher,QueryParameterMatcher.Builder,QueryParameterMatcherOrBuilder>
getQueryParametersFieldBuilder()
java.util.List<QueryParameterMatcher>
getQueryParametersList()
Specifies a set of URL query parameters on which the route should match.QueryParameterMatcherOrBuilder
getQueryParametersOrBuilder(int index)
Specifies a set of URL query parameters on which the route should match.java.util.List<? extends QueryParameterMatcherOrBuilder>
getQueryParametersOrBuilderList()
Specifies a set of URL query parameters on which the route should match.RuntimeFractionalPercent
getRuntimeFraction()
Indicates that the route should additionally match on a runtime key.RuntimeFractionalPercent.Builder
getRuntimeFractionBuilder()
Indicates that the route should additionally match on a runtime key.private com.google.protobuf.SingleFieldBuilder<RuntimeFractionalPercent,RuntimeFractionalPercent.Builder,RuntimeFractionalPercentOrBuilder>
getRuntimeFractionFieldBuilder()
Indicates that the route should additionally match on a runtime key.RuntimeFractionalPercentOrBuilder
getRuntimeFractionOrBuilder()
Indicates that the route should additionally match on a runtime key.RegexMatcher
getSafeRegex()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.RegexMatcher.Builder
getSafeRegexBuilder()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.private com.google.protobuf.SingleFieldBuilder<RegexMatcher,RegexMatcher.Builder,RegexMatcherOrBuilder>
getSafeRegexFieldBuilder()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.RegexMatcherOrBuilder
getSafeRegexOrBuilder()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.RouteMatch.TlsContextMatchOptions
getTlsContext()
If specified, the client tls context will be matched against the defined match options.RouteMatch.TlsContextMatchOptions.Builder
getTlsContextBuilder()
If specified, the client tls context will be matched against the defined match options.private com.google.protobuf.SingleFieldBuilder<RouteMatch.TlsContextMatchOptions,RouteMatch.TlsContextMatchOptions.Builder,RouteMatch.TlsContextMatchOptionsOrBuilder>
getTlsContextFieldBuilder()
If specified, the client tls context will be matched against the defined match options.RouteMatch.TlsContextMatchOptionsOrBuilder
getTlsContextOrBuilder()
If specified, the client tls context will be matched against the defined match options.boolean
hasCaseSensitive()
Indicates that prefix/path matching should be case sensitive.boolean
hasConnectMatcher()
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests.boolean
hasGrpc()
If specified, only gRPC requests will be matched.boolean
hasPath()
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.boolean
hasPathMatchPolicy()
[#extension-category: envoy.path.match]boolean
hasPathSeparatedPrefix()
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``boolean
hasPrefix()
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.boolean
hasRuntimeFraction()
Indicates that the route should additionally match on a runtime key.boolean
hasSafeRegex()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.boolean
hasTlsContext()
If specified, the client tls context will be matched against the defined match options.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
RouteMatch.Builder
mergeCaseSensitive(com.google.protobuf.BoolValue value)
Indicates that prefix/path matching should be case sensitive.RouteMatch.Builder
mergeConnectMatcher(RouteMatch.ConnectMatcher value)
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests.RouteMatch.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RouteMatch.Builder
mergeFrom(com.google.protobuf.Message other)
RouteMatch.Builder
mergeFrom(RouteMatch other)
RouteMatch.Builder
mergeGrpc(RouteMatch.GrpcRouteMatchOptions value)
If specified, only gRPC requests will be matched.RouteMatch.Builder
mergePathMatchPolicy(TypedExtensionConfig value)
[#extension-category: envoy.path.match]RouteMatch.Builder
mergeRuntimeFraction(RuntimeFractionalPercent value)
Indicates that the route should additionally match on a runtime key.RouteMatch.Builder
mergeSafeRegex(RegexMatcher value)
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.RouteMatch.Builder
mergeTlsContext(RouteMatch.TlsContextMatchOptions value)
If specified, the client tls context will be matched against the defined match options.RouteMatch.Builder
removeDynamicMetadata(int index)
Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.Builder
removeHeaders(int index)
Specifies a set of headers that the route should match on.RouteMatch.Builder
removeQueryParameters(int index)
Specifies a set of URL query parameters on which the route should match.RouteMatch.Builder
setCaseSensitive(com.google.protobuf.BoolValue value)
Indicates that prefix/path matching should be case sensitive.RouteMatch.Builder
setCaseSensitive(com.google.protobuf.BoolValue.Builder builderForValue)
Indicates that prefix/path matching should be case sensitive.RouteMatch.Builder
setConnectMatcher(RouteMatch.ConnectMatcher value)
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests.RouteMatch.Builder
setConnectMatcher(RouteMatch.ConnectMatcher.Builder builderForValue)
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests.RouteMatch.Builder
setDynamicMetadata(int index, MetadataMatcher value)
Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.Builder
setDynamicMetadata(int index, MetadataMatcher.Builder builderForValue)
Specifies a set of dynamic metadata matchers on which the route should match.RouteMatch.Builder
setGrpc(RouteMatch.GrpcRouteMatchOptions value)
If specified, only gRPC requests will be matched.RouteMatch.Builder
setGrpc(RouteMatch.GrpcRouteMatchOptions.Builder builderForValue)
If specified, only gRPC requests will be matched.RouteMatch.Builder
setHeaders(int index, HeaderMatcher value)
Specifies a set of headers that the route should match on.RouteMatch.Builder
setHeaders(int index, HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on.RouteMatch.Builder
setPath(java.lang.String value)
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.RouteMatch.Builder
setPathBytes(com.google.protobuf.ByteString value)
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.RouteMatch.Builder
setPathMatchPolicy(TypedExtensionConfig value)
[#extension-category: envoy.path.match]RouteMatch.Builder
setPathMatchPolicy(TypedExtensionConfig.Builder builderForValue)
[#extension-category: envoy.path.match]RouteMatch.Builder
setPathSeparatedPrefix(java.lang.String value)
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``RouteMatch.Builder
setPathSeparatedPrefixBytes(com.google.protobuf.ByteString value)
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``RouteMatch.Builder
setPrefix(java.lang.String value)
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.RouteMatch.Builder
setPrefixBytes(com.google.protobuf.ByteString value)
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.RouteMatch.Builder
setQueryParameters(int index, QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should match.RouteMatch.Builder
setQueryParameters(int index, QueryParameterMatcher.Builder builderForValue)
Specifies a set of URL query parameters on which the route should match.RouteMatch.Builder
setRuntimeFraction(RuntimeFractionalPercent value)
Indicates that the route should additionally match on a runtime key.RouteMatch.Builder
setRuntimeFraction(RuntimeFractionalPercent.Builder builderForValue)
Indicates that the route should additionally match on a runtime key.RouteMatch.Builder
setSafeRegex(RegexMatcher value)
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.RouteMatch.Builder
setSafeRegex(RegexMatcher.Builder builderForValue)
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed.RouteMatch.Builder
setTlsContext(RouteMatch.TlsContextMatchOptions value)
If specified, the client tls context will be matched against the defined match options.RouteMatch.Builder
setTlsContext(RouteMatch.TlsContextMatchOptions.Builder builderForValue)
If specified, the client tls context will be matched against the defined match options.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
pathSpecifierCase_
private int pathSpecifierCase_
-
pathSpecifier_
private java.lang.Object pathSpecifier_
-
bitField0_
private int bitField0_
-
safeRegexBuilder_
private com.google.protobuf.SingleFieldBuilder<RegexMatcher,RegexMatcher.Builder,RegexMatcherOrBuilder> safeRegexBuilder_
-
connectMatcherBuilder_
private com.google.protobuf.SingleFieldBuilder<RouteMatch.ConnectMatcher,RouteMatch.ConnectMatcher.Builder,RouteMatch.ConnectMatcherOrBuilder> connectMatcherBuilder_
-
pathMatchPolicyBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder> pathMatchPolicyBuilder_
-
caseSensitive_
private com.google.protobuf.BoolValue caseSensitive_
-
caseSensitiveBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> caseSensitiveBuilder_
-
runtimeFraction_
private RuntimeFractionalPercent runtimeFraction_
-
runtimeFractionBuilder_
private com.google.protobuf.SingleFieldBuilder<RuntimeFractionalPercent,RuntimeFractionalPercent.Builder,RuntimeFractionalPercentOrBuilder> runtimeFractionBuilder_
-
headers_
private java.util.List<HeaderMatcher> headers_
-
headersBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher,HeaderMatcher.Builder,HeaderMatcherOrBuilder> headersBuilder_
-
queryParameters_
private java.util.List<QueryParameterMatcher> queryParameters_
-
queryParametersBuilder_
private com.google.protobuf.RepeatedFieldBuilder<QueryParameterMatcher,QueryParameterMatcher.Builder,QueryParameterMatcherOrBuilder> queryParametersBuilder_
-
grpc_
private RouteMatch.GrpcRouteMatchOptions grpc_
-
grpcBuilder_
private com.google.protobuf.SingleFieldBuilder<RouteMatch.GrpcRouteMatchOptions,RouteMatch.GrpcRouteMatchOptions.Builder,RouteMatch.GrpcRouteMatchOptionsOrBuilder> grpcBuilder_
-
tlsContext_
private RouteMatch.TlsContextMatchOptions tlsContext_
-
tlsContextBuilder_
private com.google.protobuf.SingleFieldBuilder<RouteMatch.TlsContextMatchOptions,RouteMatch.TlsContextMatchOptions.Builder,RouteMatch.TlsContextMatchOptionsOrBuilder> tlsContextBuilder_
-
dynamicMetadata_
private java.util.List<MetadataMatcher> dynamicMetadata_
-
dynamicMetadataBuilder_
private com.google.protobuf.RepeatedFieldBuilder<MetadataMatcher,MetadataMatcher.Builder,MetadataMatcherOrBuilder> dynamicMetadataBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<RouteMatch.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public RouteMatch.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<RouteMatch.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<RouteMatch.Builder>
-
getDefaultInstanceForType
public RouteMatch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouteMatch build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouteMatch buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(RouteMatch result)
-
buildPartial0
private void buildPartial0(RouteMatch result)
-
buildPartialOneofs
private void buildPartialOneofs(RouteMatch result)
-
mergeFrom
public RouteMatch.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RouteMatch.Builder>
-
mergeFrom
public RouteMatch.Builder mergeFrom(RouteMatch other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<RouteMatch.Builder>
-
mergeFrom
public RouteMatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RouteMatch.Builder>
- Throws:
java.io.IOException
-
getPathSpecifierCase
public RouteMatch.PathSpecifierCase getPathSpecifierCase()
- Specified by:
getPathSpecifierCase
in interfaceRouteMatchOrBuilder
-
clearPathSpecifier
public RouteMatch.Builder clearPathSpecifier()
-
hasPrefix
public boolean hasPrefix()
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.
string prefix = 1;
- Specified by:
hasPrefix
in interfaceRouteMatchOrBuilder
- Returns:
- Whether the prefix field is set.
-
getPrefix
public java.lang.String getPrefix()
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.
string prefix = 1;
- Specified by:
getPrefix
in interfaceRouteMatchOrBuilder
- Returns:
- The prefix.
-
getPrefixBytes
public com.google.protobuf.ByteString getPrefixBytes()
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.
string prefix = 1;
- Specified by:
getPrefixBytes
in interfaceRouteMatchOrBuilder
- Returns:
- The bytes for prefix.
-
setPrefix
public RouteMatch.Builder setPrefix(java.lang.String value)
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.
string prefix = 1;
- Parameters:
value
- The prefix to set.- Returns:
- This builder for chaining.
-
clearPrefix
public RouteMatch.Builder clearPrefix()
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.
string prefix = 1;
- Returns:
- This builder for chaining.
-
setPrefixBytes
public RouteMatch.Builder setPrefixBytes(com.google.protobuf.ByteString value)
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the ``:path`` header.
string prefix = 1;
- Parameters:
value
- The bytes for prefix to set.- Returns:
- This builder for chaining.
-
hasPath
public boolean hasPath()
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.
string path = 2;
- Specified by:
hasPath
in interfaceRouteMatchOrBuilder
- Returns:
- Whether the path field is set.
-
getPath
public java.lang.String getPath()
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.
string path = 2;
- Specified by:
getPath
in interfaceRouteMatchOrBuilder
- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.
string path = 2;
- Specified by:
getPathBytes
in interfaceRouteMatchOrBuilder
- Returns:
- The bytes for path.
-
setPath
public RouteMatch.Builder setPath(java.lang.String value)
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.
string path = 2;
- Parameters:
value
- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public RouteMatch.Builder clearPath()
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.
string path = 2;
- Returns:
- This builder for chaining.
-
setPathBytes
public RouteMatch.Builder setPathBytes(com.google.protobuf.ByteString value)
If specified, the route is an exact path rule meaning that the path must exactly match the ``:path`` header once the query string is removed.
string path = 2;
- Parameters:
value
- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasSafeRegex
public boolean hasSafeRegex()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }
- Specified by:
hasSafeRegex
in interfaceRouteMatchOrBuilder
- Returns:
- Whether the safeRegex field is set.
-
getSafeRegex
public RegexMatcher getSafeRegex()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }
- Specified by:
getSafeRegex
in interfaceRouteMatchOrBuilder
- Returns:
- The safeRegex.
-
setSafeRegex
public RouteMatch.Builder setSafeRegex(RegexMatcher value)
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }
-
setSafeRegex
public RouteMatch.Builder setSafeRegex(RegexMatcher.Builder builderForValue)
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }
-
mergeSafeRegex
public RouteMatch.Builder mergeSafeRegex(RegexMatcher value)
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }
-
clearSafeRegex
public RouteMatch.Builder clearSafeRegex()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }
-
getSafeRegexBuilder
public RegexMatcher.Builder getSafeRegexBuilder()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }
-
getSafeRegexOrBuilder
public RegexMatcherOrBuilder getSafeRegexOrBuilder()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }
- Specified by:
getSafeRegexOrBuilder
in interfaceRouteMatchOrBuilder
-
getSafeRegexFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RegexMatcher,RegexMatcher.Builder,RegexMatcherOrBuilder> getSafeRegexFieldBuilder()
If specified, the route is a regular expression rule meaning that the regex must match the ``:path`` header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the ``:path`` header matches the regex. [#next-major-version: In the v3 API we should redo how path specification works such that we utilize StringMatcher, and additionally have consistent options around whether we strip query strings, do a case sensitive match, etc. In the interim it will be too disruptive to deprecate the existing options. We should even consider whether we want to do away with path_specifier entirely and just rely on a set of header matchers which can already match on :path, etc. The issue with that is it is unclear how to generically deal with query string stripping. This needs more thought.]
.envoy.type.matcher.v3.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }
-
hasConnectMatcher
public boolean hasConnectMatcher()
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests. Note that this will not match other Extended CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2 and HTTP/3, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;
- Specified by:
hasConnectMatcher
in interfaceRouteMatchOrBuilder
- Returns:
- Whether the connectMatcher field is set.
-
getConnectMatcher
public RouteMatch.ConnectMatcher getConnectMatcher()
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests. Note that this will not match other Extended CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2 and HTTP/3, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;
- Specified by:
getConnectMatcher
in interfaceRouteMatchOrBuilder
- Returns:
- The connectMatcher.
-
setConnectMatcher
public RouteMatch.Builder setConnectMatcher(RouteMatch.ConnectMatcher value)
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests. Note that this will not match other Extended CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2 and HTTP/3, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;
-
setConnectMatcher
public RouteMatch.Builder setConnectMatcher(RouteMatch.ConnectMatcher.Builder builderForValue)
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests. Note that this will not match other Extended CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2 and HTTP/3, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;
-
mergeConnectMatcher
public RouteMatch.Builder mergeConnectMatcher(RouteMatch.ConnectMatcher value)
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests. Note that this will not match other Extended CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2 and HTTP/3, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;
-
clearConnectMatcher
public RouteMatch.Builder clearConnectMatcher()
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests. Note that this will not match other Extended CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2 and HTTP/3, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;
-
getConnectMatcherBuilder
public RouteMatch.ConnectMatcher.Builder getConnectMatcherBuilder()
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests. Note that this will not match other Extended CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2 and HTTP/3, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;
-
getConnectMatcherOrBuilder
public RouteMatch.ConnectMatcherOrBuilder getConnectMatcherOrBuilder()
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests. Note that this will not match other Extended CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2 and HTTP/3, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;
- Specified by:
getConnectMatcherOrBuilder
in interfaceRouteMatchOrBuilder
-
getConnectMatcherFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RouteMatch.ConnectMatcher,RouteMatch.ConnectMatcher.Builder,RouteMatch.ConnectMatcherOrBuilder> getConnectMatcherFieldBuilder()
If this is used as the matcher, the matcher will only match CONNECT or CONNECT-UDP requests. Note that this will not match other Extended CONNECT requests (WebSocket and the like) as they are normalized in Envoy as HTTP/1.1 style upgrades. This is the only way to match CONNECT requests for HTTP/1.1. For HTTP/2 and HTTP/3, where Extended CONNECT requests may have a path, the path matchers will work if there is a path present. Note that CONNECT support is currently considered alpha in Envoy. [#comment: TODO(htuch): Replace the above comment with an alpha tag.]
.envoy.config.route.v3.RouteMatch.ConnectMatcher connect_matcher = 12;
-
hasPathSeparatedPrefix
public boolean hasPathSeparatedPrefix()
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``
string path_separated_prefix = 14 [(.validate.rules) = { ... }
- Specified by:
hasPathSeparatedPrefix
in interfaceRouteMatchOrBuilder
- Returns:
- Whether the pathSeparatedPrefix field is set.
-
getPathSeparatedPrefix
public java.lang.String getPathSeparatedPrefix()
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``
string path_separated_prefix = 14 [(.validate.rules) = { ... }
- Specified by:
getPathSeparatedPrefix
in interfaceRouteMatchOrBuilder
- Returns:
- The pathSeparatedPrefix.
-
getPathSeparatedPrefixBytes
public com.google.protobuf.ByteString getPathSeparatedPrefixBytes()
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``
string path_separated_prefix = 14 [(.validate.rules) = { ... }
- Specified by:
getPathSeparatedPrefixBytes
in interfaceRouteMatchOrBuilder
- Returns:
- The bytes for pathSeparatedPrefix.
-
setPathSeparatedPrefix
public RouteMatch.Builder setPathSeparatedPrefix(java.lang.String value)
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``
string path_separated_prefix = 14 [(.validate.rules) = { ... }
- Parameters:
value
- The pathSeparatedPrefix to set.- Returns:
- This builder for chaining.
-
clearPathSeparatedPrefix
public RouteMatch.Builder clearPathSeparatedPrefix()
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``
string path_separated_prefix = 14 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setPathSeparatedPrefixBytes
public RouteMatch.Builder setPathSeparatedPrefixBytes(com.google.protobuf.ByteString value)
If specified, the route is a path-separated prefix rule meaning that the ``:path`` header (without the query string) must either exactly match the ``path_separated_prefix`` or have it as a prefix, followed by ``/`` For example, ``/api/dev`` would match ``/api/dev``, ``/api/dev/``, ``/api/dev/v1``, and ``/api/dev?param=true`` but would not match ``/api/developer`` Expect the value to not contain ``?`` or ``#`` and not to end in ``/``
string path_separated_prefix = 14 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes for pathSeparatedPrefix to set.- Returns:
- This builder for chaining.
-
hasPathMatchPolicy
public boolean hasPathMatchPolicy()
[#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig path_match_policy = 15;
- Specified by:
hasPathMatchPolicy
in interfaceRouteMatchOrBuilder
- Returns:
- Whether the pathMatchPolicy field is set.
-
getPathMatchPolicy
public TypedExtensionConfig getPathMatchPolicy()
[#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig path_match_policy = 15;
- Specified by:
getPathMatchPolicy
in interfaceRouteMatchOrBuilder
- Returns:
- The pathMatchPolicy.
-
setPathMatchPolicy
public RouteMatch.Builder setPathMatchPolicy(TypedExtensionConfig value)
[#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig path_match_policy = 15;
-
setPathMatchPolicy
public RouteMatch.Builder setPathMatchPolicy(TypedExtensionConfig.Builder builderForValue)
[#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig path_match_policy = 15;
-
mergePathMatchPolicy
public RouteMatch.Builder mergePathMatchPolicy(TypedExtensionConfig value)
[#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig path_match_policy = 15;
-
clearPathMatchPolicy
public RouteMatch.Builder clearPathMatchPolicy()
[#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig path_match_policy = 15;
-
getPathMatchPolicyBuilder
public TypedExtensionConfig.Builder getPathMatchPolicyBuilder()
[#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig path_match_policy = 15;
-
getPathMatchPolicyOrBuilder
public TypedExtensionConfigOrBuilder getPathMatchPolicyOrBuilder()
[#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig path_match_policy = 15;
- Specified by:
getPathMatchPolicyOrBuilder
in interfaceRouteMatchOrBuilder
-
getPathMatchPolicyFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder,TypedExtensionConfigOrBuilder> getPathMatchPolicyFieldBuilder()
[#extension-category: envoy.path.match]
.envoy.config.core.v3.TypedExtensionConfig path_match_policy = 15;
-
hasCaseSensitive
public boolean hasCaseSensitive()
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;
- Specified by:
hasCaseSensitive
in interfaceRouteMatchOrBuilder
- Returns:
- Whether the caseSensitive field is set.
-
getCaseSensitive
public com.google.protobuf.BoolValue getCaseSensitive()
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;
- Specified by:
getCaseSensitive
in interfaceRouteMatchOrBuilder
- Returns:
- The caseSensitive.
-
setCaseSensitive
public RouteMatch.Builder setCaseSensitive(com.google.protobuf.BoolValue value)
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;
-
setCaseSensitive
public RouteMatch.Builder setCaseSensitive(com.google.protobuf.BoolValue.Builder builderForValue)
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;
-
mergeCaseSensitive
public RouteMatch.Builder mergeCaseSensitive(com.google.protobuf.BoolValue value)
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;
-
clearCaseSensitive
public RouteMatch.Builder clearCaseSensitive()
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;
-
getCaseSensitiveBuilder
public com.google.protobuf.BoolValue.Builder getCaseSensitiveBuilder()
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;
-
getCaseSensitiveOrBuilder
public com.google.protobuf.BoolValueOrBuilder getCaseSensitiveOrBuilder()
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;
- Specified by:
getCaseSensitiveOrBuilder
in interfaceRouteMatchOrBuilder
-
getCaseSensitiveFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder,com.google.protobuf.BoolValueOrBuilder> getCaseSensitiveFieldBuilder()
Indicates that prefix/path matching should be case sensitive. The default is true. Ignored for safe_regex matching.
.google.protobuf.BoolValue case_sensitive = 4;
-
hasRuntimeFraction
public boolean hasRuntimeFraction()
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics.
.envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;
- Specified by:
hasRuntimeFraction
in interfaceRouteMatchOrBuilder
- Returns:
- Whether the runtimeFraction field is set.
-
getRuntimeFraction
public RuntimeFractionalPercent getRuntimeFraction()
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics.
.envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;
- Specified by:
getRuntimeFraction
in interfaceRouteMatchOrBuilder
- Returns:
- The runtimeFraction.
-
setRuntimeFraction
public RouteMatch.Builder setRuntimeFraction(RuntimeFractionalPercent value)
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics.
.envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;
-
setRuntimeFraction
public RouteMatch.Builder setRuntimeFraction(RuntimeFractionalPercent.Builder builderForValue)
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics.
.envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;
-
mergeRuntimeFraction
public RouteMatch.Builder mergeRuntimeFraction(RuntimeFractionalPercent value)
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics.
.envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;
-
clearRuntimeFraction
public RouteMatch.Builder clearRuntimeFraction()
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics.
.envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;
-
getRuntimeFractionBuilder
public RuntimeFractionalPercent.Builder getRuntimeFractionBuilder()
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics.
.envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;
-
getRuntimeFractionOrBuilder
public RuntimeFractionalPercentOrBuilder getRuntimeFractionOrBuilder()
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics.
.envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;
- Specified by:
getRuntimeFractionOrBuilder
in interfaceRouteMatchOrBuilder
-
getRuntimeFractionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RuntimeFractionalPercent,RuntimeFractionalPercent.Builder,RuntimeFractionalPercentOrBuilder> getRuntimeFractionFieldBuilder()
Indicates that the route should additionally match on a runtime key. Every time the route is considered for a match, it must also fall under the percentage of matches indicated by this field. For some fraction N/D, a random number in the range [0,D) is selected. If the number is <= the value of the numerator N, or if the key is not present, the default value, the router continues to evaluate the remaining match criteria. A runtime_fraction route configuration can be used to roll out route changes in a gradual manner without full code/config deploys. Refer to the :ref:`traffic shifting <config_http_conn_man_route_table_traffic_splitting_shift>` docs for additional documentation. .. note:: Parsing this field is implemented such that the runtime key's data may be represented as a FractionalPercent proto represented as JSON/YAML and may also be represented as an integer with the assumption that the value is an integral percentage out of 100. For instance, a runtime key lookup returning the value "42" would parse as a FractionalPercent whose numerator is 42 and denominator is HUNDRED. This preserves legacy semantics.
.envoy.config.core.v3.RuntimeFractionalPercent runtime_fraction = 9;
-
ensureHeadersIsMutable
private void ensureHeadersIsMutable()
-
getHeadersList
public java.util.List<HeaderMatcher> getHeadersList()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
- Specified by:
getHeadersList
in interfaceRouteMatchOrBuilder
-
getHeadersCount
public int getHeadersCount()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
- Specified by:
getHeadersCount
in interfaceRouteMatchOrBuilder
-
getHeaders
public HeaderMatcher getHeaders(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
- Specified by:
getHeaders
in interfaceRouteMatchOrBuilder
-
setHeaders
public RouteMatch.Builder setHeaders(int index, HeaderMatcher value)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
setHeaders
public RouteMatch.Builder setHeaders(int index, HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
addHeaders
public RouteMatch.Builder addHeaders(HeaderMatcher value)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
addHeaders
public RouteMatch.Builder addHeaders(int index, HeaderMatcher value)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
addHeaders
public RouteMatch.Builder addHeaders(HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
addHeaders
public RouteMatch.Builder addHeaders(int index, HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
addAllHeaders
public RouteMatch.Builder addAllHeaders(java.lang.Iterable<? extends HeaderMatcher> values)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
clearHeaders
public RouteMatch.Builder clearHeaders()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
removeHeaders
public RouteMatch.Builder removeHeaders(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
getHeadersBuilder
public HeaderMatcher.Builder getHeadersBuilder(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
getHeadersOrBuilder
public HeaderMatcherOrBuilder getHeadersOrBuilder(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
- Specified by:
getHeadersOrBuilder
in interfaceRouteMatchOrBuilder
-
getHeadersOrBuilderList
public java.util.List<? extends HeaderMatcherOrBuilder> getHeadersOrBuilderList()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
- Specified by:
getHeadersOrBuilderList
in interfaceRouteMatchOrBuilder
-
addHeadersBuilder
public HeaderMatcher.Builder addHeadersBuilder()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
addHeadersBuilder
public HeaderMatcher.Builder addHeadersBuilder(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
getHeadersBuilderList
public java.util.List<HeaderMatcher.Builder> getHeadersBuilderList()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.HeaderMatcher headers = 6;
-
getHeadersFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderMatcher,HeaderMatcher.Builder,HeaderMatcherOrBuilder> getHeadersFieldBuilder()
-
ensureQueryParametersIsMutable
private void ensureQueryParametersIsMutable()
-
getQueryParametersList
public java.util.List<QueryParameterMatcher> getQueryParametersList()
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
- Specified by:
getQueryParametersList
in interfaceRouteMatchOrBuilder
-
getQueryParametersCount
public int getQueryParametersCount()
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
- Specified by:
getQueryParametersCount
in interfaceRouteMatchOrBuilder
-
getQueryParameters
public QueryParameterMatcher getQueryParameters(int index)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
- Specified by:
getQueryParameters
in interfaceRouteMatchOrBuilder
-
setQueryParameters
public RouteMatch.Builder setQueryParameters(int index, QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
setQueryParameters
public RouteMatch.Builder setQueryParameters(int index, QueryParameterMatcher.Builder builderForValue)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
addQueryParameters
public RouteMatch.Builder addQueryParameters(QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
addQueryParameters
public RouteMatch.Builder addQueryParameters(int index, QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
addQueryParameters
public RouteMatch.Builder addQueryParameters(QueryParameterMatcher.Builder builderForValue)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
addQueryParameters
public RouteMatch.Builder addQueryParameters(int index, QueryParameterMatcher.Builder builderForValue)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
addAllQueryParameters
public RouteMatch.Builder addAllQueryParameters(java.lang.Iterable<? extends QueryParameterMatcher> values)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
clearQueryParameters
public RouteMatch.Builder clearQueryParameters()
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
removeQueryParameters
public RouteMatch.Builder removeQueryParameters(int index)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
getQueryParametersBuilder
public QueryParameterMatcher.Builder getQueryParametersBuilder(int index)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
getQueryParametersOrBuilder
public QueryParameterMatcherOrBuilder getQueryParametersOrBuilder(int index)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
- Specified by:
getQueryParametersOrBuilder
in interfaceRouteMatchOrBuilder
-
getQueryParametersOrBuilderList
public java.util.List<? extends QueryParameterMatcherOrBuilder> getQueryParametersOrBuilderList()
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
- Specified by:
getQueryParametersOrBuilderList
in interfaceRouteMatchOrBuilder
-
addQueryParametersBuilder
public QueryParameterMatcher.Builder addQueryParametersBuilder()
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
addQueryParametersBuilder
public QueryParameterMatcher.Builder addQueryParametersBuilder(int index)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
getQueryParametersBuilderList
public java.util.List<QueryParameterMatcher.Builder> getQueryParametersBuilderList()
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the ``path`` header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the ``path`` header's query string for a match to occur. In the event query parameters are repeated, only the first value for each key will be considered. .. note:: If query parameters are used to pass request message fields when `grpc_json_transcoder <https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter>`_ is used, the transcoded message fields maybe different. The query parameters are url encoded, but the message fields are not. For example, if a query parameter is "foo%20bar", the message field will be "foo bar".
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;
-
getQueryParametersFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<QueryParameterMatcher,QueryParameterMatcher.Builder,QueryParameterMatcherOrBuilder> getQueryParametersFieldBuilder()
-
hasGrpc
public boolean hasGrpc()
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;
- Specified by:
hasGrpc
in interfaceRouteMatchOrBuilder
- Returns:
- Whether the grpc field is set.
-
getGrpc
public RouteMatch.GrpcRouteMatchOptions getGrpc()
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;
- Specified by:
getGrpc
in interfaceRouteMatchOrBuilder
- Returns:
- The grpc.
-
setGrpc
public RouteMatch.Builder setGrpc(RouteMatch.GrpcRouteMatchOptions value)
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;
-
setGrpc
public RouteMatch.Builder setGrpc(RouteMatch.GrpcRouteMatchOptions.Builder builderForValue)
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;
-
mergeGrpc
public RouteMatch.Builder mergeGrpc(RouteMatch.GrpcRouteMatchOptions value)
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;
-
clearGrpc
public RouteMatch.Builder clearGrpc()
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;
-
getGrpcBuilder
public RouteMatch.GrpcRouteMatchOptions.Builder getGrpcBuilder()
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;
-
getGrpcOrBuilder
public RouteMatch.GrpcRouteMatchOptionsOrBuilder getGrpcOrBuilder()
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;
- Specified by:
getGrpcOrBuilder
in interfaceRouteMatchOrBuilder
-
getGrpcFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RouteMatch.GrpcRouteMatchOptions,RouteMatch.GrpcRouteMatchOptions.Builder,RouteMatch.GrpcRouteMatchOptionsOrBuilder> getGrpcFieldBuilder()
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.config.route.v3.RouteMatch.GrpcRouteMatchOptions grpc = 8;
-
hasTlsContext
public boolean hasTlsContext()
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;
- Specified by:
hasTlsContext
in interfaceRouteMatchOrBuilder
- Returns:
- Whether the tlsContext field is set.
-
getTlsContext
public RouteMatch.TlsContextMatchOptions getTlsContext()
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;
- Specified by:
getTlsContext
in interfaceRouteMatchOrBuilder
- Returns:
- The tlsContext.
-
setTlsContext
public RouteMatch.Builder setTlsContext(RouteMatch.TlsContextMatchOptions value)
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;
-
setTlsContext
public RouteMatch.Builder setTlsContext(RouteMatch.TlsContextMatchOptions.Builder builderForValue)
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;
-
mergeTlsContext
public RouteMatch.Builder mergeTlsContext(RouteMatch.TlsContextMatchOptions value)
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;
-
clearTlsContext
public RouteMatch.Builder clearTlsContext()
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;
-
getTlsContextBuilder
public RouteMatch.TlsContextMatchOptions.Builder getTlsContextBuilder()
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;
-
getTlsContextOrBuilder
public RouteMatch.TlsContextMatchOptionsOrBuilder getTlsContextOrBuilder()
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;
- Specified by:
getTlsContextOrBuilder
in interfaceRouteMatchOrBuilder
-
getTlsContextFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RouteMatch.TlsContextMatchOptions,RouteMatch.TlsContextMatchOptions.Builder,RouteMatch.TlsContextMatchOptionsOrBuilder> getTlsContextFieldBuilder()
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.config.route.v3.RouteMatch.TlsContextMatchOptions tls_context = 11;
-
ensureDynamicMetadataIsMutable
private void ensureDynamicMetadataIsMutable()
-
getDynamicMetadataList
public java.util.List<MetadataMatcher> getDynamicMetadataList()
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
- Specified by:
getDynamicMetadataList
in interfaceRouteMatchOrBuilder
-
getDynamicMetadataCount
public int getDynamicMetadataCount()
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
- Specified by:
getDynamicMetadataCount
in interfaceRouteMatchOrBuilder
-
getDynamicMetadata
public MetadataMatcher getDynamicMetadata(int index)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
- Specified by:
getDynamicMetadata
in interfaceRouteMatchOrBuilder
-
setDynamicMetadata
public RouteMatch.Builder setDynamicMetadata(int index, MetadataMatcher value)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
setDynamicMetadata
public RouteMatch.Builder setDynamicMetadata(int index, MetadataMatcher.Builder builderForValue)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
addDynamicMetadata
public RouteMatch.Builder addDynamicMetadata(MetadataMatcher value)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
addDynamicMetadata
public RouteMatch.Builder addDynamicMetadata(int index, MetadataMatcher value)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
addDynamicMetadata
public RouteMatch.Builder addDynamicMetadata(MetadataMatcher.Builder builderForValue)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
addDynamicMetadata
public RouteMatch.Builder addDynamicMetadata(int index, MetadataMatcher.Builder builderForValue)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
addAllDynamicMetadata
public RouteMatch.Builder addAllDynamicMetadata(java.lang.Iterable<? extends MetadataMatcher> values)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
clearDynamicMetadata
public RouteMatch.Builder clearDynamicMetadata()
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
removeDynamicMetadata
public RouteMatch.Builder removeDynamicMetadata(int index)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
getDynamicMetadataBuilder
public MetadataMatcher.Builder getDynamicMetadataBuilder(int index)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
getDynamicMetadataOrBuilder
public MetadataMatcherOrBuilder getDynamicMetadataOrBuilder(int index)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
- Specified by:
getDynamicMetadataOrBuilder
in interfaceRouteMatchOrBuilder
-
getDynamicMetadataOrBuilderList
public java.util.List<? extends MetadataMatcherOrBuilder> getDynamicMetadataOrBuilderList()
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
- Specified by:
getDynamicMetadataOrBuilderList
in interfaceRouteMatchOrBuilder
-
addDynamicMetadataBuilder
public MetadataMatcher.Builder addDynamicMetadataBuilder()
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
addDynamicMetadataBuilder
public MetadataMatcher.Builder addDynamicMetadataBuilder(int index)
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
getDynamicMetadataBuilderList
public java.util.List<MetadataMatcher.Builder> getDynamicMetadataBuilderList()
Specifies a set of dynamic metadata matchers on which the route should match. The router will check the dynamic metadata against all the specified dynamic metadata matchers. If the number of specified dynamic metadata matchers is nonzero, they all must match the dynamic metadata for a match to occur.
repeated .envoy.type.matcher.v3.MetadataMatcher dynamic_metadata = 13;
-
getDynamicMetadataFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<MetadataMatcher,MetadataMatcher.Builder,MetadataMatcherOrBuilder> getDynamicMetadataFieldBuilder()
-
-