Package io.envoyproxy.envoy.api.v2.route
Class HeaderMatcher
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.api.v2.route.HeaderMatcher
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HeaderMatcherOrBuilder,Serializable
public final class HeaderMatcher extends com.google.protobuf.GeneratedMessageV3 implements 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", "exact_match": "POST" } .. attention:: In the absence of any header match specifier, match will default to :ref:`present_match <envoy_api_field_route.HeaderMatcher.present_match>`. i.e, a request that has the :ref:`name <envoy_api_field_route.HeaderMatcher.name>` header will match, regardless of the header's value. [#next-major-version: HeaderMatcher should be refactored to use StringMatcher.] [#next-free-field: 12]Protobuf typeenvoy.api.v2.route.HeaderMatcher- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHeaderMatcher.Builder.. attention:: Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* header.static classHeaderMatcher.HeaderMatchSpecifierCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intEXACT_MATCH_FIELD_NUMBERstatic intINVERT_MATCH_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPREFIX_MATCH_FIELD_NUMBERstatic intPRESENT_MATCH_FIELD_NUMBERstatic intRANGE_MATCH_FIELD_NUMBERstatic intREGEX_MATCH_FIELD_NUMBERstatic intSAFE_REGEX_MATCH_FIELD_NUMBERstatic intSUFFIX_MATCH_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)static HeaderMatchergetDefaultInstance()HeaderMatchergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetExactMatch()If specified, header match will be performed based on the value of the header.com.google.protobuf.ByteStringgetExactMatchBytes()If specified, header match will be performed based on the value of the header.HeaderMatcher.HeaderMatchSpecifierCasegetHeaderMatchSpecifierCase()booleangetInvertMatch()If specified, the match result will be inverted before checking.StringgetName()Specifies the name of the header in the request.com.google.protobuf.ByteStringgetNameBytes()Specifies the name of the header in the request.com.google.protobuf.Parser<HeaderMatcher>getParserForType()StringgetPrefixMatch()If specified, header match will be performed based on the prefix of the header value.com.google.protobuf.ByteStringgetPrefixMatchBytes()If specified, header match will be performed based on the prefix of the header value.booleangetPresentMatch()If specified, header match will be performed based on whether the header is in the request.Int64RangegetRangeMatch()If specified, header match will be performed based on range.Int64RangeOrBuildergetRangeMatchOrBuilder()If specified, header match will be performed based on range.StringgetRegexMatch()Deprecated.envoy.api.v2.route.HeaderMatcher.regex_match is deprecated.com.google.protobuf.ByteStringgetRegexMatchBytes()Deprecated.envoy.api.v2.route.HeaderMatcher.regex_match is deprecated.RegexMatchergetSafeRegexMatch()If specified, this regex string is a regular expression rule which implies the entire request header value must match the regex.RegexMatcherOrBuildergetSafeRegexMatchOrBuilder()If specified, this regex string is a regular expression rule which implies the entire request header value must match the regex.intgetSerializedSize()StringgetSuffixMatch()If specified, header match will be performed based on the suffix of the header value.com.google.protobuf.ByteStringgetSuffixMatchBytes()If specified, header match will be performed based on the suffix of the header value.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasExactMatch()If specified, header match will be performed based on the value of the header.inthashCode()booleanhasPrefixMatch()If specified, header match will be performed based on the prefix of the header value.booleanhasPresentMatch()If specified, header match will be performed based on whether the header is in the request.booleanhasRangeMatch()If specified, header match will be performed based on range.booleanhasRegexMatch()Deprecated.envoy.api.v2.route.HeaderMatcher.regex_match is deprecated.booleanhasSafeRegexMatch()If specified, this regex string is a regular expression rule which implies the entire request header value must match the regex.booleanhasSuffixMatch()If specified, header match will be performed based on the suffix of the header value.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static HeaderMatcher.BuildernewBuilder()static HeaderMatcher.BuildernewBuilder(HeaderMatcher prototype)HeaderMatcher.BuildernewBuilderForType()protected HeaderMatcher.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static HeaderMatcherparseDelimitedFrom(InputStream input)static HeaderMatcherparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HeaderMatcherparseFrom(byte[] data)static HeaderMatcherparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HeaderMatcherparseFrom(com.google.protobuf.ByteString data)static HeaderMatcherparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HeaderMatcherparseFrom(com.google.protobuf.CodedInputStream input)static HeaderMatcherparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HeaderMatcherparseFrom(InputStream input)static HeaderMatcherparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HeaderMatcherparseFrom(ByteBuffer data)static HeaderMatcherparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<HeaderMatcher>parser()HeaderMatcher.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXACT_MATCH_FIELD_NUMBER
public static final int EXACT_MATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REGEX_MATCH_FIELD_NUMBER
public static final int REGEX_MATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SAFE_REGEX_MATCH_FIELD_NUMBER
public static final int SAFE_REGEX_MATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RANGE_MATCH_FIELD_NUMBER
public static final int RANGE_MATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRESENT_MATCH_FIELD_NUMBER
public static final int PRESENT_MATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PREFIX_MATCH_FIELD_NUMBER
public static final int PREFIX_MATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUFFIX_MATCH_FIELD_NUMBER
public static final int SUFFIX_MATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INVERT_MATCH_FIELD_NUMBER
public static final int INVERT_MATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getHeaderMatchSpecifierCase
public HeaderMatcher.HeaderMatchSpecifierCase getHeaderMatchSpecifierCase()
- Specified by:
getHeaderMatchSpecifierCasein interfaceHeaderMatcherOrBuilder
-
getName
public String getName()
Specifies the name of the header in the request.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNamein interfaceHeaderMatcherOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Specifies the name of the header in the request.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNameBytesin interfaceHeaderMatcherOrBuilder- Returns:
- The bytes for name.
-
hasExactMatch
public boolean hasExactMatch()
If specified, header match will be performed based on the value of the header.
string exact_match = 4;- Specified by:
hasExactMatchin interfaceHeaderMatcherOrBuilder- Returns:
- Whether the exactMatch field is set.
-
getExactMatch
public String getExactMatch()
If specified, header match will be performed based on the value of the header.
string exact_match = 4;- Specified by:
getExactMatchin interfaceHeaderMatcherOrBuilder- Returns:
- The exactMatch.
-
getExactMatchBytes
public com.google.protobuf.ByteString getExactMatchBytes()
If specified, header match will be performed based on the value of the header.
string exact_match = 4;- Specified by:
getExactMatchBytesin interfaceHeaderMatcherOrBuilder- Returns:
- The bytes for exactMatch.
-
hasRegexMatch
@Deprecated public boolean hasRegexMatch()
Deprecated.envoy.api.v2.route.HeaderMatcher.regex_match is deprecated. See envoy/api/v2/route/route_components.proto;l=1541If 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 <https://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* .. attention:: This field has been deprecated in favor of `safe_regex_match` as it is not safe for use with untrusted input in all cases.string regex_match = 5 [deprecated = true, (.validate.rules) = { ... }- Specified by:
hasRegexMatchin interfaceHeaderMatcherOrBuilder- Returns:
- Whether the regexMatch field is set.
-
getRegexMatch
@Deprecated public String getRegexMatch()
Deprecated.envoy.api.v2.route.HeaderMatcher.regex_match is deprecated. See envoy/api/v2/route/route_components.proto;l=1541If 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 <https://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* .. attention:: This field has been deprecated in favor of `safe_regex_match` as it is not safe for use with untrusted input in all cases.string regex_match = 5 [deprecated = true, (.validate.rules) = { ... }- Specified by:
getRegexMatchin interfaceHeaderMatcherOrBuilder- Returns:
- The regexMatch.
-
getRegexMatchBytes
@Deprecated public com.google.protobuf.ByteString getRegexMatchBytes()
Deprecated.envoy.api.v2.route.HeaderMatcher.regex_match is deprecated. See envoy/api/v2/route/route_components.proto;l=1541If 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 <https://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* .. attention:: This field has been deprecated in favor of `safe_regex_match` as it is not safe for use with untrusted input in all cases.string regex_match = 5 [deprecated = true, (.validate.rules) = { ... }- Specified by:
getRegexMatchBytesin interfaceHeaderMatcherOrBuilder- Returns:
- The bytes for regexMatch.
-
hasSafeRegexMatch
public boolean hasSafeRegexMatch()
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.
.envoy.type.matcher.RegexMatcher safe_regex_match = 11;- Specified by:
hasSafeRegexMatchin interfaceHeaderMatcherOrBuilder- Returns:
- Whether the safeRegexMatch field is set.
-
getSafeRegexMatch
public RegexMatcher getSafeRegexMatch()
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.
.envoy.type.matcher.RegexMatcher safe_regex_match = 11;- Specified by:
getSafeRegexMatchin interfaceHeaderMatcherOrBuilder- Returns:
- The safeRegexMatch.
-
getSafeRegexMatchOrBuilder
public RegexMatcherOrBuilder getSafeRegexMatchOrBuilder()
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.
.envoy.type.matcher.RegexMatcher safe_regex_match = 11;- Specified by:
getSafeRegexMatchOrBuilderin interfaceHeaderMatcherOrBuilder
-
hasRangeMatch
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;- Specified by:
hasRangeMatchin interfaceHeaderMatcherOrBuilder- Returns:
- Whether the rangeMatch field is set.
-
getRangeMatch
public 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;- Specified by:
getRangeMatchin interfaceHeaderMatcherOrBuilder- Returns:
- The rangeMatch.
-
getRangeMatchOrBuilder
public 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;- Specified by:
getRangeMatchOrBuilderin interfaceHeaderMatcherOrBuilder
-
hasPresentMatch
public boolean hasPresentMatch()
If specified, header match will be performed based on whether the header is in the request.
bool present_match = 7;- Specified by:
hasPresentMatchin interfaceHeaderMatcherOrBuilder- Returns:
- Whether the presentMatch field is set.
-
getPresentMatch
public boolean getPresentMatch()
If specified, header match will be performed based on whether the header is in the request.
bool present_match = 7;- Specified by:
getPresentMatchin interfaceHeaderMatcherOrBuilder- Returns:
- The presentMatch.
-
hasPrefixMatch
public boolean hasPrefixMatch()
If specified, header match will be performed based on the prefix of the header value. Note: empty prefix is not allowed, please use present_match instead. Examples: * The prefix *abcd* matches the value *abcdxyz*, but not for *abcxyz*.
string prefix_match = 9 [(.validate.rules) = { ... }- Specified by:
hasPrefixMatchin interfaceHeaderMatcherOrBuilder- Returns:
- Whether the prefixMatch field is set.
-
getPrefixMatch
public String getPrefixMatch()
If specified, header match will be performed based on the prefix of the header value. Note: empty prefix is not allowed, please use present_match instead. Examples: * The prefix *abcd* matches the value *abcdxyz*, but not for *abcxyz*.
string prefix_match = 9 [(.validate.rules) = { ... }- Specified by:
getPrefixMatchin interfaceHeaderMatcherOrBuilder- Returns:
- The prefixMatch.
-
getPrefixMatchBytes
public com.google.protobuf.ByteString getPrefixMatchBytes()
If specified, header match will be performed based on the prefix of the header value. Note: empty prefix is not allowed, please use present_match instead. Examples: * The prefix *abcd* matches the value *abcdxyz*, but not for *abcxyz*.
string prefix_match = 9 [(.validate.rules) = { ... }- Specified by:
getPrefixMatchBytesin interfaceHeaderMatcherOrBuilder- Returns:
- The bytes for prefixMatch.
-
hasSuffixMatch
public boolean hasSuffixMatch()
If specified, header match will be performed based on the suffix of the header value. Note: empty suffix is not allowed, please use present_match instead. Examples: * The suffix *abcd* matches the value *xyzabcd*, but not for *xyzbcd*.
string suffix_match = 10 [(.validate.rules) = { ... }- Specified by:
hasSuffixMatchin interfaceHeaderMatcherOrBuilder- Returns:
- Whether the suffixMatch field is set.
-
getSuffixMatch
public String getSuffixMatch()
If specified, header match will be performed based on the suffix of the header value. Note: empty suffix is not allowed, please use present_match instead. Examples: * The suffix *abcd* matches the value *xyzabcd*, but not for *xyzbcd*.
string suffix_match = 10 [(.validate.rules) = { ... }- Specified by:
getSuffixMatchin interfaceHeaderMatcherOrBuilder- Returns:
- The suffixMatch.
-
getSuffixMatchBytes
public com.google.protobuf.ByteString getSuffixMatchBytes()
If specified, header match will be performed based on the suffix of the header value. Note: empty suffix is not allowed, please use present_match instead. Examples: * The suffix *abcd* matches the value *xyzabcd*, but not for *xyzbcd*.
string suffix_match = 10 [(.validate.rules) = { ... }- Specified by:
getSuffixMatchBytesin interfaceHeaderMatcherOrBuilder- Returns:
- The bytes for suffixMatch.
-
getInvertMatch
public boolean getInvertMatch()
If specified, the match result will be inverted before checking. Defaults to false. Examples: * The regex ``\d{3}`` does not match the value *1234*, so it will match when inverted. * The range [-10,0) will match the value -1, so it will not match when inverted.bool invert_match = 8;- Specified by:
getInvertMatchin interfaceHeaderMatcherOrBuilder- Returns:
- The invertMatch.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static HeaderMatcher parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HeaderMatcher parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HeaderMatcher parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HeaderMatcher parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HeaderMatcher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HeaderMatcher parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HeaderMatcher parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HeaderMatcher parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HeaderMatcher parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HeaderMatcher parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static HeaderMatcher parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HeaderMatcher parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public HeaderMatcher.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static HeaderMatcher.Builder newBuilder()
-
newBuilder
public static HeaderMatcher.Builder newBuilder(HeaderMatcher prototype)
-
toBuilder
public HeaderMatcher.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HeaderMatcher.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static HeaderMatcher getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<HeaderMatcher> parser()
-
getParserForType
public com.google.protobuf.Parser<HeaderMatcher> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public HeaderMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-