public final class RouteMatch extends com.google.protobuf.GeneratedMessageV3 implements RouteMatchOrBuilder
[#next-free-field: 13]Protobuf type
envoy.config.route.v4alpha.RouteMatch| Modifier and Type | Class and Description |
|---|---|
static class |
RouteMatch.Builder
[#next-free-field: 13]
Protobuf type
envoy.config.route.v4alpha.RouteMatch |
static class |
RouteMatch.ConnectMatcher
An extensible message for matching CONNECT requests.
|
static interface |
RouteMatch.ConnectMatcherOrBuilder |
static class |
RouteMatch.GrpcRouteMatchOptions
Protobuf type
envoy.config.route.v4alpha.RouteMatch.GrpcRouteMatchOptions |
static interface |
RouteMatch.GrpcRouteMatchOptionsOrBuilder |
static class |
RouteMatch.PathSpecifierCase |
static class |
RouteMatch.TlsContextMatchOptions
Protobuf type
envoy.config.route.v4alpha.RouteMatch.TlsContextMatchOptions |
static interface |
RouteMatch.TlsContextMatchOptionsOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CASE_SENSITIVE_FIELD_NUMBER |
static int |
CONNECT_MATCHER_FIELD_NUMBER |
static int |
GRPC_FIELD_NUMBER |
static int |
HEADERS_FIELD_NUMBER |
static int |
PATH_FIELD_NUMBER |
static int |
PREFIX_FIELD_NUMBER |
static int |
QUERY_PARAMETERS_FIELD_NUMBER |
static int |
RUNTIME_FRACTION_FIELD_NUMBER |
static int |
SAFE_REGEX_FIELD_NUMBER |
static int |
TLS_CONTEXT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.BoolValue |
getCaseSensitive()
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.ConnectMatcherOrBuilder |
getConnectMatcherOrBuilder()
If this is used as the matcher, the matcher will only match CONNECT requests.
|
static RouteMatch |
getDefaultInstance() |
RouteMatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RouteMatch.GrpcRouteMatchOptions |
getGrpc()
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.
|
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.
|
com.google.protobuf.Parser<RouteMatch> |
getParserForType() |
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.
|
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.
|
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.
|
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.
|
int |
getSerializedSize() |
RouteMatch.TlsContextMatchOptions |
getTlsContext()
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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() |
static RouteMatch.Builder |
newBuilder() |
static RouteMatch.Builder |
newBuilder(RouteMatch prototype) |
RouteMatch.Builder |
newBuilderForType() |
protected RouteMatch.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RouteMatch |
parseDelimitedFrom(InputStream input) |
static RouteMatch |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteMatch |
parseFrom(byte[] data) |
static RouteMatch |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteMatch |
parseFrom(ByteBuffer data) |
static RouteMatch |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteMatch |
parseFrom(com.google.protobuf.ByteString data) |
static RouteMatch |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteMatch |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouteMatch |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteMatch |
parseFrom(InputStream input) |
static RouteMatch |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouteMatch> |
parser() |
RouteMatch.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PREFIX_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
public static final int SAFE_REGEX_FIELD_NUMBER
public static final int CONNECT_MATCHER_FIELD_NUMBER
public static final int CASE_SENSITIVE_FIELD_NUMBER
public static final int RUNTIME_FRACTION_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER
public static final int QUERY_PARAMETERS_FIELD_NUMBER
public static final int GRPC_FIELD_NUMBER
public static final int TLS_CONTEXT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public RouteMatch.PathSpecifierCase getPathSpecifierCase()
getPathSpecifierCase in interface RouteMatchOrBuilderpublic 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 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 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.v4alpha.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.v4alpha.RegexMatcher safe_regex = 10 [(.validate.rules) = { ... }getSafeRegex in interface RouteMatchOrBuilderpublic 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.v4alpha.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.v4alpha.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.v4alpha.RouteMatch.ConnectMatcher connect_matcher = 12;getConnectMatcher in interface RouteMatchOrBuilderpublic 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.v4alpha.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 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.v4alpha.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.v4alpha.RuntimeFractionalPercent runtime_fraction = 9;getRuntimeFraction in interface RouteMatchOrBuilderpublic 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.v4alpha.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.v4alpha.HeaderMatcher headers = 6;getHeadersList 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.v4alpha.HeaderMatcher headers = 6;getHeadersOrBuilderList 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.v4alpha.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.v4alpha.HeaderMatcher headers = 6;getHeaders in interface RouteMatchOrBuilderpublic 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.v4alpha.HeaderMatcher headers = 6;getHeadersOrBuilder in interface RouteMatchOrBuilderpublic 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.v4alpha.QueryParameterMatcher query_parameters = 7;getQueryParametersList 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.v4alpha.QueryParameterMatcher query_parameters = 7;getQueryParametersOrBuilderList 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.v4alpha.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.v4alpha.QueryParameterMatcher query_parameters = 7;getQueryParameters in interface RouteMatchOrBuilderpublic 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.v4alpha.QueryParameterMatcher query_parameters = 7;getQueryParametersOrBuilder in interface RouteMatchOrBuilderpublic 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.v4alpha.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.v4alpha.RouteMatch.GrpcRouteMatchOptions grpc = 8;getGrpc in interface RouteMatchOrBuilderpublic 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.v4alpha.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.v4alpha.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.v4alpha.RouteMatch.TlsContextMatchOptions tls_context = 11;getTlsContext in interface RouteMatchOrBuilderpublic 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.v4alpha.RouteMatch.TlsContextMatchOptions tls_context = 11;getTlsContextOrBuilder in interface RouteMatchOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RouteMatch parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteMatch parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteMatch parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteMatch parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteMatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteMatch parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteMatch parseFrom(InputStream input) throws IOException
IOExceptionpublic static RouteMatch parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteMatch parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RouteMatch parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteMatch parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RouteMatch parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RouteMatch.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouteMatch.Builder newBuilder()
public static RouteMatch.Builder newBuilder(RouteMatch prototype)
public RouteMatch.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouteMatch.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouteMatch getDefaultInstance()
public static com.google.protobuf.Parser<RouteMatch> parser()
public com.google.protobuf.Parser<RouteMatch> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouteMatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.