Interface HttpRoute.QueryParameterMatchOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpRoute.QueryParameterMatch,HttpRoute.QueryParameterMatch.Builder
- Enclosing class:
- HttpRoute
public static interface HttpRoute.QueryParameterMatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe value of the query parameter must exactly match the contents of exact_match.com.google.protobuf.ByteStringThe value of the query parameter must exactly match the contents of exact_match.booleanSpecifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not.The name of the query parameter to match.com.google.protobuf.ByteStringThe name of the query parameter to match.The value of the query parameter must match the regular expression specified by regex_match.com.google.protobuf.ByteStringThe value of the query parameter must match the regular expression specified by regex_match.booleanThe value of the query parameter must exactly match the contents of exact_match.booleanSpecifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not.booleanThe value of the query parameter must match the regular expression specified by regex_match.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 value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
string exact_match = 2;- Returns:
- Whether the exactMatch field is set.
-
getExactMatch
String getExactMatch()The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
string exact_match = 2;- Returns:
- The exactMatch.
-
getExactMatchBytes
com.google.protobuf.ByteString getExactMatchBytes()The value of the query parameter must exactly match the contents of exact_match. Only one of exact_match, regex_match, or present_match must be set.
string exact_match = 2;- Returns:
- The bytes for exactMatch.
-
hasRegexMatch
boolean hasRegexMatch()The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
string regex_match = 3;- Returns:
- Whether the regexMatch field is set.
-
getRegexMatch
String getRegexMatch()The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
string regex_match = 3;- Returns:
- The regexMatch.
-
getRegexMatchBytes
com.google.protobuf.ByteString getRegexMatchBytes()The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of exact_match, regex_match, or present_match must be set.
string regex_match = 3;- Returns:
- The bytes for regexMatch.
-
hasPresentMatch
boolean hasPresentMatch()Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
bool present_match = 4;- Returns:
- Whether the presentMatch field is set.
-
getPresentMatch
boolean getPresentMatch()Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not. Only one of exact_match, regex_match, or present_match must be set.
bool present_match = 4;- Returns:
- The presentMatch.
-
getQueryParameter
String getQueryParameter()The name of the query parameter to match.
string query_parameter = 1;- Returns:
- The queryParameter.
-
getQueryParameterBytes
com.google.protobuf.ByteString getQueryParameterBytes()The name of the query parameter to match.
string query_parameter = 1;- Returns:
- The bytes for queryParameter.
-
getMatchTypeCase
HttpRoute.QueryParameterMatch.MatchTypeCase getMatchTypeCase()
-