public static final class RateLimitResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RateLimitResponse.Builder> implements RateLimitResponseOrBuilder
A response from a ShouldRateLimit call.Protobuf type
envoy.service.ratelimit.v2.RateLimitResponse| Modifier and Type | Method and Description |
|---|---|
RateLimitResponse.Builder |
addAllHeaders(Iterable<? extends HeaderValue> values)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
RateLimitResponse.Builder |
addAllRequestHeadersToAdd(Iterable<? extends HeaderValue> values)
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; |
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 |
addHeaders(HeaderValue.Builder builderForValue)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
RateLimitResponse.Builder |
addHeaders(HeaderValue value)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
RateLimitResponse.Builder |
addHeaders(int index,
HeaderValue.Builder builderForValue)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
RateLimitResponse.Builder |
addHeaders(int index,
HeaderValue value)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
HeaderValue.Builder |
addHeadersBuilder()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
HeaderValue.Builder |
addHeadersBuilder(int index)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
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.api.v2.core.HeaderValue request_headers_to_add = 4; |
RateLimitResponse.Builder |
addRequestHeadersToAdd(HeaderValue value)
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.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.api.v2.core.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.api.v2.core.HeaderValue request_headers_to_add = 4; |
HeaderValue.Builder |
addRequestHeadersToAddBuilder()
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; |
HeaderValue.Builder |
addRequestHeadersToAddBuilder(int index)
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; |
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 |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RateLimitResponse.Builder |
clearHeaders()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
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 |
clearRequestHeadersToAdd()
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; |
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() |
HeaderValue |
getHeaders(int index)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
HeaderValue.Builder |
getHeadersBuilder(int index)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
List<HeaderValue.Builder> |
getHeadersBuilderList()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
int |
getHeadersCount()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
List<HeaderValue> |
getHeadersList()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
HeaderValueOrBuilder |
getHeadersOrBuilder(int index)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
List<? extends HeaderValueOrBuilder> |
getHeadersOrBuilderList()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
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.
|
HeaderValue |
getRequestHeadersToAdd(int index)
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; |
HeaderValue.Builder |
getRequestHeadersToAddBuilder(int index)
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; |
List<HeaderValue.Builder> |
getRequestHeadersToAddBuilderList()
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; |
int |
getRequestHeadersToAddCount()
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; |
List<HeaderValue> |
getRequestHeadersToAddList()
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; |
HeaderValueOrBuilder |
getRequestHeadersToAddOrBuilder(int index)
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; |
List<? extends HeaderValueOrBuilder> |
getRequestHeadersToAddOrBuilderList()
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
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 |
removeHeaders(int index)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
RateLimitResponse.Builder |
removeRequestHeadersToAdd(int index)
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4; |
RateLimitResponse.Builder |
removeStatuses(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
RateLimitResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RateLimitResponse.Builder |
setHeaders(int index,
HeaderValue.Builder builderForValue)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
RateLimitResponse.Builder |
setHeaders(int index,
HeaderValue value)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... } |
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 |
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.api.v2.core.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.api.v2.core.HeaderValue request_headers_to_add = 4; |
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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.RateLimitResponse.DescriptorStatus statuses = 2;public List<HeaderValue> getHeadersList()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }getHeadersList in interface RateLimitResponseOrBuilderpublic int getHeadersCount()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }getHeadersCount in interface RateLimitResponseOrBuilderpublic HeaderValue getHeaders(int index)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }getHeaders in interface RateLimitResponseOrBuilderpublic RateLimitResponse.Builder setHeaders(int index, HeaderValue value)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }public RateLimitResponse.Builder setHeaders(int index, HeaderValue.Builder builderForValue)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }public RateLimitResponse.Builder addHeaders(HeaderValue value)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }public RateLimitResponse.Builder addHeaders(int index, HeaderValue value)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }public RateLimitResponse.Builder addHeaders(HeaderValue.Builder builderForValue)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }public RateLimitResponse.Builder addHeaders(int index, HeaderValue.Builder builderForValue)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }public RateLimitResponse.Builder addAllHeaders(Iterable<? extends HeaderValue> values)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }public RateLimitResponse.Builder clearHeaders()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }public RateLimitResponse.Builder removeHeaders(int index)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }public HeaderValue.Builder getHeadersBuilder(int index)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }public HeaderValueOrBuilder getHeadersOrBuilder(int index)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }getHeadersOrBuilder in interface RateLimitResponseOrBuilderpublic List<? extends HeaderValueOrBuilder> getHeadersOrBuilderList()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }getHeadersOrBuilderList in interface RateLimitResponseOrBuilderpublic HeaderValue.Builder addHeadersBuilder()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }public HeaderValue.Builder addHeadersBuilder(int index)
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }public List<HeaderValue.Builder> getHeadersBuilderList()
A list of headers to add to the response
repeated .envoy.api.v2.core.HeaderValue headers = 3 [(.udpa.annotations.field_migrate) = { ... }public List<HeaderValue> getRequestHeadersToAddList()
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.HeaderValue request_headers_to_add = 4;public RateLimitResponse.Builder clearRequestHeadersToAdd()
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.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.api.v2.core.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.api.v2.core.HeaderValue request_headers_to_add = 4;public HeaderValueOrBuilder getRequestHeadersToAddOrBuilder(int index)
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.HeaderValue request_headers_to_add = 4;public List<HeaderValue.Builder> getRequestHeadersToAddBuilderList()
A list of headers to add to the request when forwarded
repeated .envoy.api.v2.core.HeaderValue request_headers_to_add = 4;public 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.