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, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<QuotaProtos.TimedQuota.Builder>
public QuotaProtos.TimedQuota.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<QuotaProtos.TimedQuota.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<QuotaProtos.TimedQuota.Builder>
public QuotaProtos.TimedQuota getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public QuotaProtos.TimedQuota build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public QuotaProtos.TimedQuota buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public QuotaProtos.TimedQuota.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<QuotaProtos.TimedQuota.Builder>
IOException
public boolean hasTimeUnit()
required .TimeUnit time_unit = 1;
hasTimeUnit
in interface QuotaProtos.TimedQuotaOrBuilder
public HBaseProtos.TimeUnit getTimeUnit()
required .TimeUnit time_unit = 1;
getTimeUnit
in interface QuotaProtos.TimedQuotaOrBuilder
public 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.TimedQuotaOrBuilder
public long getSoftLimit()
optional uint64 soft_limit = 2;
getSoftLimit
in interface QuotaProtos.TimedQuotaOrBuilder
public 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.TimedQuotaOrBuilder
public float getShare()
optional float share = 3;
getShare
in interface QuotaProtos.TimedQuotaOrBuilder
public 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.TimedQuotaOrBuilder
public QuotaProtos.QuotaScope getScope()
optional .QuotaScope scope = 4 [default = MACHINE];
getScope
in interface QuotaProtos.TimedQuotaOrBuilder
public 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.