Package io.envoyproxy.envoy.api.v2.route
Class RouteMatch.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
io.envoyproxy.envoy.api.v2.route.RouteMatch.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RouteMatchOrBuilder,Cloneable
- Enclosing class:
- RouteMatch
public static final class RouteMatch.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
implements RouteMatchOrBuilder
[#next-free-field: 12]Protobuf type
envoy.api.v2.route.RouteMatch-
Method Summary
Modifier and TypeMethodDescriptionaddAllHeaders(Iterable<? extends HeaderMatcher> values) Specifies a set of headers that the route should match on.addAllQueryParameters(Iterable<? extends QueryParameterMatcher> values) Specifies a set of URL query parameters on which the route should match.addHeaders(int index, HeaderMatcher value) Specifies a set of headers that the route should match on.addHeaders(int index, HeaderMatcher.Builder builderForValue) Specifies a set of headers that the route should match on.addHeaders(HeaderMatcher value) Specifies a set of headers that the route should match on.addHeaders(HeaderMatcher.Builder builderForValue) Specifies a set of headers that the route should match on.Specifies a set of headers that the route should match on.addHeadersBuilder(int index) Specifies a set of headers that the route should match on.addQueryParameters(int index, QueryParameterMatcher value) Specifies a set of URL query parameters on which the route should match.addQueryParameters(int index, QueryParameterMatcher.Builder builderForValue) Specifies a set of URL query parameters on which the route should match.Specifies a set of URL query parameters on which the route should match.addQueryParameters(QueryParameterMatcher.Builder builderForValue) Specifies a set of URL query parameters on which the route should match.Specifies a set of URL query parameters on which the route should match.addQueryParametersBuilder(int index) Specifies a set of URL query parameters on which the route should match.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Indicates that prefix/path matching should be case sensitive.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) If specified, only gRPC requests will be matched.Specifies a set of headers that the route should match on.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 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.If specified, the route is a prefix rule meaning that the prefix must match the beginning of the *:path* header.Specifies a set of URL query parameters on which the route should match.Deprecated.envoy.api.v2.route.RouteMatch.regex is deprecated.Indicates that the route should additionally match on a runtime key.If specified, the route is a regular expression rule meaning that the regex must match the *:path* header once the query string is removed.If specified, the client tls context will be matched against the defined match options.clone()com.google.protobuf.BoolValueIndicates that prefix/path matching should be case sensitive.com.google.protobuf.BoolValue.BuilderIndicates that prefix/path matching should be case sensitive.com.google.protobuf.BoolValueOrBuilderIndicates that prefix/path matching should be case sensitive.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGrpc()If specified, only gRPC requests will be matched.If specified, only gRPC requests will be matched.If specified, only gRPC requests will be matched.getHeaders(int index) Specifies a set of headers that the route should match on.getHeadersBuilder(int index) Specifies a set of headers that the route should match on.Specifies a set of headers that the route should match on.intSpecifies a set of headers that the route should match on.Specifies a set of headers that the route should match on.getHeadersOrBuilder(int index) Specifies a set of headers that the route should match on.List<? extends HeaderMatcherOrBuilder>Specifies a set of headers that the route should match on.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.ByteStringIf specified, the route is an exact path rule meaning that the path must exactly match the *:path* header once the query string is removed.If specified, the route is a prefix rule meaning that the prefix must match the beginning of the *:path* header.com.google.protobuf.ByteStringIf specified, the route is a prefix rule meaning that the prefix must match the beginning of the *:path* header.getQueryParameters(int index) Specifies a set of URL query parameters on which the route should match.getQueryParametersBuilder(int index) Specifies a set of URL query parameters on which the route should match.Specifies a set of URL query parameters on which the route should match.intSpecifies a set of URL query parameters on which the route should match.Specifies a set of URL query parameters on which the route should match.getQueryParametersOrBuilder(int index) Specifies a set of URL query parameters on which the route should match.List<? extends QueryParameterMatcherOrBuilder>Specifies a set of URL query parameters on which the route should match.getRegex()Deprecated.envoy.api.v2.route.RouteMatch.regex is deprecated.com.google.protobuf.ByteStringDeprecated.envoy.api.v2.route.RouteMatch.regex is deprecated.Indicates that the route should additionally match on a runtime key.Indicates that the route should additionally match on a runtime key.Indicates that the route should additionally match on a runtime key.If specified, the route is a regular expression rule meaning that the regex must match the *:path* header once the query string is removed.If specified, the route is a regular expression rule meaning that the regex must match the *:path* header once the query string is removed.If specified, the route is a regular expression rule meaning that the regex must match the *:path* header once the query string is removed.If specified, the client tls context will be matched against the defined match options.If specified, the client tls context will be matched against the defined match options.If specified, the client tls context will be matched against the defined match options.booleanIndicates that prefix/path matching should be case sensitive.booleanhasGrpc()If specified, only gRPC requests will be matched.booleanhasPath()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.booleanIf specified, the route is a prefix rule meaning that the prefix must match the beginning of the *:path* header.booleanhasRegex()Deprecated.envoy.api.v2.route.RouteMatch.regex is deprecated.booleanIndicates that the route should additionally match on a runtime key.booleanIf specified, the route is a regular expression rule meaning that the regex must match the *:path* header once the query string is removed.booleanIf specified, the client tls context will be matched against the defined match options.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCaseSensitive(com.google.protobuf.BoolValue value) Indicates that prefix/path matching should be case sensitive.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(RouteMatch other) If specified, only gRPC requests will be matched.Indicates that the route should additionally match on a runtime key.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.If specified, the client tls context will be matched against the defined match options.final RouteMatch.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeHeaders(int index) Specifies a set of headers that the route should match on.removeQueryParameters(int index) Specifies a set of URL query parameters on which the route should match.setCaseSensitive(com.google.protobuf.BoolValue value) Indicates that prefix/path matching should be case sensitive.setCaseSensitive(com.google.protobuf.BoolValue.Builder builderForValue) Indicates that prefix/path matching should be case sensitive.If specified, only gRPC requests will be matched.setGrpc(RouteMatch.GrpcRouteMatchOptions.Builder builderForValue) If specified, only gRPC requests will be matched.setHeaders(int index, HeaderMatcher value) Specifies a set of headers that the route should match on.setHeaders(int index, HeaderMatcher.Builder builderForValue) Specifies a set of headers that the route should match on.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.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.If specified, the route is a prefix rule meaning that the prefix must match the beginning of the *:path* header.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.setQueryParameters(int index, QueryParameterMatcher value) Specifies a set of URL query parameters on which the route should match.setQueryParameters(int index, QueryParameterMatcher.Builder builderForValue) Specifies a set of URL query parameters on which the route should match.Deprecated.envoy.api.v2.route.RouteMatch.regex is deprecated.setRegexBytes(com.google.protobuf.ByteString value) Deprecated.envoy.api.v2.route.RouteMatch.regex is deprecated.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Indicates that the route should additionally match on a runtime key.setRuntimeFraction(RuntimeFractionalPercent.Builder builderForValue) Indicates that the route should additionally match on a runtime key.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.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.If specified, the client tls context will be matched against the defined match options.setTlsContext(RouteMatch.TlsContextMatchOptions.Builder builderForValue) If specified, the client tls context will be matched against the defined match options.final RouteMatch.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
setField
public RouteMatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
setRepeatedField
public RouteMatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
addRepeatedField
public RouteMatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteMatch.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
mergeFrom
public RouteMatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteMatch.Builder>- Throws:
IOException
-
getPathSpecifierCase
- Specified by:
getPathSpecifierCasein interfaceRouteMatchOrBuilder
-
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:
hasPrefixin interfaceRouteMatchOrBuilder- Returns:
- Whether the prefix field is set.
-
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:
getPrefixin 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:
getPrefixBytesin interfaceRouteMatchOrBuilder- Returns:
- The bytes for prefix.
-
setPrefix
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
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
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:
hasPathin interfaceRouteMatchOrBuilder- Returns:
- Whether the path field is set.
-
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:
getPathin 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:
getPathBytesin interfaceRouteMatchOrBuilder- Returns:
- The bytes for path.
-
setPath
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
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
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.
-
hasRegex
Deprecated.envoy.api.v2.route.RouteMatch.regex is deprecated. See envoy/api/v2/route/route_components.proto;l=418If 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. The regex grammar is defined `here <https://en.cppreference.com/w/cpp/regex/ecmascript>`_. Examples: * The regex ``/b[io]t`` matches the path */bit* * The regex ``/b[io]t`` matches the path */bot* * The regex ``/b[io]t`` does not match the path */bite* * The regex ``/b[io]t`` does not match the path */bit/bot* .. attention:: This field has been deprecated in favor of `safe_regex` as it is not safe for use with untrusted input in all cases.
string regex = 3 [deprecated = true, (.validate.rules) = { ... }- Specified by:
hasRegexin interfaceRouteMatchOrBuilder- Returns:
- Whether the regex field is set.
-
getRegex
Deprecated.envoy.api.v2.route.RouteMatch.regex is deprecated. See envoy/api/v2/route/route_components.proto;l=418If 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. The regex grammar is defined `here <https://en.cppreference.com/w/cpp/regex/ecmascript>`_. Examples: * The regex ``/b[io]t`` matches the path */bit* * The regex ``/b[io]t`` matches the path */bot* * The regex ``/b[io]t`` does not match the path */bite* * The regex ``/b[io]t`` does not match the path */bit/bot* .. attention:: This field has been deprecated in favor of `safe_regex` as it is not safe for use with untrusted input in all cases.
string regex = 3 [deprecated = true, (.validate.rules) = { ... }- Specified by:
getRegexin interfaceRouteMatchOrBuilder- Returns:
- The regex.
-
getRegexBytes
Deprecated.envoy.api.v2.route.RouteMatch.regex is deprecated. See envoy/api/v2/route/route_components.proto;l=418If 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. The regex grammar is defined `here <https://en.cppreference.com/w/cpp/regex/ecmascript>`_. Examples: * The regex ``/b[io]t`` matches the path */bit* * The regex ``/b[io]t`` matches the path */bot* * The regex ``/b[io]t`` does not match the path */bite* * The regex ``/b[io]t`` does not match the path */bit/bot* .. attention:: This field has been deprecated in favor of `safe_regex` as it is not safe for use with untrusted input in all cases.
string regex = 3 [deprecated = true, (.validate.rules) = { ... }- Specified by:
getRegexBytesin interfaceRouteMatchOrBuilder- Returns:
- The bytes for regex.
-
setRegex
Deprecated.envoy.api.v2.route.RouteMatch.regex is deprecated. See envoy/api/v2/route/route_components.proto;l=418If 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. The regex grammar is defined `here <https://en.cppreference.com/w/cpp/regex/ecmascript>`_. Examples: * The regex ``/b[io]t`` matches the path */bit* * The regex ``/b[io]t`` matches the path */bot* * The regex ``/b[io]t`` does not match the path */bite* * The regex ``/b[io]t`` does not match the path */bit/bot* .. attention:: This field has been deprecated in favor of `safe_regex` as it is not safe for use with untrusted input in all cases.
string regex = 3 [deprecated = true, (.validate.rules) = { ... }- Parameters:
value- The regex to set.- Returns:
- This builder for chaining.
-
clearRegex
Deprecated.envoy.api.v2.route.RouteMatch.regex is deprecated. See envoy/api/v2/route/route_components.proto;l=418If 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. The regex grammar is defined `here <https://en.cppreference.com/w/cpp/regex/ecmascript>`_. Examples: * The regex ``/b[io]t`` matches the path */bit* * The regex ``/b[io]t`` matches the path */bot* * The regex ``/b[io]t`` does not match the path */bite* * The regex ``/b[io]t`` does not match the path */bit/bot* .. attention:: This field has been deprecated in favor of `safe_regex` as it is not safe for use with untrusted input in all cases.
string regex = 3 [deprecated = true, (.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setRegexBytes
Deprecated.envoy.api.v2.route.RouteMatch.regex is deprecated. See envoy/api/v2/route/route_components.proto;l=418If 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. The regex grammar is defined `here <https://en.cppreference.com/w/cpp/regex/ecmascript>`_. Examples: * The regex ``/b[io]t`` matches the path */bit* * The regex ``/b[io]t`` matches the path */bot* * The regex ``/b[io]t`` does not match the path */bite* * The regex ``/b[io]t`` does not match the path */bit/bot* .. attention:: This field has been deprecated in favor of `safe_regex` as it is not safe for use with untrusted input in all cases.
string regex = 3 [deprecated = true, (.validate.rules) = { ... }- Parameters:
value- The bytes for regex 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.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }- Specified by:
hasSafeRegexin interfaceRouteMatchOrBuilder- Returns:
- Whether the safeRegex field is set.
-
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.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }- Specified by:
getSafeRegexin interfaceRouteMatchOrBuilder- Returns:
- The safeRegex.
-
setSafeRegex
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.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... } -
setSafeRegex
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.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... } -
mergeSafeRegex
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.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... } -
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.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... } -
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.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... } -
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.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }- Specified by:
getSafeRegexOrBuilderin interfaceRouteMatchOrBuilder
-
hasCaseSensitive
public boolean hasCaseSensitive()Indicates that prefix/path matching should be case sensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;- Specified by:
hasCaseSensitivein 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.
.google.protobuf.BoolValue case_sensitive = 4;- Specified by:
getCaseSensitivein interfaceRouteMatchOrBuilder- Returns:
- The caseSensitive.
-
setCaseSensitive
Indicates that prefix/path matching should be case sensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4; -
setCaseSensitive
Indicates that prefix/path matching should be case sensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4; -
mergeCaseSensitive
Indicates that prefix/path matching should be case sensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4; -
clearCaseSensitive
Indicates that prefix/path matching should be case sensitive. The default is true.
.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.
.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.
.google.protobuf.BoolValue case_sensitive = 4;- Specified by:
getCaseSensitiveOrBuilderin interfaceRouteMatchOrBuilder
-
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.api.v2.core.RuntimeFractionalPercent runtime_fraction = 9;- Specified by:
hasRuntimeFractionin interfaceRouteMatchOrBuilder- Returns:
- Whether the runtimeFraction field is set.
-
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.api.v2.core.RuntimeFractionalPercent runtime_fraction = 9;- Specified by:
getRuntimeFractionin interfaceRouteMatchOrBuilder- Returns:
- The runtimeFraction.
-
setRuntimeFraction
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.api.v2.core.RuntimeFractionalPercent runtime_fraction = 9; -
setRuntimeFraction
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.api.v2.core.RuntimeFractionalPercent runtime_fraction = 9; -
mergeRuntimeFraction
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.api.v2.core.RuntimeFractionalPercent runtime_fraction = 9; -
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.api.v2.core.RuntimeFractionalPercent runtime_fraction = 9; -
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.api.v2.core.RuntimeFractionalPercent runtime_fraction = 9; -
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.api.v2.core.RuntimeFractionalPercent runtime_fraction = 9;- Specified by:
getRuntimeFractionOrBuilderin interfaceRouteMatchOrBuilder
-
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.api.v2.route.HeaderMatcher headers = 6;- Specified by:
getHeadersListin 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.api.v2.route.HeaderMatcher headers = 6;- Specified by:
getHeadersCountin interfaceRouteMatchOrBuilder
-
getHeaders
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.api.v2.route.HeaderMatcher headers = 6;- Specified by:
getHeadersin interfaceRouteMatchOrBuilder
-
setHeaders
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.api.v2.route.HeaderMatcher headers = 6; -
setHeaders
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.api.v2.route.HeaderMatcher headers = 6; -
addHeaders
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.api.v2.route.HeaderMatcher headers = 6; -
addHeaders
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.api.v2.route.HeaderMatcher headers = 6; -
addHeaders
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.api.v2.route.HeaderMatcher headers = 6; -
addHeaders
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.api.v2.route.HeaderMatcher headers = 6; -
addAllHeaders
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.api.v2.route.HeaderMatcher headers = 6; -
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.api.v2.route.HeaderMatcher headers = 6; -
removeHeaders
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.api.v2.route.HeaderMatcher headers = 6; -
getHeadersBuilder
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.api.v2.route.HeaderMatcher headers = 6; -
getHeadersOrBuilder
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.api.v2.route.HeaderMatcher headers = 6;- Specified by:
getHeadersOrBuilderin interfaceRouteMatchOrBuilder
-
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.api.v2.route.HeaderMatcher headers = 6;- Specified by:
getHeadersOrBuilderListin interfaceRouteMatchOrBuilder
-
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.api.v2.route.HeaderMatcher headers = 6; -
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.api.v2.route.HeaderMatcher headers = 6; -
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.api.v2.route.HeaderMatcher headers = 6; -
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.api.v2.route.QueryParameterMatcher query_parameters = 7;- Specified by:
getQueryParametersListin 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.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters = 7;- Specified by:
getQueryParametersCountin interfaceRouteMatchOrBuilder
-
getQueryParameters
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.api.v2.route.QueryParameterMatcher query_parameters = 7;- Specified by:
getQueryParametersin interfaceRouteMatchOrBuilder
-
setQueryParameters
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.api.v2.route.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.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters = 7; -
addQueryParameters
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.api.v2.route.QueryParameterMatcher query_parameters = 7; -
addQueryParameters
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.api.v2.route.QueryParameterMatcher query_parameters = 7; -
addQueryParameters
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.api.v2.route.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.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters = 7; -
addAllQueryParameters
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.api.v2.route.QueryParameterMatcher query_parameters = 7; -
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.api.v2.route.QueryParameterMatcher query_parameters = 7; -
removeQueryParameters
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.api.v2.route.QueryParameterMatcher query_parameters = 7; -
getQueryParametersBuilder
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.api.v2.route.QueryParameterMatcher query_parameters = 7; -
getQueryParametersOrBuilder
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.api.v2.route.QueryParameterMatcher query_parameters = 7;- Specified by:
getQueryParametersOrBuilderin interfaceRouteMatchOrBuilder
-
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.api.v2.route.QueryParameterMatcher query_parameters = 7;- Specified by:
getQueryParametersOrBuilderListin interfaceRouteMatchOrBuilder
-
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.api.v2.route.QueryParameterMatcher query_parameters = 7; -
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.api.v2.route.QueryParameterMatcher query_parameters = 7; -
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.api.v2.route.QueryParameterMatcher query_parameters = 7; -
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.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8;- Specified by:
hasGrpcin interfaceRouteMatchOrBuilder- Returns:
- Whether the grpc field is set.
-
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.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8;- Specified by:
getGrpcin interfaceRouteMatchOrBuilder- Returns:
- The grpc.
-
setGrpc
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.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8; -
setGrpc
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.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8; -
mergeGrpc
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.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8; -
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.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8; -
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.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8; -
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.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8;- Specified by:
getGrpcOrBuilderin interfaceRouteMatchOrBuilder
-
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.api.v2.route.RouteMatch.TlsContextMatchOptions tls_context = 11;- Specified by:
hasTlsContextin interfaceRouteMatchOrBuilder- Returns:
- Whether the tlsContext field is set.
-
getTlsContext
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.api.v2.route.RouteMatch.TlsContextMatchOptions tls_context = 11;- Specified by:
getTlsContextin interfaceRouteMatchOrBuilder- Returns:
- The tlsContext.
-
setTlsContext
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.api.v2.route.RouteMatch.TlsContextMatchOptions tls_context = 11; -
setTlsContext
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.api.v2.route.RouteMatch.TlsContextMatchOptions tls_context = 11; -
mergeTlsContext
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.api.v2.route.RouteMatch.TlsContextMatchOptions tls_context = 11; -
clearTlsContext
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.api.v2.route.RouteMatch.TlsContextMatchOptions tls_context = 11; -
getTlsContextBuilder
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.api.v2.route.RouteMatch.TlsContextMatchOptions tls_context = 11; -
getTlsContextOrBuilder
If specified, the client tls context will be matched against the defined match options. [#next-major-version: unify with RBAC]
.envoy.api.v2.route.RouteMatch.TlsContextMatchOptions tls_context = 11;- Specified by:
getTlsContextOrBuilderin interfaceRouteMatchOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-
mergeUnknownFields
public final RouteMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteMatch.Builder>
-