public static final class RatelimitV2.QuotaSum extends com.google.protobuf.GeneratedMessageV3 implements RatelimitV2.QuotaSumOrBuilder
客户端阈值使用统计Protobuf type
polaris.metric.v2.QuotaSum| Modifier and Type | Class and Description |
|---|---|
static class |
RatelimitV2.QuotaSum.Builder
客户端阈值使用统计
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
COUNTERKEY_FIELD_NUMBER |
static int |
LIMITED_FIELD_NUMBER |
static int |
USED_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getCounterKey()
计数器的标识,一个server全局唯一,上报时候带入
|
static RatelimitV2.QuotaSum |
getDefaultInstance() |
RatelimitV2.QuotaSum |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getLimited()
被限流数,上报时候带入
|
com.google.protobuf.Parser<RatelimitV2.QuotaSum> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getUsed()
已使用的配额数,上报时候带入
|
int |
hashCode() |
boolean |
isInitialized() |
static RatelimitV2.QuotaSum.Builder |
newBuilder() |
static RatelimitV2.QuotaSum.Builder |
newBuilder(RatelimitV2.QuotaSum prototype) |
RatelimitV2.QuotaSum.Builder |
newBuilderForType() |
static RatelimitV2.QuotaSum |
parseDelimitedFrom(InputStream input) |
static RatelimitV2.QuotaSum |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.QuotaSum |
parseFrom(byte[] data) |
static RatelimitV2.QuotaSum |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.QuotaSum |
parseFrom(ByteBuffer data) |
static RatelimitV2.QuotaSum |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.QuotaSum |
parseFrom(com.google.protobuf.ByteString data) |
static RatelimitV2.QuotaSum |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.QuotaSum |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RatelimitV2.QuotaSum |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.QuotaSum |
parseFrom(InputStream input) |
static RatelimitV2.QuotaSum |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RatelimitV2.QuotaSum> |
parser() |
RatelimitV2.QuotaSum.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 COUNTERKEY_FIELD_NUMBER
public static final int USED_FIELD_NUMBER
public static final int LIMITED_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 getCounterKey()
计数器的标识,一个server全局唯一,上报时候带入
uint32 counterKey = 1;getCounterKey in interface RatelimitV2.QuotaSumOrBuilderpublic int getUsed()
已使用的配额数,上报时候带入
uint32 used = 2;getUsed in interface RatelimitV2.QuotaSumOrBuilderpublic int getLimited()
被限流数,上报时候带入
uint32 limited = 3;getLimited in interface RatelimitV2.QuotaSumOrBuilderpublic 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.QuotaSum parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaSum parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaSum parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaSum parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaSum parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaSum parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaSum parseFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.QuotaSum parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.QuotaSum parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.QuotaSum parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.QuotaSum parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RatelimitV2.QuotaSum parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RatelimitV2.QuotaSum.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RatelimitV2.QuotaSum.Builder newBuilder()
public static RatelimitV2.QuotaSum.Builder newBuilder(RatelimitV2.QuotaSum prototype)
public RatelimitV2.QuotaSum.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static RatelimitV2.QuotaSum getDefaultInstance()
public static com.google.protobuf.Parser<RatelimitV2.QuotaSum> parser()
public com.google.protobuf.Parser<RatelimitV2.QuotaSum> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RatelimitV2.QuotaSum getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.