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 type envoy.config.route.v3.RateLimit.Action.HeaderValueMatch| Modifier and Type | Method and Description |
|---|---|
RateLimit.Action.HeaderValueMatch.Builder |
addAllHeaders(Iterable<? extends HeaderMatcher> values)
Specifies a set of headers that the rate limit action should match
on.
|
RateLimit.Action.HeaderValueMatch.Builder |
addHeaders(HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the rate limit action should match
on.
|
RateLimit.Action.HeaderValueMatch.Builder |
addHeaders(HeaderMatcher value)
Specifies a set of headers that the rate limit action should match
on.
|
RateLimit.Action.HeaderValueMatch.Builder |
addHeaders(int index,
HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the rate limit action should match
on.
|
RateLimit.Action.HeaderValueMatch.Builder |
addHeaders(int index,
HeaderMatcher value)
Specifies a set of headers that the rate limit action should match
on.
|
HeaderMatcher.Builder |
addHeadersBuilder()
Specifies a set of headers that the rate limit action should match
on.
|
HeaderMatcher.Builder |
addHeadersBuilder(int index)
Specifies a set of headers that the rate limit action should match
on.
|
RateLimit.Action.HeaderValueMatch.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RateLimit.Action.HeaderValueMatch |
build() |
RateLimit.Action.HeaderValueMatch |
buildPartial() |
RateLimit.Action.HeaderValueMatch.Builder |
clear() |
RateLimit.Action.HeaderValueMatch.Builder |
clearDescriptorValue()
The value to use in the descriptor entry.
|
RateLimit.Action.HeaderValueMatch.Builder |
clearExpectMatch()
If set to true, the action will append a descriptor entry when the
request matches the headers.
|
RateLimit.Action.HeaderValueMatch.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RateLimit.Action.HeaderValueMatch.Builder |
clearHeaders()
Specifies a set of headers that the rate limit action should match
on.
|
RateLimit.Action.HeaderValueMatch.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RateLimit.Action.HeaderValueMatch.Builder |
clone() |
RateLimit.Action.HeaderValueMatch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.BoolValue.Builder |
getExpectMatchBuilder()
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.
|
HeaderMatcher.Builder |
getHeadersBuilder(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.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
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.
|
RateLimit.Action.HeaderValueMatch.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RateLimit.Action.HeaderValueMatch.Builder |
mergeFrom(com.google.protobuf.Message other) |
RateLimit.Action.HeaderValueMatch.Builder |
mergeFrom(RateLimit.Action.HeaderValueMatch other) |
RateLimit.Action.HeaderValueMatch.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RateLimit.Action.HeaderValueMatch.Builder |
removeHeaders(int index)
Specifies a set of headers that the rate limit action should match
on.
|
RateLimit.Action.HeaderValueMatch.Builder |
setDescriptorValue(String value)
The value to use in the descriptor entry.
|
RateLimit.Action.HeaderValueMatch.Builder |
setDescriptorValueBytes(com.google.protobuf.ByteString value)
The value to use in the descriptor entry.
|
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.
|
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.
|
RateLimit.Action.HeaderValueMatch.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RateLimit.Action.HeaderValueMatch.Builder |
setHeaders(int index,
HeaderMatcher.Builder builderForValue)
Specifies a set of headers that the rate limit action should match
on.
|
RateLimit.Action.HeaderValueMatch.Builder |
setHeaders(int index,
HeaderMatcher value)
Specifies a set of headers that the rate limit action should match
on.
|
RateLimit.Action.HeaderValueMatch.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RateLimit.Action.HeaderValueMatch.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>public RateLimit.Action.HeaderValueMatch.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>public RateLimit.Action.HeaderValueMatch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RateLimit.Action.HeaderValueMatch build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RateLimit.Action.HeaderValueMatch buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RateLimit.Action.HeaderValueMatch.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>public RateLimit.Action.HeaderValueMatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>public RateLimit.Action.HeaderValueMatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>public RateLimit.Action.HeaderValueMatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>public RateLimit.Action.HeaderValueMatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>public RateLimit.Action.HeaderValueMatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>public RateLimit.Action.HeaderValueMatch.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RateLimit.Action.HeaderValueMatch.Builder>public RateLimit.Action.HeaderValueMatch.Builder mergeFrom(RateLimit.Action.HeaderValueMatch other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>public RateLimit.Action.HeaderValueMatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RateLimit.Action.HeaderValueMatch.Builder>IOExceptionpublic String getDescriptorValue()
The value to use in the descriptor entry.
string descriptor_value = 1 [(.validate.rules) = { ... }getDescriptorValue in interface RateLimit.Action.HeaderValueMatchOrBuilderpublic com.google.protobuf.ByteString getDescriptorValueBytes()
The value to use in the descriptor entry.
string descriptor_value = 1 [(.validate.rules) = { ... }getDescriptorValueBytes in interface RateLimit.Action.HeaderValueMatchOrBuilderpublic RateLimit.Action.HeaderValueMatch.Builder setDescriptorValue(String value)
The value to use in the descriptor entry.
string descriptor_value = 1 [(.validate.rules) = { ... }public RateLimit.Action.HeaderValueMatch.Builder clearDescriptorValue()
The value to use in the descriptor entry.
string descriptor_value = 1 [(.validate.rules) = { ... }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) = { ... }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;hasExpectMatch in interface RateLimit.Action.HeaderValueMatchOrBuilderpublic 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;getExpectMatch in interface RateLimit.Action.HeaderValueMatchOrBuilderpublic 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;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;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;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;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;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;getExpectMatchOrBuilder in interface RateLimit.Action.HeaderValueMatchOrBuilderpublic 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) = { ... }getHeadersList in interface RateLimit.Action.HeaderValueMatchOrBuilderpublic 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) = { ... }getHeadersCount in interface RateLimit.Action.HeaderValueMatchOrBuilderpublic 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) = { ... }getHeaders in interface RateLimit.Action.HeaderValueMatchOrBuilderpublic 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) = { ... }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) = { ... }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) = { ... }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) = { ... }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) = { ... }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) = { ... }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) = { ... }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) = { ... }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) = { ... }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) = { ... }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) = { ... }getHeadersOrBuilder in interface RateLimit.Action.HeaderValueMatchOrBuilderpublic 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) = { ... }getHeadersOrBuilderList in interface RateLimit.Action.HeaderValueMatchOrBuilderpublic 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) = { ... }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) = { ... }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) = { ... }public final RateLimit.Action.HeaderValueMatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>public final RateLimit.Action.HeaderValueMatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimit.Action.HeaderValueMatch.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.