public static final class HttpQueryParameterMatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder> implements HttpQueryParameterMatchOrBuilder
HttpRouteRuleMatch criteria for a request's query parameter.Protobuf type
google.cloud.compute.v1.HttpQueryParameterMatch| Modifier and Type | Method and Description |
|---|---|
HttpQueryParameterMatch.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HttpQueryParameterMatch |
build() |
HttpQueryParameterMatch |
buildPartial() |
HttpQueryParameterMatch.Builder |
clear() |
HttpQueryParameterMatch.Builder |
clearExactMatch()
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch.
|
HttpQueryParameterMatch.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HttpQueryParameterMatch.Builder |
clearName()
The name of the query parameter to match.
|
HttpQueryParameterMatch.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HttpQueryParameterMatch.Builder |
clearPresentMatch()
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not.
|
HttpQueryParameterMatch.Builder |
clearRegexMatch()
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch.
|
HttpQueryParameterMatch.Builder |
clone() |
HttpQueryParameterMatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExactMatch()
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch.
|
com.google.protobuf.ByteString |
getExactMatchBytes()
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch.
|
String |
getName()
The name of the query parameter to match.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the query parameter to match.
|
boolean |
getPresentMatch()
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not.
|
String |
getRegexMatch()
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch.
|
com.google.protobuf.ByteString |
getRegexMatchBytes()
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch.
|
boolean |
hasExactMatch()
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch.
|
boolean |
hasName()
The name of the query parameter to match.
|
boolean |
hasPresentMatch()
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not.
|
boolean |
hasRegexMatch()
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HttpQueryParameterMatch.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HttpQueryParameterMatch.Builder |
mergeFrom(HttpQueryParameterMatch other) |
HttpQueryParameterMatch.Builder |
mergeFrom(com.google.protobuf.Message other) |
HttpQueryParameterMatch.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HttpQueryParameterMatch.Builder |
setExactMatch(String value)
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch.
|
HttpQueryParameterMatch.Builder |
setExactMatchBytes(com.google.protobuf.ByteString value)
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch.
|
HttpQueryParameterMatch.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HttpQueryParameterMatch.Builder |
setName(String value)
The name of the query parameter to match.
|
HttpQueryParameterMatch.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the query parameter to match.
|
HttpQueryParameterMatch.Builder |
setPresentMatch(boolean value)
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not.
|
HttpQueryParameterMatch.Builder |
setRegexMatch(String value)
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch.
|
HttpQueryParameterMatch.Builder |
setRegexMatchBytes(com.google.protobuf.ByteString value)
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch.
|
HttpQueryParameterMatch.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HttpQueryParameterMatch.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>public HttpQueryParameterMatch.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.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<HttpQueryParameterMatch.Builder>public HttpQueryParameterMatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HttpQueryParameterMatch build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HttpQueryParameterMatch buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HttpQueryParameterMatch.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>public HttpQueryParameterMatch.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<HttpQueryParameterMatch.Builder>public HttpQueryParameterMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>public HttpQueryParameterMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>public HttpQueryParameterMatch.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<HttpQueryParameterMatch.Builder>public HttpQueryParameterMatch.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<HttpQueryParameterMatch.Builder>public HttpQueryParameterMatch.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpQueryParameterMatch.Builder>public HttpQueryParameterMatch.Builder mergeFrom(HttpQueryParameterMatch other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>public HttpQueryParameterMatch.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<HttpQueryParameterMatch.Builder>IOExceptionpublic boolean hasExactMatch()
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
optional string exact_match = 457641093;hasExactMatch in interface HttpQueryParameterMatchOrBuilderpublic String getExactMatch()
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
optional string exact_match = 457641093;getExactMatch in interface HttpQueryParameterMatchOrBuilderpublic com.google.protobuf.ByteString getExactMatchBytes()
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
optional string exact_match = 457641093;getExactMatchBytes in interface HttpQueryParameterMatchOrBuilderpublic HttpQueryParameterMatch.Builder setExactMatch(String value)
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
optional string exact_match = 457641093;value - The exactMatch to set.public HttpQueryParameterMatch.Builder clearExactMatch()
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
optional string exact_match = 457641093;public HttpQueryParameterMatch.Builder setExactMatchBytes(com.google.protobuf.ByteString value)
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set.
optional string exact_match = 457641093;value - The bytes for exactMatch to set.public boolean hasName()
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
optional string name = 3373707;hasName in interface HttpQueryParameterMatchOrBuilderpublic String getName()
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
optional string name = 3373707;getName in interface HttpQueryParameterMatchOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
optional string name = 3373707;getNameBytes in interface HttpQueryParameterMatchOrBuilderpublic HttpQueryParameterMatch.Builder setName(String value)
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
optional string name = 3373707;value - The name to set.public HttpQueryParameterMatch.Builder clearName()
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
optional string name = 3373707;public HttpQueryParameterMatch.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
optional string name = 3373707;value - The bytes for name to set.public boolean hasPresentMatch()
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
optional bool present_match = 67435841;hasPresentMatch in interface HttpQueryParameterMatchOrBuilderpublic boolean getPresentMatch()
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
optional bool present_match = 67435841;getPresentMatch in interface HttpQueryParameterMatchOrBuilderpublic HttpQueryParameterMatch.Builder setPresentMatch(boolean value)
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
optional bool present_match = 67435841;value - The presentMatch to set.public HttpQueryParameterMatch.Builder clearPresentMatch()
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set.
optional bool present_match = 67435841;public boolean hasRegexMatch()
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;hasRegexMatch in interface HttpQueryParameterMatchOrBuilderpublic String getRegexMatch()
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;getRegexMatch in interface HttpQueryParameterMatchOrBuilderpublic com.google.protobuf.ByteString getRegexMatchBytes()
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;getRegexMatchBytes in interface HttpQueryParameterMatchOrBuilderpublic HttpQueryParameterMatch.Builder setRegexMatch(String value)
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;value - The regexMatch to set.public HttpQueryParameterMatch.Builder clearRegexMatch()
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;public HttpQueryParameterMatch.Builder setRegexMatchBytes(com.google.protobuf.ByteString value)
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
optional string regex_match = 107387853;value - The bytes for regexMatch to set.public final HttpQueryParameterMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>public final HttpQueryParameterMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder>Copyright © 2023 Google LLC. All rights reserved.