public static final class RatelimitV2.QuotaTotal extends com.google.protobuf.GeneratedMessageV3 implements RatelimitV2.QuotaTotalOrBuilder
阈值配置的值Protobuf type
polaris.metric.v2.QuotaTotal| 限定符和类型 | 类和说明 |
|---|---|
static class |
RatelimitV2.QuotaTotal.Builder
阈值配置的值
Protobuf type
polaris.metric.v2.QuotaTotal |
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 |
DURATION_FIELD_NUMBER |
static int |
MAXAMOUNT_FIELD_NUMBER |
static int |
MODE_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static RatelimitV2.QuotaTotal |
getDefaultInstance() |
RatelimitV2.QuotaTotal |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getDuration()
单位秒
uint32 duration = 2; |
int |
getMaxAmount()
限流阈值
uint32 maxAmount = 3; |
RatelimitV2.QuotaMode |
getMode()
阈值模式
.polaris.metric.v2.QuotaMode mode = 1; |
int |
getModeValue()
阈值模式
.polaris.metric.v2.QuotaMode mode = 1; |
com.google.protobuf.Parser<RatelimitV2.QuotaTotal> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
isInitialized() |
static RatelimitV2.QuotaTotal.Builder |
newBuilder() |
static RatelimitV2.QuotaTotal.Builder |
newBuilder(RatelimitV2.QuotaTotal prototype) |
RatelimitV2.QuotaTotal.Builder |
newBuilderForType() |
static RatelimitV2.QuotaTotal |
parseDelimitedFrom(InputStream input) |
static RatelimitV2.QuotaTotal |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.QuotaTotal |
parseFrom(byte[] data) |
static RatelimitV2.QuotaTotal |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.QuotaTotal |
parseFrom(ByteBuffer data) |
static RatelimitV2.QuotaTotal |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.QuotaTotal |
parseFrom(com.google.protobuf.ByteString data) |
static RatelimitV2.QuotaTotal |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.QuotaTotal |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RatelimitV2.QuotaTotal |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.QuotaTotal |
parseFrom(InputStream input) |
static RatelimitV2.QuotaTotal |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RatelimitV2.QuotaTotal> |
parser() |
RatelimitV2.QuotaTotal.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 MODE_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
public static final int MAXAMOUNT_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 int getModeValue()
阈值模式
.polaris.metric.v2.QuotaMode mode = 1;getModeValue 在接口中 RatelimitV2.QuotaTotalOrBuilderpublic RatelimitV2.QuotaMode getMode()
阈值模式
.polaris.metric.v2.QuotaMode mode = 1;getMode 在接口中 RatelimitV2.QuotaTotalOrBuilderpublic int getDuration()
单位秒
uint32 duration = 2;getDuration 在接口中 RatelimitV2.QuotaTotalOrBuilderpublic int getMaxAmount()
限流阈值
uint32 maxAmount = 3;getMaxAmount 在接口中 RatelimitV2.QuotaTotalOrBuilderpublic 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 RatelimitV2.QuotaTotal parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaTotal parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaTotal parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaTotal parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaTotal parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaTotal parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaTotal parseFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.QuotaTotal parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.QuotaTotal parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.QuotaTotal parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.QuotaTotal parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RatelimitV2.QuotaTotal parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RatelimitV2.QuotaTotal.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static RatelimitV2.QuotaTotal.Builder newBuilder()
public static RatelimitV2.QuotaTotal.Builder newBuilder(RatelimitV2.QuotaTotal prototype)
public RatelimitV2.QuotaTotal.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLitepublic static RatelimitV2.QuotaTotal getDefaultInstance()
public static com.google.protobuf.Parser<RatelimitV2.QuotaTotal> parser()
public com.google.protobuf.Parser<RatelimitV2.QuotaTotal> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public RatelimitV2.QuotaTotal getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2022. All rights reserved.