-
方法概要
从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized
从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getModeValue
int getModeValue()
阈值模式
.polaris.metric.v2.QuotaMode mode = 1;
- 返回:
- The enum numeric value on the wire for mode.
-
getMode
阈值模式
.polaris.metric.v2.QuotaMode mode = 1;
- 返回:
- The mode.
-
getDuration
int getDuration()
- 返回:
- The duration.
-
getMaxAmount
int getMaxAmount()
限流阈值
uint32 maxAmount = 3;
- 返回:
- The maxAmount.