public static final class QueryParameterMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder> implements 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 | Method and Description |
|---|---|
QueryParameterMatcher.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QueryParameterMatcher |
build() |
QueryParameterMatcher |
buildPartial() |
QueryParameterMatcher.Builder |
clear() |
QueryParameterMatcher.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
QueryParameterMatcher.Builder |
clearName()
Specifies the name of a key that must be present in the requested
*path*'s query string.
|
QueryParameterMatcher.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
QueryParameterMatcher.Builder |
clearRegex()
Specifies whether the query parameter value is a regular expression.
|
QueryParameterMatcher.Builder |
clearValue()
Specifies the value of the key.
|
QueryParameterMatcher.Builder |
clone() |
QueryParameterMatcher |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.BoolValue |
getRegex()
Specifies whether the query parameter value is a regular expression.
|
com.google.protobuf.BoolValue.Builder |
getRegexBuilder()
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.
|
String |
getValue()
Specifies the value of the key.
|
com.google.protobuf.ByteString |
getValueBytes()
Specifies the value of the key.
|
boolean |
hasRegex()
Specifies whether the query parameter value is a regular expression.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
QueryParameterMatcher.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
QueryParameterMatcher.Builder |
mergeFrom(com.google.protobuf.Message other) |
QueryParameterMatcher.Builder |
mergeFrom(QueryParameterMatcher other) |
QueryParameterMatcher.Builder |
mergeRegex(com.google.protobuf.BoolValue value)
Specifies whether the query parameter value is a regular expression.
|
QueryParameterMatcher.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
QueryParameterMatcher.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QueryParameterMatcher.Builder |
setName(String value)
Specifies the name of a key that must be present in the requested
*path*'s query string.
|
QueryParameterMatcher.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Specifies the name of a key that must be present in the requested
*path*'s query string.
|
QueryParameterMatcher.Builder |
setRegex(com.google.protobuf.BoolValue.Builder builderForValue)
Specifies whether the query parameter value is a regular expression.
|
QueryParameterMatcher.Builder |
setRegex(com.google.protobuf.BoolValue value)
Specifies whether the query parameter value is a regular expression.
|
QueryParameterMatcher.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
QueryParameterMatcher.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
QueryParameterMatcher.Builder |
setValue(String value)
Specifies the value of the key.
|
QueryParameterMatcher.Builder |
setValueBytes(com.google.protobuf.ByteString value)
Specifies the value of the key.
|
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<QueryParameterMatcher.Builder>public QueryParameterMatcher.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.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<QueryParameterMatcher.Builder>public QueryParameterMatcher getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic QueryParameterMatcher build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic QueryParameterMatcher buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic QueryParameterMatcher.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>public QueryParameterMatcher.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<QueryParameterMatcher.Builder>public QueryParameterMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>public QueryParameterMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>public QueryParameterMatcher.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<QueryParameterMatcher.Builder>public QueryParameterMatcher.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<QueryParameterMatcher.Builder>public QueryParameterMatcher.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QueryParameterMatcher.Builder>public QueryParameterMatcher.Builder mergeFrom(QueryParameterMatcher other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>public QueryParameterMatcher.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<QueryParameterMatcher.Builder>IOExceptionpublic 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 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 QueryParameterMatcherOrBuilderpublic QueryParameterMatcher.Builder setName(String value)
Specifies the name of a key that must be present in the requested *path*'s query string.
string name = 1 [(.validate.rules) = { ... }public QueryParameterMatcher.Builder clearName()
Specifies the name of a key that must be present in the requested *path*'s query string.
string name = 1 [(.validate.rules) = { ... }public QueryParameterMatcher.Builder setNameBytes(com.google.protobuf.ByteString value)
Specifies the name of a key that must be present in the requested *path*'s query string.
string name = 1 [(.validate.rules) = { ... }public 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 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 QueryParameterMatcherOrBuilderpublic QueryParameterMatcher.Builder setValue(String value)
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;public QueryParameterMatcher.Builder clearValue()
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;public QueryParameterMatcher.Builder setValueBytes(com.google.protobuf.ByteString value)
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;public 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 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 QueryParameterMatcherOrBuilderpublic QueryParameterMatcher.Builder setRegex(com.google.protobuf.BoolValue value)
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;public QueryParameterMatcher.Builder setRegex(com.google.protobuf.BoolValue.Builder builderForValue)
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;public QueryParameterMatcher.Builder mergeRegex(com.google.protobuf.BoolValue value)
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;public QueryParameterMatcher.Builder clearRegex()
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;public com.google.protobuf.BoolValue.Builder getRegexBuilder()
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;public 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 QueryParameterMatcherOrBuilderpublic final QueryParameterMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>public final QueryParameterMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>Copyright © 2018–2019 The Envoy Project. All rights reserved.