Interface RateLimitResponse.RateLimitOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RateLimitResponse.RateLimit,RateLimitResponse.RateLimit.Builder
- Enclosing class:
- RateLimitResponse
public static interface RateLimitResponse.RateLimitOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()A name or description of this limit.com.google.protobuf.ByteStringgetNameBytes()A name or description of this limit.intgetRequestsPerUnit()The number of requests per unit of time.RateLimitResponse.RateLimit.UnitgetUnit()The unit of time.intgetUnitValue()The unit of time.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
A name or description of this limit.
string name = 3;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
A name or description of this limit.
string name = 3;- Returns:
- The bytes for name.
-
getRequestsPerUnit
int getRequestsPerUnit()
The number of requests per unit of time.
uint32 requests_per_unit = 1;- Returns:
- The requestsPerUnit.
-
getUnitValue
int getUnitValue()
The unit of time.
.envoy.service.ratelimit.v2.RateLimitResponse.RateLimit.Unit unit = 2;- Returns:
- The enum numeric value on the wire for unit.
-
getUnit
RateLimitResponse.RateLimit.Unit getUnit()
The unit of time.
.envoy.service.ratelimit.v2.RateLimitResponse.RateLimit.Unit unit = 2;- Returns:
- The unit.
-
-