public static final class Rls.RateLimitResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Rls.RateLimitResponse.Builder> implements Rls.RateLimitResponseOrBuilder
A response from a ShouldRateLimit call. [#not-implemented-hide:] Hiding API for now.Protobuf type
envoy.service.ratelimit.v2.RateLimitResponse| Modifier and Type | Method and Description |
|---|---|
Rls.RateLimitResponse.Builder |
addAllStatuses(Iterable<? extends Rls.RateLimitResponse.DescriptorStatus> values)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
Rls.RateLimitResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Rls.RateLimitResponse.Builder |
addStatuses(int index,
Rls.RateLimitResponse.DescriptorStatus.Builder builderForValue)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
Rls.RateLimitResponse.Builder |
addStatuses(int index,
Rls.RateLimitResponse.DescriptorStatus value)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
Rls.RateLimitResponse.Builder |
addStatuses(Rls.RateLimitResponse.DescriptorStatus.Builder builderForValue)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
Rls.RateLimitResponse.Builder |
addStatuses(Rls.RateLimitResponse.DescriptorStatus value)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
Rls.RateLimitResponse.DescriptorStatus.Builder |
addStatusesBuilder()
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
Rls.RateLimitResponse.DescriptorStatus.Builder |
addStatusesBuilder(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
Rls.RateLimitResponse |
build() |
Rls.RateLimitResponse |
buildPartial() |
Rls.RateLimitResponse.Builder |
clear() |
Rls.RateLimitResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Rls.RateLimitResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Rls.RateLimitResponse.Builder |
clearOverallCode()
The overall response code which takes into account all of the descriptors that were passed
in the RateLimitRequest message.
|
Rls.RateLimitResponse.Builder |
clearStatuses()
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
Rls.RateLimitResponse.Builder |
clone() |
Rls.RateLimitResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Rls.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.
|
Rls.RateLimitResponse.DescriptorStatus |
getStatuses(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
Rls.RateLimitResponse.DescriptorStatus.Builder |
getStatusesBuilder(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
List<Rls.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<Rls.RateLimitResponse.DescriptorStatus> |
getStatusesList()
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
Rls.RateLimitResponse.DescriptorStatusOrBuilder |
getStatusesOrBuilder(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
List<? extends Rls.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() |
Rls.RateLimitResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Rls.RateLimitResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Rls.RateLimitResponse.Builder |
mergeFrom(Rls.RateLimitResponse other) |
Rls.RateLimitResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Rls.RateLimitResponse.Builder |
removeStatuses(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
Rls.RateLimitResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Rls.RateLimitResponse.Builder |
setOverallCode(Rls.RateLimitResponse.Code value)
The overall response code which takes into account all of the descriptors that were passed
in the RateLimitRequest message.
|
Rls.RateLimitResponse.Builder |
setOverallCodeValue(int value)
The overall response code which takes into account all of the descriptors that were passed
in the RateLimitRequest message.
|
Rls.RateLimitResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Rls.RateLimitResponse.Builder |
setStatuses(int index,
Rls.RateLimitResponse.DescriptorStatus.Builder builderForValue)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
Rls.RateLimitResponse.Builder |
setStatuses(int index,
Rls.RateLimitResponse.DescriptorStatus value)
A list of DescriptorStatus messages which matches the length of the descriptor list passed
in the RateLimitRequest.
|
Rls.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<Rls.RateLimitResponse.Builder>public Rls.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<Rls.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<Rls.RateLimitResponse.Builder>public Rls.RateLimitResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Rls.RateLimitResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Rls.RateLimitResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Rls.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<Rls.RateLimitResponse.Builder>public Rls.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<Rls.RateLimitResponse.Builder>public Rls.RateLimitResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Rls.RateLimitResponse.Builder>public Rls.RateLimitResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Rls.RateLimitResponse.Builder>public Rls.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<Rls.RateLimitResponse.Builder>public Rls.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<Rls.RateLimitResponse.Builder>public Rls.RateLimitResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Rls.RateLimitResponse.Builder>public Rls.RateLimitResponse.Builder mergeFrom(Rls.RateLimitResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Rls.RateLimitResponse.Builder>public Rls.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<Rls.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 Rls.RateLimitResponseOrBuilderpublic Rls.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 Rls.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 Rls.RateLimitResponseOrBuilderpublic Rls.RateLimitResponse.Builder setOverallCode(Rls.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 Rls.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<Rls.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 Rls.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 Rls.RateLimitResponseOrBuilderpublic Rls.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 Rls.RateLimitResponseOrBuilderpublic Rls.RateLimitResponse.Builder setStatuses(int index, Rls.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 Rls.RateLimitResponse.Builder setStatuses(int index, Rls.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 Rls.RateLimitResponse.Builder addStatuses(Rls.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 Rls.RateLimitResponse.Builder addStatuses(int index, Rls.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 Rls.RateLimitResponse.Builder addStatuses(Rls.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 Rls.RateLimitResponse.Builder addStatuses(int index, Rls.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 Rls.RateLimitResponse.Builder addAllStatuses(Iterable<? extends Rls.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 Rls.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 Rls.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 Rls.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 Rls.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 Rls.RateLimitResponseOrBuilderpublic List<? extends Rls.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 Rls.RateLimitResponseOrBuilderpublic Rls.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 Rls.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<Rls.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 final Rls.RateLimitResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Rls.RateLimitResponse.Builder>public final Rls.RateLimitResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Rls.RateLimitResponse.Builder>Copyright © 2018 The Envoy Project. All rights reserved.