public static interface RateLimitResponse.DescriptorStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
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.RateLimitOrBuilder |
getCurrentLimitOrBuilder()
The current limit as configured by the server.
|
com.google.protobuf.Duration |
getDurationUntilReset()
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getCodeValue()
The response code for an individual descriptor.
.envoy.service.ratelimit.v3.RateLimitResponse.Code code = 1;RateLimitResponse.Code getCode()
The response code for an individual descriptor.
.envoy.service.ratelimit.v3.RateLimitResponse.Code code = 1;boolean hasCurrentLimit()
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v3.RateLimitResponse.RateLimit current_limit = 2;RateLimitResponse.RateLimit getCurrentLimit()
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v3.RateLimitResponse.RateLimit current_limit = 2;RateLimitResponse.RateLimitOrBuilder getCurrentLimitOrBuilder()
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v3.RateLimitResponse.RateLimit current_limit = 2;int getLimitRemaining()
The limit remaining in the current time unit.
uint32 limit_remaining = 3;boolean hasDurationUntilReset()
Duration until reset of the current limit window.
.google.protobuf.Duration duration_until_reset = 4;com.google.protobuf.Duration getDurationUntilReset()
Duration until reset of the current limit window.
.google.protobuf.Duration duration_until_reset = 4;com.google.protobuf.DurationOrBuilder getDurationUntilResetOrBuilder()
Duration until reset of the current limit window.
.google.protobuf.Duration duration_until_reset = 4;Copyright © 2018–2021 The Envoy Project. All rights reserved.