public static final class RatelimitV2.RateLimitInitRequest extends com.google.protobuf.GeneratedMessageV3 implements RatelimitV2.RateLimitInitRequestOrBuilder
初始化请求Protobuf type
polaris.metric.v2.RateLimitInitRequest| 限定符和类型 | 类和说明 |
|---|---|
static class |
RatelimitV2.RateLimitInitRequest.Builder
初始化请求
Protobuf type
polaris.metric.v2.RateLimitInitRequest |
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 |
CLIENTID_FIELD_NUMBER |
static int |
MODE_FIELD_NUMBER |
static int |
SLIDECOUNT_FIELD_NUMBER |
static int |
TARGET_FIELD_NUMBER |
static int |
TOTALS_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
String |
getClientId()
客户端唯一标识
string clientId = 2; |
com.google.protobuf.ByteString |
getClientIdBytes()
客户端唯一标识
string clientId = 2; |
static RatelimitV2.RateLimitInitRequest |
getDefaultInstance() |
RatelimitV2.RateLimitInitRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RatelimitV2.Mode |
getMode()
限流模式
.polaris.metric.v2.Mode mode = 5; |
int |
getModeValue()
限流模式
.polaris.metric.v2.Mode mode = 5; |
com.google.protobuf.Parser<RatelimitV2.RateLimitInitRequest> |
getParserForType() |
int |
getSerializedSize() |
int |
getSlideCount()
客户端可指定滑窗数,不指定用默认值
uint32 slideCount = 4; |
RatelimitV2.LimitTarget |
getTarget()
限流目标对象数据
.polaris.metric.v2.LimitTarget target = 1; |
RatelimitV2.LimitTargetOrBuilder |
getTargetOrBuilder()
限流目标对象数据
.polaris.metric.v2.LimitTarget target = 1; |
RatelimitV2.QuotaTotal |
getTotals(int index)
限流规则信息
repeated .polaris.metric.v2.QuotaTotal totals = 3; |
int |
getTotalsCount()
限流规则信息
repeated .polaris.metric.v2.QuotaTotal totals = 3; |
List<RatelimitV2.QuotaTotal> |
getTotalsList()
限流规则信息
repeated .polaris.metric.v2.QuotaTotal totals = 3; |
RatelimitV2.QuotaTotalOrBuilder |
getTotalsOrBuilder(int index)
限流规则信息
repeated .polaris.metric.v2.QuotaTotal totals = 3; |
List<? extends RatelimitV2.QuotaTotalOrBuilder> |
getTotalsOrBuilderList()
限流规则信息
repeated .polaris.metric.v2.QuotaTotal totals = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasTarget()
限流目标对象数据
.polaris.metric.v2.LimitTarget target = 1; |
boolean |
isInitialized() |
static RatelimitV2.RateLimitInitRequest.Builder |
newBuilder() |
static RatelimitV2.RateLimitInitRequest.Builder |
newBuilder(RatelimitV2.RateLimitInitRequest prototype) |
RatelimitV2.RateLimitInitRequest.Builder |
newBuilderForType() |
static RatelimitV2.RateLimitInitRequest |
parseDelimitedFrom(InputStream input) |
static RatelimitV2.RateLimitInitRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.RateLimitInitRequest |
parseFrom(byte[] data) |
static RatelimitV2.RateLimitInitRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.RateLimitInitRequest |
parseFrom(ByteBuffer data) |
static RatelimitV2.RateLimitInitRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.RateLimitInitRequest |
parseFrom(com.google.protobuf.ByteString data) |
static RatelimitV2.RateLimitInitRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.RateLimitInitRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RatelimitV2.RateLimitInitRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RatelimitV2.RateLimitInitRequest |
parseFrom(InputStream input) |
static RatelimitV2.RateLimitInitRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RatelimitV2.RateLimitInitRequest> |
parser() |
RatelimitV2.RateLimitInitRequest.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 TARGET_FIELD_NUMBER
public static final int CLIENTID_FIELD_NUMBER
public static final int TOTALS_FIELD_NUMBER
public static final int SLIDECOUNT_FIELD_NUMBER
public static final int MODE_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 boolean hasTarget()
限流目标对象数据
.polaris.metric.v2.LimitTarget target = 1;hasTarget 在接口中 RatelimitV2.RateLimitInitRequestOrBuilderpublic RatelimitV2.LimitTarget getTarget()
限流目标对象数据
.polaris.metric.v2.LimitTarget target = 1;getTarget 在接口中 RatelimitV2.RateLimitInitRequestOrBuilderpublic RatelimitV2.LimitTargetOrBuilder getTargetOrBuilder()
限流目标对象数据
.polaris.metric.v2.LimitTarget target = 1;public String getClientId()
客户端唯一标识
string clientId = 2;getClientId 在接口中 RatelimitV2.RateLimitInitRequestOrBuilderpublic com.google.protobuf.ByteString getClientIdBytes()
客户端唯一标识
string clientId = 2;getClientIdBytes 在接口中 RatelimitV2.RateLimitInitRequestOrBuilderpublic List<RatelimitV2.QuotaTotal> getTotalsList()
限流规则信息
repeated .polaris.metric.v2.QuotaTotal totals = 3;public List<? extends RatelimitV2.QuotaTotalOrBuilder> getTotalsOrBuilderList()
限流规则信息
repeated .polaris.metric.v2.QuotaTotal totals = 3;public int getTotalsCount()
限流规则信息
repeated .polaris.metric.v2.QuotaTotal totals = 3;public RatelimitV2.QuotaTotal getTotals(int index)
限流规则信息
repeated .polaris.metric.v2.QuotaTotal totals = 3;public RatelimitV2.QuotaTotalOrBuilder getTotalsOrBuilder(int index)
限流规则信息
repeated .polaris.metric.v2.QuotaTotal totals = 3;public int getSlideCount()
客户端可指定滑窗数,不指定用默认值
uint32 slideCount = 4;getSlideCount 在接口中 RatelimitV2.RateLimitInitRequestOrBuilderpublic int getModeValue()
限流模式
.polaris.metric.v2.Mode mode = 5;getModeValue 在接口中 RatelimitV2.RateLimitInitRequestOrBuilderpublic RatelimitV2.Mode getMode()
限流模式
.polaris.metric.v2.Mode mode = 5;getMode 在接口中 RatelimitV2.RateLimitInitRequestOrBuilderpublic 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.RateLimitInitRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitInitRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitInitRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitInitRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitInitRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitInitRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RatelimitV2.RateLimitInitRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitInitRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitInitRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitInitRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitInitRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RatelimitV2.RateLimitInitRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RatelimitV2.RateLimitInitRequest.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static RatelimitV2.RateLimitInitRequest.Builder newBuilder()
public static RatelimitV2.RateLimitInitRequest.Builder newBuilder(RatelimitV2.RateLimitInitRequest prototype)
public RatelimitV2.RateLimitInitRequest.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLitepublic static RatelimitV2.RateLimitInitRequest getDefaultInstance()
public static com.google.protobuf.Parser<RatelimitV2.RateLimitInitRequest> parser()
public com.google.protobuf.Parser<RatelimitV2.RateLimitInitRequest> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public RatelimitV2.RateLimitInitRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.