public static final class RatelimitV2.RateLimitReportRequest extends com.google.protobuf.GeneratedMessageV3 implements RatelimitV2.RateLimitReportRequestOrBuilder
限流上报请求Protobuf type
polaris.metric.v2.RateLimitReportRequest| Modifier and Type | Class and Description |
|---|---|
static class |
RatelimitV2.RateLimitReportRequest.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 |
CLIENTKEY_FIELD_NUMBER |
static int |
QUOTAUSES_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CLIENTKEY_FIELD_NUMBER
public static final int QUOTAUSES_FIELD_NUMBER
public static final int TIMESTAMP_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 getClientKey()
客户端标识
uint32 clientKey = 1;getClientKey in interface RatelimitV2.RateLimitReportRequestOrBuilderpublic List<RatelimitV2.QuotaSum> getQuotaUsesList()
已使用的配额数
repeated .polaris.metric.v2.QuotaSum quotaUses = 2;getQuotaUsesList in interface RatelimitV2.RateLimitReportRequestOrBuilderpublic List<? extends RatelimitV2.QuotaSumOrBuilder> getQuotaUsesOrBuilderList()
已使用的配额数
repeated .polaris.metric.v2.QuotaSum quotaUses = 2;getQuotaUsesOrBuilderList in interface RatelimitV2.RateLimitReportRequestOrBuilderpublic int getQuotaUsesCount()
已使用的配额数
repeated .polaris.metric.v2.QuotaSum quotaUses = 2;getQuotaUsesCount in interface RatelimitV2.RateLimitReportRequestOrBuilderpublic RatelimitV2.QuotaSum getQuotaUses(int index)
已使用的配额数
repeated .polaris.metric.v2.QuotaSum quotaUses = 2;getQuotaUses in interface RatelimitV2.RateLimitReportRequestOrBuilderpublic RatelimitV2.QuotaSumOrBuilder getQuotaUsesOrBuilder(int index)
已使用的配额数
repeated .polaris.metric.v2.QuotaSum quotaUses = 2;getQuotaUsesOrBuilder in interface RatelimitV2.RateLimitReportRequestOrBuilderpublic long getTimestamp()
配额发生的时间,单位ms
int64 timestamp = 3;getTimestamp in interface RatelimitV2.RateLimitReportRequestOrBuilderpublic 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.RateLimitReportRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitReportRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitReportRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitReportRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitReportRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitReportRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitReportRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitReportRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitReportRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitReportRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitReportRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitReportRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RatelimitV2.RateLimitReportRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RatelimitV2.RateLimitReportRequest.Builder newBuilder()
public static RatelimitV2.RateLimitReportRequest.Builder newBuilder(RatelimitV2.RateLimitReportRequest prototype)
public RatelimitV2.RateLimitReportRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static RatelimitV2.RateLimitReportRequest getDefaultInstance()
public static com.google.protobuf.Parser<RatelimitV2.RateLimitReportRequest> parser()
public com.google.protobuf.Parser<RatelimitV2.RateLimitReportRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RatelimitV2.RateLimitReportRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.