public static final class RatelimitV2.QuotaLeft extends com.google.protobuf.GeneratedMessageV3 implements RatelimitV2.QuotaLeftOrBuilder
客户端阈值使用统计,由服务端返回Protobuf type
polaris.metric.v2.QuotaLeft| 限定符和类型 | 类和说明 |
|---|---|
static class |
RatelimitV2.QuotaLeft.Builder
客户端阈值使用统计,由服务端返回
Protobuf type
polaris.metric.v2.QuotaLeft |
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 |
CLIENTCOUNT_FIELD_NUMBER |
static int |
COUNTERKEY_FIELD_NUMBER |
static int |
LEFT_FIELD_NUMBER |
static int |
MODE_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
int |
getClientCount()
接入的客户端数量
uint32 clientCount = 4; |
int |
getCounterKey()
计数器的标识,一个server全局唯一,上报时候带入
uint32 counterKey = 1; |
static RatelimitV2.QuotaLeft |
getDefaultInstance() |
RatelimitV2.QuotaLeft |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getLeft()
剩余配额数,应答返回,允许为负数
int64 left = 2; |
RatelimitV2.Mode |
getMode()
当前限流模式
.polaris.metric.v2.Mode mode = 3; |
int |
getModeValue()
当前限流模式
.polaris.metric.v2.Mode mode = 3; |
com.google.protobuf.Parser<RatelimitV2.QuotaLeft> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
isInitialized() |
static RatelimitV2.QuotaLeft.Builder |
newBuilder() |
static RatelimitV2.QuotaLeft.Builder |
newBuilder(RatelimitV2.QuotaLeft prototype) |
RatelimitV2.QuotaLeft.Builder |
newBuilderForType() |
static RatelimitV2.QuotaLeft |
parseDelimitedFrom(InputStream input) |
static RatelimitV2.QuotaLeft |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.QuotaLeft |
parseFrom(byte[] data) |
static RatelimitV2.QuotaLeft |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.QuotaLeft |
parseFrom(ByteBuffer data) |
static RatelimitV2.QuotaLeft |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.QuotaLeft |
parseFrom(com.google.protobuf.ByteString data) |
static RatelimitV2.QuotaLeft |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.QuotaLeft |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RatelimitV2.QuotaLeft |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.QuotaLeft |
parseFrom(InputStream input) |
static RatelimitV2.QuotaLeft |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RatelimitV2.QuotaLeft> |
parser() |
RatelimitV2.QuotaLeft.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 LEFT_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
public static final int CLIENTCOUNT_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 getCounterKey()
计数器的标识,一个server全局唯一,上报时候带入
uint32 counterKey = 1;getCounterKey 在接口中 RatelimitV2.QuotaLeftOrBuilderpublic long getLeft()
剩余配额数,应答返回,允许为负数
int64 left = 2;getLeft 在接口中 RatelimitV2.QuotaLeftOrBuilderpublic int getModeValue()
当前限流模式
.polaris.metric.v2.Mode mode = 3;getModeValue 在接口中 RatelimitV2.QuotaLeftOrBuilderpublic RatelimitV2.Mode getMode()
当前限流模式
.polaris.metric.v2.Mode mode = 3;getMode 在接口中 RatelimitV2.QuotaLeftOrBuilderpublic int getClientCount()
接入的客户端数量
uint32 clientCount = 4;getClientCount 在接口中 RatelimitV2.QuotaLeftOrBuilderpublic 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.QuotaLeft parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaLeft parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaLeft parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaLeft parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaLeft parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaLeft parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.QuotaLeft parseFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.QuotaLeft parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.QuotaLeft parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.QuotaLeft parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.QuotaLeft parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RatelimitV2.QuotaLeft parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RatelimitV2.QuotaLeft.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static RatelimitV2.QuotaLeft.Builder newBuilder()
public static RatelimitV2.QuotaLeft.Builder newBuilder(RatelimitV2.QuotaLeft prototype)
public RatelimitV2.QuotaLeft.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLitepublic static RatelimitV2.QuotaLeft getDefaultInstance()
public static com.google.protobuf.Parser<RatelimitV2.QuotaLeft> parser()
public com.google.protobuf.Parser<RatelimitV2.QuotaLeft> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public RatelimitV2.QuotaLeft getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2022. All rights reserved.