public static final class RouteOuterClass.HeaderMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.HeaderMatcher.Builder> implements RouteOuterClass.HeaderMatcherOrBuilder
.. attention::
Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host*
header. Thus, if attempting to match on *Host*, match on *:authority* instead.
.. attention::
To route on HTTP method, use the special HTTP/2 *:method* header. This works for both
HTTP/1 and HTTP/2 as Envoy normalizes headers. E.g.,
.. code-block:: json
{
"name": ":method",
"value": "POST"
}
Protobuf type envoy.api.v2.route.HeaderMatcher| Modifier and Type | Method and Description |
|---|---|
RouteOuterClass.HeaderMatcher.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.HeaderMatcher |
build() |
RouteOuterClass.HeaderMatcher |
buildPartial() |
RouteOuterClass.HeaderMatcher.Builder |
clear() |
RouteOuterClass.HeaderMatcher.Builder |
clearExactMatch()
If specified, header match will be performed based on the value of the header.
|
RouteOuterClass.HeaderMatcher.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteOuterClass.HeaderMatcher.Builder |
clearHeaderMatchSpecifier() |
RouteOuterClass.HeaderMatcher.Builder |
clearName()
Specifies the name of the header in the request.
|
RouteOuterClass.HeaderMatcher.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteOuterClass.HeaderMatcher.Builder |
clearRangeMatch()
If specified, header match will be performed based on range.
|
RouteOuterClass.HeaderMatcher.Builder |
clearRegex()
Specifies whether the header value is a regular
expression or not.
|
RouteOuterClass.HeaderMatcher.Builder |
clearRegexMatch()
If specified, this regex string is a regular expression rule which implies the entire request
header value must match the regex.
|
RouteOuterClass.HeaderMatcher.Builder |
clearValue()
Specifies the value of the header.
|
RouteOuterClass.HeaderMatcher.Builder |
clone() |
RouteOuterClass.HeaderMatcher |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExactMatch()
If specified, header match will be performed based on the value of the header.
|
com.google.protobuf.ByteString |
getExactMatchBytes()
If specified, header match will be performed based on the value of the header.
|
RouteOuterClass.HeaderMatcher.HeaderMatchSpecifierCase |
getHeaderMatchSpecifierCase() |
String |
getName()
Specifies the name of the header in the request.
|
com.google.protobuf.ByteString |
getNameBytes()
Specifies the name of the header in the request.
|
Range.Int64Range |
getRangeMatch()
If specified, header match will be performed based on range.
|
Range.Int64Range.Builder |
getRangeMatchBuilder()
If specified, header match will be performed based on range.
|
Range.Int64RangeOrBuilder |
getRangeMatchOrBuilder()
If specified, header match will be performed based on range.
|
com.google.protobuf.BoolValue |
getRegex()
Specifies whether the header value is a regular
expression or not.
|
com.google.protobuf.BoolValue.Builder |
getRegexBuilder()
Specifies whether the header value is a regular
expression or not.
|
String |
getRegexMatch()
If specified, this regex string is a regular expression rule which implies the entire request
header value must match the regex.
|
com.google.protobuf.ByteString |
getRegexMatchBytes()
If specified, this regex string is a regular expression rule which implies the entire request
header value must match the regex.
|
com.google.protobuf.BoolValueOrBuilder |
getRegexOrBuilder()
Specifies whether the header value is a regular
expression or not.
|
String |
getValue()
Specifies the value of the header.
|
com.google.protobuf.ByteString |
getValueBytes()
Specifies the value of the header.
|
boolean |
hasRangeMatch()
If specified, header match will be performed based on range.
|
boolean |
hasRegex()
Specifies whether the header value is a regular
expression or not.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouteOuterClass.HeaderMatcher.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteOuterClass.HeaderMatcher.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteOuterClass.HeaderMatcher.Builder |
mergeFrom(RouteOuterClass.HeaderMatcher other) |
RouteOuterClass.HeaderMatcher.Builder |
mergeRangeMatch(Range.Int64Range value)
If specified, header match will be performed based on range.
|
RouteOuterClass.HeaderMatcher.Builder |
mergeRegex(com.google.protobuf.BoolValue value)
Specifies whether the header value is a regular
expression or not.
|
RouteOuterClass.HeaderMatcher.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteOuterClass.HeaderMatcher.Builder |
setExactMatch(String value)
If specified, header match will be performed based on the value of the header.
|
RouteOuterClass.HeaderMatcher.Builder |
setExactMatchBytes(com.google.protobuf.ByteString value)
If specified, header match will be performed based on the value of the header.
|
RouteOuterClass.HeaderMatcher.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.HeaderMatcher.Builder |
setName(String value)
Specifies the name of the header in the request.
|
RouteOuterClass.HeaderMatcher.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Specifies the name of the header in the request.
|
RouteOuterClass.HeaderMatcher.Builder |
setRangeMatch(Range.Int64Range.Builder builderForValue)
If specified, header match will be performed based on range.
|
RouteOuterClass.HeaderMatcher.Builder |
setRangeMatch(Range.Int64Range value)
If specified, header match will be performed based on range.
|
RouteOuterClass.HeaderMatcher.Builder |
setRegex(com.google.protobuf.BoolValue.Builder builderForValue)
Specifies whether the header value is a regular
expression or not.
|
RouteOuterClass.HeaderMatcher.Builder |
setRegex(com.google.protobuf.BoolValue value)
Specifies whether the header value is a regular
expression or not.
|
RouteOuterClass.HeaderMatcher.Builder |
setRegexMatch(String value)
If specified, this regex string is a regular expression rule which implies the entire request
header value must match the regex.
|
RouteOuterClass.HeaderMatcher.Builder |
setRegexMatchBytes(com.google.protobuf.ByteString value)
If specified, this regex string is a regular expression rule which implies the entire request
header value must match the regex.
|
RouteOuterClass.HeaderMatcher.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteOuterClass.HeaderMatcher.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteOuterClass.HeaderMatcher.Builder |
setValue(String value)
Specifies the value of the header.
|
RouteOuterClass.HeaderMatcher.Builder |
setValueBytes(com.google.protobuf.ByteString value)
Specifies the value of the header.
|
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.HeaderMatcher.Builder>public RouteOuterClass.HeaderMatcher.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.HeaderMatcher.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.HeaderMatcher.Builder>public RouteOuterClass.HeaderMatcher getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteOuterClass.HeaderMatcher build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.HeaderMatcher buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.HeaderMatcher.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.HeaderMatcher.Builder>public RouteOuterClass.HeaderMatcher.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.HeaderMatcher.Builder>public RouteOuterClass.HeaderMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.HeaderMatcher.Builder>public RouteOuterClass.HeaderMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.HeaderMatcher.Builder>public RouteOuterClass.HeaderMatcher.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.HeaderMatcher.Builder>public RouteOuterClass.HeaderMatcher.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.HeaderMatcher.Builder>public RouteOuterClass.HeaderMatcher.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteOuterClass.HeaderMatcher.Builder>public RouteOuterClass.HeaderMatcher.Builder mergeFrom(RouteOuterClass.HeaderMatcher other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.HeaderMatcher.Builder>public RouteOuterClass.HeaderMatcher.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.HeaderMatcher.Builder>IOExceptionpublic RouteOuterClass.HeaderMatcher.HeaderMatchSpecifierCase getHeaderMatchSpecifierCase()
getHeaderMatchSpecifierCase in interface RouteOuterClass.HeaderMatcherOrBuilderpublic RouteOuterClass.HeaderMatcher.Builder clearHeaderMatchSpecifier()
public String getName()
Specifies the name of the header in the request.
string name = 1 [(.validate.rules) = { ... }getName in interface RouteOuterClass.HeaderMatcherOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Specifies the name of the header in the request.
string name = 1 [(.validate.rules) = { ... }getNameBytes in interface RouteOuterClass.HeaderMatcherOrBuilderpublic RouteOuterClass.HeaderMatcher.Builder setName(String value)
Specifies the name of the header in the request.
string name = 1 [(.validate.rules) = { ... }public RouteOuterClass.HeaderMatcher.Builder clearName()
Specifies the name of the header in the request.
string name = 1 [(.validate.rules) = { ... }public RouteOuterClass.HeaderMatcher.Builder setNameBytes(com.google.protobuf.ByteString value)
Specifies the name of the header in the request.
string name = 1 [(.validate.rules) = { ... }public String getValue()
Specifies the value of the header. If the value is absent a request that has the name header will match, regardless of the header’s value.
string value = 2;getValue in interface RouteOuterClass.HeaderMatcherOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
Specifies the value of the header. If the value is absent a request that has the name header will match, regardless of the header’s value.
string value = 2;getValueBytes in interface RouteOuterClass.HeaderMatcherOrBuilderpublic RouteOuterClass.HeaderMatcher.Builder setValue(String value)
Specifies the value of the header. If the value is absent a request that has the name header will match, regardless of the header’s value.
string value = 2;public RouteOuterClass.HeaderMatcher.Builder clearValue()
Specifies the value of the header. If the value is absent a request that has the name header will match, regardless of the header’s value.
string value = 2;public RouteOuterClass.HeaderMatcher.Builder setValueBytes(com.google.protobuf.ByteString value)
Specifies the value of the header. If the value is absent a request that has the name header will match, regardless of the header’s value.
string value = 2;public boolean hasRegex()
Specifies whether the header value is a regular
expression or not. Defaults to false. The entire request header value must match the regex. The
rule will not match if only a subsequence of the request header value matches the regex. The
regex grammar used in the value field is defined
`here <http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
Examples:
* The regex *\d{3}* matches the value *123*
* The regex *\d{3}* does not match the value *1234*
* The regex *\d{3}* does not match the value *123.456*
.google.protobuf.BoolValue regex = 3;hasRegex in interface RouteOuterClass.HeaderMatcherOrBuilderpublic com.google.protobuf.BoolValue getRegex()
Specifies whether the header value is a regular
expression or not. Defaults to false. The entire request header value must match the regex. The
rule will not match if only a subsequence of the request header value matches the regex. The
regex grammar used in the value field is defined
`here <http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
Examples:
* The regex *\d{3}* matches the value *123*
* The regex *\d{3}* does not match the value *1234*
* The regex *\d{3}* does not match the value *123.456*
.google.protobuf.BoolValue regex = 3;getRegex in interface RouteOuterClass.HeaderMatcherOrBuilderpublic RouteOuterClass.HeaderMatcher.Builder setRegex(com.google.protobuf.BoolValue value)
Specifies whether the header value is a regular
expression or not. Defaults to false. The entire request header value must match the regex. The
rule will not match if only a subsequence of the request header value matches the regex. The
regex grammar used in the value field is defined
`here <http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
Examples:
* The regex *\d{3}* matches the value *123*
* The regex *\d{3}* does not match the value *1234*
* The regex *\d{3}* does not match the value *123.456*
.google.protobuf.BoolValue regex = 3;public RouteOuterClass.HeaderMatcher.Builder setRegex(com.google.protobuf.BoolValue.Builder builderForValue)
Specifies whether the header value is a regular
expression or not. Defaults to false. The entire request header value must match the regex. The
rule will not match if only a subsequence of the request header value matches the regex. The
regex grammar used in the value field is defined
`here <http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
Examples:
* The regex *\d{3}* matches the value *123*
* The regex *\d{3}* does not match the value *1234*
* The regex *\d{3}* does not match the value *123.456*
.google.protobuf.BoolValue regex = 3;public RouteOuterClass.HeaderMatcher.Builder mergeRegex(com.google.protobuf.BoolValue value)
Specifies whether the header value is a regular
expression or not. Defaults to false. The entire request header value must match the regex. The
rule will not match if only a subsequence of the request header value matches the regex. The
regex grammar used in the value field is defined
`here <http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
Examples:
* The regex *\d{3}* matches the value *123*
* The regex *\d{3}* does not match the value *1234*
* The regex *\d{3}* does not match the value *123.456*
.google.protobuf.BoolValue regex = 3;public RouteOuterClass.HeaderMatcher.Builder clearRegex()
Specifies whether the header value is a regular
expression or not. Defaults to false. The entire request header value must match the regex. The
rule will not match if only a subsequence of the request header value matches the regex. The
regex grammar used in the value field is defined
`here <http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
Examples:
* The regex *\d{3}* matches the value *123*
* The regex *\d{3}* does not match the value *1234*
* The regex *\d{3}* does not match the value *123.456*
.google.protobuf.BoolValue regex = 3;public com.google.protobuf.BoolValue.Builder getRegexBuilder()
Specifies whether the header value is a regular
expression or not. Defaults to false. The entire request header value must match the regex. The
rule will not match if only a subsequence of the request header value matches the regex. The
regex grammar used in the value field is defined
`here <http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
Examples:
* The regex *\d{3}* matches the value *123*
* The regex *\d{3}* does not match the value *1234*
* The regex *\d{3}* does not match the value *123.456*
.google.protobuf.BoolValue regex = 3;public com.google.protobuf.BoolValueOrBuilder getRegexOrBuilder()
Specifies whether the header value is a regular
expression or not. Defaults to false. The entire request header value must match the regex. The
rule will not match if only a subsequence of the request header value matches the regex. The
regex grammar used in the value field is defined
`here <http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
Examples:
* The regex *\d{3}* matches the value *123*
* The regex *\d{3}* does not match the value *1234*
* The regex *\d{3}* does not match the value *123.456*
.google.protobuf.BoolValue regex = 3;getRegexOrBuilder in interface RouteOuterClass.HeaderMatcherOrBuilderpublic String getExactMatch()
If specified, header match will be performed based on the value of the header.
string exact_match = 4;getExactMatch in interface RouteOuterClass.HeaderMatcherOrBuilderpublic com.google.protobuf.ByteString getExactMatchBytes()
If specified, header match will be performed based on the value of the header.
string exact_match = 4;getExactMatchBytes in interface RouteOuterClass.HeaderMatcherOrBuilderpublic RouteOuterClass.HeaderMatcher.Builder setExactMatch(String value)
If specified, header match will be performed based on the value of the header.
string exact_match = 4;public RouteOuterClass.HeaderMatcher.Builder clearExactMatch()
If specified, header match will be performed based on the value of the header.
string exact_match = 4;public RouteOuterClass.HeaderMatcher.Builder setExactMatchBytes(com.google.protobuf.ByteString value)
If specified, header match will be performed based on the value of the header.
string exact_match = 4;public String getRegexMatch()
If specified, this regex string is a regular expression rule which implies the entire request
header value must match the regex. The rule will not match if only a subsequence of the
request header value matches the regex. The regex grammar used in the value field is defined
`here <http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
Examples:
* The regex *\d{3}* matches the value *123*
* The regex *\d{3}* does not match the value *1234*
* The regex *\d{3}* does not match the value *123.456*
string regex_match = 5;getRegexMatch in interface RouteOuterClass.HeaderMatcherOrBuilderpublic com.google.protobuf.ByteString getRegexMatchBytes()
If specified, this regex string is a regular expression rule which implies the entire request
header value must match the regex. The rule will not match if only a subsequence of the
request header value matches the regex. The regex grammar used in the value field is defined
`here <http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
Examples:
* The regex *\d{3}* matches the value *123*
* The regex *\d{3}* does not match the value *1234*
* The regex *\d{3}* does not match the value *123.456*
string regex_match = 5;getRegexMatchBytes in interface RouteOuterClass.HeaderMatcherOrBuilderpublic RouteOuterClass.HeaderMatcher.Builder setRegexMatch(String value)
If specified, this regex string is a regular expression rule which implies the entire request
header value must match the regex. The rule will not match if only a subsequence of the
request header value matches the regex. The regex grammar used in the value field is defined
`here <http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
Examples:
* The regex *\d{3}* matches the value *123*
* The regex *\d{3}* does not match the value *1234*
* The regex *\d{3}* does not match the value *123.456*
string regex_match = 5;public RouteOuterClass.HeaderMatcher.Builder clearRegexMatch()
If specified, this regex string is a regular expression rule which implies the entire request
header value must match the regex. The rule will not match if only a subsequence of the
request header value matches the regex. The regex grammar used in the value field is defined
`here <http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
Examples:
* The regex *\d{3}* matches the value *123*
* The regex *\d{3}* does not match the value *1234*
* The regex *\d{3}* does not match the value *123.456*
string regex_match = 5;public RouteOuterClass.HeaderMatcher.Builder setRegexMatchBytes(com.google.protobuf.ByteString value)
If specified, this regex string is a regular expression rule which implies the entire request
header value must match the regex. The rule will not match if only a subsequence of the
request header value matches the regex. The regex grammar used in the value field is defined
`here <http://en.cppreference.com/w/cpp/regex/ecmascript>`_.
Examples:
* The regex *\d{3}* matches the value *123*
* The regex *\d{3}* does not match the value *1234*
* The regex *\d{3}* does not match the value *123.456*
string regex_match = 5;public boolean hasRangeMatch()
If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.Int64Range range_match = 6;hasRangeMatch in interface RouteOuterClass.HeaderMatcherOrBuilderpublic Range.Int64Range getRangeMatch()
If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.Int64Range range_match = 6;getRangeMatch in interface RouteOuterClass.HeaderMatcherOrBuilderpublic RouteOuterClass.HeaderMatcher.Builder setRangeMatch(Range.Int64Range value)
If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.Int64Range range_match = 6;public RouteOuterClass.HeaderMatcher.Builder setRangeMatch(Range.Int64Range.Builder builderForValue)
If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.Int64Range range_match = 6;public RouteOuterClass.HeaderMatcher.Builder mergeRangeMatch(Range.Int64Range value)
If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.Int64Range range_match = 6;public RouteOuterClass.HeaderMatcher.Builder clearRangeMatch()
If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.Int64Range range_match = 6;public Range.Int64Range.Builder getRangeMatchBuilder()
If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.Int64Range range_match = 6;public Range.Int64RangeOrBuilder getRangeMatchOrBuilder()
If specified, header match will be performed based on range. The rule will match if the request header value is within this range. The entire request header value must represent an integer in base 10 notation: consisting of an optional plus or minus sign followed by a sequence of digits. The rule will not match if the header value does not represent an integer. Match will fail for empty values, floating point numbers or if only a subsequence of the header value is an integer. Examples: * For range [-10,0), route will match for header value -1, but not for 0, "somestring", 10.9, "-1somestring"
.envoy.type.Int64Range range_match = 6;getRangeMatchOrBuilder in interface RouteOuterClass.HeaderMatcherOrBuilderpublic final RouteOuterClass.HeaderMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.HeaderMatcher.Builder>public final RouteOuterClass.HeaderMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.HeaderMatcher.Builder>Copyright © 2018 The Envoy Project. All rights reserved.