public static final class RateLimitProto.Amount extends com.google.protobuf.GeneratedMessageV3 implements RateLimitProto.AmountOrBuilder
限流配额Protobuf type
v1.Amount| 限定符和类型 | 类和说明 |
|---|---|
static class |
RateLimitProto.Amount.Builder
限流配额
Protobuf type
v1.Amount |
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 限定符和类型 | 字段和说明 |
|---|---|
static int |
MAXAMOUNT_FIELD_NUMBER |
static int |
MINAMOUNT_FIELD_NUMBER |
static int |
PRECISION_FIELD_NUMBER |
static int |
STARTAMOUNT_FIELD_NUMBER |
static int |
VALIDDURATION_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static RateLimitProto.Amount |
getDefaultInstance() |
RateLimitProto.Amount |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.Parser<RateLimitProto.Amount> |
getParserForType() |
com.google.protobuf.UInt32Value |
getPrecision()
请求统计精度
.google.protobuf.UInt32Value precision = 3; |
com.google.protobuf.UInt32ValueOrBuilder |
getPrecisionOrBuilder()
请求统计精度
.google.protobuf.UInt32Value precision = 3; |
int |
getSerializedSize() |
com.google.protobuf.UInt32Value |
getStartAmount()
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4; |
com.google.protobuf.UInt32ValueOrBuilder |
getStartAmountOrBuilder()
可选,起始限流阈值,爬坡起始值
.google.protobuf.UInt32Value startAmount = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Duration |
getValidDuration()
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2; |
com.google.protobuf.DurationOrBuilder |
getValidDurationOrBuilder()
配额生效的时间周期,必须大于等于1s
.google.protobuf.Duration validDuration = 2; |
int |
hashCode() |
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() |
static RateLimitProto.Amount.Builder |
newBuilder() |
static RateLimitProto.Amount.Builder |
newBuilder(RateLimitProto.Amount prototype) |
RateLimitProto.Amount.Builder |
newBuilderForType() |
static RateLimitProto.Amount |
parseDelimitedFrom(InputStream input) |
static RateLimitProto.Amount |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RateLimitProto.Amount |
parseFrom(byte[] data) |
static RateLimitProto.Amount |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RateLimitProto.Amount |
parseFrom(ByteBuffer data) |
static RateLimitProto.Amount |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RateLimitProto.Amount |
parseFrom(com.google.protobuf.ByteString data) |
static RateLimitProto.Amount |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RateLimitProto.Amount |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RateLimitProto.Amount |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RateLimitProto.Amount |
parseFrom(InputStream input) |
static RateLimitProto.Amount |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RateLimitProto.Amount> |
parser() |
RateLimitProto.Amount.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int MAXAMOUNT_FIELD_NUMBER
public static final int VALIDDURATION_FIELD_NUMBER
public static final int PRECISION_FIELD_NUMBER
public static final int STARTAMOUNT_FIELD_NUMBER
public static final int MINAMOUNT_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public boolean hasMaxAmount()
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1;hasMaxAmount 在接口中 RateLimitProto.AmountOrBuilderpublic com.google.protobuf.UInt32Value getMaxAmount()
时间周期内的最大配额数
.google.protobuf.UInt32Value maxAmount = 1;getMaxAmount 在接口中 RateLimitProto.AmountOrBuilderpublic 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 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 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 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 com.google.protobuf.UInt32ValueOrBuilder getMinAmountOrBuilder()
可选,最小限流阈值,降低时最小值
.google.protobuf.UInt32Value minAmount = 5;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static RateLimitProto.Amount parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitProto.Amount parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitProto.Amount parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitProto.Amount parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitProto.Amount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitProto.Amount parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RateLimitProto.Amount parseFrom(InputStream input) throws IOException
IOExceptionpublic static RateLimitProto.Amount parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RateLimitProto.Amount parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RateLimitProto.Amount parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RateLimitProto.Amount parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RateLimitProto.Amount parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RateLimitProto.Amount.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static RateLimitProto.Amount.Builder newBuilder()
public static RateLimitProto.Amount.Builder newBuilder(RateLimitProto.Amount prototype)
public RateLimitProto.Amount.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLitepublic static RateLimitProto.Amount getDefaultInstance()
public static com.google.protobuf.Parser<RateLimitProto.Amount> parser()
public com.google.protobuf.Parser<RateLimitProto.Amount> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public RateLimitProto.Amount getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2022. All rights reserved.