public static final class QuotaProtos.SpaceQuota.Builder extends com.google.protobuf.GeneratedMessage.Builder<QuotaProtos.SpaceQuota.Builder> implements QuotaProtos.SpaceQuotaOrBuilder
hbase.pb.SpaceQuota
Defines a limit on the amount of filesystem space used by a table/namespace
| 限定符和类型 | 方法和说明 |
|---|---|
QuotaProtos.SpaceQuota |
build() |
QuotaProtos.SpaceQuota |
buildPartial() |
QuotaProtos.SpaceQuota.Builder |
clear() |
QuotaProtos.SpaceQuota.Builder |
clearRemove()
optional bool remove = 3 [default = false];
When true, remove the quota. |
QuotaProtos.SpaceQuota.Builder |
clearSoftLimit()
optional uint64 soft_limit = 1;
The limit of bytes for this quota
|
QuotaProtos.SpaceQuota.Builder |
clearViolationPolicy()
optional .hbase.pb.SpaceViolationPolicy violation_policy = 2;
The action to take when the quota is violated
|
QuotaProtos.SpaceQuota.Builder |
clone() |
QuotaProtos.SpaceQuota |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getRemove()
optional bool remove = 3 [default = false];
When true, remove the quota. |
long |
getSoftLimit()
optional uint64 soft_limit = 1;
The limit of bytes for this quota
|
QuotaProtos.SpaceViolationPolicy |
getViolationPolicy()
optional .hbase.pb.SpaceViolationPolicy violation_policy = 2;
The action to take when the quota is violated
|
boolean |
hasRemove()
optional bool remove = 3 [default = false];
When true, remove the quota. |
boolean |
hasSoftLimit()
optional uint64 soft_limit = 1;
The limit of bytes for this quota
|
boolean |
hasViolationPolicy()
optional .hbase.pb.SpaceViolationPolicy violation_policy = 2;
The action to take when the quota is violated
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
QuotaProtos.SpaceQuota.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
QuotaProtos.SpaceQuota.Builder |
mergeFrom(com.google.protobuf.Message other) |
QuotaProtos.SpaceQuota.Builder |
mergeFrom(QuotaProtos.SpaceQuota other) |
QuotaProtos.SpaceQuota.Builder |
setRemove(boolean value)
optional bool remove = 3 [default = false];
When true, remove the quota. |
QuotaProtos.SpaceQuota.Builder |
setSoftLimit(long value)
optional uint64 soft_limit = 1;
The limit of bytes for this quota
|
QuotaProtos.SpaceQuota.Builder |
setViolationPolicy(QuotaProtos.SpaceViolationPolicy value)
optional .hbase.pb.SpaceViolationPolicy violation_policy = 2;
The action to take when the quota is violated
|
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, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessage.Builder<QuotaProtos.SpaceQuota.Builder>public QuotaProtos.SpaceQuota.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessage.Builder<QuotaProtos.SpaceQuota.Builder>public QuotaProtos.SpaceQuota.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessage.Builder<QuotaProtos.SpaceQuota.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessage.Builder<QuotaProtos.SpaceQuota.Builder>public QuotaProtos.SpaceQuota getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic QuotaProtos.SpaceQuota build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic QuotaProtos.SpaceQuota buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic QuotaProtos.SpaceQuota.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<QuotaProtos.SpaceQuota.Builder>public QuotaProtos.SpaceQuota.Builder mergeFrom(QuotaProtos.SpaceQuota other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessage.Builder<QuotaProtos.SpaceQuota.Builder>public QuotaProtos.SpaceQuota.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<QuotaProtos.SpaceQuota.Builder>IOExceptionpublic boolean hasSoftLimit()
optional uint64 soft_limit = 1;
The limit of bytes for this quota
hasSoftLimit 在接口中 QuotaProtos.SpaceQuotaOrBuilderpublic long getSoftLimit()
optional uint64 soft_limit = 1;
The limit of bytes for this quota
getSoftLimit 在接口中 QuotaProtos.SpaceQuotaOrBuilderpublic QuotaProtos.SpaceQuota.Builder setSoftLimit(long value)
optional uint64 soft_limit = 1;
The limit of bytes for this quota
public QuotaProtos.SpaceQuota.Builder clearSoftLimit()
optional uint64 soft_limit = 1;
The limit of bytes for this quota
public boolean hasViolationPolicy()
optional .hbase.pb.SpaceViolationPolicy violation_policy = 2;
The action to take when the quota is violated
public QuotaProtos.SpaceViolationPolicy getViolationPolicy()
optional .hbase.pb.SpaceViolationPolicy violation_policy = 2;
The action to take when the quota is violated
public QuotaProtos.SpaceQuota.Builder setViolationPolicy(QuotaProtos.SpaceViolationPolicy value)
optional .hbase.pb.SpaceViolationPolicy violation_policy = 2;
The action to take when the quota is violated
public QuotaProtos.SpaceQuota.Builder clearViolationPolicy()
optional .hbase.pb.SpaceViolationPolicy violation_policy = 2;
The action to take when the quota is violated
public boolean hasRemove()
optional bool remove = 3 [default = false];
When true, remove the quota.
hasRemove 在接口中 QuotaProtos.SpaceQuotaOrBuilderpublic boolean getRemove()
optional bool remove = 3 [default = false];
When true, remove the quota.
getRemove 在接口中 QuotaProtos.SpaceQuotaOrBuilderpublic QuotaProtos.SpaceQuota.Builder setRemove(boolean value)
optional bool remove = 3 [default = false];
When true, remove the quota.
public QuotaProtos.SpaceQuota.Builder clearRemove()
optional bool remove = 3 [default = false];
When true, remove the quota.
Copyright © 2007–2019. All rights reserved.