Class RateLimit.Action.HeaderValueMatch.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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>")Protobuf typeenvoy.config.route.v3.RateLimit.Action.HeaderValueMatch
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RateLimit.Action.HeaderValueMatch.BuilderaddAllHeaders(Iterable<? extends HeaderMatcher> values)Specifies a set of headers that the rate limit action should match on.RateLimit.Action.HeaderValueMatch.BuilderaddHeaders(int index, HeaderMatcher value)Specifies a set of headers that the rate limit action should match on.RateLimit.Action.HeaderValueMatch.BuilderaddHeaders(int index, HeaderMatcher.Builder builderForValue)Specifies a set of headers that the rate limit action should match on.RateLimit.Action.HeaderValueMatch.BuilderaddHeaders(HeaderMatcher value)Specifies a set of headers that the rate limit action should match on.RateLimit.Action.HeaderValueMatch.BuilderaddHeaders(HeaderMatcher.Builder builderForValue)Specifies a set of headers that the rate limit action should match on.HeaderMatcher.BuilderaddHeadersBuilder()Specifies a set of headers that the rate limit action should match on.HeaderMatcher.BuilderaddHeadersBuilder(int index)Specifies a set of headers that the rate limit action should match on.RateLimit.Action.HeaderValueMatch.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RateLimit.Action.HeaderValueMatchbuild()RateLimit.Action.HeaderValueMatchbuildPartial()RateLimit.Action.HeaderValueMatch.Builderclear()RateLimit.Action.HeaderValueMatch.BuilderclearDescriptorKey()The key to use in the descriptor entry.RateLimit.Action.HeaderValueMatch.BuilderclearDescriptorValue()The value to use in the descriptor entry.RateLimit.Action.HeaderValueMatch.BuilderclearExpectMatch()If set to true, the action will append a descriptor entry when the request matches the headers.RateLimit.Action.HeaderValueMatch.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RateLimit.Action.HeaderValueMatch.BuilderclearHeaders()Specifies a set of headers that the rate limit action should match on.RateLimit.Action.HeaderValueMatch.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RateLimit.Action.HeaderValueMatch.Builderclone()RateLimit.Action.HeaderValueMatchgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDescriptorKey()The key to use in the descriptor entry.com.google.protobuf.ByteStringgetDescriptorKeyBytes()The key to use in the descriptor entry.StringgetDescriptorValue()The value to use in the descriptor entry.com.google.protobuf.ByteStringgetDescriptorValueBytes()The value to use in the descriptor entry.com.google.protobuf.BoolValuegetExpectMatch()If set to true, the action will append a descriptor entry when the request matches the headers.com.google.protobuf.BoolValue.BuildergetExpectMatchBuilder()If set to true, the action will append a descriptor entry when the request matches the headers.com.google.protobuf.BoolValueOrBuildergetExpectMatchOrBuilder()If set to true, the action will append a descriptor entry when the request matches the headers.HeaderMatchergetHeaders(int index)Specifies a set of headers that the rate limit action should match on.HeaderMatcher.BuildergetHeadersBuilder(int index)Specifies a set of headers that the rate limit action should match on.List<HeaderMatcher.Builder>getHeadersBuilderList()Specifies a set of headers that the rate limit action should match on.intgetHeadersCount()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.HeaderMatcherOrBuildergetHeadersOrBuilder(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.booleanhasExpectMatch()If set to true, the action will append a descriptor entry when the request matches the headers.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RateLimit.Action.HeaderValueMatch.BuildermergeExpectMatch(com.google.protobuf.BoolValue value)If set to true, the action will append a descriptor entry when the request matches the headers.RateLimit.Action.HeaderValueMatch.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RateLimit.Action.HeaderValueMatch.BuildermergeFrom(com.google.protobuf.Message other)RateLimit.Action.HeaderValueMatch.BuildermergeFrom(RateLimit.Action.HeaderValueMatch other)RateLimit.Action.HeaderValueMatch.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RateLimit.Action.HeaderValueMatch.BuilderremoveHeaders(int index)Specifies a set of headers that the rate limit action should match on.RateLimit.Action.HeaderValueMatch.BuildersetDescriptorKey(String value)The key to use in the descriptor entry.RateLimit.Action.HeaderValueMatch.BuildersetDescriptorKeyBytes(com.google.protobuf.ByteString value)The key to use in the descriptor entry.RateLimit.Action.HeaderValueMatch.BuildersetDescriptorValue(String value)The value to use in the descriptor entry.RateLimit.Action.HeaderValueMatch.BuildersetDescriptorValueBytes(com.google.protobuf.ByteString value)The value to use in the descriptor entry.RateLimit.Action.HeaderValueMatch.BuildersetExpectMatch(com.google.protobuf.BoolValue value)If set to true, the action will append a descriptor entry when the request matches the headers.RateLimit.Action.HeaderValueMatch.BuildersetExpectMatch(com.google.protobuf.BoolValue.Builder builderForValue)If set to true, the action will append a descriptor entry when the request matches the headers.RateLimit.Action.HeaderValueMatch.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RateLimit.Action.HeaderValueMatch.BuildersetHeaders(int index, HeaderMatcher value)Specifies a set of headers that the rate limit action should match on.RateLimit.Action.HeaderValueMatch.BuildersetHeaders(int index, HeaderMatcher.Builder builderForValue)Specifies a set of headers that the rate limit action should match on.RateLimit.Action.HeaderValueMatch.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RateLimit.Action.HeaderValueMatch.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public RateLimit.Action.HeaderValueMatch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RateLimit.Action.HeaderValueMatch build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RateLimit.Action.HeaderValueMatch buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RateLimit.Action.HeaderValueMatch.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
public RateLimit.Action.HeaderValueMatch.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RateLimit.Action.HeaderValueMatch.Builder>
-
mergeFrom
public RateLimit.Action.HeaderValueMatch.Builder mergeFrom(RateLimit.Action.HeaderValueMatch other)
-
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
-
getDescriptorKey
public String 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
public RateLimit.Action.HeaderValueMatch.Builder setDescriptorKey(String value)
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
public RateLimit.Action.HeaderValueMatch.Builder 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.
-
getDescriptorValue
public String getDescriptorValue()
The value to use in the descriptor entry.
string descriptor_value = 1 [(.validate.rules) = { ... }- Specified by:
getDescriptorValuein interfaceRateLimit.Action.HeaderValueMatchOrBuilder- Returns:
- The descriptorValue.
-
getDescriptorValueBytes
public com.google.protobuf.ByteString getDescriptorValueBytes()
The value to use in the descriptor entry.
string descriptor_value = 1 [(.validate.rules) = { ... }- Specified by:
getDescriptorValueBytesin interfaceRateLimit.Action.HeaderValueMatchOrBuilder- Returns:
- The bytes for descriptorValue.
-
setDescriptorValue
public RateLimit.Action.HeaderValueMatch.Builder setDescriptorValue(String value)
The value to use in the descriptor entry.
string descriptor_value = 1 [(.validate.rules) = { ... }- Parameters:
value- The descriptorValue to set.- Returns:
- This builder for chaining.
-
clearDescriptorValue
public RateLimit.Action.HeaderValueMatch.Builder clearDescriptorValue()
The value to use in the descriptor entry.
string descriptor_value = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setDescriptorValueBytes
public RateLimit.Action.HeaderValueMatch.Builder setDescriptorValueBytes(com.google.protobuf.ByteString value)
The value to use in the descriptor entry.
string descriptor_value = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for descriptorValue 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
public RateLimit.Action.HeaderValueMatch.Builder 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
public 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) = { ... }- 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
public 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) = { ... }- Specified by:
getHeadersin interfaceRateLimit.Action.HeaderValueMatchOrBuilder
-
setHeaders
public RateLimit.Action.HeaderValueMatch.Builder setHeaders(int index, HeaderMatcher value)
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
public RateLimit.Action.HeaderValueMatch.Builder addHeaders(HeaderMatcher value)
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 value)
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(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
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
public RateLimit.Action.HeaderValueMatch.Builder 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
public RateLimit.Action.HeaderValueMatch.Builder removeHeaders(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) = { ... }
-
getHeadersBuilder
public HeaderMatcher.Builder getHeadersBuilder(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) = { ... }
-
getHeadersOrBuilder
public 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) = { ... }- Specified by:
getHeadersOrBuilderin interfaceRateLimit.Action.HeaderValueMatchOrBuilder
-
getHeadersOrBuilderList
public 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) = { ... }- Specified by:
getHeadersOrBuilderListin interfaceRateLimit.Action.HeaderValueMatchOrBuilder
-
addHeadersBuilder
public HeaderMatcher.Builder 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
public HeaderMatcher.Builder addHeadersBuilder(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) = { ... }
-
getHeadersBuilderList
public List<HeaderMatcher.Builder> 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>
-
-