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
| Modifier and Type | Method and Description |
|---|---|
QuotaProtos.SpaceQuota |
build() |
QuotaProtos.SpaceQuota |
buildPartial() |
QuotaProtos.SpaceQuota.Builder |
clear() |
QuotaProtos.SpaceQuota.Builder |
clearRemove()
optional bool remove = 3 [default = false]; |
QuotaProtos.SpaceQuota.Builder |
clearSoftLimit()
optional uint64 soft_limit = 1; |
QuotaProtos.SpaceQuota.Builder |
clearViolationPolicy()
optional .hbase.pb.SpaceViolationPolicy violation_policy = 2; |
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]; |
long |
getSoftLimit()
optional uint64 soft_limit = 1; |
QuotaProtos.SpaceViolationPolicy |
getViolationPolicy()
optional .hbase.pb.SpaceViolationPolicy violation_policy = 2; |
boolean |
hasRemove()
optional bool remove = 3 [default = false]; |
boolean |
hasSoftLimit()
optional uint64 soft_limit = 1; |
boolean |
hasViolationPolicy()
optional .hbase.pb.SpaceViolationPolicy violation_policy = 2; |
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]; |
QuotaProtos.SpaceQuota.Builder |
setSoftLimit(long value)
optional uint64 soft_limit = 1; |
QuotaProtos.SpaceQuota.Builder |
setViolationPolicy(QuotaProtos.SpaceViolationPolicy value)
optional .hbase.pb.SpaceViolationPolicy violation_policy = 2; |
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.SpaceQuota.Builder>public QuotaProtos.SpaceQuota.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.SpaceQuota.Builder>public QuotaProtos.SpaceQuota.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.SpaceQuota.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.SpaceQuota.Builder>public QuotaProtos.SpaceQuota getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic QuotaProtos.SpaceQuota build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic QuotaProtos.SpaceQuota buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic QuotaProtos.SpaceQuota.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QuotaProtos.SpaceQuota.Builder>public QuotaProtos.SpaceQuota.Builder mergeFrom(QuotaProtos.SpaceQuota other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class 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 in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QuotaProtos.SpaceQuota.Builder>IOExceptionpublic boolean hasSoftLimit()
optional uint64 soft_limit = 1;
The limit of bytes for this quota
hasSoftLimit in interface QuotaProtos.SpaceQuotaOrBuilderpublic long getSoftLimit()
optional uint64 soft_limit = 1;
The limit of bytes for this quota
getSoftLimit in interface 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
hasViolationPolicy in interface QuotaProtos.SpaceQuotaOrBuilderpublic QuotaProtos.SpaceViolationPolicy getViolationPolicy()
optional .hbase.pb.SpaceViolationPolicy violation_policy = 2;
The action to take when the quota is violated
getViolationPolicy in interface QuotaProtos.SpaceQuotaOrBuilderpublic 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 in interface QuotaProtos.SpaceQuotaOrBuilderpublic boolean getRemove()
optional bool remove = 3 [default = false];
When true, remove the quota.
getRemove in interface 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 Cloudera. All rights reserved.