public static final class RateLimitResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RateLimitResponse.Builder> implements RateLimitResponseOrBuilder
A response from a ShouldRateLimit call. [#next-free-field: 7]Protobuf type
envoy.service.ratelimit.v3.RateLimitResponse| Modifier and Type | Method and Description |
|---|---|
RateLimitResponse.Builder |
addAllRequestHeadersToAdd(Iterable<? extends HeaderValue> values)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
RateLimitResponse.Builder |
addAllResponseHeadersToAdd(Iterable<? extends HeaderValue> values)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
RateLimitResponse.Builder |
addAllStatuses(Iterable<? extends RateLimitResponse.DescriptorStatus> values)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
RateLimitResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RateLimitResponse.Builder |
addRequestHeadersToAdd(HeaderValue.Builder builderForValue)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
RateLimitResponse.Builder |
addRequestHeadersToAdd(HeaderValue value)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
RateLimitResponse.Builder |
addRequestHeadersToAdd(int index,
HeaderValue.Builder builderForValue)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
RateLimitResponse.Builder |
addRequestHeadersToAdd(int index,
HeaderValue value)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
HeaderValue.Builder |
addRequestHeadersToAddBuilder()
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
HeaderValue.Builder |
addRequestHeadersToAddBuilder(int index)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
RateLimitResponse.Builder |
addResponseHeadersToAdd(HeaderValue.Builder builderForValue)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
RateLimitResponse.Builder |
addResponseHeadersToAdd(HeaderValue value)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
RateLimitResponse.Builder |
addResponseHeadersToAdd(int index,
HeaderValue.Builder builderForValue)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
RateLimitResponse.Builder |
addResponseHeadersToAdd(int index,
HeaderValue value)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
HeaderValue.Builder |
addResponseHeadersToAddBuilder()
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
HeaderValue.Builder |
addResponseHeadersToAddBuilder(int index)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
RateLimitResponse.Builder |
addStatuses(int index,
RateLimitResponse.DescriptorStatus.Builder builderForValue)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
RateLimitResponse.Builder |
addStatuses(int index,
RateLimitResponse.DescriptorStatus value)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
RateLimitResponse.Builder |
addStatuses(RateLimitResponse.DescriptorStatus.Builder builderForValue)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
RateLimitResponse.Builder |
addStatuses(RateLimitResponse.DescriptorStatus value)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
RateLimitResponse.DescriptorStatus.Builder |
addStatusesBuilder()
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
RateLimitResponse.DescriptorStatus.Builder |
addStatusesBuilder(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
RateLimitResponse |
build() |
RateLimitResponse |
buildPartial() |
RateLimitResponse.Builder |
clear() |
RateLimitResponse.Builder |
clearDynamicMetadata()
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next
filter.
|
RateLimitResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RateLimitResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RateLimitResponse.Builder |
clearOverallCode()
The overall response code which takes into account all of the descriptors that were passed
in the RateLimitRequest message.
|
RateLimitResponse.Builder |
clearRawBody()
A response body to send to the downstream client when the response code is not OK.
|
RateLimitResponse.Builder |
clearRequestHeadersToAdd()
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
RateLimitResponse.Builder |
clearResponseHeadersToAdd()
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
RateLimitResponse.Builder |
clearStatuses()
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
RateLimitResponse.Builder |
clone() |
RateLimitResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Struct |
getDynamicMetadata()
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next
filter.
|
com.google.protobuf.Struct.Builder |
getDynamicMetadataBuilder()
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next
filter.
|
com.google.protobuf.StructOrBuilder |
getDynamicMetadataOrBuilder()
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next
filter.
|
RateLimitResponse.Code |
getOverallCode()
The overall response code which takes into account all of the descriptors that were passed
in the RateLimitRequest message.
|
int |
getOverallCodeValue()
The overall response code which takes into account all of the descriptors that were passed
in the RateLimitRequest message.
|
com.google.protobuf.ByteString |
getRawBody()
A response body to send to the downstream client when the response code is not OK.
|
HeaderValue |
getRequestHeadersToAdd(int index)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
HeaderValue.Builder |
getRequestHeadersToAddBuilder(int index)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
List<HeaderValue.Builder> |
getRequestHeadersToAddBuilderList()
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
int |
getRequestHeadersToAddCount()
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
List<HeaderValue> |
getRequestHeadersToAddList()
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
HeaderValueOrBuilder |
getRequestHeadersToAddOrBuilder(int index)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
List<? extends HeaderValueOrBuilder> |
getRequestHeadersToAddOrBuilderList()
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
HeaderValue |
getResponseHeadersToAdd(int index)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
HeaderValue.Builder |
getResponseHeadersToAddBuilder(int index)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
List<HeaderValue.Builder> |
getResponseHeadersToAddBuilderList()
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
int |
getResponseHeadersToAddCount()
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
List<HeaderValue> |
getResponseHeadersToAddList()
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
HeaderValueOrBuilder |
getResponseHeadersToAddOrBuilder(int index)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
List<? extends HeaderValueOrBuilder> |
getResponseHeadersToAddOrBuilderList()
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
RateLimitResponse.DescriptorStatus |
getStatuses(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
RateLimitResponse.DescriptorStatus.Builder |
getStatusesBuilder(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
List<RateLimitResponse.DescriptorStatus.Builder> |
getStatusesBuilderList()
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
int |
getStatusesCount()
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
List<RateLimitResponse.DescriptorStatus> |
getStatusesList()
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
RateLimitResponse.DescriptorStatusOrBuilder |
getStatusesOrBuilder(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
List<? extends RateLimitResponse.DescriptorStatusOrBuilder> |
getStatusesOrBuilderList()
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
boolean |
hasDynamicMetadata()
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next
filter.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RateLimitResponse.Builder |
mergeDynamicMetadata(com.google.protobuf.Struct value)
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next
filter.
|
RateLimitResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RateLimitResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
RateLimitResponse.Builder |
mergeFrom(RateLimitResponse other) |
RateLimitResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RateLimitResponse.Builder |
removeRequestHeadersToAdd(int index)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
RateLimitResponse.Builder |
removeResponseHeadersToAdd(int index)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
RateLimitResponse.Builder |
removeStatuses(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
RateLimitResponse.Builder |
setDynamicMetadata(com.google.protobuf.Struct.Builder builderForValue)
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next
filter.
|
RateLimitResponse.Builder |
setDynamicMetadata(com.google.protobuf.Struct value)
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next
filter.
|
RateLimitResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RateLimitResponse.Builder |
setOverallCode(RateLimitResponse.Code value)
The overall response code which takes into account all of the descriptors that were passed
in the RateLimitRequest message.
|
RateLimitResponse.Builder |
setOverallCodeValue(int value)
The overall response code which takes into account all of the descriptors that were passed
in the RateLimitRequest message.
|
RateLimitResponse.Builder |
setRawBody(com.google.protobuf.ByteString value)
A response body to send to the downstream client when the response code is not OK.
|
RateLimitResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RateLimitResponse.Builder |
setRequestHeadersToAdd(int index,
HeaderValue.Builder builderForValue)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
RateLimitResponse.Builder |
setRequestHeadersToAdd(int index,
HeaderValue value)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4; |
RateLimitResponse.Builder |
setResponseHeadersToAdd(int index,
HeaderValue.Builder builderForValue)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
RateLimitResponse.Builder |
setResponseHeadersToAdd(int index,
HeaderValue value)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3; |
RateLimitResponse.Builder |
setStatuses(int index,
RateLimitResponse.DescriptorStatus.Builder builderForValue)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
RateLimitResponse.Builder |
setStatuses(int index,
RateLimitResponse.DescriptorStatus value)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
RateLimitResponse.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<RateLimitResponse.Builder>public RateLimitResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitResponse.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<RateLimitResponse.Builder>public RateLimitResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RateLimitResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RateLimitResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RateLimitResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitResponse.Builder>public RateLimitResponse.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<RateLimitResponse.Builder>public RateLimitResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitResponse.Builder>public RateLimitResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitResponse.Builder>public RateLimitResponse.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<RateLimitResponse.Builder>public RateLimitResponse.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<RateLimitResponse.Builder>public RateLimitResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RateLimitResponse.Builder>public RateLimitResponse.Builder mergeFrom(RateLimitResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitResponse.Builder>public RateLimitResponse.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<RateLimitResponse.Builder>IOExceptionpublic int getOverallCodeValue()
The overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.
.envoy.service.ratelimit.v3.RateLimitResponse.Code overall_code = 1;getOverallCodeValue in interface RateLimitResponseOrBuilderpublic RateLimitResponse.Builder setOverallCodeValue(int value)
The overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.
.envoy.service.ratelimit.v3.RateLimitResponse.Code overall_code = 1;public RateLimitResponse.Code getOverallCode()
The overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.
.envoy.service.ratelimit.v3.RateLimitResponse.Code overall_code = 1;getOverallCode in interface RateLimitResponseOrBuilderpublic RateLimitResponse.Builder setOverallCode(RateLimitResponse.Code value)
The overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.
.envoy.service.ratelimit.v3.RateLimitResponse.Code overall_code = 1;public RateLimitResponse.Builder clearOverallCode()
The overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.
.envoy.service.ratelimit.v3.RateLimitResponse.Code overall_code = 1;public List<RateLimitResponse.DescriptorStatus> getStatusesList()
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;getStatusesList in interface RateLimitResponseOrBuilderpublic int getStatusesCount()
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;getStatusesCount in interface RateLimitResponseOrBuilderpublic RateLimitResponse.DescriptorStatus getStatuses(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;getStatuses in interface RateLimitResponseOrBuilderpublic RateLimitResponse.Builder setStatuses(int index, RateLimitResponse.DescriptorStatus value)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;public RateLimitResponse.Builder setStatuses(int index, RateLimitResponse.DescriptorStatus.Builder builderForValue)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;public RateLimitResponse.Builder addStatuses(RateLimitResponse.DescriptorStatus value)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;public RateLimitResponse.Builder addStatuses(int index, RateLimitResponse.DescriptorStatus value)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;public RateLimitResponse.Builder addStatuses(RateLimitResponse.DescriptorStatus.Builder builderForValue)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;public RateLimitResponse.Builder addStatuses(int index, RateLimitResponse.DescriptorStatus.Builder builderForValue)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;public RateLimitResponse.Builder addAllStatuses(Iterable<? extends RateLimitResponse.DescriptorStatus> values)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;public RateLimitResponse.Builder clearStatuses()
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;public RateLimitResponse.Builder removeStatuses(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;public RateLimitResponse.DescriptorStatus.Builder getStatusesBuilder(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;public RateLimitResponse.DescriptorStatusOrBuilder getStatusesOrBuilder(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;getStatusesOrBuilder in interface RateLimitResponseOrBuilderpublic List<? extends RateLimitResponse.DescriptorStatusOrBuilder> getStatusesOrBuilderList()
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;getStatusesOrBuilderList in interface RateLimitResponseOrBuilderpublic RateLimitResponse.DescriptorStatus.Builder addStatusesBuilder()
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;public RateLimitResponse.DescriptorStatus.Builder addStatusesBuilder(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;public List<RateLimitResponse.DescriptorStatus.Builder> getStatusesBuilderList()
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;public List<HeaderValue> getResponseHeadersToAddList()
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;getResponseHeadersToAddList in interface RateLimitResponseOrBuilderpublic int getResponseHeadersToAddCount()
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;getResponseHeadersToAddCount in interface RateLimitResponseOrBuilderpublic HeaderValue getResponseHeadersToAdd(int index)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;getResponseHeadersToAdd in interface RateLimitResponseOrBuilderpublic RateLimitResponse.Builder setResponseHeadersToAdd(int index, HeaderValue value)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;public RateLimitResponse.Builder setResponseHeadersToAdd(int index, HeaderValue.Builder builderForValue)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;public RateLimitResponse.Builder addResponseHeadersToAdd(HeaderValue value)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;public RateLimitResponse.Builder addResponseHeadersToAdd(int index, HeaderValue value)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;public RateLimitResponse.Builder addResponseHeadersToAdd(HeaderValue.Builder builderForValue)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;public RateLimitResponse.Builder addResponseHeadersToAdd(int index, HeaderValue.Builder builderForValue)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;public RateLimitResponse.Builder addAllResponseHeadersToAdd(Iterable<? extends HeaderValue> values)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;public RateLimitResponse.Builder clearResponseHeadersToAdd()
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;public RateLimitResponse.Builder removeResponseHeadersToAdd(int index)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;public HeaderValue.Builder getResponseHeadersToAddBuilder(int index)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;public HeaderValueOrBuilder getResponseHeadersToAddOrBuilder(int index)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;getResponseHeadersToAddOrBuilder in interface RateLimitResponseOrBuilderpublic List<? extends HeaderValueOrBuilder> getResponseHeadersToAddOrBuilderList()
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;getResponseHeadersToAddOrBuilderList in interface RateLimitResponseOrBuilderpublic HeaderValue.Builder addResponseHeadersToAddBuilder()
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;public HeaderValue.Builder addResponseHeadersToAddBuilder(int index)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;public List<HeaderValue.Builder> getResponseHeadersToAddBuilderList()
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;public List<HeaderValue> getRequestHeadersToAddList()
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;getRequestHeadersToAddList in interface RateLimitResponseOrBuilderpublic int getRequestHeadersToAddCount()
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;getRequestHeadersToAddCount in interface RateLimitResponseOrBuilderpublic HeaderValue getRequestHeadersToAdd(int index)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;getRequestHeadersToAdd in interface RateLimitResponseOrBuilderpublic RateLimitResponse.Builder setRequestHeadersToAdd(int index, HeaderValue value)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;public RateLimitResponse.Builder setRequestHeadersToAdd(int index, HeaderValue.Builder builderForValue)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;public RateLimitResponse.Builder addRequestHeadersToAdd(HeaderValue value)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;public RateLimitResponse.Builder addRequestHeadersToAdd(int index, HeaderValue value)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;public RateLimitResponse.Builder addRequestHeadersToAdd(HeaderValue.Builder builderForValue)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;public RateLimitResponse.Builder addRequestHeadersToAdd(int index, HeaderValue.Builder builderForValue)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;public RateLimitResponse.Builder addAllRequestHeadersToAdd(Iterable<? extends HeaderValue> values)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;public RateLimitResponse.Builder clearRequestHeadersToAdd()
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;public RateLimitResponse.Builder removeRequestHeadersToAdd(int index)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;public HeaderValue.Builder getRequestHeadersToAddBuilder(int index)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;public HeaderValueOrBuilder getRequestHeadersToAddOrBuilder(int index)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;getRequestHeadersToAddOrBuilder in interface RateLimitResponseOrBuilderpublic List<? extends HeaderValueOrBuilder> getRequestHeadersToAddOrBuilderList()
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;getRequestHeadersToAddOrBuilderList in interface RateLimitResponseOrBuilderpublic HeaderValue.Builder addRequestHeadersToAddBuilder()
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;public HeaderValue.Builder addRequestHeadersToAddBuilder(int index)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;public List<HeaderValue.Builder> getRequestHeadersToAddBuilderList()
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;public com.google.protobuf.ByteString getRawBody()
A response body to send to the downstream client when the response code is not OK.
bytes raw_body = 5;getRawBody in interface RateLimitResponseOrBuilderpublic RateLimitResponse.Builder setRawBody(com.google.protobuf.ByteString value)
A response body to send to the downstream client when the response code is not OK.
bytes raw_body = 5;public RateLimitResponse.Builder clearRawBody()
A response body to send to the downstream client when the response code is not OK.
bytes raw_body = 5;public boolean hasDynamicMetadata()
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter that requires it: - :ref:`envoy.filters.http.ratelimit <config_http_filters_ratelimit_dynamic_metadata>` for HTTP filter. - :ref:`envoy.filters.network.ratelimit <config_network_filters_ratelimit_dynamic_metadata>` for network filter. - :ref:`envoy.filters.thrift.rate_limit <config_thrift_filters_rate_limit_dynamic_metadata>` for Thrift filter.
.google.protobuf.Struct dynamic_metadata = 6;hasDynamicMetadata in interface RateLimitResponseOrBuilderpublic com.google.protobuf.Struct getDynamicMetadata()
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter that requires it: - :ref:`envoy.filters.http.ratelimit <config_http_filters_ratelimit_dynamic_metadata>` for HTTP filter. - :ref:`envoy.filters.network.ratelimit <config_network_filters_ratelimit_dynamic_metadata>` for network filter. - :ref:`envoy.filters.thrift.rate_limit <config_thrift_filters_rate_limit_dynamic_metadata>` for Thrift filter.
.google.protobuf.Struct dynamic_metadata = 6;getDynamicMetadata in interface RateLimitResponseOrBuilderpublic RateLimitResponse.Builder setDynamicMetadata(com.google.protobuf.Struct value)
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter that requires it: - :ref:`envoy.filters.http.ratelimit <config_http_filters_ratelimit_dynamic_metadata>` for HTTP filter. - :ref:`envoy.filters.network.ratelimit <config_network_filters_ratelimit_dynamic_metadata>` for network filter. - :ref:`envoy.filters.thrift.rate_limit <config_thrift_filters_rate_limit_dynamic_metadata>` for Thrift filter.
.google.protobuf.Struct dynamic_metadata = 6;public RateLimitResponse.Builder setDynamicMetadata(com.google.protobuf.Struct.Builder builderForValue)
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter that requires it: - :ref:`envoy.filters.http.ratelimit <config_http_filters_ratelimit_dynamic_metadata>` for HTTP filter. - :ref:`envoy.filters.network.ratelimit <config_network_filters_ratelimit_dynamic_metadata>` for network filter. - :ref:`envoy.filters.thrift.rate_limit <config_thrift_filters_rate_limit_dynamic_metadata>` for Thrift filter.
.google.protobuf.Struct dynamic_metadata = 6;public RateLimitResponse.Builder mergeDynamicMetadata(com.google.protobuf.Struct value)
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter that requires it: - :ref:`envoy.filters.http.ratelimit <config_http_filters_ratelimit_dynamic_metadata>` for HTTP filter. - :ref:`envoy.filters.network.ratelimit <config_network_filters_ratelimit_dynamic_metadata>` for network filter. - :ref:`envoy.filters.thrift.rate_limit <config_thrift_filters_rate_limit_dynamic_metadata>` for Thrift filter.
.google.protobuf.Struct dynamic_metadata = 6;public RateLimitResponse.Builder clearDynamicMetadata()
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter that requires it: - :ref:`envoy.filters.http.ratelimit <config_http_filters_ratelimit_dynamic_metadata>` for HTTP filter. - :ref:`envoy.filters.network.ratelimit <config_network_filters_ratelimit_dynamic_metadata>` for network filter. - :ref:`envoy.filters.thrift.rate_limit <config_thrift_filters_rate_limit_dynamic_metadata>` for Thrift filter.
.google.protobuf.Struct dynamic_metadata = 6;public com.google.protobuf.Struct.Builder getDynamicMetadataBuilder()
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter that requires it: - :ref:`envoy.filters.http.ratelimit <config_http_filters_ratelimit_dynamic_metadata>` for HTTP filter. - :ref:`envoy.filters.network.ratelimit <config_network_filters_ratelimit_dynamic_metadata>` for network filter. - :ref:`envoy.filters.thrift.rate_limit <config_thrift_filters_rate_limit_dynamic_metadata>` for Thrift filter.
.google.protobuf.Struct dynamic_metadata = 6;public com.google.protobuf.StructOrBuilder getDynamicMetadataOrBuilder()
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter that requires it: - :ref:`envoy.filters.http.ratelimit <config_http_filters_ratelimit_dynamic_metadata>` for HTTP filter. - :ref:`envoy.filters.network.ratelimit <config_network_filters_ratelimit_dynamic_metadata>` for network filter. - :ref:`envoy.filters.thrift.rate_limit <config_thrift_filters_rate_limit_dynamic_metadata>` for Thrift filter.
.google.protobuf.Struct dynamic_metadata = 6;getDynamicMetadataOrBuilder in interface RateLimitResponseOrBuilderpublic final RateLimitResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitResponse.Builder>public final RateLimitResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitResponse.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.