Package com.google.cloud.compute.v1
Interface HttpQueryParameterMatchOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpQueryParameterMatch,HttpQueryParameterMatch.Builder
@Generated
public interface HttpQueryParameterMatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch.com.google.protobuf.ByteStringThe queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch.getName()The name of the query parameter to match.com.google.protobuf.ByteStringThe name of the query parameter to match.booleanSpecifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not.The queryParameterMatch matches if the value of the parameter matches the regular expression specified byregexMatch.com.google.protobuf.ByteStringThe queryParameterMatch matches if the value of the parameter matches the regular expression specified byregexMatch.booleanThe queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch.booleanhasName()The name of the query parameter to match.booleanSpecifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not.booleanThe queryParameterMatch matches if the value of the parameter matches the regular expression specified byregexMatch.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasExactMatch
boolean hasExactMatch()The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, orregexMatch must be set.
optional string exact_match = 457641093;- Returns:
- Whether the exactMatch field is set.
-
getExactMatch
String getExactMatch()The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, orregexMatch must be set.
optional string exact_match = 457641093;- Returns:
- The exactMatch.
-
getExactMatchBytes
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, orregexMatch must be set.
optional string exact_match = 457641093;- Returns:
- The bytes for exactMatch.
-
hasName
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:
- Whether the name field is set.
-
getName
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:
- The name.
-
getNameBytes
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;- Returns:
- The bytes for name.
-
hasPresentMatch
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, orregexMatch must be set.
optional bool present_match = 67435841;- Returns:
- Whether the presentMatch field is set.
-
getPresentMatch
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, orregexMatch must be set.
optional bool present_match = 67435841;- Returns:
- The presentMatch.
-
hasRegexMatch
boolean hasRegexMatch()The queryParameterMatch matches if the value of the parameter matches the regular expression specified byregexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, orregexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED (regional scope) or INTERNAL_MANAGED.
optional string regex_match = 107387853;- Returns:
- Whether the regexMatch field is set.
-
getRegexMatch
String getRegexMatch()The queryParameterMatch matches if the value of the parameter matches the regular expression specified byregexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, orregexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED (regional scope) or INTERNAL_MANAGED.
optional string regex_match = 107387853;- Returns:
- The regexMatch.
-
getRegexMatchBytes
com.google.protobuf.ByteString getRegexMatchBytes()The queryParameterMatch matches if the value of the parameter matches the regular expression specified byregexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, orregexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED (regional scope) or INTERNAL_MANAGED.
optional string regex_match = 107387853;- Returns:
- The bytes for regexMatch.
-