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.
|
int |
getLimitRemaining()
The limit remaining in the current time unit.
|
boolean |
hasCurrentLimit()
The current limit as configured by the server.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getCodeValue()
The response code for an individual descriptor.
.envoy.service.ratelimit.v2.RateLimitResponse.Code code = 1;RateLimitResponse.Code getCode()
The response code for an individual descriptor.
.envoy.service.ratelimit.v2.RateLimitResponse.Code code = 1;boolean hasCurrentLimit()
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v2.RateLimitResponse.RateLimit current_limit = 2;RateLimitResponse.RateLimit getCurrentLimit()
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v2.RateLimitResponse.RateLimit current_limit = 2;RateLimitResponse.RateLimitOrBuilder getCurrentLimitOrBuilder()
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v2.RateLimitResponse.RateLimit current_limit = 2;int getLimitRemaining()
The limit remaining in the current time unit.
uint32 limit_remaining = 3;Copyright © 2018–2021 The Envoy Project. All rights reserved.