public static final class RatelimitV2.QuotaTotal extends com.google.protobuf.GeneratedMessageV3 implements RatelimitV2.QuotaTotalOrBuilder
阈值配置的值Protobuf type
polaris.metric.v2.QuotaTotal| Modifier and Type | Class and Description |
|---|---|
static class |
RatelimitV2.QuotaTotal.Builder
阈值配置的值
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
DURATION_FIELD_NUMBER |
static int |
MAXAMOUNT_FIELD_NUMBER |
static int |
MODE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RatelimitV2.QuotaTotal |
getDefaultInstance() |
RatelimitV2.QuotaTotal |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getDuration()
单位秒
|
int |
getMaxAmount()
限流阈值
|
RatelimitV2.QuotaMode |
getMode()
阈值模式
|
int |
getModeValue()
阈值模式
|
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 in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public int getModeValue()
阈值模式
.polaris.metric.v2.QuotaMode mode = 1;getModeValue in interface RatelimitV2.QuotaTotalOrBuilderpublic RatelimitV2.QuotaMode getMode()
阈值模式
.polaris.metric.v2.QuotaMode mode = 1;getMode in interface RatelimitV2.QuotaTotalOrBuilderpublic int getDuration()
单位秒
uint32 duration = 2;getDuration in interface RatelimitV2.QuotaTotalOrBuilderpublic int getMaxAmount()
限流阈值
uint32 maxAmount = 3;getMaxAmount in interface RatelimitV2.QuotaTotalOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class 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 in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RatelimitV2.QuotaTotal.Builder newBuilder()
public static RatelimitV2.QuotaTotal.Builder newBuilder(RatelimitV2.QuotaTotal prototype)
public RatelimitV2.QuotaTotal.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface 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 in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RatelimitV2.QuotaTotal getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.