public interface QueryParameterMatcherOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getName()
Specifies the name of a key that must be present in the requested
*path*'s query string.
|
com.google.protobuf.ByteString |
getNameBytes()
Specifies the name of a key that must be present in the requested
*path*'s query string.
|
boolean |
getPresentMatch()
Specifies whether a query parameter should be present.
|
QueryParameterMatcher.QueryParameterMatchSpecifierCase |
getQueryParameterMatchSpecifierCase() |
com.google.protobuf.BoolValue |
getRegex()
Deprecated.
|
com.google.protobuf.BoolValueOrBuilder |
getRegexOrBuilder()
Deprecated.
|
StringMatcher |
getStringMatch()
Specifies whether a query parameter value should match against a string.
|
StringMatcherOrBuilder |
getStringMatchOrBuilder()
Specifies whether a query parameter value should match against a string.
|
String |
getValue()
Deprecated.
|
com.google.protobuf.ByteString |
getValueBytes()
Deprecated.
|
boolean |
hasRegex()
Deprecated.
|
boolean |
hasStringMatch()
Specifies whether a query parameter value should match against a string.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getName()
Specifies the name of a key that must be present in the requested *path*'s query string.
string name = 1 [(.validate.rules) = { ... }
com.google.protobuf.ByteString getNameBytes()
Specifies the name of a key that must be present in the requested *path*'s query string.
string name = 1 [(.validate.rules) = { ... }
@Deprecated 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 com.google.protobuf.ByteString getValueBytes()
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 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 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];
@Deprecated com.google.protobuf.BoolValueOrBuilder getRegexOrBuilder()
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];
boolean hasStringMatch()
Specifies whether a query parameter value should match against a string.
.envoy.type.matcher.StringMatcher string_match = 5 [(.validate.rules) = { ... }
StringMatcher getStringMatch()
Specifies whether a query parameter value should match against a string.
.envoy.type.matcher.StringMatcher string_match = 5 [(.validate.rules) = { ... }
StringMatcherOrBuilder getStringMatchOrBuilder()
Specifies whether a query parameter value should match against a string.
.envoy.type.matcher.StringMatcher string_match = 5 [(.validate.rules) = { ... }
boolean getPresentMatch()
Specifies whether a query parameter should be present.
bool present_match = 6;
QueryParameterMatcher.QueryParameterMatchSpecifierCase getQueryParameterMatchSpecifierCase()
Copyright © 2018–2021 The Envoy Project. All rights reserved.