public static interface RateLimit.Action.HeaderValueMatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
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.
|
HeaderMatcher |
getHeaders(int index)
Specifies a set of headers that the rate limit action should match
on.
|
int |
getHeadersCount()
Specifies a set of headers that the rate limit action should match
on.
|
List<HeaderMatcher> |
getHeadersList()
Specifies a set of headers that the rate limit action should match
on.
|
HeaderMatcherOrBuilder |
getHeadersOrBuilder(int index)
Specifies a set of headers that the rate limit action should match
on.
|
List<? extends HeaderMatcherOrBuilder> |
getHeadersOrBuilderList()
Specifies a set of headers 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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getDescriptorValue()
The value to use in the descriptor entry.
string descriptor_value = 1 [(.validate.rules) = { ... }com.google.protobuf.ByteString getDescriptorValueBytes()
The value to use in the descriptor entry.
string descriptor_value = 1 [(.validate.rules) = { ... }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;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;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;List<HeaderMatcher> getHeadersList()
Specifies a set of headers that the rate limit action should match on. The action will check the request’s headers against all the specified headers in the config. A match will happen if all the headers 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.HeaderMatcher headers = 3 [(.validate.rules) = { ... }HeaderMatcher getHeaders(int index)
Specifies a set of headers that the rate limit action should match on. The action will check the request’s headers against all the specified headers in the config. A match will happen if all the headers 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.HeaderMatcher headers = 3 [(.validate.rules) = { ... }int getHeadersCount()
Specifies a set of headers that the rate limit action should match on. The action will check the request’s headers against all the specified headers in the config. A match will happen if all the headers 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.HeaderMatcher headers = 3 [(.validate.rules) = { ... }List<? extends HeaderMatcherOrBuilder> getHeadersOrBuilderList()
Specifies a set of headers that the rate limit action should match on. The action will check the request’s headers against all the specified headers in the config. A match will happen if all the headers 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.HeaderMatcher headers = 3 [(.validate.rules) = { ... }HeaderMatcherOrBuilder getHeadersOrBuilder(int index)
Specifies a set of headers that the rate limit action should match on. The action will check the request’s headers against all the specified headers in the config. A match will happen if all the headers 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.HeaderMatcher headers = 3 [(.validate.rules) = { ... }Copyright © 2018–2021 The Envoy Project. All rights reserved.