public static final class RouteOuterClass.QueryParameterMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.QueryParameterMatcher.Builder> 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 | Method and Description |
|---|---|
RouteOuterClass.QueryParameterMatcher.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.QueryParameterMatcher |
build() |
RouteOuterClass.QueryParameterMatcher |
buildPartial() |
RouteOuterClass.QueryParameterMatcher.Builder |
clear() |
RouteOuterClass.QueryParameterMatcher.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteOuterClass.QueryParameterMatcher.Builder |
clearName()
Specifies the name of a key that must be present in the requested
*path*'s query string.
|
RouteOuterClass.QueryParameterMatcher.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteOuterClass.QueryParameterMatcher.Builder |
clearRegex()
Specifies whether the query parameter value is a regular expression.
|
RouteOuterClass.QueryParameterMatcher.Builder |
clearValue()
Specifies the value of the key.
|
RouteOuterClass.QueryParameterMatcher.Builder |
clone() |
RouteOuterClass.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() |
RouteOuterClass.QueryParameterMatcher.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteOuterClass.QueryParameterMatcher.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteOuterClass.QueryParameterMatcher.Builder |
mergeFrom(RouteOuterClass.QueryParameterMatcher other) |
RouteOuterClass.QueryParameterMatcher.Builder |
mergeRegex(com.google.protobuf.BoolValue value)
Specifies whether the query parameter value is a regular expression.
|
RouteOuterClass.QueryParameterMatcher.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteOuterClass.QueryParameterMatcher.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.QueryParameterMatcher.Builder |
setName(String value)
Specifies the name of a key that must be present in the requested
*path*'s query string.
|
RouteOuterClass.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.
|
RouteOuterClass.QueryParameterMatcher.Builder |
setRegex(com.google.protobuf.BoolValue.Builder builderForValue)
Specifies whether the query parameter value is a regular expression.
|
RouteOuterClass.QueryParameterMatcher.Builder |
setRegex(com.google.protobuf.BoolValue value)
Specifies whether the query parameter value is a regular expression.
|
RouteOuterClass.QueryParameterMatcher.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteOuterClass.QueryParameterMatcher.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteOuterClass.QueryParameterMatcher.Builder |
setValue(String value)
Specifies the value of the key.
|
RouteOuterClass.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<RouteOuterClass.QueryParameterMatcher.Builder>public RouteOuterClass.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<RouteOuterClass.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<RouteOuterClass.QueryParameterMatcher.Builder>public RouteOuterClass.QueryParameterMatcher getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteOuterClass.QueryParameterMatcher build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.QueryParameterMatcher buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.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<RouteOuterClass.QueryParameterMatcher.Builder>public RouteOuterClass.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<RouteOuterClass.QueryParameterMatcher.Builder>public RouteOuterClass.QueryParameterMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.QueryParameterMatcher.Builder>public RouteOuterClass.QueryParameterMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.QueryParameterMatcher.Builder>public RouteOuterClass.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<RouteOuterClass.QueryParameterMatcher.Builder>public RouteOuterClass.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<RouteOuterClass.QueryParameterMatcher.Builder>public RouteOuterClass.QueryParameterMatcher.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteOuterClass.QueryParameterMatcher.Builder>public RouteOuterClass.QueryParameterMatcher.Builder mergeFrom(RouteOuterClass.QueryParameterMatcher other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.QueryParameterMatcher.Builder>public RouteOuterClass.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<RouteOuterClass.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 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 RouteOuterClass.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 RouteOuterClass.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 RouteOuterClass.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 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 RouteOuterClass.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 RouteOuterClass.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 RouteOuterClass.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 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 RouteOuterClass.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 RouteOuterClass.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 RouteOuterClass.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 RouteOuterClass.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 RouteOuterClass.QueryParameterMatcherOrBuilderpublic final RouteOuterClass.QueryParameterMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.QueryParameterMatcher.Builder>public final RouteOuterClass.QueryParameterMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.QueryParameterMatcher.Builder>Copyright © 2018 The Envoy Project. All rights reserved.