public static final class RateLimitProto.Amount.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RateLimitProto.Amount.Builder> implements RateLimitProto.AmountOrBuilder
限流配额Protobuf type
v1.Amount| 限定符和类型 | 方法和说明 |
|---|---|
RateLimitProto.Amount.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RateLimitProto.Amount |
build() |
RateLimitProto.Amount |
buildPartial() |
RateLimitProto.Amount.Builder |
clear() |
RateLimitProto.Amount.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RateLimitProto.Amount.Builder |
clearMaxAmount()
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1; |
RateLimitProto.Amount.Builder |
clearMinAmount()
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5; |
RateLimitProto.Amount.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RateLimitProto.Amount.Builder |
clearPrecision()
请求统计精度
.google.protobuf.UInt32Value precision = 3; |
RateLimitProto.Amount.Builder |
clearStartAmount()
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4; |
RateLimitProto.Amount.Builder |
clearValidDuration()
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2; |
RateLimitProto.Amount.Builder |
clone() |
RateLimitProto.Amount |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.UInt32Value |
getMaxAmount()
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1; |
com.google.protobuf.UInt32Value.Builder |
getMaxAmountBuilder()
时间周期内的最大配额数
.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.UInt32Value.Builder |
getMinAmountBuilder()
可选,最小限流阈值,降低时最小值
.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.UInt32Value.Builder |
getPrecisionBuilder()
请求统计精度
.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.UInt32Value.Builder |
getStartAmountBuilder()
可选,起始限流阈值,爬坡起始值
.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.Duration.Builder |
getValidDurationBuilder()
配额生效的时间周期,必须大于等于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 |
isInitialized() |
RateLimitProto.Amount.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RateLimitProto.Amount.Builder |
mergeFrom(com.google.protobuf.Message other) |
RateLimitProto.Amount.Builder |
mergeFrom(RateLimitProto.Amount other) |
RateLimitProto.Amount.Builder |
mergeMaxAmount(com.google.protobuf.UInt32Value value)
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1; |
RateLimitProto.Amount.Builder |
mergeMinAmount(com.google.protobuf.UInt32Value value)
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5; |
RateLimitProto.Amount.Builder |
mergePrecision(com.google.protobuf.UInt32Value value)
请求统计精度
.google.protobuf.UInt32Value precision = 3; |
RateLimitProto.Amount.Builder |
mergeStartAmount(com.google.protobuf.UInt32Value value)
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4; |
RateLimitProto.Amount.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RateLimitProto.Amount.Builder |
mergeValidDuration(com.google.protobuf.Duration value)
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2; |
RateLimitProto.Amount.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RateLimitProto.Amount.Builder |
setMaxAmount(com.google.protobuf.UInt32Value.Builder builderForValue)
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1; |
RateLimitProto.Amount.Builder |
setMaxAmount(com.google.protobuf.UInt32Value value)
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1; |
RateLimitProto.Amount.Builder |
setMinAmount(com.google.protobuf.UInt32Value.Builder builderForValue)
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5; |
RateLimitProto.Amount.Builder |
setMinAmount(com.google.protobuf.UInt32Value value)
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5; |
RateLimitProto.Amount.Builder |
setPrecision(com.google.protobuf.UInt32Value.Builder builderForValue)
请求统计精度
.google.protobuf.UInt32Value precision = 3; |
RateLimitProto.Amount.Builder |
setPrecision(com.google.protobuf.UInt32Value value)
请求统计精度
.google.protobuf.UInt32Value precision = 3; |
RateLimitProto.Amount.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RateLimitProto.Amount.Builder |
setStartAmount(com.google.protobuf.UInt32Value.Builder builderForValue)
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4; |
RateLimitProto.Amount.Builder |
setStartAmount(com.google.protobuf.UInt32Value value)
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4; |
RateLimitProto.Amount.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RateLimitProto.Amount.Builder |
setValidDuration(com.google.protobuf.Duration.Builder builderForValue)
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2; |
RateLimitProto.Amount.Builder |
setValidDuration(com.google.protobuf.Duration value)
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForFieldfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public RateLimitProto.Amount.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RateLimitProto.Amount.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RateLimitProto.Amount.Builder>public RateLimitProto.Amount getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic RateLimitProto.Amount build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic RateLimitProto.Amount buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic RateLimitProto.Amount.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RateLimitProto.Amount.Builder>public RateLimitProto.Amount.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RateLimitProto.Amount.Builder>public RateLimitProto.Amount.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RateLimitProto.Amount.Builder>public RateLimitProto.Amount.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RateLimitProto.Amount.Builder>public RateLimitProto.Amount.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RateLimitProto.Amount.Builder>public RateLimitProto.Amount.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RateLimitProto.Amount.Builder>public RateLimitProto.Amount.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<RateLimitProto.Amount.Builder>public RateLimitProto.Amount.Builder mergeFrom(RateLimitProto.Amount other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RateLimitProto.Amount.Builder>public RateLimitProto.Amount.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<RateLimitProto.Amount.Builder>IOExceptionpublic boolean hasMaxAmount()
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1;hasMaxAmount 在接口中 RateLimitProto.AmountOrBuilderpublic com.google.protobuf.UInt32Value getMaxAmount()
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1;getMaxAmount 在接口中 RateLimitProto.AmountOrBuilderpublic RateLimitProto.Amount.Builder setMaxAmount(com.google.protobuf.UInt32Value value)
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1;public RateLimitProto.Amount.Builder setMaxAmount(com.google.protobuf.UInt32Value.Builder builderForValue)
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1;public RateLimitProto.Amount.Builder mergeMaxAmount(com.google.protobuf.UInt32Value value)
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1;public RateLimitProto.Amount.Builder clearMaxAmount()
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1;public com.google.protobuf.UInt32Value.Builder getMaxAmountBuilder()
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1;public com.google.protobuf.UInt32ValueOrBuilder getMaxAmountOrBuilder()
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1;public boolean hasValidDuration()
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2;hasValidDuration 在接口中 RateLimitProto.AmountOrBuilderpublic com.google.protobuf.Duration getValidDuration()
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2;getValidDuration 在接口中 RateLimitProto.AmountOrBuilderpublic RateLimitProto.Amount.Builder setValidDuration(com.google.protobuf.Duration value)
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2;public RateLimitProto.Amount.Builder setValidDuration(com.google.protobuf.Duration.Builder builderForValue)
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2;public RateLimitProto.Amount.Builder mergeValidDuration(com.google.protobuf.Duration value)
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2;public RateLimitProto.Amount.Builder clearValidDuration()
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2;public com.google.protobuf.Duration.Builder getValidDurationBuilder()
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2;public com.google.protobuf.DurationOrBuilder getValidDurationOrBuilder()
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2;public boolean hasPrecision()
请求统计精度
.google.protobuf.UInt32Value precision = 3;hasPrecision 在接口中 RateLimitProto.AmountOrBuilderpublic com.google.protobuf.UInt32Value getPrecision()
请求统计精度
.google.protobuf.UInt32Value precision = 3;getPrecision 在接口中 RateLimitProto.AmountOrBuilderpublic RateLimitProto.Amount.Builder setPrecision(com.google.protobuf.UInt32Value value)
请求统计精度
.google.protobuf.UInt32Value precision = 3;public RateLimitProto.Amount.Builder setPrecision(com.google.protobuf.UInt32Value.Builder builderForValue)
请求统计精度
.google.protobuf.UInt32Value precision = 3;public RateLimitProto.Amount.Builder mergePrecision(com.google.protobuf.UInt32Value value)
请求统计精度
.google.protobuf.UInt32Value precision = 3;public RateLimitProto.Amount.Builder clearPrecision()
请求统计精度
.google.protobuf.UInt32Value precision = 3;public com.google.protobuf.UInt32Value.Builder getPrecisionBuilder()
请求统计精度
.google.protobuf.UInt32Value precision = 3;public com.google.protobuf.UInt32ValueOrBuilder getPrecisionOrBuilder()
请求统计精度
.google.protobuf.UInt32Value precision = 3;public boolean hasStartAmount()
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4;hasStartAmount 在接口中 RateLimitProto.AmountOrBuilderpublic com.google.protobuf.UInt32Value getStartAmount()
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4;getStartAmount 在接口中 RateLimitProto.AmountOrBuilderpublic RateLimitProto.Amount.Builder setStartAmount(com.google.protobuf.UInt32Value value)
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4;public RateLimitProto.Amount.Builder setStartAmount(com.google.protobuf.UInt32Value.Builder builderForValue)
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4;public RateLimitProto.Amount.Builder mergeStartAmount(com.google.protobuf.UInt32Value value)
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4;public RateLimitProto.Amount.Builder clearStartAmount()
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4;public com.google.protobuf.UInt32Value.Builder getStartAmountBuilder()
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4;public com.google.protobuf.UInt32ValueOrBuilder getStartAmountOrBuilder()
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4;public boolean hasMinAmount()
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5;hasMinAmount 在接口中 RateLimitProto.AmountOrBuilderpublic com.google.protobuf.UInt32Value getMinAmount()
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5;getMinAmount 在接口中 RateLimitProto.AmountOrBuilderpublic RateLimitProto.Amount.Builder setMinAmount(com.google.protobuf.UInt32Value value)
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5;public RateLimitProto.Amount.Builder setMinAmount(com.google.protobuf.UInt32Value.Builder builderForValue)
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5;public RateLimitProto.Amount.Builder mergeMinAmount(com.google.protobuf.UInt32Value value)
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5;public RateLimitProto.Amount.Builder clearMinAmount()
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5;public com.google.protobuf.UInt32Value.Builder getMinAmountBuilder()
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5;public com.google.protobuf.UInt32ValueOrBuilder getMinAmountOrBuilder()
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5;public final RateLimitProto.Amount.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RateLimitProto.Amount.Builder>public final RateLimitProto.Amount.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RateLimitProto.Amount.Builder>Copyright © 2021. All rights reserved.