public static final class RatelimitV2.RateLimitReportResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.RateLimitReportResponse.Builder> implements RatelimitV2.RateLimitReportResponseOrBuilder
限流上报应答Protobuf type
polaris.metric.v2.RateLimitReportResponse| 限定符和类型 | 方法和说明 |
|---|---|
RatelimitV2.RateLimitReportResponse.Builder |
addAllQuotaLefts(Iterable<? extends RatelimitV2.QuotaLeft> values)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
RatelimitV2.RateLimitReportResponse.Builder |
addQuotaLefts(int index,
RatelimitV2.QuotaLeft.Builder builderForValue)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
RatelimitV2.RateLimitReportResponse.Builder |
addQuotaLefts(int index,
RatelimitV2.QuotaLeft value)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
RatelimitV2.RateLimitReportResponse.Builder |
addQuotaLefts(RatelimitV2.QuotaLeft.Builder builderForValue)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
RatelimitV2.RateLimitReportResponse.Builder |
addQuotaLefts(RatelimitV2.QuotaLeft value)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
RatelimitV2.QuotaLeft.Builder |
addQuotaLeftsBuilder()
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
RatelimitV2.QuotaLeft.Builder |
addQuotaLeftsBuilder(int index)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
RatelimitV2.RateLimitReportResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RatelimitV2.RateLimitReportResponse |
build() |
RatelimitV2.RateLimitReportResponse |
buildPartial() |
RatelimitV2.RateLimitReportResponse.Builder |
clear() |
RatelimitV2.RateLimitReportResponse.Builder |
clearCode()
uint32 code = 1; |
RatelimitV2.RateLimitReportResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RatelimitV2.RateLimitReportResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RatelimitV2.RateLimitReportResponse.Builder |
clearQuotaLefts()
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
RatelimitV2.RateLimitReportResponse.Builder |
clearTimestamp()
限流server绝对时间,单位ms
int64 timestamp = 3; |
RatelimitV2.RateLimitReportResponse.Builder |
clone() |
int |
getCode()
uint32 code = 1; |
RatelimitV2.RateLimitReportResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RatelimitV2.QuotaLeft |
getQuotaLefts(int index)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
RatelimitV2.QuotaLeft.Builder |
getQuotaLeftsBuilder(int index)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
List<RatelimitV2.QuotaLeft.Builder> |
getQuotaLeftsBuilderList()
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
int |
getQuotaLeftsCount()
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
List<RatelimitV2.QuotaLeft> |
getQuotaLeftsList()
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
RatelimitV2.QuotaLeftOrBuilder |
getQuotaLeftsOrBuilder(int index)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
List<? extends RatelimitV2.QuotaLeftOrBuilder> |
getQuotaLeftsOrBuilderList()
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
long |
getTimestamp()
限流server绝对时间,单位ms
int64 timestamp = 3; |
boolean |
isInitialized() |
RatelimitV2.RateLimitReportResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RatelimitV2.RateLimitReportResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
RatelimitV2.RateLimitReportResponse.Builder |
mergeFrom(RatelimitV2.RateLimitReportResponse other) |
RatelimitV2.RateLimitReportResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RatelimitV2.RateLimitReportResponse.Builder |
removeQuotaLefts(int index)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
RatelimitV2.RateLimitReportResponse.Builder |
setCode(int value)
uint32 code = 1; |
RatelimitV2.RateLimitReportResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RatelimitV2.RateLimitReportResponse.Builder |
setQuotaLefts(int index,
RatelimitV2.QuotaLeft.Builder builderForValue)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
RatelimitV2.RateLimitReportResponse.Builder |
setQuotaLefts(int index,
RatelimitV2.QuotaLeft value)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2; |
RatelimitV2.RateLimitReportResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RatelimitV2.RateLimitReportResponse.Builder |
setTimestamp(long value)
限流server绝对时间,单位ms
int64 timestamp = 3; |
RatelimitV2.RateLimitReportResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForFieldfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public RatelimitV2.RateLimitReportResponse.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.RateLimitReportResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.RateLimitReportResponse.Builder>public RatelimitV2.RateLimitReportResponse getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic RatelimitV2.RateLimitReportResponse build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic RatelimitV2.RateLimitReportResponse buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic RatelimitV2.RateLimitReportResponse.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.RateLimitReportResponse.Builder>public RatelimitV2.RateLimitReportResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.RateLimitReportResponse.Builder>public RatelimitV2.RateLimitReportResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.RateLimitReportResponse.Builder>public RatelimitV2.RateLimitReportResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.RateLimitReportResponse.Builder>public RatelimitV2.RateLimitReportResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.RateLimitReportResponse.Builder>public RatelimitV2.RateLimitReportResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.RateLimitReportResponse.Builder>public RatelimitV2.RateLimitReportResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<RatelimitV2.RateLimitReportResponse.Builder>public RatelimitV2.RateLimitReportResponse.Builder mergeFrom(RatelimitV2.RateLimitReportResponse other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.RateLimitReportResponse.Builder>public RatelimitV2.RateLimitReportResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<RatelimitV2.RateLimitReportResponse.Builder>IOExceptionpublic int getCode()
uint32 code = 1;getCode 在接口中 RatelimitV2.RateLimitReportResponseOrBuilderpublic RatelimitV2.RateLimitReportResponse.Builder setCode(int value)
uint32 code = 1;value - The code to set.public RatelimitV2.RateLimitReportResponse.Builder clearCode()
uint32 code = 1;public List<RatelimitV2.QuotaLeft> getQuotaLeftsList()
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public int getQuotaLeftsCount()
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public RatelimitV2.QuotaLeft getQuotaLefts(int index)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public RatelimitV2.RateLimitReportResponse.Builder setQuotaLefts(int index, RatelimitV2.QuotaLeft value)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public RatelimitV2.RateLimitReportResponse.Builder setQuotaLefts(int index, RatelimitV2.QuotaLeft.Builder builderForValue)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public RatelimitV2.RateLimitReportResponse.Builder addQuotaLefts(RatelimitV2.QuotaLeft value)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public RatelimitV2.RateLimitReportResponse.Builder addQuotaLefts(int index, RatelimitV2.QuotaLeft value)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public RatelimitV2.RateLimitReportResponse.Builder addQuotaLefts(RatelimitV2.QuotaLeft.Builder builderForValue)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public RatelimitV2.RateLimitReportResponse.Builder addQuotaLefts(int index, RatelimitV2.QuotaLeft.Builder builderForValue)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public RatelimitV2.RateLimitReportResponse.Builder addAllQuotaLefts(Iterable<? extends RatelimitV2.QuotaLeft> values)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public RatelimitV2.RateLimitReportResponse.Builder clearQuotaLefts()
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public RatelimitV2.RateLimitReportResponse.Builder removeQuotaLefts(int index)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public RatelimitV2.QuotaLeft.Builder getQuotaLeftsBuilder(int index)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public RatelimitV2.QuotaLeftOrBuilder getQuotaLeftsOrBuilder(int index)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public List<? extends RatelimitV2.QuotaLeftOrBuilder> getQuotaLeftsOrBuilderList()
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public RatelimitV2.QuotaLeft.Builder addQuotaLeftsBuilder()
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public RatelimitV2.QuotaLeft.Builder addQuotaLeftsBuilder(int index)
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public List<RatelimitV2.QuotaLeft.Builder> getQuotaLeftsBuilderList()
剩余配额数
repeated .polaris.metric.v2.QuotaLeft quotaLefts = 2;public long getTimestamp()
限流server绝对时间,单位ms
int64 timestamp = 3;getTimestamp 在接口中 RatelimitV2.RateLimitReportResponseOrBuilderpublic RatelimitV2.RateLimitReportResponse.Builder setTimestamp(long value)
限流server绝对时间,单位ms
int64 timestamp = 3;value - The timestamp to set.public RatelimitV2.RateLimitReportResponse.Builder clearTimestamp()
限流server绝对时间,单位ms
int64 timestamp = 3;public final RatelimitV2.RateLimitReportResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.RateLimitReportResponse.Builder>public final RatelimitV2.RateLimitReportResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.RateLimitReportResponse.Builder>Copyright © 2021. All rights reserved.