Interface RateLimitResponse.DescriptorStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RateLimitResponse.DescriptorStatus,RateLimitResponse.DescriptorStatus.Builder
- Enclosing class:
- RateLimitResponse
public static interface RateLimitResponse.DescriptorStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RateLimitResponse.CodegetCode()The response code for an individual descriptor.intgetCodeValue()The response code for an individual descriptor.RateLimitResponse.RateLimitgetCurrentLimit()The current limit as configured by the server.RateLimitResponse.RateLimitOrBuildergetCurrentLimitOrBuilder()The current limit as configured by the server.intgetLimitRemaining()The limit remaining in the current time unit.booleanhasCurrentLimit()The current limit as configured by the server.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCodeValue
int getCodeValue()
The response code for an individual descriptor.
.envoy.service.ratelimit.v2.RateLimitResponse.Code code = 1;- Returns:
- The enum numeric value on the wire for code.
-
getCode
RateLimitResponse.Code getCode()
The response code for an individual descriptor.
.envoy.service.ratelimit.v2.RateLimitResponse.Code code = 1;- Returns:
- The code.
-
hasCurrentLimit
boolean hasCurrentLimit()
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v2.RateLimitResponse.RateLimit current_limit = 2;- Returns:
- Whether the currentLimit field is set.
-
getCurrentLimit
RateLimitResponse.RateLimit getCurrentLimit()
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v2.RateLimitResponse.RateLimit current_limit = 2;- Returns:
- The currentLimit.
-
getCurrentLimitOrBuilder
RateLimitResponse.RateLimitOrBuilder getCurrentLimitOrBuilder()
The current limit as configured by the server. Useful for debugging, etc.
.envoy.service.ratelimit.v2.RateLimitResponse.RateLimit current_limit = 2;
-
getLimitRemaining
int getLimitRemaining()
The limit remaining in the current time unit.
uint32 limit_remaining = 3;- Returns:
- The limitRemaining.
-
-