Class RateLimit.Action.HeaderValueMatch.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>
io.envoyproxy.envoy.config.route.v3.RateLimit.Action.HeaderValueMatch.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RateLimit.Action.HeaderValueMatchOrBuilder,Cloneable
- Enclosing class:
- RateLimit.Action.HeaderValueMatch
public static final class RateLimit.Action.HeaderValueMatch.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>
implements RateLimit.Action.HeaderValueMatchOrBuilder
The following descriptor entry is appended to the descriptor:
.. code-block:: cpp
("header_match", "<descriptor_value>")
[#next-free-field: 6]
Protobuf type envoy.config.route.v3.RateLimit.Action.HeaderValueMatch-
Method Summary
Modifier and TypeMethodDescriptionaddAllHeaders(Iterable<? extends HeaderMatcher> values) Specifies a set of headers that the rate limit action should match on.addHeaders(int index, HeaderMatcher value) Specifies a set of headers that the rate limit action should match on.addHeaders(int index, HeaderMatcher.Builder builderForValue) Specifies a set of headers that the rate limit action should match on.addHeaders(HeaderMatcher value) Specifies a set of headers that the rate limit action should match on.addHeaders(HeaderMatcher.Builder builderForValue) Specifies a set of headers that the rate limit action should match on.Specifies a set of headers that the rate limit action should match on.addHeadersBuilder(int index) Specifies a set of headers that the rate limit action should match on.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()An optional value to use if the final concatenated ``descriptor_value`` result is empty.The key to use in the descriptor entry.Descriptor value of entry.If set to true, the action will append a descriptor entry when the request matches the headers.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Specifies a set of headers that the rate limit action should match on.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()An optional value to use if the final concatenated ``descriptor_value`` result is empty.com.google.protobuf.ByteStringAn optional value to use if the final concatenated ``descriptor_value`` result is empty.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe key to use in the descriptor entry.com.google.protobuf.ByteStringThe key to use in the descriptor entry.Descriptor value of entry.com.google.protobuf.ByteStringDescriptor value of entry.com.google.protobuf.BoolValueIf set to true, the action will append a descriptor entry when the request matches the headers.com.google.protobuf.BoolValue.BuilderIf set to true, the action will append a descriptor entry when the request matches the headers.com.google.protobuf.BoolValueOrBuilderIf set to true, the action will append a descriptor entry when the request matches the headers.getHeaders(int index) Specifies a set of headers that the rate limit action should match on.getHeadersBuilder(int index) Specifies a set of headers that the rate limit action should match on.Specifies a set of headers that the rate limit action should match on.intSpecifies a set of headers that the rate limit action should match on.Specifies a set of headers that the rate limit action should match on.getHeadersOrBuilder(int index) Specifies a set of headers that the rate limit action should match on.List<? extends HeaderMatcherOrBuilder>Specifies a set of headers that the rate limit action should match on.booleanIf set to true, the action will append a descriptor entry when the request matches the headers.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeExpectMatch(com.google.protobuf.BoolValue value) If set to true, the action will append a descriptor entry when the request matches the headers.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeHeaders(int index) Specifies a set of headers that the rate limit action should match on.setDefaultValue(String value) An optional value to use if the final concatenated ``descriptor_value`` result is empty.setDefaultValueBytes(com.google.protobuf.ByteString value) An optional value to use if the final concatenated ``descriptor_value`` result is empty.setDescriptorKey(String value) The key to use in the descriptor entry.setDescriptorKeyBytes(com.google.protobuf.ByteString value) The key to use in the descriptor entry.setDescriptorValue(String value) Descriptor value of entry.setDescriptorValueBytes(com.google.protobuf.ByteString value) Descriptor value of entry.setExpectMatch(com.google.protobuf.BoolValue value) If set to true, the action will append a descriptor entry when the request matches the headers.setExpectMatch(com.google.protobuf.BoolValue.Builder builderForValue) If set to true, the action will append a descriptor entry when the request matches the headers.setHeaders(int index, HeaderMatcher value) Specifies a set of headers that the rate limit action should match on.setHeaders(int index, HeaderMatcher.Builder builderForValue) Specifies a set of headers that the rate limit action should match on.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>
-
setField
public RateLimit.Action.HeaderValueMatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>
-
clearField
public RateLimit.Action.HeaderValueMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>
-
clearOneof
public RateLimit.Action.HeaderValueMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>
-
setRepeatedField
public RateLimit.Action.HeaderValueMatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>
-
addRepeatedField
public RateLimit.Action.HeaderValueMatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RateLimit.Action.HeaderValueMatch.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>
-
mergeFrom
public RateLimit.Action.HeaderValueMatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RateLimit.Action.HeaderValueMatch.Builder>- Throws:
IOException
-
getDescriptorValue
Descriptor value of entry. The same :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>` applies here, however unknown specifier values are replaced with the empty string instead of ``-``. .. note:: Formatter parsing is controlled by the runtime feature flag ``envoy.reloadable_features.enable_formatter_for_ratelimit_action_descriptor_value`` (disabled by default). When enabled: The format string can contain multiple valid substitution fields. If multiple substitution fields are present, their results will be concatenated to form the final descriptor value. If it contains no substitution fields, the value will be used as is. All substitution fields will be evaluated and their results concatenated. If the final concatenated result is empty and ``default_value`` is set, the ``default_value`` will be used. If ``default_value`` is not set and the result is empty, this descriptor will be skipped and not included in the rate limit call. When disabled (default): The descriptor_value is used as a literal string without any formatter parsing or substitution. For example, ``static_value`` will be used as is since there are no substitution fields. ``%REQ(:method)%`` will be replaced with the HTTP method, and ``%REQ(:method)%%REQ(:path)%`` will be replaced with the concatenation of the HTTP method and path. ``%CEL(request.headers['user-id'])%`` will use CEL to extract the user ID from request headers.
string descriptor_value = 1 [(.validate.rules) = { ... }- Specified by:
getDescriptorValuein interfaceRateLimit.Action.HeaderValueMatchOrBuilder- Returns:
- The descriptorValue.
-
getDescriptorValueBytes
public com.google.protobuf.ByteString getDescriptorValueBytes()Descriptor value of entry. The same :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>` applies here, however unknown specifier values are replaced with the empty string instead of ``-``. .. note:: Formatter parsing is controlled by the runtime feature flag ``envoy.reloadable_features.enable_formatter_for_ratelimit_action_descriptor_value`` (disabled by default). When enabled: The format string can contain multiple valid substitution fields. If multiple substitution fields are present, their results will be concatenated to form the final descriptor value. If it contains no substitution fields, the value will be used as is. All substitution fields will be evaluated and their results concatenated. If the final concatenated result is empty and ``default_value`` is set, the ``default_value`` will be used. If ``default_value`` is not set and the result is empty, this descriptor will be skipped and not included in the rate limit call. When disabled (default): The descriptor_value is used as a literal string without any formatter parsing or substitution. For example, ``static_value`` will be used as is since there are no substitution fields. ``%REQ(:method)%`` will be replaced with the HTTP method, and ``%REQ(:method)%%REQ(:path)%`` will be replaced with the concatenation of the HTTP method and path. ``%CEL(request.headers['user-id'])%`` will use CEL to extract the user ID from request headers.
string descriptor_value = 1 [(.validate.rules) = { ... }- Specified by:
getDescriptorValueBytesin interfaceRateLimit.Action.HeaderValueMatchOrBuilder- Returns:
- The bytes for descriptorValue.
-
setDescriptorValue
Descriptor value of entry. The same :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>` applies here, however unknown specifier values are replaced with the empty string instead of ``-``. .. note:: Formatter parsing is controlled by the runtime feature flag ``envoy.reloadable_features.enable_formatter_for_ratelimit_action_descriptor_value`` (disabled by default). When enabled: The format string can contain multiple valid substitution fields. If multiple substitution fields are present, their results will be concatenated to form the final descriptor value. If it contains no substitution fields, the value will be used as is. All substitution fields will be evaluated and their results concatenated. If the final concatenated result is empty and ``default_value`` is set, the ``default_value`` will be used. If ``default_value`` is not set and the result is empty, this descriptor will be skipped and not included in the rate limit call. When disabled (default): The descriptor_value is used as a literal string without any formatter parsing or substitution. For example, ``static_value`` will be used as is since there are no substitution fields. ``%REQ(:method)%`` will be replaced with the HTTP method, and ``%REQ(:method)%%REQ(:path)%`` will be replaced with the concatenation of the HTTP method and path. ``%CEL(request.headers['user-id'])%`` will use CEL to extract the user ID from request headers.
string descriptor_value = 1 [(.validate.rules) = { ... }- Parameters:
value- The descriptorValue to set.- Returns:
- This builder for chaining.
-
clearDescriptorValue
Descriptor value of entry. The same :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>` applies here, however unknown specifier values are replaced with the empty string instead of ``-``. .. note:: Formatter parsing is controlled by the runtime feature flag ``envoy.reloadable_features.enable_formatter_for_ratelimit_action_descriptor_value`` (disabled by default). When enabled: The format string can contain multiple valid substitution fields. If multiple substitution fields are present, their results will be concatenated to form the final descriptor value. If it contains no substitution fields, the value will be used as is. All substitution fields will be evaluated and their results concatenated. If the final concatenated result is empty and ``default_value`` is set, the ``default_value`` will be used. If ``default_value`` is not set and the result is empty, this descriptor will be skipped and not included in the rate limit call. When disabled (default): The descriptor_value is used as a literal string without any formatter parsing or substitution. For example, ``static_value`` will be used as is since there are no substitution fields. ``%REQ(:method)%`` will be replaced with the HTTP method, and ``%REQ(:method)%%REQ(:path)%`` will be replaced with the concatenation of the HTTP method and path. ``%CEL(request.headers['user-id'])%`` will use CEL to extract the user ID from request headers.
string descriptor_value = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setDescriptorValueBytes
public RateLimit.Action.HeaderValueMatch.Builder setDescriptorValueBytes(com.google.protobuf.ByteString value) Descriptor value of entry. The same :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>` applies here, however unknown specifier values are replaced with the empty string instead of ``-``. .. note:: Formatter parsing is controlled by the runtime feature flag ``envoy.reloadable_features.enable_formatter_for_ratelimit_action_descriptor_value`` (disabled by default). When enabled: The format string can contain multiple valid substitution fields. If multiple substitution fields are present, their results will be concatenated to form the final descriptor value. If it contains no substitution fields, the value will be used as is. All substitution fields will be evaluated and their results concatenated. If the final concatenated result is empty and ``default_value`` is set, the ``default_value`` will be used. If ``default_value`` is not set and the result is empty, this descriptor will be skipped and not included in the rate limit call. When disabled (default): The descriptor_value is used as a literal string without any formatter parsing or substitution. For example, ``static_value`` will be used as is since there are no substitution fields. ``%REQ(:method)%`` will be replaced with the HTTP method, and ``%REQ(:method)%%REQ(:path)%`` will be replaced with the concatenation of the HTTP method and path. ``%CEL(request.headers['user-id'])%`` will use CEL to extract the user ID from request headers.
string descriptor_value = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for descriptorValue to set.- Returns:
- This builder for chaining.
-
getDefaultValue
An optional value to use if the final concatenated ``descriptor_value`` result is empty. Only applicable when formatter parsing is enabled by the runtime feature flag ``envoy.reloadable_features.enable_formatter_for_ratelimit_action_descriptor_value`` (disabled by default).
string default_value = 5;- Specified by:
getDefaultValuein interfaceRateLimit.Action.HeaderValueMatchOrBuilder- Returns:
- The defaultValue.
-
getDefaultValueBytes
public com.google.protobuf.ByteString getDefaultValueBytes()An optional value to use if the final concatenated ``descriptor_value`` result is empty. Only applicable when formatter parsing is enabled by the runtime feature flag ``envoy.reloadable_features.enable_formatter_for_ratelimit_action_descriptor_value`` (disabled by default).
string default_value = 5;- Specified by:
getDefaultValueBytesin interfaceRateLimit.Action.HeaderValueMatchOrBuilder- Returns:
- The bytes for defaultValue.
-
setDefaultValue
An optional value to use if the final concatenated ``descriptor_value`` result is empty. Only applicable when formatter parsing is enabled by the runtime feature flag ``envoy.reloadable_features.enable_formatter_for_ratelimit_action_descriptor_value`` (disabled by default).
string default_value = 5;- Parameters:
value- The defaultValue to set.- Returns:
- This builder for chaining.
-
clearDefaultValue
An optional value to use if the final concatenated ``descriptor_value`` result is empty. Only applicable when formatter parsing is enabled by the runtime feature flag ``envoy.reloadable_features.enable_formatter_for_ratelimit_action_descriptor_value`` (disabled by default).
string default_value = 5;- Returns:
- This builder for chaining.
-
setDefaultValueBytes
public RateLimit.Action.HeaderValueMatch.Builder setDefaultValueBytes(com.google.protobuf.ByteString value) An optional value to use if the final concatenated ``descriptor_value`` result is empty. Only applicable when formatter parsing is enabled by the runtime feature flag ``envoy.reloadable_features.enable_formatter_for_ratelimit_action_descriptor_value`` (disabled by default).
string default_value = 5;- Parameters:
value- The bytes for defaultValue to set.- Returns:
- This builder for chaining.
-
getDescriptorKey
The key to use in the descriptor entry. Defaults to ``header_match``.
string descriptor_key = 4;- Specified by:
getDescriptorKeyin interfaceRateLimit.Action.HeaderValueMatchOrBuilder- Returns:
- The descriptorKey.
-
getDescriptorKeyBytes
public com.google.protobuf.ByteString getDescriptorKeyBytes()The key to use in the descriptor entry. Defaults to ``header_match``.
string descriptor_key = 4;- Specified by:
getDescriptorKeyBytesin interfaceRateLimit.Action.HeaderValueMatchOrBuilder- Returns:
- The bytes for descriptorKey.
-
setDescriptorKey
The key to use in the descriptor entry. Defaults to ``header_match``.
string descriptor_key = 4;- Parameters:
value- The descriptorKey to set.- Returns:
- This builder for chaining.
-
clearDescriptorKey
The key to use in the descriptor entry. Defaults to ``header_match``.
string descriptor_key = 4;- Returns:
- This builder for chaining.
-
setDescriptorKeyBytes
public RateLimit.Action.HeaderValueMatch.Builder setDescriptorKeyBytes(com.google.protobuf.ByteString value) The key to use in the descriptor entry. Defaults to ``header_match``.
string descriptor_key = 4;- Parameters:
value- The bytes for descriptorKey to set.- Returns:
- This builder for chaining.
-
hasExpectMatch
public 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;- Specified by:
hasExpectMatchin interfaceRateLimit.Action.HeaderValueMatchOrBuilder- Returns:
- Whether the expectMatch field is set.
-
getExpectMatch
public 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;- Specified by:
getExpectMatchin interfaceRateLimit.Action.HeaderValueMatchOrBuilder- Returns:
- The expectMatch.
-
setExpectMatch
public RateLimit.Action.HeaderValueMatch.Builder setExpectMatch(com.google.protobuf.BoolValue value) 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; -
setExpectMatch
public RateLimit.Action.HeaderValueMatch.Builder setExpectMatch(com.google.protobuf.BoolValue.Builder builderForValue) 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; -
mergeExpectMatch
public RateLimit.Action.HeaderValueMatch.Builder mergeExpectMatch(com.google.protobuf.BoolValue value) 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; -
clearExpectMatch
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; -
getExpectMatchBuilder
public com.google.protobuf.BoolValue.Builder getExpectMatchBuilder()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; -
getExpectMatchOrBuilder
public 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;- Specified by:
getExpectMatchOrBuilderin interfaceRateLimit.Action.HeaderValueMatchOrBuilder
-
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) = { ... }- Specified by:
getHeadersListin interfaceRateLimit.Action.HeaderValueMatchOrBuilder
-
getHeadersCount
public 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) = { ... }- Specified by:
getHeadersCountin interfaceRateLimit.Action.HeaderValueMatchOrBuilder
-
getHeaders
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) = { ... }- Specified by:
getHeadersin interfaceRateLimit.Action.HeaderValueMatchOrBuilder
-
setHeaders
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) = { ... } -
setHeaders
public RateLimit.Action.HeaderValueMatch.Builder setHeaders(int index, HeaderMatcher.Builder builderForValue) 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) = { ... } -
addHeaders
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) = { ... } -
addHeaders
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) = { ... } -
addHeaders
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) = { ... } -
addHeaders
public RateLimit.Action.HeaderValueMatch.Builder addHeaders(int index, HeaderMatcher.Builder builderForValue) 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) = { ... } -
addAllHeaders
public RateLimit.Action.HeaderValueMatch.Builder addAllHeaders(Iterable<? extends HeaderMatcher> values) 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) = { ... } -
clearHeaders
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) = { ... } -
removeHeaders
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) = { ... } -
getHeadersBuilder
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) = { ... } -
getHeadersOrBuilder
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) = { ... }- Specified by:
getHeadersOrBuilderin interfaceRateLimit.Action.HeaderValueMatchOrBuilder
-
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) = { ... }- Specified by:
getHeadersOrBuilderListin interfaceRateLimit.Action.HeaderValueMatchOrBuilder
-
addHeadersBuilder
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) = { ... } -
addHeadersBuilder
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) = { ... } -
getHeadersBuilderList
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) = { ... } -
setUnknownFields
public final RateLimit.Action.HeaderValueMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>
-
mergeUnknownFields
public final RateLimit.Action.HeaderValueMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>
-