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.
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.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface HttpRoute.QueryParameterMatchOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.networkservices.v1.HttpRoute.QueryParameterMatchOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.networkservices.v1.HttpRoute.QueryParameterMatchOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.networkservices.v1.HttpRoute.QueryParameterMatchOrBuilder) \n\n public static interface HttpRoute.QueryParameterMatchOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getExactMatch()\n\n public abstract String getExactMatch()\n\nThe value of the query parameter must exactly match the contents of\nexact_match.\nOnly one of exact_match, regex_match, or present_match must be set.\n\n`string exact_match = 2;`\n\n### getExactMatchBytes()\n\n public abstract ByteString getExactMatchBytes()\n\nThe value of the query parameter must exactly match the contents of\nexact_match.\nOnly one of exact_match, regex_match, or present_match must be set.\n\n`string exact_match = 2;`\n\n### getMatchTypeCase()\n\n public abstract HttpRoute.QueryParameterMatch.MatchTypeCase getMatchTypeCase()\n\n### getPresentMatch()\n\n public abstract boolean getPresentMatch()\n\nSpecifies that the QueryParameterMatcher matches if request contains\nquery parameter, irrespective of whether the parameter has a value or\nnot.\nOnly one of exact_match, regex_match, or present_match must be set.\n\n`bool present_match = 4;`\n\n### getQueryParameter()\n\n public abstract String getQueryParameter()\n\nThe name of the query parameter to match.\n\n`string query_parameter = 1;`\n\n### getQueryParameterBytes()\n\n public abstract ByteString getQueryParameterBytes()\n\nThe name of the query parameter to match.\n\n`string query_parameter = 1;`\n\n### getRegexMatch()\n\n public abstract String getRegexMatch()\n\nThe value of the query parameter must match the regular expression\nspecified by regex_match. For regular expression grammar, please see\n\u003chttps://github.com/google/re2/wiki/Syntax\u003e\nOnly one of exact_match, regex_match, or present_match must be set.\n\n`string regex_match = 3;`\n\n### getRegexMatchBytes()\n\n public abstract ByteString getRegexMatchBytes()\n\nThe value of the query parameter must match the regular expression\nspecified by regex_match. For regular expression grammar, please see\n\u003chttps://github.com/google/re2/wiki/Syntax\u003e\nOnly one of exact_match, regex_match, or present_match must be set.\n\n`string regex_match = 3;`\n\n### hasExactMatch()\n\n public abstract boolean hasExactMatch()\n\nThe value of the query parameter must exactly match the contents of\nexact_match.\nOnly one of exact_match, regex_match, or present_match must be set.\n\n`string exact_match = 2;`\n\n### hasPresentMatch()\n\n public abstract boolean hasPresentMatch()\n\nSpecifies that the QueryParameterMatcher matches if request contains\nquery parameter, irrespective of whether the parameter has a value or\nnot.\nOnly one of exact_match, regex_match, or present_match must be set.\n\n`bool present_match = 4;`\n\n### hasRegexMatch()\n\n public abstract boolean hasRegexMatch()\n\nThe value of the query parameter must match the regular expression\nspecified by regex_match. For regular expression grammar, please see\n\u003chttps://github.com/google/re2/wiki/Syntax\u003e\nOnly one of exact_match, regex_match, or present_match must be set.\n\n`string regex_match = 3;`"]]