public static final class QuotaProtos.TimedQuota.Builder extends com.google.protobuf.GeneratedMessage.Builder<QuotaProtos.TimedQuota.Builder> implements QuotaProtos.TimedQuotaOrBuilder
TimedQuota| Modifier and Type | Method and Description |
|---|---|
QuotaProtos.TimedQuota |
build() |
QuotaProtos.TimedQuota |
buildPartial() |
QuotaProtos.TimedQuota.Builder |
clear() |
QuotaProtos.TimedQuota.Builder |
clearScope()
optional .QuotaScope scope = 4 [default = MACHINE]; |
QuotaProtos.TimedQuota.Builder |
clearShare()
optional float share = 3; |
QuotaProtos.TimedQuota.Builder |
clearSoftLimit()
optional uint64 soft_limit = 2; |
QuotaProtos.TimedQuota.Builder |
clearTimeUnit()
required .TimeUnit time_unit = 1; |
QuotaProtos.TimedQuota.Builder |
clone() |
QuotaProtos.TimedQuota |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
QuotaProtos.QuotaScope |
getScope()
optional .QuotaScope scope = 4 [default = MACHINE]; |
float |
getShare()
optional float share = 3; |
long |
getSoftLimit()
optional uint64 soft_limit = 2; |
HBaseProtos.TimeUnit |
getTimeUnit()
required .TimeUnit time_unit = 1; |
boolean |
hasScope()
optional .QuotaScope scope = 4 [default = MACHINE]; |
boolean |
hasShare()
optional float share = 3; |
boolean |
hasSoftLimit()
optional uint64 soft_limit = 2; |
boolean |
hasTimeUnit()
required .TimeUnit time_unit = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
QuotaProtos.TimedQuota.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
QuotaProtos.TimedQuota.Builder |
mergeFrom(com.google.protobuf.Message other) |
QuotaProtos.TimedQuota.Builder |
mergeFrom(QuotaProtos.TimedQuota other) |
QuotaProtos.TimedQuota.Builder |
setScope(QuotaProtos.QuotaScope value)
optional .QuotaScope scope = 4 [default = MACHINE]; |
QuotaProtos.TimedQuota.Builder |
setShare(float value)
optional float share = 3; |
QuotaProtos.TimedQuota.Builder |
setSoftLimit(long value)
optional uint64 soft_limit = 2; |
QuotaProtos.TimedQuota.Builder |
setTimeUnit(HBaseProtos.TimeUnit value)
required .TimeUnit time_unit = 1; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<QuotaProtos.TimedQuota.Builder>public QuotaProtos.TimedQuota.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<QuotaProtos.TimedQuota.Builder>public QuotaProtos.TimedQuota.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<QuotaProtos.TimedQuota.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.GeneratedMessage.Builder<QuotaProtos.TimedQuota.Builder>public QuotaProtos.TimedQuota getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic QuotaProtos.TimedQuota build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic QuotaProtos.TimedQuota buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic QuotaProtos.TimedQuota.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QuotaProtos.TimedQuota.Builder>public QuotaProtos.TimedQuota.Builder mergeFrom(QuotaProtos.TimedQuota other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<QuotaProtos.TimedQuota.Builder>public QuotaProtos.TimedQuota.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<QuotaProtos.TimedQuota.Builder>IOExceptionpublic boolean hasTimeUnit()
required .TimeUnit time_unit = 1;hasTimeUnit in interface QuotaProtos.TimedQuotaOrBuilderpublic HBaseProtos.TimeUnit getTimeUnit()
required .TimeUnit time_unit = 1;getTimeUnit in interface QuotaProtos.TimedQuotaOrBuilderpublic QuotaProtos.TimedQuota.Builder setTimeUnit(HBaseProtos.TimeUnit value)
required .TimeUnit time_unit = 1;public QuotaProtos.TimedQuota.Builder clearTimeUnit()
required .TimeUnit time_unit = 1;public boolean hasSoftLimit()
optional uint64 soft_limit = 2;hasSoftLimit in interface QuotaProtos.TimedQuotaOrBuilderpublic long getSoftLimit()
optional uint64 soft_limit = 2;getSoftLimit in interface QuotaProtos.TimedQuotaOrBuilderpublic QuotaProtos.TimedQuota.Builder setSoftLimit(long value)
optional uint64 soft_limit = 2;public QuotaProtos.TimedQuota.Builder clearSoftLimit()
optional uint64 soft_limit = 2;public boolean hasShare()
optional float share = 3;hasShare in interface QuotaProtos.TimedQuotaOrBuilderpublic float getShare()
optional float share = 3;getShare in interface QuotaProtos.TimedQuotaOrBuilderpublic QuotaProtos.TimedQuota.Builder setShare(float value)
optional float share = 3;public QuotaProtos.TimedQuota.Builder clearShare()
optional float share = 3;public boolean hasScope()
optional .QuotaScope scope = 4 [default = MACHINE];hasScope in interface QuotaProtos.TimedQuotaOrBuilderpublic QuotaProtos.QuotaScope getScope()
optional .QuotaScope scope = 4 [default = MACHINE];getScope in interface QuotaProtos.TimedQuotaOrBuilderpublic QuotaProtos.TimedQuota.Builder setScope(QuotaProtos.QuotaScope value)
optional .QuotaScope scope = 4 [default = MACHINE];public QuotaProtos.TimedQuota.Builder clearScope()
optional .QuotaScope scope = 4 [default = MACHINE];Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.