Class QueryParameterMatcher.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<QueryParameterMatcher.Builder>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate Objectprivate Objectprivate intprivate com.google.protobuf.SingleFieldBuilder<StringMatcher, StringMatcher.Builder, StringMatcherOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidbuildPartial0(QueryParameterMatcher result) private voidclear()Specifies the name of a key that must be present in the requested ``path``'s query string.Specifies whether a query parameter should be present.Specifies whether a query parameter value should match against a string.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.private com.google.protobuf.SingleFieldBuilder<StringMatcher, StringMatcher.Builder, StringMatcherOrBuilder> 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.GeneratedMessage.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.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.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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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
-
Field Details
-
queryParameterMatchSpecifierCase_
private int queryParameterMatchSpecifierCase_ -
queryParameterMatchSpecifier_
-
bitField0_
private int bitField0_ -
name_
-
stringMatchBuilder_
private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder, stringMatchBuilder_StringMatcherOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
-
buildPartial0
-
buildPartialOneofs
-
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.GeneratedMessage.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
-
getStringMatchFieldBuilder
private com.google.protobuf.SingleFieldBuilder<StringMatcher,StringMatcher.Builder, getStringMatchFieldBuilder()StringMatcherOrBuilder> Specifies whether a query parameter value should match against a string.
.envoy.type.matcher.v3.StringMatcher string_match = 5 [(.validate.rules) = { ... } -
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.
-