public static final class RatelimitV2.RateLimitReportResponse extends com.google.protobuf.GeneratedMessageV3 implements RatelimitV2.RateLimitReportResponseOrBuilder
限流上报应答Protobuf type
polaris.metric.v2.RateLimitReportResponse| Modifier and Type | Class and Description |
|---|---|
static class |
RatelimitV2.RateLimitReportResponse.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 |
CODE_FIELD_NUMBER |
static int |
QUOTALEFTS_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CODE_FIELD_NUMBER
public static final int QUOTALEFTS_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 getCode()
uint32 code = 1;getCode in interface RatelimitV2.RateLimitReportResponseOrBuilderpublic List<RatelimitV2.QuotaLeft> getQuotaLeftsList()
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;getQuotaLeftsList in interface RatelimitV2.RateLimitReportResponseOrBuilderpublic List<? extends RatelimitV2.QuotaLeftOrBuilder> getQuotaLeftsOrBuilderList()
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;getQuotaLeftsOrBuilderList in interface RatelimitV2.RateLimitReportResponseOrBuilderpublic int getQuotaLeftsCount()
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;getQuotaLeftsCount in interface RatelimitV2.RateLimitReportResponseOrBuilderpublic RatelimitV2.QuotaLeft getQuotaLefts(int index)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;getQuotaLefts in interface RatelimitV2.RateLimitReportResponseOrBuilderpublic RatelimitV2.QuotaLeftOrBuilder getQuotaLeftsOrBuilder(int index)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;getQuotaLeftsOrBuilder in interface RatelimitV2.RateLimitReportResponseOrBuilderpublic long getTimestamp()
限流server绝对时间,单位ms
int64 timestamp = 3;getTimestamp in interface RatelimitV2.RateLimitReportResponseOrBuilderpublic 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.RateLimitReportResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitReportResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitReportResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitReportResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitReportResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitReportResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitReportResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitReportResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitReportResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitReportResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitReportResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitReportResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RatelimitV2.RateLimitReportResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RatelimitV2.RateLimitReportResponse.Builder newBuilder()
public static RatelimitV2.RateLimitReportResponse.Builder newBuilder(RatelimitV2.RateLimitReportResponse prototype)
public RatelimitV2.RateLimitReportResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static RatelimitV2.RateLimitReportResponse getDefaultInstance()
public static com.google.protobuf.Parser<RatelimitV2.RateLimitReportResponse> parser()
public com.google.protobuf.Parser<RatelimitV2.RateLimitReportResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RatelimitV2.RateLimitReportResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.