public static final class RateLimitOuterClass.RateLimit.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RateLimitOuterClass.RateLimit.Builder> implements RateLimitOuterClass.RateLimitOrBuilder
envoy.config.filter.http.rate_limit.v2.RateLimit| Modifier and Type | Method and Description |
|---|---|
RateLimitOuterClass.RateLimit.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RateLimitOuterClass.RateLimit |
build() |
RateLimitOuterClass.RateLimit |
buildPartial() |
RateLimitOuterClass.RateLimit.Builder |
clear() |
RateLimitOuterClass.RateLimit.Builder |
clearDomain()
The rate limit domain to use when calling the rate limit service.
|
RateLimitOuterClass.RateLimit.Builder |
clearFailureModeDeny()
The filter's behaviour in case the rate limiting service does
not respond back.
|
RateLimitOuterClass.RateLimit.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RateLimitOuterClass.RateLimit.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RateLimitOuterClass.RateLimit.Builder |
clearRequestType()
The type of requests the filter should apply to.
|
RateLimitOuterClass.RateLimit.Builder |
clearStage()
Specifies the rate limit configurations to be applied with the same
stage number.
|
RateLimitOuterClass.RateLimit.Builder |
clearTimeout()
The timeout in milliseconds for the rate limit service RPC.
|
RateLimitOuterClass.RateLimit.Builder |
clone() |
RateLimitOuterClass.RateLimit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDomain()
The rate limit domain to use when calling the rate limit service.
|
com.google.protobuf.ByteString |
getDomainBytes()
The rate limit domain to use when calling the rate limit service.
|
boolean |
getFailureModeDeny()
The filter's behaviour in case the rate limiting service does
not respond back.
|
String |
getRequestType()
The type of requests the filter should apply to.
|
com.google.protobuf.ByteString |
getRequestTypeBytes()
The type of requests the filter should apply to.
|
int |
getStage()
Specifies the rate limit configurations to be applied with the same
stage number.
|
com.google.protobuf.Duration |
getTimeout()
The timeout in milliseconds for the rate limit service RPC.
|
com.google.protobuf.Duration.Builder |
getTimeoutBuilder()
The timeout in milliseconds for the rate limit service RPC.
|
com.google.protobuf.DurationOrBuilder |
getTimeoutOrBuilder()
The timeout in milliseconds for the rate limit service RPC.
|
boolean |
hasTimeout()
The timeout in milliseconds for the rate limit service RPC.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RateLimitOuterClass.RateLimit.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RateLimitOuterClass.RateLimit.Builder |
mergeFrom(com.google.protobuf.Message other) |
RateLimitOuterClass.RateLimit.Builder |
mergeFrom(RateLimitOuterClass.RateLimit other) |
RateLimitOuterClass.RateLimit.Builder |
mergeTimeout(com.google.protobuf.Duration value)
The timeout in milliseconds for the rate limit service RPC.
|
RateLimitOuterClass.RateLimit.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RateLimitOuterClass.RateLimit.Builder |
setDomain(String value)
The rate limit domain to use when calling the rate limit service.
|
RateLimitOuterClass.RateLimit.Builder |
setDomainBytes(com.google.protobuf.ByteString value)
The rate limit domain to use when calling the rate limit service.
|
RateLimitOuterClass.RateLimit.Builder |
setFailureModeDeny(boolean value)
The filter's behaviour in case the rate limiting service does
not respond back.
|
RateLimitOuterClass.RateLimit.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RateLimitOuterClass.RateLimit.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RateLimitOuterClass.RateLimit.Builder |
setRequestType(String value)
The type of requests the filter should apply to.
|
RateLimitOuterClass.RateLimit.Builder |
setRequestTypeBytes(com.google.protobuf.ByteString value)
The type of requests the filter should apply to.
|
RateLimitOuterClass.RateLimit.Builder |
setStage(int value)
Specifies the rate limit configurations to be applied with the same
stage number.
|
RateLimitOuterClass.RateLimit.Builder |
setTimeout(com.google.protobuf.Duration.Builder builderForValue)
The timeout in milliseconds for the rate limit service RPC.
|
RateLimitOuterClass.RateLimit.Builder |
setTimeout(com.google.protobuf.Duration value)
The timeout in milliseconds for the rate limit service RPC.
|
RateLimitOuterClass.RateLimit.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<RateLimitOuterClass.RateLimit.Builder>public RateLimitOuterClass.RateLimit.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitOuterClass.RateLimit.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<RateLimitOuterClass.RateLimit.Builder>public RateLimitOuterClass.RateLimit getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RateLimitOuterClass.RateLimit build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RateLimitOuterClass.RateLimit buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RateLimitOuterClass.RateLimit.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitOuterClass.RateLimit.Builder>public RateLimitOuterClass.RateLimit.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<RateLimitOuterClass.RateLimit.Builder>public RateLimitOuterClass.RateLimit.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitOuterClass.RateLimit.Builder>public RateLimitOuterClass.RateLimit.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitOuterClass.RateLimit.Builder>public RateLimitOuterClass.RateLimit.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<RateLimitOuterClass.RateLimit.Builder>public RateLimitOuterClass.RateLimit.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<RateLimitOuterClass.RateLimit.Builder>public RateLimitOuterClass.RateLimit.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RateLimitOuterClass.RateLimit.Builder>public RateLimitOuterClass.RateLimit.Builder mergeFrom(RateLimitOuterClass.RateLimit other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitOuterClass.RateLimit.Builder>public RateLimitOuterClass.RateLimit.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<RateLimitOuterClass.RateLimit.Builder>IOExceptionpublic String getDomain()
The rate limit domain to use when calling the rate limit service.
string domain = 1 [(.validate.rules) = { ... }getDomain in interface RateLimitOuterClass.RateLimitOrBuilderpublic com.google.protobuf.ByteString getDomainBytes()
The rate limit domain to use when calling the rate limit service.
string domain = 1 [(.validate.rules) = { ... }getDomainBytes in interface RateLimitOuterClass.RateLimitOrBuilderpublic RateLimitOuterClass.RateLimit.Builder setDomain(String value)
The rate limit domain to use when calling the rate limit service.
string domain = 1 [(.validate.rules) = { ... }public RateLimitOuterClass.RateLimit.Builder clearDomain()
The rate limit domain to use when calling the rate limit service.
string domain = 1 [(.validate.rules) = { ... }public RateLimitOuterClass.RateLimit.Builder setDomainBytes(com.google.protobuf.ByteString value)
The rate limit domain to use when calling the rate limit service.
string domain = 1 [(.validate.rules) = { ... }public int getStage()
Specifies the rate limit configurations to be applied with the same stage number. If not set, the default stage number is 0. .. note:: The filter supports a range of 0 - 10 inclusively for stage numbers.
uint32 stage = 2 [(.validate.rules) = { ... }getStage in interface RateLimitOuterClass.RateLimitOrBuilderpublic RateLimitOuterClass.RateLimit.Builder setStage(int value)
Specifies the rate limit configurations to be applied with the same stage number. If not set, the default stage number is 0. .. note:: The filter supports a range of 0 - 10 inclusively for stage numbers.
uint32 stage = 2 [(.validate.rules) = { ... }public RateLimitOuterClass.RateLimit.Builder clearStage()
Specifies the rate limit configurations to be applied with the same stage number. If not set, the default stage number is 0. .. note:: The filter supports a range of 0 - 10 inclusively for stage numbers.
uint32 stage = 2 [(.validate.rules) = { ... }public String getRequestType()
The type of requests the filter should apply to. The supported types are *internal*, *external* or *both*. A request is considered internal if :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is set to true. If :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is not set or false, a request is considered external. The filter defaults to *both*, and it will apply to all request types.
string request_type = 3;getRequestType in interface RateLimitOuterClass.RateLimitOrBuilderpublic com.google.protobuf.ByteString getRequestTypeBytes()
The type of requests the filter should apply to. The supported types are *internal*, *external* or *both*. A request is considered internal if :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is set to true. If :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is not set or false, a request is considered external. The filter defaults to *both*, and it will apply to all request types.
string request_type = 3;getRequestTypeBytes in interface RateLimitOuterClass.RateLimitOrBuilderpublic RateLimitOuterClass.RateLimit.Builder setRequestType(String value)
The type of requests the filter should apply to. The supported types are *internal*, *external* or *both*. A request is considered internal if :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is set to true. If :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is not set or false, a request is considered external. The filter defaults to *both*, and it will apply to all request types.
string request_type = 3;public RateLimitOuterClass.RateLimit.Builder clearRequestType()
The type of requests the filter should apply to. The supported types are *internal*, *external* or *both*. A request is considered internal if :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is set to true. If :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is not set or false, a request is considered external. The filter defaults to *both*, and it will apply to all request types.
string request_type = 3;public RateLimitOuterClass.RateLimit.Builder setRequestTypeBytes(com.google.protobuf.ByteString value)
The type of requests the filter should apply to. The supported types are *internal*, *external* or *both*. A request is considered internal if :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is set to true. If :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is not set or false, a request is considered external. The filter defaults to *both*, and it will apply to all request types.
string request_type = 3;public boolean hasTimeout()
The timeout in milliseconds for the rate limit service RPC. If not set, this defaults to 20ms.
.google.protobuf.Duration timeout = 4 [(.gogoproto.stdduration) = true];hasTimeout in interface RateLimitOuterClass.RateLimitOrBuilderpublic com.google.protobuf.Duration getTimeout()
The timeout in milliseconds for the rate limit service RPC. If not set, this defaults to 20ms.
.google.protobuf.Duration timeout = 4 [(.gogoproto.stdduration) = true];getTimeout in interface RateLimitOuterClass.RateLimitOrBuilderpublic RateLimitOuterClass.RateLimit.Builder setTimeout(com.google.protobuf.Duration value)
The timeout in milliseconds for the rate limit service RPC. If not set, this defaults to 20ms.
.google.protobuf.Duration timeout = 4 [(.gogoproto.stdduration) = true];public RateLimitOuterClass.RateLimit.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
The timeout in milliseconds for the rate limit service RPC. If not set, this defaults to 20ms.
.google.protobuf.Duration timeout = 4 [(.gogoproto.stdduration) = true];public RateLimitOuterClass.RateLimit.Builder mergeTimeout(com.google.protobuf.Duration value)
The timeout in milliseconds for the rate limit service RPC. If not set, this defaults to 20ms.
.google.protobuf.Duration timeout = 4 [(.gogoproto.stdduration) = true];public RateLimitOuterClass.RateLimit.Builder clearTimeout()
The timeout in milliseconds for the rate limit service RPC. If not set, this defaults to 20ms.
.google.protobuf.Duration timeout = 4 [(.gogoproto.stdduration) = true];public com.google.protobuf.Duration.Builder getTimeoutBuilder()
The timeout in milliseconds for the rate limit service RPC. If not set, this defaults to 20ms.
.google.protobuf.Duration timeout = 4 [(.gogoproto.stdduration) = true];public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
The timeout in milliseconds for the rate limit service RPC. If not set, this defaults to 20ms.
.google.protobuf.Duration timeout = 4 [(.gogoproto.stdduration) = true];getTimeoutOrBuilder in interface RateLimitOuterClass.RateLimitOrBuilderpublic boolean getFailureModeDeny()
The filter's behaviour in case the rate limiting service does not respond back. When it is set to true, Envoy will not allow traffic in case of communication failure between rate limiting service and the proxy. Defaults to false.
bool failure_mode_deny = 5;getFailureModeDeny in interface RateLimitOuterClass.RateLimitOrBuilderpublic RateLimitOuterClass.RateLimit.Builder setFailureModeDeny(boolean value)
The filter's behaviour in case the rate limiting service does not respond back. When it is set to true, Envoy will not allow traffic in case of communication failure between rate limiting service and the proxy. Defaults to false.
bool failure_mode_deny = 5;public RateLimitOuterClass.RateLimit.Builder clearFailureModeDeny()
The filter's behaviour in case the rate limiting service does not respond back. When it is set to true, Envoy will not allow traffic in case of communication failure between rate limiting service and the proxy. Defaults to false.
bool failure_mode_deny = 5;public final RateLimitOuterClass.RateLimit.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitOuterClass.RateLimit.Builder>public final RateLimitOuterClass.RateLimit.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitOuterClass.RateLimit.Builder>Copyright © 2018 The Envoy Project. All rights reserved.