类 RatelimitV2.RateLimitInitRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.tencent.polaris.ratelimit.client.pb.RatelimitV2.RateLimitInitRequest
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RatelimitV2.RateLimitInitRequestOrBuilder,java.io.Serializable
- 封闭类:
- RatelimitV2
public static final class RatelimitV2.RateLimitInitRequest extends com.google.protobuf.GeneratedMessageV3 implements RatelimitV2.RateLimitInitRequestOrBuilder
初始化请求Protobuf type
polaris.metric.v2.RateLimitInitRequest- 另请参阅:
- 序列化表格
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classRatelimitV2.RateLimitInitRequest.Builder初始化请求从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
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 intCLIENTID_FIELD_NUMBERstatic intMODE_FIELD_NUMBERstatic intSLIDECOUNT_FIELD_NUMBERstatic intTARGET_FIELD_NUMBERstatic intTOTALS_FIELD_NUMBER -
方法概要
修饰符和类型 方法 说明 booleanequals(java.lang.Object obj)java.lang.StringgetClientId()客户端唯一标识com.google.protobuf.ByteStringgetClientIdBytes()客户端唯一标识static RatelimitV2.RateLimitInitRequestgetDefaultInstance()RatelimitV2.RateLimitInitRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()RatelimitV2.ModegetMode()限流模式intgetModeValue()限流模式com.google.protobuf.Parser<RatelimitV2.RateLimitInitRequest>getParserForType()intgetSerializedSize()intgetSlideCount()客户端可指定滑窗数,不指定用默认值RatelimitV2.LimitTargetgetTarget()限流目标对象数据RatelimitV2.LimitTargetOrBuildergetTargetOrBuilder()限流目标对象数据RatelimitV2.QuotaTotalgetTotals(int index)限流规则信息intgetTotalsCount()限流规则信息java.util.List<RatelimitV2.QuotaTotal>getTotalsList()限流规则信息RatelimitV2.QuotaTotalOrBuildergetTotalsOrBuilder(int index)限流规则信息java.util.List<? extends RatelimitV2.QuotaTotalOrBuilder>getTotalsOrBuilderList()限流规则信息com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasTarget()限流目标对象数据booleanisInitialized()static RatelimitV2.RateLimitInitRequest.BuildernewBuilder()static RatelimitV2.RateLimitInitRequest.BuildernewBuilder(RatelimitV2.RateLimitInitRequest prototype)RatelimitV2.RateLimitInitRequest.BuildernewBuilderForType()static RatelimitV2.RateLimitInitRequestparseDelimitedFrom(java.io.InputStream input)static RatelimitV2.RateLimitInitRequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RatelimitV2.RateLimitInitRequestparseFrom(byte[] data)static RatelimitV2.RateLimitInitRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RatelimitV2.RateLimitInitRequestparseFrom(com.google.protobuf.ByteString data)static RatelimitV2.RateLimitInitRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RatelimitV2.RateLimitInitRequestparseFrom(com.google.protobuf.CodedInputStream input)static RatelimitV2.RateLimitInitRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RatelimitV2.RateLimitInitRequestparseFrom(java.io.InputStream input)static RatelimitV2.RateLimitInitRequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RatelimitV2.RateLimitInitRequestparseFrom(java.nio.ByteBuffer data)static RatelimitV2.RateLimitInitRequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RatelimitV2.RateLimitInitRequest>parser()RatelimitV2.RateLimitInitRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)从类继承的方法 com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString从类继承的方法 com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从类继承的方法 java.lang.Object
getClass, notify, notifyAll, wait, wait, wait从接口继承的方法 com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
字段详细资料
-
TARGET_FIELD_NUMBER
public static final int TARGET_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
CLIENTID_FIELD_NUMBER
public static final int CLIENTID_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
TOTALS_FIELD_NUMBER
public static final int TOTALS_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
SLIDECOUNT_FIELD_NUMBER
public static final int SLIDECOUNT_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
hasTarget
public boolean hasTarget()限流目标对象数据
.polaris.metric.v2.LimitTarget target = 1;- 指定者:
hasTarget在接口中RatelimitV2.RateLimitInitRequestOrBuilder- 返回:
- Whether the target field is set.
-
getTarget
限流目标对象数据
.polaris.metric.v2.LimitTarget target = 1;- 指定者:
getTarget在接口中RatelimitV2.RateLimitInitRequestOrBuilder- 返回:
- The target.
-
getTargetOrBuilder
限流目标对象数据
.polaris.metric.v2.LimitTarget target = 1; -
getClientId
public java.lang.String getClientId()客户端唯一标识
string clientId = 2;- 指定者:
getClientId在接口中RatelimitV2.RateLimitInitRequestOrBuilder- 返回:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()客户端唯一标识
string clientId = 2;- 指定者:
getClientIdBytes在接口中RatelimitV2.RateLimitInitRequestOrBuilder- 返回:
- The bytes for clientId.
-
getTotalsList
限流规则信息
repeated .polaris.metric.v2.QuotaTotal totals = 3; -
getTotalsOrBuilderList
限流规则信息
repeated .polaris.metric.v2.QuotaTotal totals = 3; -
getTotalsCount
public int getTotalsCount()限流规则信息
repeated .polaris.metric.v2.QuotaTotal totals = 3; -
getTotals
限流规则信息
repeated .polaris.metric.v2.QuotaTotal totals = 3; -
getTotalsOrBuilder
限流规则信息
repeated .polaris.metric.v2.QuotaTotal totals = 3; -
getSlideCount
public int getSlideCount()客户端可指定滑窗数,不指定用默认值
uint32 slideCount = 4;- 指定者:
getSlideCount在接口中RatelimitV2.RateLimitInitRequestOrBuilder- 返回:
- The slideCount.
-
getModeValue
public int getModeValue()限流模式
.polaris.metric.v2.Mode mode = 5;- 指定者:
getModeValue在接口中RatelimitV2.RateLimitInitRequestOrBuilder- 返回:
- The enum numeric value on the wire for mode.
-
getMode
限流模式
.polaris.metric.v2.Mode mode = 5;- 指定者:
getMode在接口中RatelimitV2.RateLimitInitRequestOrBuilder- 返回:
- The mode.
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static RatelimitV2.RateLimitInitRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RatelimitV2.RateLimitInitRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RatelimitV2.RateLimitInitRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RatelimitV2.RateLimitInitRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RatelimitV2.RateLimitInitRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RatelimitV2.RateLimitInitRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RatelimitV2.RateLimitInitRequest parseFrom(java.io.InputStream input) throws java.io.IOException- 抛出:
java.io.IOException
-
parseFrom
public static RatelimitV2.RateLimitInitRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static RatelimitV2.RateLimitInitRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static RatelimitV2.RateLimitInitRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- 抛出:
java.io.IOException
-
parseFrom
public static RatelimitV2.RateLimitInitRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException- 抛出:
java.io.IOException
-
parseFrom
public static RatelimitV2.RateLimitInitRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- 抛出:
java.io.IOException
-
newBuilderForType
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static RatelimitV2.RateLimitInitRequest.Builder newBuilder(RatelimitV2.RateLimitInitRequest prototype) -
toBuilder
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-