类 RatelimitV2.QuotaSum
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.tencent.polaris.ratelimit.client.pb.RatelimitV2.QuotaSum
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RatelimitV2.QuotaSumOrBuilder,java.io.Serializable
- 封闭类:
- RatelimitV2
public static final class RatelimitV2.QuotaSum extends com.google.protobuf.GeneratedMessageV3 implements RatelimitV2.QuotaSumOrBuilder
客户端阈值使用统计Protobuf type
polaris.metric.v2.QuotaSum- 另请参阅:
- 序列化表格
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classRatelimitV2.QuotaSum.Builder客户端阈值使用统计从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
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 intCOUNTERKEY_FIELD_NUMBERstatic intLIMITED_FIELD_NUMBERstatic intUSED_FIELD_NUMBER -
方法概要
修饰符和类型 方法 说明 booleanequals(java.lang.Object obj)intgetCounterKey()计数器的标识,一个server全局唯一,上报时候带入static RatelimitV2.QuotaSumgetDefaultInstance()RatelimitV2.QuotaSumgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()intgetLimited()被限流数,上报时候带入com.google.protobuf.Parser<RatelimitV2.QuotaSum>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()intgetUsed()已使用的配额数,上报时候带入inthashCode()booleanisInitialized()static RatelimitV2.QuotaSum.BuildernewBuilder()static RatelimitV2.QuotaSum.BuildernewBuilder(RatelimitV2.QuotaSum prototype)RatelimitV2.QuotaSum.BuildernewBuilderForType()static RatelimitV2.QuotaSumparseDelimitedFrom(java.io.InputStream input)static RatelimitV2.QuotaSumparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RatelimitV2.QuotaSumparseFrom(byte[] data)static RatelimitV2.QuotaSumparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RatelimitV2.QuotaSumparseFrom(com.google.protobuf.ByteString data)static RatelimitV2.QuotaSumparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RatelimitV2.QuotaSumparseFrom(com.google.protobuf.CodedInputStream input)static RatelimitV2.QuotaSumparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RatelimitV2.QuotaSumparseFrom(java.io.InputStream input)static RatelimitV2.QuotaSumparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RatelimitV2.QuotaSumparseFrom(java.nio.ByteBuffer data)static RatelimitV2.QuotaSumparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RatelimitV2.QuotaSum>parser()RatelimitV2.QuotaSum.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)从类继承的方法 com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString从类继承的方法 com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从类继承的方法 java.lang.Object
getClass, notify, notifyAll, wait, wait, wait从接口继承的方法 com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
字段详细资料
-
方法详细资料
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getCounterKey
public int getCounterKey()计数器的标识,一个server全局唯一,上报时候带入
uint32 counterKey = 1;- 指定者:
getCounterKey在接口中RatelimitV2.QuotaSumOrBuilder- 返回:
- The counterKey.
-
getUsed
public int getUsed()已使用的配额数,上报时候带入
uint32 used = 2;- 指定者:
getUsed在接口中RatelimitV2.QuotaSumOrBuilder- 返回:
- The used.
-
getLimited
public int getLimited()被限流数,上报时候带入
uint32 limited = 3;- 指定者:
getLimited在接口中RatelimitV2.QuotaSumOrBuilder- 返回:
- The limited.
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static RatelimitV2.QuotaSum parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RatelimitV2.QuotaSum parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RatelimitV2.QuotaSum parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RatelimitV2.QuotaSum parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RatelimitV2.QuotaSum parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RatelimitV2.QuotaSum parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- 抛出:
java.io.IOException
-
parseFrom
public static RatelimitV2.QuotaSum parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static RatelimitV2.QuotaSum parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static RatelimitV2.QuotaSum parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- 抛出:
java.io.IOException
-
parseFrom
public static RatelimitV2.QuotaSum parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException- 抛出:
java.io.IOException
-
parseFrom
public static RatelimitV2.QuotaSum parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- 抛出:
java.io.IOException
-
newBuilderForType
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-