public static final class RouteOuterClass.QueryParameterMatcher extends com.google.protobuf.GeneratedMessageV3 implements RouteOuterClass.QueryParameterMatcherOrBuilder
Query parameter matching treats the query string of a request's :path header as an ampersand-separated list of keys and/or key=value elements.Protobuf type
envoy.api.v2.route.QueryParameterMatcher| Modifier and Type | Class and Description |
|---|---|
static class |
RouteOuterClass.QueryParameterMatcher.Builder
Query parameter matching treats the query string of a request's :path header
as an ampersand-separated list of keys and/or key=value elements.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
NAME_FIELD_NUMBER |
static int |
REGEX_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RouteOuterClass.QueryParameterMatcher |
getDefaultInstance() |
RouteOuterClass.QueryParameterMatcher |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
Specifies the name of a key that must be present in the requested
*path*'s query string.
|
com.google.protobuf.ByteString |
getNameBytes()
Specifies the name of a key that must be present in the requested
*path*'s query string.
|
com.google.protobuf.Parser<RouteOuterClass.QueryParameterMatcher> |
getParserForType() |
com.google.protobuf.BoolValue |
getRegex()
Specifies whether the query parameter value is a regular expression.
|
com.google.protobuf.BoolValueOrBuilder |
getRegexOrBuilder()
Specifies whether the query parameter value is a regular expression.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getValue()
Specifies the value of the key.
|
com.google.protobuf.ByteString |
getValueBytes()
Specifies the value of the key.
|
int |
hashCode() |
boolean |
hasRegex()
Specifies whether the query parameter value is a regular expression.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RouteOuterClass.QueryParameterMatcher.Builder |
newBuilder() |
static RouteOuterClass.QueryParameterMatcher.Builder |
newBuilder(RouteOuterClass.QueryParameterMatcher prototype) |
RouteOuterClass.QueryParameterMatcher.Builder |
newBuilderForType() |
protected RouteOuterClass.QueryParameterMatcher.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static RouteOuterClass.QueryParameterMatcher |
parseDelimitedFrom(InputStream input) |
static RouteOuterClass.QueryParameterMatcher |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.QueryParameterMatcher |
parseFrom(byte[] data) |
static RouteOuterClass.QueryParameterMatcher |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.QueryParameterMatcher |
parseFrom(ByteBuffer data) |
static RouteOuterClass.QueryParameterMatcher |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.QueryParameterMatcher |
parseFrom(com.google.protobuf.ByteString data) |
static RouteOuterClass.QueryParameterMatcher |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.QueryParameterMatcher |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouteOuterClass.QueryParameterMatcher |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.QueryParameterMatcher |
parseFrom(InputStream input) |
static RouteOuterClass.QueryParameterMatcher |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouteOuterClass.QueryParameterMatcher> |
parser() |
RouteOuterClass.QueryParameterMatcher.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int REGEX_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Specifies the name of a key that must be present in the requested *path*'s query string.
string name = 1 [(.validate.rules) = { ... }getName in interface RouteOuterClass.QueryParameterMatcherOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Specifies the name of a key that must be present in the requested *path*'s query string.
string name = 1 [(.validate.rules) = { ... }getNameBytes in interface RouteOuterClass.QueryParameterMatcherOrBuilderpublic String getValue()
Specifies the value of the key. If the value is absent, a request that contains the key in its query string will match, whether the key appears with a value (e.g., "?debug=true") or not (e.g., "?debug")
string value = 3;getValue in interface RouteOuterClass.QueryParameterMatcherOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
Specifies the value of the key. If the value is absent, a request that contains the key in its query string will match, whether the key appears with a value (e.g., "?debug=true") or not (e.g., "?debug")
string value = 3;getValueBytes in interface RouteOuterClass.QueryParameterMatcherOrBuilderpublic boolean hasRegex()
Specifies whether the query parameter value is a regular expression. Defaults to false. The entire query parameter value (i.e., the part to the right of the equals sign in "key=value") must match the regex. E.g., the regex "\d+$" will match "123" but not "a123" or "123a".
.google.protobuf.BoolValue regex = 4;hasRegex in interface RouteOuterClass.QueryParameterMatcherOrBuilderpublic com.google.protobuf.BoolValue getRegex()
Specifies whether the query parameter value is a regular expression. Defaults to false. The entire query parameter value (i.e., the part to the right of the equals sign in "key=value") must match the regex. E.g., the regex "\d+$" will match "123" but not "a123" or "123a".
.google.protobuf.BoolValue regex = 4;getRegex in interface RouteOuterClass.QueryParameterMatcherOrBuilderpublic com.google.protobuf.BoolValueOrBuilder getRegexOrBuilder()
Specifies whether the query parameter value is a regular expression. Defaults to false. The entire query parameter value (i.e., the part to the right of the equals sign in "key=value") must match the regex. E.g., the regex "\d+$" will match "123" but not "a123" or "123a".
.google.protobuf.BoolValue regex = 4;getRegexOrBuilder in interface RouteOuterClass.QueryParameterMatcherOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RouteOuterClass.QueryParameterMatcher parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.QueryParameterMatcher parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.QueryParameterMatcher parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.QueryParameterMatcher parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.QueryParameterMatcher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.QueryParameterMatcher parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.QueryParameterMatcher parseFrom(InputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.QueryParameterMatcher parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteOuterClass.QueryParameterMatcher parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.QueryParameterMatcher parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteOuterClass.QueryParameterMatcher parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.QueryParameterMatcher parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RouteOuterClass.QueryParameterMatcher.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouteOuterClass.QueryParameterMatcher.Builder newBuilder()
public static RouteOuterClass.QueryParameterMatcher.Builder newBuilder(RouteOuterClass.QueryParameterMatcher prototype)
public RouteOuterClass.QueryParameterMatcher.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouteOuterClass.QueryParameterMatcher.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouteOuterClass.QueryParameterMatcher getDefaultInstance()
public static com.google.protobuf.Parser<RouteOuterClass.QueryParameterMatcher> parser()
public com.google.protobuf.Parser<RouteOuterClass.QueryParameterMatcher> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouteOuterClass.QueryParameterMatcher getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.