public static final class RatelimitV2.RateLimitRequest extends com.google.protobuf.GeneratedMessageV3 implements RatelimitV2.RateLimitRequestOrBuilder
限流请求Protobuf type
polaris.metric.v2.RateLimitRequest| Modifier and Type | Class and Description |
|---|---|
static class |
RatelimitV2.RateLimitRequest.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 |
CMD_FIELD_NUMBER |
static int |
RATELIMITINITREQUEST_FIELD_NUMBER |
static int |
RATELIMITREPORTREQUEST_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 RATELIMITINITREQUEST_FIELD_NUMBER
public static final int RATELIMITREPORTREQUEST_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.RateLimitRequestOrBuilderpublic RatelimitV2.RateLimitCmd getCmd()
命令字
.polaris.metric.v2.RateLimitCmd cmd = 1;getCmd in interface RatelimitV2.RateLimitRequestOrBuilderpublic boolean hasRateLimitInitRequest()
初始化请求
.polaris.metric.v2.RateLimitInitRequest rateLimitInitRequest = 2;hasRateLimitInitRequest in interface RatelimitV2.RateLimitRequestOrBuilderpublic RatelimitV2.RateLimitInitRequest getRateLimitInitRequest()
初始化请求
.polaris.metric.v2.RateLimitInitRequest rateLimitInitRequest = 2;getRateLimitInitRequest in interface RatelimitV2.RateLimitRequestOrBuilderpublic RatelimitV2.RateLimitInitRequestOrBuilder getRateLimitInitRequestOrBuilder()
初始化请求
.polaris.metric.v2.RateLimitInitRequest rateLimitInitRequest = 2;getRateLimitInitRequestOrBuilder in interface RatelimitV2.RateLimitRequestOrBuilderpublic boolean hasRateLimitReportRequest()
上报请求
.polaris.metric.v2.RateLimitReportRequest rateLimitReportRequest = 3;hasRateLimitReportRequest in interface RatelimitV2.RateLimitRequestOrBuilderpublic RatelimitV2.RateLimitReportRequest getRateLimitReportRequest()
上报请求
.polaris.metric.v2.RateLimitReportRequest rateLimitReportRequest = 3;getRateLimitReportRequest in interface RatelimitV2.RateLimitRequestOrBuilderpublic RatelimitV2.RateLimitReportRequestOrBuilder getRateLimitReportRequestOrBuilder()
上报请求
.polaris.metric.v2.RateLimitReportRequest rateLimitReportRequest = 3;getRateLimitReportRequestOrBuilder in interface RatelimitV2.RateLimitRequestOrBuilderpublic 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.RateLimitRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RatelimitV2.RateLimitRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RatelimitV2.RateLimitRequest.Builder newBuilder()
public static RatelimitV2.RateLimitRequest.Builder newBuilder(RatelimitV2.RateLimitRequest prototype)
public RatelimitV2.RateLimitRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static RatelimitV2.RateLimitRequest getDefaultInstance()
public static com.google.protobuf.Parser<RatelimitV2.RateLimitRequest> parser()
public com.google.protobuf.Parser<RatelimitV2.RateLimitRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RatelimitV2.RateLimitRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.