public static interface RateLimitProto.AmountOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
com.google.protobuf.UInt32Value |
getMaxAmount()
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1; |
com.google.protobuf.UInt32ValueOrBuilder |
getMaxAmountOrBuilder()
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1; |
com.google.protobuf.UInt32Value |
getMinAmount()
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5; |
com.google.protobuf.UInt32ValueOrBuilder |
getMinAmountOrBuilder()
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5; |
com.google.protobuf.UInt32Value |
getPrecision()
请求统计精度
.google.protobuf.UInt32Value precision = 3; |
com.google.protobuf.UInt32ValueOrBuilder |
getPrecisionOrBuilder()
请求统计精度
.google.protobuf.UInt32Value precision = 3; |
com.google.protobuf.UInt32Value |
getStartAmount()
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4; |
com.google.protobuf.UInt32ValueOrBuilder |
getStartAmountOrBuilder()
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4; |
com.google.protobuf.Duration |
getValidDuration()
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2; |
com.google.protobuf.DurationOrBuilder |
getValidDurationOrBuilder()
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2; |
boolean |
hasMaxAmount()
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1; |
boolean |
hasMinAmount()
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5; |
boolean |
hasPrecision()
请求统计精度
.google.protobuf.UInt32Value precision = 3; |
boolean |
hasStartAmount()
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4; |
boolean |
hasValidDuration()
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2; |
boolean hasMaxAmount()
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1;com.google.protobuf.UInt32Value getMaxAmount()
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1;com.google.protobuf.UInt32ValueOrBuilder getMaxAmountOrBuilder()
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1;boolean hasValidDuration()
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2;com.google.protobuf.Duration getValidDuration()
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2;com.google.protobuf.DurationOrBuilder getValidDurationOrBuilder()
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2;boolean hasPrecision()
请求统计精度
.google.protobuf.UInt32Value precision = 3;com.google.protobuf.UInt32Value getPrecision()
请求统计精度
.google.protobuf.UInt32Value precision = 3;com.google.protobuf.UInt32ValueOrBuilder getPrecisionOrBuilder()
请求统计精度
.google.protobuf.UInt32Value precision = 3;boolean hasStartAmount()
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4;com.google.protobuf.UInt32Value getStartAmount()
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4;com.google.protobuf.UInt32ValueOrBuilder getStartAmountOrBuilder()
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4;boolean hasMinAmount()
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5;com.google.protobuf.UInt32Value getMinAmount()
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5;com.google.protobuf.UInt32ValueOrBuilder getMinAmountOrBuilder()
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5;Copyright © 2021. All rights reserved.