@Generated(value="proto") 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, 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.SpaceQuota.Builder>
public QuotaProtos.SpaceQuota.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.SpaceQuota.Builder>
public QuotaProtos.SpaceQuota.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.SpaceQuota.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.SpaceQuota.Builder>
public QuotaProtos.SpaceQuota getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public QuotaProtos.SpaceQuota build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public QuotaProtos.SpaceQuota buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public QuotaProtos.SpaceQuota.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<QuotaProtos.SpaceQuota.Builder>
IOException
public boolean hasSoftLimit()
optional uint64 soft_limit = 1;
The limit of bytes for this quota
hasSoftLimit
in interface QuotaProtos.SpaceQuotaOrBuilder
public long getSoftLimit()
optional uint64 soft_limit = 1;
The limit of bytes for this quota
getSoftLimit
in interface QuotaProtos.SpaceQuotaOrBuilder
public 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.SpaceQuotaOrBuilder
public QuotaProtos.SpaceViolationPolicy getViolationPolicy()
optional .hbase.pb.SpaceViolationPolicy violation_policy = 2;
The action to take when the quota is violated
getViolationPolicy
in interface QuotaProtos.SpaceQuotaOrBuilder
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
in interface QuotaProtos.SpaceQuotaOrBuilder
public boolean getRemove()
optional bool remove = 3 [default = false];
When true, remove the quota.
getRemove
in interface QuotaProtos.SpaceQuotaOrBuilder
public 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.