public static final class RatelimitV2.RateLimitResponse extends com.google.protobuf.GeneratedMessageV3 implements RatelimitV2.RateLimitResponseOrBuilder
限流应答Protobuf type
polaris.metric.v2.RateLimitResponse| Modifier and Type | Class and Description |
|---|---|
static class |
RatelimitV2.RateLimitResponse.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 |
CMD_FIELD_NUMBER |
static int |
RATELIMITINITRESPONSE_FIELD_NUMBER |
static int |
RATELIMITREPORTRESPONSE_FIELD_NUMBER |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int CMD_FIELD_NUMBER
public static final int RATELIMITINITRESPONSE_FIELD_NUMBER
public static final int RATELIMITREPORTRESPONSE_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 getCmdValue()
命令字
.polaris.metric.v2.RateLimitCmd cmd = 1;getCmdValue in interface RatelimitV2.RateLimitResponseOrBuilderpublic RatelimitV2.RateLimitCmd getCmd()
命令字
.polaris.metric.v2.RateLimitCmd cmd = 1;getCmd in interface RatelimitV2.RateLimitResponseOrBuilderpublic boolean hasRateLimitInitResponse()
初始化请求
.polaris.metric.v2.RateLimitInitResponse rateLimitInitResponse = 2;hasRateLimitInitResponse in interface RatelimitV2.RateLimitResponseOrBuilderpublic RatelimitV2.RateLimitInitResponse getRateLimitInitResponse()
初始化请求
.polaris.metric.v2.RateLimitInitResponse rateLimitInitResponse = 2;getRateLimitInitResponse in interface RatelimitV2.RateLimitResponseOrBuilderpublic RatelimitV2.RateLimitInitResponseOrBuilder getRateLimitInitResponseOrBuilder()
初始化请求
.polaris.metric.v2.RateLimitInitResponse rateLimitInitResponse = 2;getRateLimitInitResponseOrBuilder in interface RatelimitV2.RateLimitResponseOrBuilderpublic boolean hasRateLimitReportResponse()
上报请求
.polaris.metric.v2.RateLimitReportResponse rateLimitReportResponse = 3;hasRateLimitReportResponse in interface RatelimitV2.RateLimitResponseOrBuilderpublic RatelimitV2.RateLimitReportResponse getRateLimitReportResponse()
上报请求
.polaris.metric.v2.RateLimitReportResponse rateLimitReportResponse = 3;getRateLimitReportResponse in interface RatelimitV2.RateLimitResponseOrBuilderpublic RatelimitV2.RateLimitReportResponseOrBuilder getRateLimitReportResponseOrBuilder()
上报请求
.polaris.metric.v2.RateLimitReportResponse rateLimitReportResponse = 3;getRateLimitReportResponseOrBuilder in interface RatelimitV2.RateLimitResponseOrBuilderpublic 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.RateLimitResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RatelimitV2.RateLimitResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RatelimitV2.RateLimitResponse.Builder newBuilder()
public static RatelimitV2.RateLimitResponse.Builder newBuilder(RatelimitV2.RateLimitResponse prototype)
public RatelimitV2.RateLimitResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static RatelimitV2.RateLimitResponse getDefaultInstance()
public static com.google.protobuf.Parser<RatelimitV2.RateLimitResponse> parser()
public com.google.protobuf.Parser<RatelimitV2.RateLimitResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RatelimitV2.RateLimitResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.