// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/api/v2/route/route_components.proto
package io.envoyproxy.envoy.api.v2.route;
public interface QueryParameterMatcherOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.api.v2.route.QueryParameterMatcher)
com.google.protobuf.MessageOrBuilder {
/**
*
* Specifies the name of a key that must be present in the requested
* *path*'s query string.
*
*
* string name = 1 [(.validate.rules) = { ... }
* @return The name.
*/
java.lang.String getName();
/**
*
* Specifies the name of a key that must be present in the requested
* *path*'s query string.
*
*
* string name = 1 [(.validate.rules) = { ... }
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Specifies the value of the key. If the value is absent, a request
* that contains the key in its query string will match, whether the
* key appears with a value (e.g., "?debug=true") or not (e.g., "?debug")
* ..attention::
* This field is deprecated. Use an `exact` match inside the `string_match` field.
*
*
* string value = 3 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];
* @deprecated envoy.api.v2.route.QueryParameterMatcher.value is deprecated.
* See envoy/api/v2/route/route_components.proto;l=1610
* @return The value.
*/
@java.lang.Deprecated java.lang.String getValue();
/**
*
* Specifies the value of the key. If the value is absent, a request
* that contains the key in its query string will match, whether the
* key appears with a value (e.g., "?debug=true") or not (e.g., "?debug")
* ..attention::
* This field is deprecated. Use an `exact` match inside the `string_match` field.
*
*
* string value = 3 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];
* @deprecated envoy.api.v2.route.QueryParameterMatcher.value is deprecated.
* See envoy/api/v2/route/route_components.proto;l=1610
* @return The bytes for value.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getValueBytes();
/**
*
* Specifies whether the query parameter value is a regular expression.
* Defaults to false. The entire query parameter value (i.e., the part to
* the right of the equals sign in "key=value") must match the regex.
* E.g., the regex ``\d+$`` will match *123* but not *a123* or *123a*.
* ..attention::
* This field is deprecated. Use a `safe_regex` match inside the `string_match` field.
*
*
* .google.protobuf.BoolValue regex = 4 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];
* @deprecated envoy.api.v2.route.QueryParameterMatcher.regex is deprecated.
* See envoy/api/v2/route/route_components.proto;l=1619
* @return Whether the regex field is set.
*/
@java.lang.Deprecated boolean hasRegex();
/**
*
* Specifies whether the query parameter value is a regular expression.
* Defaults to false. The entire query parameter value (i.e., the part to
* the right of the equals sign in "key=value") must match the regex.
* E.g., the regex ``\d+$`` will match *123* but not *a123* or *123a*.
* ..attention::
* This field is deprecated. Use a `safe_regex` match inside the `string_match` field.
*
*
* .google.protobuf.BoolValue regex = 4 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];
* @deprecated envoy.api.v2.route.QueryParameterMatcher.regex is deprecated.
* See envoy/api/v2/route/route_components.proto;l=1619
* @return The regex.
*/
@java.lang.Deprecated com.google.protobuf.BoolValue getRegex();
/**
*
* Specifies whether the query parameter value is a regular expression.
* Defaults to false. The entire query parameter value (i.e., the part to
* the right of the equals sign in "key=value") must match the regex.
* E.g., the regex ``\d+$`` will match *123* but not *a123* or *123a*.
* ..attention::
* This field is deprecated. Use a `safe_regex` match inside the `string_match` field.
*
*
* .google.protobuf.BoolValue regex = 4 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];
*/
@java.lang.Deprecated com.google.protobuf.BoolValueOrBuilder getRegexOrBuilder();
/**
*
* Specifies whether a query parameter value should match against a string.
*
*
* .envoy.type.matcher.StringMatcher string_match = 5 [(.validate.rules) = { ... }
* @return Whether the stringMatch field is set.
*/
boolean hasStringMatch();
/**
*
* Specifies whether a query parameter value should match against a string.
*
*
* .envoy.type.matcher.StringMatcher string_match = 5 [(.validate.rules) = { ... }
* @return The stringMatch.
*/
io.envoyproxy.envoy.type.matcher.StringMatcher getStringMatch();
/**
*
* Specifies whether a query parameter value should match against a string.
*
*
* .envoy.type.matcher.StringMatcher string_match = 5 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.type.matcher.StringMatcherOrBuilder getStringMatchOrBuilder();
/**
*
* Specifies whether a query parameter should be present.
*
*
* bool present_match = 6;
* @return Whether the presentMatch field is set.
*/
boolean hasPresentMatch();
/**
*
* Specifies whether a query parameter should be present.
*
*
* bool present_match = 6;
* @return The presentMatch.
*/
boolean getPresentMatch();
public io.envoyproxy.envoy.api.v2.route.QueryParameterMatcher.QueryParameterMatchSpecifierCase getQueryParameterMatchSpecifierCase();
}