public static final class RouteOuterClass.RouteMatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteMatch.Builder> implements RouteOuterClass.RouteMatchOrBuilder
envoy.api.v2.route.RouteMatch| Modifier and Type | Method and Description |
|---|---|
RouteOuterClass.RouteMatch.Builder |
addAllHeaders(Iterable<? extends RouteOuterClass.HeaderMatcher> values)
Specifies a set of headers that the route should match on.
|
RouteOuterClass.RouteMatch.Builder |
addAllQueryParameters(Iterable<? extends RouteOuterClass.QueryParameterMatcher> values)
Specifies a set of URL query parameters on which the route should
match.
|
RouteOuterClass.RouteMatch.Builder |
addHeaders(int index,
RouteOuterClass.HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on.
|
RouteOuterClass.RouteMatch.Builder |
addHeaders(int index,
RouteOuterClass.HeaderMatcher value)
Specifies a set of headers that the route should match on.
|
RouteOuterClass.RouteMatch.Builder |
addHeaders(RouteOuterClass.HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on.
|
RouteOuterClass.RouteMatch.Builder |
addHeaders(RouteOuterClass.HeaderMatcher value)
Specifies a set of headers that the route should match on.
|
RouteOuterClass.HeaderMatcher.Builder |
addHeadersBuilder()
Specifies a set of headers that the route should match on.
|
RouteOuterClass.HeaderMatcher.Builder |
addHeadersBuilder(int index)
Specifies a set of headers that the route should match on.
|
RouteOuterClass.RouteMatch.Builder |
addQueryParameters(int index,
RouteOuterClass.QueryParameterMatcher.Builder builderForValue)
Specifies a set of URL query parameters on which the route should
match.
|
RouteOuterClass.RouteMatch.Builder |
addQueryParameters(int index,
RouteOuterClass.QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should
match.
|
RouteOuterClass.RouteMatch.Builder |
addQueryParameters(RouteOuterClass.QueryParameterMatcher.Builder builderForValue)
Specifies a set of URL query parameters on which the route should
match.
|
RouteOuterClass.RouteMatch.Builder |
addQueryParameters(RouteOuterClass.QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should
match.
|
RouteOuterClass.QueryParameterMatcher.Builder |
addQueryParametersBuilder()
Specifies a set of URL query parameters on which the route should
match.
|
RouteOuterClass.QueryParameterMatcher.Builder |
addQueryParametersBuilder(int index)
Specifies a set of URL query parameters on which the route should
match.
|
RouteOuterClass.RouteMatch.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.RouteMatch |
build() |
RouteOuterClass.RouteMatch |
buildPartial() |
RouteOuterClass.RouteMatch.Builder |
clear() |
RouteOuterClass.RouteMatch.Builder |
clearCaseSensitive()
Indicates that prefix/path matching should be case insensitive.
|
RouteOuterClass.RouteMatch.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteOuterClass.RouteMatch.Builder |
clearGrpc()
If specified, only gRPC requests will be matched.
|
RouteOuterClass.RouteMatch.Builder |
clearHeaders()
Specifies a set of headers that the route should match on.
|
RouteOuterClass.RouteMatch.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteOuterClass.RouteMatch.Builder |
clearPath()
If specified, the route is an exact path rule meaning that the path must
exactly match the *:path* header once the query string is removed.
|
RouteOuterClass.RouteMatch.Builder |
clearPathSpecifier() |
RouteOuterClass.RouteMatch.Builder |
clearPrefix()
If specified, the route is a prefix rule meaning that the prefix must
match the beginning of the *:path* header.
|
RouteOuterClass.RouteMatch.Builder |
clearQueryParameters()
Specifies a set of URL query parameters on which the route should
match.
|
RouteOuterClass.RouteMatch.Builder |
clearRegex()
If specified, the route is a regular expression rule meaning that the
regex must match the *:path* header once the query string is removed.
|
RouteOuterClass.RouteMatch.Builder |
clearRuntime()
Indicates that the route should additionally match on a runtime key.
|
RouteOuterClass.RouteMatch.Builder |
clone() |
com.google.protobuf.BoolValue |
getCaseSensitive()
Indicates that prefix/path matching should be case insensitive.
|
com.google.protobuf.BoolValue.Builder |
getCaseSensitiveBuilder()
Indicates that prefix/path matching should be case insensitive.
|
com.google.protobuf.BoolValueOrBuilder |
getCaseSensitiveOrBuilder()
Indicates that prefix/path matching should be case insensitive.
|
RouteOuterClass.RouteMatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RouteOuterClass.RouteMatch.GrpcRouteMatchOptions |
getGrpc()
If specified, only gRPC requests will be matched.
|
RouteOuterClass.RouteMatch.GrpcRouteMatchOptions.Builder |
getGrpcBuilder()
If specified, only gRPC requests will be matched.
|
RouteOuterClass.RouteMatch.GrpcRouteMatchOptionsOrBuilder |
getGrpcOrBuilder()
If specified, only gRPC requests will be matched.
|
RouteOuterClass.HeaderMatcher |
getHeaders(int index)
Specifies a set of headers that the route should match on.
|
RouteOuterClass.HeaderMatcher.Builder |
getHeadersBuilder(int index)
Specifies a set of headers that the route should match on.
|
List<RouteOuterClass.HeaderMatcher.Builder> |
getHeadersBuilderList()
Specifies a set of headers that the route should match on.
|
int |
getHeadersCount()
Specifies a set of headers that the route should match on.
|
List<RouteOuterClass.HeaderMatcher> |
getHeadersList()
Specifies a set of headers that the route should match on.
|
RouteOuterClass.HeaderMatcherOrBuilder |
getHeadersOrBuilder(int index)
Specifies a set of headers that the route should match on.
|
List<? extends RouteOuterClass.HeaderMatcherOrBuilder> |
getHeadersOrBuilderList()
Specifies a set of headers that the route should match on.
|
String |
getPath()
If specified, the route is an exact path rule meaning that the path must
exactly match the *:path* header once the query string is removed.
|
com.google.protobuf.ByteString |
getPathBytes()
If specified, the route is an exact path rule meaning that the path must
exactly match the *:path* header once the query string is removed.
|
RouteOuterClass.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.
|
RouteOuterClass.QueryParameterMatcher |
getQueryParameters(int index)
Specifies a set of URL query parameters on which the route should
match.
|
RouteOuterClass.QueryParameterMatcher.Builder |
getQueryParametersBuilder(int index)
Specifies a set of URL query parameters on which the route should
match.
|
List<RouteOuterClass.QueryParameterMatcher.Builder> |
getQueryParametersBuilderList()
Specifies a set of URL query parameters on which the route should
match.
|
int |
getQueryParametersCount()
Specifies a set of URL query parameters on which the route should
match.
|
List<RouteOuterClass.QueryParameterMatcher> |
getQueryParametersList()
Specifies a set of URL query parameters on which the route should
match.
|
RouteOuterClass.QueryParameterMatcherOrBuilder |
getQueryParametersOrBuilder(int index)
Specifies a set of URL query parameters on which the route should
match.
|
List<? extends RouteOuterClass.QueryParameterMatcherOrBuilder> |
getQueryParametersOrBuilderList()
Specifies a set of URL query parameters on which the route should
match.
|
String |
getRegex()
If specified, the route is a regular expression rule meaning that the
regex must match the *:path* header once the query string is removed.
|
com.google.protobuf.ByteString |
getRegexBytes()
If specified, the route is a regular expression rule meaning that the
regex must match the *:path* header once the query string is removed.
|
Base.RuntimeUInt32 |
getRuntime()
Indicates that the route should additionally match on a runtime key.
|
Base.RuntimeUInt32.Builder |
getRuntimeBuilder()
Indicates that the route should additionally match on a runtime key.
|
Base.RuntimeUInt32OrBuilder |
getRuntimeOrBuilder()
Indicates that the route should additionally match on a runtime key.
|
boolean |
hasCaseSensitive()
Indicates that prefix/path matching should be case insensitive.
|
boolean |
hasGrpc()
If specified, only gRPC requests will be matched.
|
boolean |
hasRuntime()
Indicates that the route should additionally match on a runtime key.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouteOuterClass.RouteMatch.Builder |
mergeCaseSensitive(com.google.protobuf.BoolValue value)
Indicates that prefix/path matching should be case insensitive.
|
RouteOuterClass.RouteMatch.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteOuterClass.RouteMatch.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteOuterClass.RouteMatch.Builder |
mergeFrom(RouteOuterClass.RouteMatch other) |
RouteOuterClass.RouteMatch.Builder |
mergeGrpc(RouteOuterClass.RouteMatch.GrpcRouteMatchOptions value)
If specified, only gRPC requests will be matched.
|
RouteOuterClass.RouteMatch.Builder |
mergeRuntime(Base.RuntimeUInt32 value)
Indicates that the route should additionally match on a runtime key.
|
RouteOuterClass.RouteMatch.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteOuterClass.RouteMatch.Builder |
removeHeaders(int index)
Specifies a set of headers that the route should match on.
|
RouteOuterClass.RouteMatch.Builder |
removeQueryParameters(int index)
Specifies a set of URL query parameters on which the route should
match.
|
RouteOuterClass.RouteMatch.Builder |
setCaseSensitive(com.google.protobuf.BoolValue.Builder builderForValue)
Indicates that prefix/path matching should be case insensitive.
|
RouteOuterClass.RouteMatch.Builder |
setCaseSensitive(com.google.protobuf.BoolValue value)
Indicates that prefix/path matching should be case insensitive.
|
RouteOuterClass.RouteMatch.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.RouteMatch.Builder |
setGrpc(RouteOuterClass.RouteMatch.GrpcRouteMatchOptions.Builder builderForValue)
If specified, only gRPC requests will be matched.
|
RouteOuterClass.RouteMatch.Builder |
setGrpc(RouteOuterClass.RouteMatch.GrpcRouteMatchOptions value)
If specified, only gRPC requests will be matched.
|
RouteOuterClass.RouteMatch.Builder |
setHeaders(int index,
RouteOuterClass.HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on.
|
RouteOuterClass.RouteMatch.Builder |
setHeaders(int index,
RouteOuterClass.HeaderMatcher value)
Specifies a set of headers that the route should match on.
|
RouteOuterClass.RouteMatch.Builder |
setPath(String value)
If specified, the route is an exact path rule meaning that the path must
exactly match the *:path* header once the query string is removed.
|
RouteOuterClass.RouteMatch.Builder |
setPathBytes(com.google.protobuf.ByteString value)
If specified, the route is an exact path rule meaning that the path must
exactly match the *:path* header once the query string is removed.
|
RouteOuterClass.RouteMatch.Builder |
setPrefix(String value)
If specified, the route is a prefix rule meaning that the prefix must
match the beginning of the *:path* header.
|
RouteOuterClass.RouteMatch.Builder |
setPrefixBytes(com.google.protobuf.ByteString value)
If specified, the route is a prefix rule meaning that the prefix must
match the beginning of the *:path* header.
|
RouteOuterClass.RouteMatch.Builder |
setQueryParameters(int index,
RouteOuterClass.QueryParameterMatcher.Builder builderForValue)
Specifies a set of URL query parameters on which the route should
match.
|
RouteOuterClass.RouteMatch.Builder |
setQueryParameters(int index,
RouteOuterClass.QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should
match.
|
RouteOuterClass.RouteMatch.Builder |
setRegex(String 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.
|
RouteOuterClass.RouteMatch.Builder |
setRegexBytes(com.google.protobuf.ByteString 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.
|
RouteOuterClass.RouteMatch.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteOuterClass.RouteMatch.Builder |
setRuntime(Base.RuntimeUInt32.Builder builderForValue)
Indicates that the route should additionally match on a runtime key.
|
RouteOuterClass.RouteMatch.Builder |
setRuntime(Base.RuntimeUInt32 value)
Indicates that the route should additionally match on a runtime key.
|
RouteOuterClass.RouteMatch.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteMatch.Builder>public RouteOuterClass.RouteMatch.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteMatch.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteMatch.Builder>public RouteOuterClass.RouteMatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteOuterClass.RouteMatch build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.RouteMatch buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.RouteMatch.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteMatch.Builder>public RouteOuterClass.RouteMatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteMatch.Builder>public RouteOuterClass.RouteMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteMatch.Builder>public RouteOuterClass.RouteMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteMatch.Builder>public RouteOuterClass.RouteMatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteMatch.Builder>public RouteOuterClass.RouteMatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteMatch.Builder>public RouteOuterClass.RouteMatch.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteOuterClass.RouteMatch.Builder>public RouteOuterClass.RouteMatch.Builder mergeFrom(RouteOuterClass.RouteMatch other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteMatch.Builder>public RouteOuterClass.RouteMatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteOuterClass.RouteMatch.Builder>IOExceptionpublic RouteOuterClass.RouteMatch.PathSpecifierCase getPathSpecifierCase()
getPathSpecifierCase in interface RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.RouteMatch.Builder clearPathSpecifier()
public String getPrefix()
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the *:path* header.
string prefix = 1;getPrefix in interface RouteOuterClass.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 RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.RouteMatch.Builder setPrefix(String value)
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the *:path* header.
string prefix = 1;public RouteOuterClass.RouteMatch.Builder clearPrefix()
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the *:path* header.
string prefix = 1;public RouteOuterClass.RouteMatch.Builder setPrefixBytes(com.google.protobuf.ByteString value)
If specified, the route is a prefix rule meaning that the prefix must match the beginning of the *:path* header.
string prefix = 1;public String getPath()
If specified, the route is an exact path rule meaning that the path must exactly match the *:path* header once the query string is removed.
string path = 2;getPath in interface RouteOuterClass.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 RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.RouteMatch.Builder setPath(String value)
If specified, the route is an exact path rule meaning that the path must exactly match the *:path* header once the query string is removed.
string path = 2;public RouteOuterClass.RouteMatch.Builder clearPath()
If specified, the route is an exact path rule meaning that the path must exactly match the *:path* header once the query string is removed.
string path = 2;public RouteOuterClass.RouteMatch.Builder setPathBytes(com.google.protobuf.ByteString value)
If specified, the route is an exact path rule meaning that the path must exactly match the *:path* header once the query string is removed.
string path = 2;public String getRegex()
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. The regex grammar is defined `here <http://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*
string regex = 3 [(.validate.rules) = { ... }getRegex in interface RouteOuterClass.RouteMatchOrBuilderpublic com.google.protobuf.ByteString getRegexBytes()
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. The regex grammar is defined `here <http://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*
string regex = 3 [(.validate.rules) = { ... }getRegexBytes in interface RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.RouteMatch.Builder setRegex(String value)
If specified, the route is a regular expression rule meaning that the regex must match the *:path* header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the *:path* header matches the regex. The regex grammar is defined `here <http://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*
string regex = 3 [(.validate.rules) = { ... }public RouteOuterClass.RouteMatch.Builder clearRegex()
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. The regex grammar is defined `here <http://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*
string regex = 3 [(.validate.rules) = { ... }public RouteOuterClass.RouteMatch.Builder setRegexBytes(com.google.protobuf.ByteString value)
If specified, the route is a regular expression rule meaning that the regex must match the *:path* header once the query string is removed. The entire path (without the query string) must match the regex. The rule will not match if only a subsequence of the *:path* header matches the regex. The regex grammar is defined `here <http://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*
string regex = 3 [(.validate.rules) = { ... }public boolean hasCaseSensitive()
Indicates that prefix/path matching should be case insensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;hasCaseSensitive in interface RouteOuterClass.RouteMatchOrBuilderpublic com.google.protobuf.BoolValue getCaseSensitive()
Indicates that prefix/path matching should be case insensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;getCaseSensitive in interface RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.RouteMatch.Builder setCaseSensitive(com.google.protobuf.BoolValue value)
Indicates that prefix/path matching should be case insensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;public RouteOuterClass.RouteMatch.Builder setCaseSensitive(com.google.protobuf.BoolValue.Builder builderForValue)
Indicates that prefix/path matching should be case insensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;public RouteOuterClass.RouteMatch.Builder mergeCaseSensitive(com.google.protobuf.BoolValue value)
Indicates that prefix/path matching should be case insensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;public RouteOuterClass.RouteMatch.Builder clearCaseSensitive()
Indicates that prefix/path matching should be case insensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;public com.google.protobuf.BoolValue.Builder getCaseSensitiveBuilder()
Indicates that prefix/path matching should be case insensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;public com.google.protobuf.BoolValueOrBuilder getCaseSensitiveOrBuilder()
Indicates that prefix/path matching should be case insensitive. The default is true.
.google.protobuf.BoolValue case_sensitive = 4;getCaseSensitiveOrBuilder in interface RouteOuterClass.RouteMatchOrBuilderpublic boolean hasRuntime()
Indicates that the route should additionally match on a runtime key. An integer between 0-100. Every time the route is considered for a match, a random number between 0-99 is selected. If the number is <= the value found in the key (checked first) or, if the key is not present, the default value, the route is a match (assuming everything also about the route matches). A runtime 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.
.envoy.api.v2.core.RuntimeUInt32 runtime = 5;hasRuntime in interface RouteOuterClass.RouteMatchOrBuilderpublic Base.RuntimeUInt32 getRuntime()
Indicates that the route should additionally match on a runtime key. An integer between 0-100. Every time the route is considered for a match, a random number between 0-99 is selected. If the number is <= the value found in the key (checked first) or, if the key is not present, the default value, the route is a match (assuming everything also about the route matches). A runtime 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.
.envoy.api.v2.core.RuntimeUInt32 runtime = 5;getRuntime in interface RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.RouteMatch.Builder setRuntime(Base.RuntimeUInt32 value)
Indicates that the route should additionally match on a runtime key. An integer between 0-100. Every time the route is considered for a match, a random number between 0-99 is selected. If the number is <= the value found in the key (checked first) or, if the key is not present, the default value, the route is a match (assuming everything also about the route matches). A runtime 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.
.envoy.api.v2.core.RuntimeUInt32 runtime = 5;public RouteOuterClass.RouteMatch.Builder setRuntime(Base.RuntimeUInt32.Builder builderForValue)
Indicates that the route should additionally match on a runtime key. An integer between 0-100. Every time the route is considered for a match, a random number between 0-99 is selected. If the number is <= the value found in the key (checked first) or, if the key is not present, the default value, the route is a match (assuming everything also about the route matches). A runtime 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.
.envoy.api.v2.core.RuntimeUInt32 runtime = 5;public RouteOuterClass.RouteMatch.Builder mergeRuntime(Base.RuntimeUInt32 value)
Indicates that the route should additionally match on a runtime key. An integer between 0-100. Every time the route is considered for a match, a random number between 0-99 is selected. If the number is <= the value found in the key (checked first) or, if the key is not present, the default value, the route is a match (assuming everything also about the route matches). A runtime 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.
.envoy.api.v2.core.RuntimeUInt32 runtime = 5;public RouteOuterClass.RouteMatch.Builder clearRuntime()
Indicates that the route should additionally match on a runtime key. An integer between 0-100. Every time the route is considered for a match, a random number between 0-99 is selected. If the number is <= the value found in the key (checked first) or, if the key is not present, the default value, the route is a match (assuming everything also about the route matches). A runtime 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.
.envoy.api.v2.core.RuntimeUInt32 runtime = 5;public Base.RuntimeUInt32.Builder getRuntimeBuilder()
Indicates that the route should additionally match on a runtime key. An integer between 0-100. Every time the route is considered for a match, a random number between 0-99 is selected. If the number is <= the value found in the key (checked first) or, if the key is not present, the default value, the route is a match (assuming everything also about the route matches). A runtime 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.
.envoy.api.v2.core.RuntimeUInt32 runtime = 5;public Base.RuntimeUInt32OrBuilder getRuntimeOrBuilder()
Indicates that the route should additionally match on a runtime key. An integer between 0-100. Every time the route is considered for a match, a random number between 0-99 is selected. If the number is <= the value found in the key (checked first) or, if the key is not present, the default value, the route is a match (assuming everything also about the route matches). A runtime 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.
.envoy.api.v2.core.RuntimeUInt32 runtime = 5;getRuntimeOrBuilder in interface RouteOuterClass.RouteMatchOrBuilderpublic List<RouteOuterClass.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.api.v2.route.HeaderMatcher headers = 6;getHeadersList in interface RouteOuterClass.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.api.v2.route.HeaderMatcher headers = 6;getHeadersCount in interface RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.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.api.v2.route.HeaderMatcher headers = 6;getHeaders in interface RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.RouteMatch.Builder setHeaders(int index, RouteOuterClass.HeaderMatcher value)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.api.v2.route.HeaderMatcher headers = 6;public RouteOuterClass.RouteMatch.Builder setHeaders(int index, RouteOuterClass.HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.api.v2.route.HeaderMatcher headers = 6;public RouteOuterClass.RouteMatch.Builder addHeaders(RouteOuterClass.HeaderMatcher value)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.api.v2.route.HeaderMatcher headers = 6;public RouteOuterClass.RouteMatch.Builder addHeaders(int index, RouteOuterClass.HeaderMatcher value)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.api.v2.route.HeaderMatcher headers = 6;public RouteOuterClass.RouteMatch.Builder addHeaders(RouteOuterClass.HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.api.v2.route.HeaderMatcher headers = 6;public RouteOuterClass.RouteMatch.Builder addHeaders(int index, RouteOuterClass.HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.api.v2.route.HeaderMatcher headers = 6;public RouteOuterClass.RouteMatch.Builder addAllHeaders(Iterable<? extends RouteOuterClass.HeaderMatcher> values)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.api.v2.route.HeaderMatcher headers = 6;public RouteOuterClass.RouteMatch.Builder clearHeaders()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.api.v2.route.HeaderMatcher headers = 6;public RouteOuterClass.RouteMatch.Builder removeHeaders(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.api.v2.route.HeaderMatcher headers = 6;public RouteOuterClass.HeaderMatcher.Builder getHeadersBuilder(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.api.v2.route.HeaderMatcher headers = 6;public RouteOuterClass.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.api.v2.route.HeaderMatcher headers = 6;getHeadersOrBuilder in interface RouteOuterClass.RouteMatchOrBuilderpublic List<? extends RouteOuterClass.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.api.v2.route.HeaderMatcher headers = 6;getHeadersOrBuilderList in interface RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.HeaderMatcher.Builder addHeadersBuilder()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.api.v2.route.HeaderMatcher headers = 6;public RouteOuterClass.HeaderMatcher.Builder addHeadersBuilder(int index)
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.api.v2.route.HeaderMatcher headers = 6;public List<RouteOuterClass.HeaderMatcher.Builder> getHeadersBuilderList()
Specifies a set of headers that the route should match on. The router will check the request’s headers against all the specified headers in the route config. A match will happen if all the headers in the route are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.api.v2.route.HeaderMatcher headers = 6;public List<RouteOuterClass.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.api.v2.route.QueryParameterMatcher query_parameters = 7;getQueryParametersList in interface RouteOuterClass.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.api.v2.route.QueryParameterMatcher query_parameters = 7;getQueryParametersCount in interface RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.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.api.v2.route.QueryParameterMatcher query_parameters = 7;getQueryParameters in interface RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.RouteMatch.Builder setQueryParameters(int index, RouteOuterClass.QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the *path* header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the *path* header's query string for a match to occur.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters = 7;public RouteOuterClass.RouteMatch.Builder setQueryParameters(int index, RouteOuterClass.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;public RouteOuterClass.RouteMatch.Builder addQueryParameters(RouteOuterClass.QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the *path* header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the *path* header's query string for a match to occur.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters = 7;public RouteOuterClass.RouteMatch.Builder addQueryParameters(int index, RouteOuterClass.QueryParameterMatcher value)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the *path* header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the *path* header's query string for a match to occur.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters = 7;public RouteOuterClass.RouteMatch.Builder addQueryParameters(RouteOuterClass.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;public RouteOuterClass.RouteMatch.Builder addQueryParameters(int index, RouteOuterClass.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;public RouteOuterClass.RouteMatch.Builder addAllQueryParameters(Iterable<? extends RouteOuterClass.QueryParameterMatcher> values)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the *path* header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the *path* header's query string for a match to occur.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters = 7;public RouteOuterClass.RouteMatch.Builder clearQueryParameters()
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the *path* header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the *path* header's query string for a match to occur.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters = 7;public RouteOuterClass.RouteMatch.Builder removeQueryParameters(int index)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the *path* header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the *path* header's query string for a match to occur.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters = 7;public RouteOuterClass.QueryParameterMatcher.Builder getQueryParametersBuilder(int index)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the *path* header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the *path* header's query string for a match to occur.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters = 7;public RouteOuterClass.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.api.v2.route.QueryParameterMatcher query_parameters = 7;getQueryParametersOrBuilder in interface RouteOuterClass.RouteMatchOrBuilderpublic List<? extends RouteOuterClass.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.api.v2.route.QueryParameterMatcher query_parameters = 7;getQueryParametersOrBuilderList in interface RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.QueryParameterMatcher.Builder addQueryParametersBuilder()
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the *path* header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the *path* header's query string for a match to occur.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters = 7;public RouteOuterClass.QueryParameterMatcher.Builder addQueryParametersBuilder(int index)
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the *path* header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the *path* header's query string for a match to occur.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters = 7;public List<RouteOuterClass.QueryParameterMatcher.Builder> getQueryParametersBuilderList()
Specifies a set of URL query parameters on which the route should match. The router will check the query string from the *path* header against all the specified query parameters. If the number of specified query parameters is nonzero, they all must match the *path* header's query string for a match to occur.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters = 7;public boolean hasGrpc()
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8;hasGrpc in interface RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.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.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8;getGrpc in interface RouteOuterClass.RouteMatchOrBuilderpublic RouteOuterClass.RouteMatch.Builder setGrpc(RouteOuterClass.RouteMatch.GrpcRouteMatchOptions value)
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8;public RouteOuterClass.RouteMatch.Builder setGrpc(RouteOuterClass.RouteMatch.GrpcRouteMatchOptions.Builder builderForValue)
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8;public RouteOuterClass.RouteMatch.Builder mergeGrpc(RouteOuterClass.RouteMatch.GrpcRouteMatchOptions value)
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8;public RouteOuterClass.RouteMatch.Builder clearGrpc()
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8;public RouteOuterClass.RouteMatch.GrpcRouteMatchOptions.Builder getGrpcBuilder()
If specified, only gRPC requests will be matched. The router will check that the content-type header has a application/grpc or one of the various application/grpc+ values.
.envoy.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8;public RouteOuterClass.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.api.v2.route.RouteMatch.GrpcRouteMatchOptions grpc = 8;getGrpcOrBuilder in interface RouteOuterClass.RouteMatchOrBuilderpublic final RouteOuterClass.RouteMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteMatch.Builder>public final RouteOuterClass.RouteMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteMatch.Builder>Copyright © 2018 The Envoy Project. All rights reserved.