public static interface RouteOuterClass.HeaderMatcherOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
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.
|
com.google.protobuf.BoolValue |
getRegex()
Specifies whether the header value is a regular
expression or not.
|
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 |
hasRegex()
Specifies whether the header value is a regular
expression or not.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Specifies the name of the header in the request.
string name = 1 [(.validate.rules) = { ... }com.google.protobuf.ByteString getNameBytes()
Specifies the name of the header in the request.
string name = 1 [(.validate.rules) = { ... }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;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;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;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;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;Copyright © 2018 The Envoy Project. All rights reserved.