public static final class RateLimitResponse.DescriptorStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RateLimitResponse.DescriptorStatus.Builder> implements RateLimitResponse.DescriptorStatusOrBuilder
envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus| Modifier and Type | Method and Description |
|---|---|
RateLimitResponse.DescriptorStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RateLimitResponse.DescriptorStatus |
build() |
RateLimitResponse.DescriptorStatus |
buildPartial() |
RateLimitResponse.DescriptorStatus.Builder |
clear() |
RateLimitResponse.DescriptorStatus.Builder |
clearCode()
The response code for an individual descriptor.
|
RateLimitResponse.DescriptorStatus.Builder |
clearCurrentLimit()
The current limit as configured by the server.
|
RateLimitResponse.DescriptorStatus.Builder |
clearDurationUntilReset()
Duration until reset of the current limit window.
|
RateLimitResponse.DescriptorStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RateLimitResponse.DescriptorStatus.Builder |
clearLimitRemaining()
The limit remaining in the current time unit.
|
RateLimitResponse.DescriptorStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RateLimitResponse.DescriptorStatus.Builder |
clone() |
RateLimitResponse.Code |
getCode()
The response code for an individual descriptor.
|
int |
getCodeValue()
The response code for an individual descriptor.
|
RateLimitResponse.RateLimit |
getCurrentLimit()
The current limit as configured by the server.
|
RateLimitResponse.RateLimit.Builder |
getCurrentLimitBuilder()
The current limit as configured by the server.
|
RateLimitResponse.RateLimitOrBuilder |
getCurrentLimitOrBuilder()
The current limit as configured by the server.
|
RateLimitResponse.DescriptorStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Duration |
getDurationUntilReset()
Duration until reset of the current limit window.
|
com.google.protobuf.Duration.Builder |
getDurationUntilResetBuilder()
Duration until reset of the current limit window.
|
com.google.protobuf.DurationOrBuilder |
getDurationUntilResetOrBuilder()
Duration until reset of the current limit window.
|
int |
getLimitRemaining()
The limit remaining in the current time unit.
|
boolean |
hasCurrentLimit()
The current limit as configured by the server.
|
boolean |
hasDurationUntilReset()
Duration until reset of the current limit window.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RateLimitResponse.DescriptorStatus.Builder |
mergeCurrentLimit(RateLimitResponse.RateLimit value)
The current limit as configured by the server.
|
RateLimitResponse.DescriptorStatus.Builder |
mergeDurationUntilReset(com.google.protobuf.Duration value)
Duration until reset of the current limit window.
|
RateLimitResponse.DescriptorStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RateLimitResponse.DescriptorStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
RateLimitResponse.DescriptorStatus.Builder |
mergeFrom(RateLimitResponse.DescriptorStatus other) |
RateLimitResponse.DescriptorStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RateLimitResponse.DescriptorStatus.Builder |
setCode(RateLimitResponse.Code value)
The response code for an individual descriptor.
|
RateLimitResponse.DescriptorStatus.Builder |
setCodeValue(int value)
The response code for an individual descriptor.
|
RateLimitResponse.DescriptorStatus.Builder |
setCurrentLimit(RateLimitResponse.RateLimit.Builder builderForValue)
The current limit as configured by the server.
|
RateLimitResponse.DescriptorStatus.Builder |
setCurrentLimit(RateLimitResponse.RateLimit value)
The current limit as configured by the server.
|
RateLimitResponse.DescriptorStatus.Builder |
setDurationUntilReset(com.google.protobuf.Duration.Builder builderForValue)
Duration until reset of the current limit window.
|
RateLimitResponse.DescriptorStatus.Builder |
setDurationUntilReset(com.google.protobuf.Duration value)
Duration until reset of the current limit window.
|
RateLimitResponse.DescriptorStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RateLimitResponse.DescriptorStatus.Builder |
setLimitRemaining(int value)
The limit remaining in the current time unit.
|
RateLimitResponse.DescriptorStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RateLimitResponse.DescriptorStatus.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.DescriptorStatus.Builder>public RateLimitResponse.DescriptorStatus.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.DescriptorStatus.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.DescriptorStatus.Builder>public RateLimitResponse.DescriptorStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RateLimitResponse.DescriptorStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RateLimitResponse.DescriptorStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RateLimitResponse.DescriptorStatus.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.DescriptorStatus.Builder>public RateLimitResponse.DescriptorStatus.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.DescriptorStatus.Builder>public RateLimitResponse.DescriptorStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitResponse.DescriptorStatus.Builder>public RateLimitResponse.DescriptorStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitResponse.DescriptorStatus.Builder>public RateLimitResponse.DescriptorStatus.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.DescriptorStatus.Builder>public RateLimitResponse.DescriptorStatus.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.DescriptorStatus.Builder>public RateLimitResponse.DescriptorStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RateLimitResponse.DescriptorStatus.Builder>public RateLimitResponse.DescriptorStatus.Builder mergeFrom(RateLimitResponse.DescriptorStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitResponse.DescriptorStatus.Builder>public RateLimitResponse.DescriptorStatus.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.DescriptorStatus.Builder>IOExceptionpublic int getCodeValue()
The response code for an individual descriptor.
.envoy.service.ratelimit.v3.RateLimitResponse.Code code = 1;getCodeValue in interface RateLimitResponse.DescriptorStatusOrBuilderpublic RateLimitResponse.DescriptorStatus.Builder setCodeValue(int value)
The response code for an individual descriptor.
.envoy.service.ratelimit.v3.RateLimitResponse.Code code = 1;public RateLimitResponse.Code getCode()
The response code for an individual descriptor.
.envoy.service.ratelimit.v3.RateLimitResponse.Code code = 1;getCode in interface RateLimitResponse.DescriptorStatusOrBuilderpublic RateLimitResponse.DescriptorStatus.Builder setCode(RateLimitResponse.Code value)
The response code for an individual descriptor.
.envoy.service.ratelimit.v3.RateLimitResponse.Code code = 1;public RateLimitResponse.DescriptorStatus.Builder clearCode()
The response code for an individual descriptor.
.envoy.service.ratelimit.v3.RateLimitResponse.Code code = 1;public boolean hasCurrentLimit()
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v3.RateLimitResponse.RateLimit current_limit = 2;hasCurrentLimit in interface RateLimitResponse.DescriptorStatusOrBuilderpublic RateLimitResponse.RateLimit getCurrentLimit()
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v3.RateLimitResponse.RateLimit current_limit = 2;getCurrentLimit in interface RateLimitResponse.DescriptorStatusOrBuilderpublic RateLimitResponse.DescriptorStatus.Builder setCurrentLimit(RateLimitResponse.RateLimit value)
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v3.RateLimitResponse.RateLimit current_limit = 2;public RateLimitResponse.DescriptorStatus.Builder setCurrentLimit(RateLimitResponse.RateLimit.Builder builderForValue)
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v3.RateLimitResponse.RateLimit current_limit = 2;public RateLimitResponse.DescriptorStatus.Builder mergeCurrentLimit(RateLimitResponse.RateLimit value)
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v3.RateLimitResponse.RateLimit current_limit = 2;public RateLimitResponse.DescriptorStatus.Builder clearCurrentLimit()
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v3.RateLimitResponse.RateLimit current_limit = 2;public RateLimitResponse.RateLimit.Builder getCurrentLimitBuilder()
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v3.RateLimitResponse.RateLimit current_limit = 2;public RateLimitResponse.RateLimitOrBuilder getCurrentLimitOrBuilder()
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v3.RateLimitResponse.RateLimit current_limit = 2;getCurrentLimitOrBuilder in interface RateLimitResponse.DescriptorStatusOrBuilderpublic int getLimitRemaining()
The limit remaining in the current time unit.
uint32 limit_remaining = 3;getLimitRemaining in interface RateLimitResponse.DescriptorStatusOrBuilderpublic RateLimitResponse.DescriptorStatus.Builder setLimitRemaining(int value)
The limit remaining in the current time unit.
uint32 limit_remaining = 3;public RateLimitResponse.DescriptorStatus.Builder clearLimitRemaining()
The limit remaining in the current time unit.
uint32 limit_remaining = 3;public boolean hasDurationUntilReset()
Duration until reset of the current limit window.
.google.protobuf.Duration duration_until_reset = 4;hasDurationUntilReset in interface RateLimitResponse.DescriptorStatusOrBuilderpublic com.google.protobuf.Duration getDurationUntilReset()
Duration until reset of the current limit window.
.google.protobuf.Duration duration_until_reset = 4;getDurationUntilReset in interface RateLimitResponse.DescriptorStatusOrBuilderpublic RateLimitResponse.DescriptorStatus.Builder setDurationUntilReset(com.google.protobuf.Duration value)
Duration until reset of the current limit window.
.google.protobuf.Duration duration_until_reset = 4;public RateLimitResponse.DescriptorStatus.Builder setDurationUntilReset(com.google.protobuf.Duration.Builder builderForValue)
Duration until reset of the current limit window.
.google.protobuf.Duration duration_until_reset = 4;public RateLimitResponse.DescriptorStatus.Builder mergeDurationUntilReset(com.google.protobuf.Duration value)
Duration until reset of the current limit window.
.google.protobuf.Duration duration_until_reset = 4;public RateLimitResponse.DescriptorStatus.Builder clearDurationUntilReset()
Duration until reset of the current limit window.
.google.protobuf.Duration duration_until_reset = 4;public com.google.protobuf.Duration.Builder getDurationUntilResetBuilder()
Duration until reset of the current limit window.
.google.protobuf.Duration duration_until_reset = 4;public com.google.protobuf.DurationOrBuilder getDurationUntilResetOrBuilder()
Duration until reset of the current limit window.
.google.protobuf.Duration duration_until_reset = 4;getDurationUntilResetOrBuilder in interface RateLimitResponse.DescriptorStatusOrBuilderpublic final RateLimitResponse.DescriptorStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitResponse.DescriptorStatus.Builder>public final RateLimitResponse.DescriptorStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RateLimitResponse.DescriptorStatus.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.