Interface RateLimit.Action.QueryParameterValueMatchOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RateLimit.Action.QueryParameterValueMatch
,RateLimit.Action.QueryParameterValueMatch.Builder
- Enclosing class:
- RateLimit.Action
public static interface RateLimit.Action.QueryParameterValueMatchOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDescriptorKey()
The key to use in the descriptor entry.com.google.protobuf.ByteString
getDescriptorKeyBytes()
The key to use in the descriptor entry.java.lang.String
getDescriptorValue()
The value to use in the descriptor entry.com.google.protobuf.ByteString
getDescriptorValueBytes()
The value to use in the descriptor entry.com.google.protobuf.BoolValue
getExpectMatch()
If set to true, the action will append a descriptor entry when the request matches the headers.com.google.protobuf.BoolValueOrBuilder
getExpectMatchOrBuilder()
If set to true, the action will append a descriptor entry when the request matches the headers.QueryParameterMatcher
getQueryParameters(int index)
Specifies a set of query parameters that the rate limit action should match on.int
getQueryParametersCount()
Specifies a set of query parameters that the rate limit action should match on.java.util.List<QueryParameterMatcher>
getQueryParametersList()
Specifies a set of query parameters that the rate limit action should match on.QueryParameterMatcherOrBuilder
getQueryParametersOrBuilder(int index)
Specifies a set of query parameters that the rate limit action should match on.java.util.List<? extends QueryParameterMatcherOrBuilder>
getQueryParametersOrBuilderList()
Specifies a set of query parameters that the rate limit action should match on.boolean
hasExpectMatch()
If set to true, the action will append a descriptor entry when the request matches the headers.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptorKey
java.lang.String getDescriptorKey()
The key to use in the descriptor entry. Defaults to ``query_match``.
string descriptor_key = 4;
- Returns:
- The descriptorKey.
-
getDescriptorKeyBytes
com.google.protobuf.ByteString getDescriptorKeyBytes()
The key to use in the descriptor entry. Defaults to ``query_match``.
string descriptor_key = 4;
- Returns:
- The bytes for descriptorKey.
-
getDescriptorValue
java.lang.String getDescriptorValue()
The value to use in the descriptor entry.
string descriptor_value = 1 [(.validate.rules) = { ... }
- Returns:
- The descriptorValue.
-
getDescriptorValueBytes
com.google.protobuf.ByteString getDescriptorValueBytes()
The value to use in the descriptor entry.
string descriptor_value = 1 [(.validate.rules) = { ... }
- Returns:
- The bytes for descriptorValue.
-
hasExpectMatch
boolean hasExpectMatch()
If set to true, the action will append a descriptor entry when the request matches the headers. If set to false, the action will append a descriptor entry when the request does not match the headers. The default value is true.
.google.protobuf.BoolValue expect_match = 2;
- Returns:
- Whether the expectMatch field is set.
-
getExpectMatch
com.google.protobuf.BoolValue getExpectMatch()
If set to true, the action will append a descriptor entry when the request matches the headers. If set to false, the action will append a descriptor entry when the request does not match the headers. The default value is true.
.google.protobuf.BoolValue expect_match = 2;
- Returns:
- The expectMatch.
-
getExpectMatchOrBuilder
com.google.protobuf.BoolValueOrBuilder getExpectMatchOrBuilder()
If set to true, the action will append a descriptor entry when the request matches the headers. If set to false, the action will append a descriptor entry when the request does not match the headers. The default value is true.
.google.protobuf.BoolValue expect_match = 2;
-
getQueryParametersList
java.util.List<QueryParameterMatcher> getQueryParametersList()
Specifies a set of query parameters that the rate limit action should match on. The action will check the request’s query parameters against all the specified query parameters in the config. A match will happen if all the query parameters in the config are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 3 [(.validate.rules) = { ... }
-
getQueryParameters
QueryParameterMatcher getQueryParameters(int index)
Specifies a set of query parameters that the rate limit action should match on. The action will check the request’s query parameters against all the specified query parameters in the config. A match will happen if all the query parameters in the config are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 3 [(.validate.rules) = { ... }
-
getQueryParametersCount
int getQueryParametersCount()
Specifies a set of query parameters that the rate limit action should match on. The action will check the request’s query parameters against all the specified query parameters in the config. A match will happen if all the query parameters in the config are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 3 [(.validate.rules) = { ... }
-
getQueryParametersOrBuilderList
java.util.List<? extends QueryParameterMatcherOrBuilder> getQueryParametersOrBuilderList()
Specifies a set of query parameters that the rate limit action should match on. The action will check the request’s query parameters against all the specified query parameters in the config. A match will happen if all the query parameters in the config are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 3 [(.validate.rules) = { ... }
-
getQueryParametersOrBuilder
QueryParameterMatcherOrBuilder getQueryParametersOrBuilder(int index)
Specifies a set of query parameters that the rate limit action should match on. The action will check the request’s query parameters against all the specified query parameters in the config. A match will happen if all the query parameters in the config are present in the request with the same values (or based on presence if the value field is not in the config).
repeated .envoy.config.route.v3.QueryParameterMatcher query_parameters = 3 [(.validate.rules) = { ... }
-
-