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
public interface HttpQueryParameterMatchOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasExactMatch
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:
- 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, or regexMatch 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, or regexMatch 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, or regexMatch 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, or regexMatch 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 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:
- Whether the regexMatch field is set.
-
getRegexMatch
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:
- The regexMatch.
-
getRegexMatchBytes
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;
- Returns:
- The bytes for regexMatch.
-
-