- 1.62.0 (latest)
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class HttpQueryParameterMatch.Builder extends GeneratedMessageV3.Builder<HttpQueryParameterMatch.Builder> implements HttpQueryParameterMatchOrBuilder
HttpRouteRuleMatch criteria for a request's query parameter.
Protobuf type google.cloud.compute.v1.HttpQueryParameterMatch
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HttpQueryParameterMatch.BuilderImplements
HttpQueryParameterMatchOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HttpQueryParameterMatch.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
build()
public HttpQueryParameterMatch build()
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch |
buildPartial()
public HttpQueryParameterMatch buildPartial()
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch |
clear()
public HttpQueryParameterMatch.Builder clear()
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
clearExactMatch()
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;
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public HttpQueryParameterMatch.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
clearName()
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;
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public HttpQueryParameterMatch.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
clearPresentMatch()
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;
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
This builder for chaining. |
clearRegexMatch()
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;
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
This builder for chaining. |
clone()
public HttpQueryParameterMatch.Builder clone()
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
getDefaultInstanceForType()
public HttpQueryParameterMatch getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExactMatch()
public 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;
Returns | |
---|---|
Type | Description |
String |
The exactMatch. |
getExactMatchBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for exactMatch. |
getName()
public 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;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getPresentMatch()
public 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;
Returns | |
---|---|
Type | Description |
boolean |
The presentMatch. |
getRegexMatch()
public 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;
Returns | |
---|---|
Type | Description |
String |
The regexMatch. |
getRegexMatchBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for regexMatch. |
hasExactMatch()
public 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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the exactMatch field is set. |
hasName()
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the name field is set. |
hasPresentMatch()
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the presentMatch field is set. |
hasRegexMatch()
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the regexMatch field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(HttpQueryParameterMatch other)
public HttpQueryParameterMatch.Builder mergeFrom(HttpQueryParameterMatch other)
Parameter | |
---|---|
Name | Description |
other |
HttpQueryParameterMatch |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HttpQueryParameterMatch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public HttpQueryParameterMatch.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HttpQueryParameterMatch.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
setExactMatch(String value)
public 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;
Parameter | |
---|---|
Name | Description |
value |
String The exactMatch to set. |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
This builder for chaining. |
setExactMatchBytes(ByteString value)
public HttpQueryParameterMatch.Builder setExactMatchBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for exactMatch to set. |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public HttpQueryParameterMatch.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
setName(String value)
public 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;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public HttpQueryParameterMatch.Builder setNameBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
This builder for chaining. |
setPresentMatch(boolean value)
public 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;
Parameter | |
---|---|
Name | Description |
value |
boolean The presentMatch to set. |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
This builder for chaining. |
setRegexMatch(String value)
public 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;
Parameter | |
---|---|
Name | Description |
value |
String The regexMatch to set. |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
This builder for chaining. |
setRegexMatchBytes(ByteString value)
public HttpQueryParameterMatch.Builder setRegexMatchBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for regexMatch to set. |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HttpQueryParameterMatch.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final HttpQueryParameterMatch.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HttpQueryParameterMatch.Builder |