public static final class RatelimitV2.QuotaSum.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaSum.Builder> implements RatelimitV2.QuotaSumOrBuilder
客户端阈值使用统计Protobuf type
polaris.metric.v2.QuotaSum| Modifier and Type | Method and Description |
|---|---|
RatelimitV2.QuotaSum.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RatelimitV2.QuotaSum |
build() |
RatelimitV2.QuotaSum |
buildPartial() |
RatelimitV2.QuotaSum.Builder |
clear() |
RatelimitV2.QuotaSum.Builder |
clearCounterKey()
计数器的标识,一个server全局唯一,上报时候带入
|
RatelimitV2.QuotaSum.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RatelimitV2.QuotaSum.Builder |
clearLimited()
被限流数,上报时候带入
|
RatelimitV2.QuotaSum.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RatelimitV2.QuotaSum.Builder |
clearUsed()
已使用的配额数,上报时候带入
|
RatelimitV2.QuotaSum.Builder |
clone() |
int |
getCounterKey()
计数器的标识,一个server全局唯一,上报时候带入
|
RatelimitV2.QuotaSum |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getLimited()
被限流数,上报时候带入
|
int |
getUsed()
已使用的配额数,上报时候带入
|
boolean |
isInitialized() |
RatelimitV2.QuotaSum.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RatelimitV2.QuotaSum.Builder |
mergeFrom(com.google.protobuf.Message other) |
RatelimitV2.QuotaSum.Builder |
mergeFrom(RatelimitV2.QuotaSum other) |
RatelimitV2.QuotaSum.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RatelimitV2.QuotaSum.Builder |
setCounterKey(int value)
计数器的标识,一个server全局唯一,上报时候带入
|
RatelimitV2.QuotaSum.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RatelimitV2.QuotaSum.Builder |
setLimited(int value)
被限流数,上报时候带入
|
RatelimitV2.QuotaSum.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RatelimitV2.QuotaSum.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RatelimitV2.QuotaSum.Builder |
setUsed(int value)
已使用的配额数,上报时候带入
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForFieldfindInitializationErrors, getInitializationErrorString, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringmergeDelimitedFrom, mergeDelimitedFrom, mergeFromequals, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public RatelimitV2.QuotaSum.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaSum.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaSum.Builder>public RatelimitV2.QuotaSum getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RatelimitV2.QuotaSum build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RatelimitV2.QuotaSum buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RatelimitV2.QuotaSum.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaSum.Builder>public RatelimitV2.QuotaSum.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaSum.Builder>public RatelimitV2.QuotaSum.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaSum.Builder>public RatelimitV2.QuotaSum.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaSum.Builder>public RatelimitV2.QuotaSum.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaSum.Builder>public RatelimitV2.QuotaSum.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaSum.Builder>public RatelimitV2.QuotaSum.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RatelimitV2.QuotaSum.Builder>public RatelimitV2.QuotaSum.Builder mergeFrom(RatelimitV2.QuotaSum other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaSum.Builder>public RatelimitV2.QuotaSum.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RatelimitV2.QuotaSum.Builder>IOExceptionpublic int getCounterKey()
计数器的标识,一个server全局唯一,上报时候带入
uint32 counterKey = 1;getCounterKey in interface RatelimitV2.QuotaSumOrBuilderpublic RatelimitV2.QuotaSum.Builder setCounterKey(int value)
计数器的标识,一个server全局唯一,上报时候带入
uint32 counterKey = 1;value - The counterKey to set.public RatelimitV2.QuotaSum.Builder clearCounterKey()
计数器的标识,一个server全局唯一,上报时候带入
uint32 counterKey = 1;public int getUsed()
已使用的配额数,上报时候带入
uint32 used = 2;getUsed in interface RatelimitV2.QuotaSumOrBuilderpublic RatelimitV2.QuotaSum.Builder setUsed(int value)
已使用的配额数,上报时候带入
uint32 used = 2;value - The used to set.public RatelimitV2.QuotaSum.Builder clearUsed()
已使用的配额数,上报时候带入
uint32 used = 2;public int getLimited()
被限流数,上报时候带入
uint32 limited = 3;getLimited in interface RatelimitV2.QuotaSumOrBuilderpublic RatelimitV2.QuotaSum.Builder setLimited(int value)
被限流数,上报时候带入
uint32 limited = 3;value - The limited to set.public RatelimitV2.QuotaSum.Builder clearLimited()
被限流数,上报时候带入
uint32 limited = 3;public final RatelimitV2.QuotaSum.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaSum.Builder>public final RatelimitV2.QuotaSum.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaSum.Builder>Copyright © 2024. All rights reserved.