public static final class RatelimitV2.QuotaTotal.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaTotal.Builder> implements RatelimitV2.QuotaTotalOrBuilder
阈值配置的值Protobuf type
polaris.metric.v2.QuotaTotalgetAllFields, 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.QuotaTotal.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.QuotaTotal.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.QuotaTotal.Builder>public RatelimitV2.QuotaTotal getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RatelimitV2.QuotaTotal build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RatelimitV2.QuotaTotal buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RatelimitV2.QuotaTotal.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.QuotaTotal.Builder>public RatelimitV2.QuotaTotal.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.QuotaTotal.Builder>public RatelimitV2.QuotaTotal.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaTotal.Builder>public RatelimitV2.QuotaTotal.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaTotal.Builder>public RatelimitV2.QuotaTotal.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.QuotaTotal.Builder>public RatelimitV2.QuotaTotal.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.QuotaTotal.Builder>public RatelimitV2.QuotaTotal.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RatelimitV2.QuotaTotal.Builder>public RatelimitV2.QuotaTotal.Builder mergeFrom(RatelimitV2.QuotaTotal other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaTotal.Builder>public RatelimitV2.QuotaTotal.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.QuotaTotal.Builder>IOExceptionpublic int getModeValue()
阈值模式
.polaris.metric.v2.QuotaMode mode = 1;getModeValue in interface RatelimitV2.QuotaTotalOrBuilderpublic RatelimitV2.QuotaTotal.Builder setModeValue(int value)
阈值模式
.polaris.metric.v2.QuotaMode mode = 1;value - The enum numeric value on the wire for mode to set.public RatelimitV2.QuotaMode getMode()
阈值模式
.polaris.metric.v2.QuotaMode mode = 1;getMode in interface RatelimitV2.QuotaTotalOrBuilderpublic RatelimitV2.QuotaTotal.Builder setMode(RatelimitV2.QuotaMode value)
阈值模式
.polaris.metric.v2.QuotaMode mode = 1;value - The mode to set.public RatelimitV2.QuotaTotal.Builder clearMode()
阈值模式
.polaris.metric.v2.QuotaMode mode = 1;public int getDuration()
单位秒
uint32 duration = 2;getDuration in interface RatelimitV2.QuotaTotalOrBuilderpublic RatelimitV2.QuotaTotal.Builder setDuration(int value)
单位秒
uint32 duration = 2;value - The duration to set.public RatelimitV2.QuotaTotal.Builder clearDuration()
单位秒
uint32 duration = 2;public int getMaxAmount()
限流阈值
uint32 maxAmount = 3;getMaxAmount in interface RatelimitV2.QuotaTotalOrBuilderpublic RatelimitV2.QuotaTotal.Builder setMaxAmount(int value)
限流阈值
uint32 maxAmount = 3;value - The maxAmount to set.public RatelimitV2.QuotaTotal.Builder clearMaxAmount()
限流阈值
uint32 maxAmount = 3;public final RatelimitV2.QuotaTotal.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaTotal.Builder>public final RatelimitV2.QuotaTotal.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RatelimitV2.QuotaTotal.Builder>Copyright © 2023. All rights reserved.