public static final class RouteMatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder> implements RouteMatchOrBuilder
[#next-free-field: 13]Protobuf type
envoy.config.route.v3.RouteMatch| Modifier and Type | Method and Description |
|---|---|
RouteMatch.Builder |
addAllHeaders(Iterable<? extends HeaderMatcher> values)
Specifies a set of headers that the route should match on.
|
RouteMatch.Builder |
addAllQueryParameters(Iterable<? extends QueryParameterMatcher> values)
Specifies a set of URL query parameters on which the route should
match.
|
RouteMatch.Builder |
addHeaders(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(int index,
HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on.
|
RouteMatch.Builder |
addHeaders(int index,
HeaderMatcher value)
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.Builder builderForValue)
Specifies a set of URL query parameters on which the route should
match.
|
RouteMatch.Builder |
addQueryParameters(int index,
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.
|
RouteMatch.Builder |
addQueryParameters(QueryParameterMatcher value)
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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteMatch |
build() |
RouteMatch |
buildPartial() |
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 requests.
|
RouteMatch.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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 |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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 |
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.
|
RouteMatch.Builder |
clone() |
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.
|
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 requests.
|
RouteMatch.ConnectMatcher.Builder |
getConnectMatcherBuilder()
If this is used as the matcher, the matcher will only match CONNECT requests.
|
RouteMatch.ConnectMatcherOrBuilder |
getConnectMatcherOrBuilder()
If this is used as the matcher, the matcher will only match CONNECT requests.
|
RouteMatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RouteMatch.GrpcRouteMatchOptions |
getGrpc()
If specified, only gRPC requests will be matched.
|
RouteMatch.GrpcRouteMatchOptions.Builder |
getGrpcBuilder()
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.
|
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.
|
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.
|
List<? extends HeaderMatcherOrBuilder> |
getHeadersOrBuilderList()
Specifies a set of headers that the route should match on.
|
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.
|
RouteMatch.PathSpecifierCase |
getPathSpecifierCase() |
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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 requests.
|
boolean |
hasGrpc()
If specified, only gRPC requests will be matched.
|
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.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
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 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 |
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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.Builder builderForValue)
Indicates that prefix/path matching should be case sensitive.
|
RouteMatch.Builder |
setCaseSensitive(com.google.protobuf.BoolValue value)
Indicates that prefix/path matching should be case sensitive.
|
RouteMatch.Builder |
setConnectMatcher(RouteMatch.ConnectMatcher.Builder builderForValue)
If this is used as the matcher, the matcher will only match CONNECT requests.
|
RouteMatch.Builder |
setConnectMatcher(RouteMatch.ConnectMatcher value)
If this is used as the matcher, the matcher will only match CONNECT requests.
|
RouteMatch.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteMatch.Builder |
setGrpc(RouteMatch.GrpcRouteMatchOptions.Builder builderForValue)
If specified, only gRPC requests will be matched.
|
RouteMatch.Builder |
setGrpc(RouteMatch.GrpcRouteMatchOptions value)
If specified, only gRPC requests will be matched.
|
RouteMatch.Builder |
setHeaders(int index,
HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on.
|
RouteMatch.Builder |
setHeaders(int index,
HeaderMatcher value)
Specifies a set of headers that the route should match on.
|
RouteMatch.Builder |
setPath(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 |
setPrefix(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.Builder builderForValue)
Specifies a set of URL query parameters on which the route should
match.
|
RouteMatch.Builder |
setQueryParameters(int index,
QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should
match.
|
RouteMatch.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteMatch.Builder |
setRuntimeFraction(RuntimeFractionalPercent.Builder builderForValue)
Indicates that the route should additionally match on a runtime key.
|
RouteMatch.Builder |
setRuntimeFraction(RuntimeFractionalPercent value)
Indicates that the route should additionally match on a runtime key.
|
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 |
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 |
setTlsContext(RouteMatch.TlsContextMatchOptions.Builder builderForValue)
If specified, the client tls context will be matched against the defined
match options.
|
RouteMatch.Builder |
setTlsContext(RouteMatch.TlsContextMatchOptions value)
If specified, the client tls context will be matched against the defined
match options.
|
RouteMatch.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteMatch build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteMatch buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteMatch.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteMatch.Builder>public RouteMatch.Builder mergeFrom(RouteMatch other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public RouteMatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteMatch.Builder>IOExceptionpublic RouteMatch.PathSpecifierCase getPathSpecifierCase()
getPathSpecifierCase in interface RouteMatchOrBuilderpublic RouteMatch.Builder clearPathSpecifier()
public 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;getPrefix in interface RouteMatchOrBuilderpublic 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;getPrefixBytes in interface RouteMatchOrBuilderpublic RouteMatch.Builder setPrefix(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;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;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;public 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;getPath in interface RouteMatchOrBuilderpublic 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;getPathBytes in interface RouteMatchOrBuilderpublic RouteMatch.Builder setPath(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;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;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;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) = { ... }hasSafeRegex in interface RouteMatchOrBuilderpublic 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) = { ... }getSafeRegex in interface RouteMatchOrBuilderpublic 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) = { ... }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) = { ... }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) = { ... }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) = { ... }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) = { ... }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) = { ... }getSafeRegexOrBuilder in interface RouteMatchOrBuilderpublic boolean hasConnectMatcher()
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style 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, 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;hasConnectMatcher in interface RouteMatchOrBuilderpublic RouteMatch.ConnectMatcher getConnectMatcher()
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style 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, 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;getConnectMatcher in interface RouteMatchOrBuilderpublic RouteMatch.Builder setConnectMatcher(RouteMatch.ConnectMatcher value)
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style 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, 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;public RouteMatch.Builder setConnectMatcher(RouteMatch.ConnectMatcher.Builder builderForValue)
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style 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, 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;public RouteMatch.Builder mergeConnectMatcher(RouteMatch.ConnectMatcher value)
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style 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, 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;public RouteMatch.Builder clearConnectMatcher()
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style 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, 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;public RouteMatch.ConnectMatcher.Builder getConnectMatcherBuilder()
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style 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, 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;public RouteMatch.ConnectMatcherOrBuilder getConnectMatcherOrBuilder()
If this is used as the matcher, the matcher will only match CONNECT requests. Note that this will not match HTTP/2 upgrade-style 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, 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 in interface RouteMatchOrBuilderpublic boolean hasCaseSensitive()
Indicates that prefix/path matching should be case sensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;hasCaseSensitive in interface RouteMatchOrBuilderpublic com.google.protobuf.BoolValue getCaseSensitive()
Indicates that prefix/path matching should be case sensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;getCaseSensitive in interface RouteMatchOrBuilderpublic RouteMatch.Builder setCaseSensitive(com.google.protobuf.BoolValue value)
Indicates that prefix/path matching should be case sensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;public RouteMatch.Builder setCaseSensitive(com.google.protobuf.BoolValue.Builder builderForValue)
Indicates that prefix/path matching should be case sensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;public RouteMatch.Builder mergeCaseSensitive(com.google.protobuf.BoolValue value)
Indicates that prefix/path matching should be case sensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;public RouteMatch.Builder clearCaseSensitive()
Indicates that prefix/path matching should be case sensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;public com.google.protobuf.BoolValue.Builder getCaseSensitiveBuilder()
Indicates that prefix/path matching should be case sensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;public com.google.protobuf.BoolValueOrBuilder getCaseSensitiveOrBuilder()
Indicates that prefix/path matching should be case sensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;getCaseSensitiveOrBuilder in interface RouteMatchOrBuilderpublic 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;hasRuntimeFraction in interface RouteMatchOrBuilderpublic 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;getRuntimeFraction in interface RouteMatchOrBuilderpublic 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;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;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;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;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;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;getRuntimeFractionOrBuilder in interface RouteMatchOrBuilderpublic 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;getHeadersList in interface RouteMatchOrBuilderpublic 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;getHeadersCount in interface RouteMatchOrBuilderpublic 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;getHeaders in interface RouteMatchOrBuilderpublic 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;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;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;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;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;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;public RouteMatch.Builder addAllHeaders(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;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;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;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;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;getHeadersOrBuilder in interface RouteMatchOrBuilderpublic 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;getHeadersOrBuilderList in interface RouteMatchOrBuilderpublic 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;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;public 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;public 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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;getQueryParametersList in interface RouteMatchOrBuilderpublic 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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;getQueryParametersCount in interface RouteMatchOrBuilderpublic 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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;getQueryParameters in interface RouteMatchOrBuilderpublic 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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;public RouteMatch.Builder addAllQueryParameters(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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;getQueryParametersOrBuilder in interface RouteMatchOrBuilderpublic 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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;getQueryParametersOrBuilderList in interface RouteMatchOrBuilderpublic 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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;public 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.
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 7;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;hasGrpc in interface RouteMatchOrBuilderpublic 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;getGrpc in interface RouteMatchOrBuilderpublic 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;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;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;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;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;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;getGrpcOrBuilder in interface RouteMatchOrBuilderpublic 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;hasTlsContext in interface RouteMatchOrBuilderpublic 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;getTlsContext in interface RouteMatchOrBuilderpublic 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;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;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;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;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;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;getTlsContextOrBuilder in interface RouteMatchOrBuilderpublic final RouteMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>public final RouteMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.