Class QueryParameterMatcher.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>
io.envoyproxy.envoy.config.route.v3.QueryParameterMatcher.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,QueryParameterMatcherOrBuilder,Cloneable
- Enclosing class:
- QueryParameterMatcher
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. [#next-free-field: 7]Protobuf type
envoy.config.route.v3.QueryParameterMatcher-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Specifies the name of a key that must be present in the requested ``path``'s query string.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specifies whether a query parameter should be present.Specifies whether a query parameter value should match against a string.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Specifies the name of a key that must be present in the requested ``path``'s query string.com.google.protobuf.ByteStringSpecifies the name of a key that must be present in the requested ``path``'s query string.booleanSpecifies whether a query parameter should be present.Specifies whether a query parameter value should match against a string.Specifies whether a query parameter value should match against a string.Specifies whether a query parameter value should match against a string.booleanSpecifies whether a query parameter should be present.booleanSpecifies whether a query parameter value should match against a string.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(QueryParameterMatcher other) mergeStringMatch(StringMatcher value) Specifies whether a query parameter value should match against a string.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Specifies the name of a key that must be present in the requested ``path``'s query string.setNameBytes(com.google.protobuf.ByteString value) Specifies the name of a key that must be present in the requested ``path``'s query string.setPresentMatch(boolean value) Specifies whether a query parameter should be present.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStringMatch(StringMatcher value) Specifies whether a query parameter value should match against a string.setStringMatch(StringMatcher.Builder builderForValue) Specifies whether a query parameter value should match against a string.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<QueryParameterMatcher.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>
-
setField
public QueryParameterMatcher.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>
-
clearField
public QueryParameterMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>
-
clearOneof
public QueryParameterMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>
-
setRepeatedField
public QueryParameterMatcher.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>
-
addRepeatedField
public QueryParameterMatcher.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryParameterMatcher.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>
-
mergeFrom
public QueryParameterMatcher.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryParameterMatcher.Builder>- Throws:
IOException
-
getQueryParameterMatchSpecifierCase
- Specified by:
getQueryParameterMatchSpecifierCasein interfaceQueryParameterMatcherOrBuilder
-
clearQueryParameterMatchSpecifier
-
getName
Specifies the name of a key that must be present in the requested ``path``'s query string.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNamein interfaceQueryParameterMatcherOrBuilder- Returns:
- The name.
-
getNameBytes
public 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) = { ... }- Specified by:
getNameBytesin interfaceQueryParameterMatcherOrBuilder- Returns:
- The bytes for name.
-
setName
Specifies the name of a key that must be present in the requested ``path``'s query string.
string name = 1 [(.validate.rules) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Specifies the name of a key that must be present in the requested ``path``'s query string.
string name = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
Specifies the name of a key that must be present in the requested ``path``'s query string.
string name = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasStringMatch
public boolean hasStringMatch()Specifies whether a query parameter value should match against a string.
.envoy.type.matcher.v3.StringMatcher string_match = 5 [(.validate.rules) = { ... }- Specified by:
hasStringMatchin interfaceQueryParameterMatcherOrBuilder- Returns:
- Whether the stringMatch field is set.
-
getStringMatch
Specifies whether a query parameter value should match against a string.
.envoy.type.matcher.v3.StringMatcher string_match = 5 [(.validate.rules) = { ... }- Specified by:
getStringMatchin interfaceQueryParameterMatcherOrBuilder- Returns:
- The stringMatch.
-
setStringMatch
Specifies whether a query parameter value should match against a string.
.envoy.type.matcher.v3.StringMatcher string_match = 5 [(.validate.rules) = { ... } -
setStringMatch
Specifies whether a query parameter value should match against a string.
.envoy.type.matcher.v3.StringMatcher string_match = 5 [(.validate.rules) = { ... } -
mergeStringMatch
Specifies whether a query parameter value should match against a string.
.envoy.type.matcher.v3.StringMatcher string_match = 5 [(.validate.rules) = { ... } -
clearStringMatch
Specifies whether a query parameter value should match against a string.
.envoy.type.matcher.v3.StringMatcher string_match = 5 [(.validate.rules) = { ... } -
getStringMatchBuilder
Specifies whether a query parameter value should match against a string.
.envoy.type.matcher.v3.StringMatcher string_match = 5 [(.validate.rules) = { ... } -
getStringMatchOrBuilder
Specifies whether a query parameter value should match against a string.
.envoy.type.matcher.v3.StringMatcher string_match = 5 [(.validate.rules) = { ... }- Specified by:
getStringMatchOrBuilderin interfaceQueryParameterMatcherOrBuilder
-
hasPresentMatch
public boolean hasPresentMatch()Specifies whether a query parameter should be present.
bool present_match = 6;- Specified by:
hasPresentMatchin interfaceQueryParameterMatcherOrBuilder- Returns:
- Whether the presentMatch field is set.
-
getPresentMatch
public boolean getPresentMatch()Specifies whether a query parameter should be present.
bool present_match = 6;- Specified by:
getPresentMatchin interfaceQueryParameterMatcherOrBuilder- Returns:
- The presentMatch.
-
setPresentMatch
Specifies whether a query parameter should be present.
bool present_match = 6;- Parameters:
value- The presentMatch to set.- Returns:
- This builder for chaining.
-
clearPresentMatch
Specifies whether a query parameter should be present.
bool present_match = 6;- Returns:
- This builder for chaining.
-
setUnknownFields
public final QueryParameterMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>
-
mergeUnknownFields
public final QueryParameterMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryParameterMatcher.Builder>
-