public static final class QuotaProtos.SpaceQuotaSnapshot extends com.google.protobuf.GeneratedMessage implements QuotaProtos.SpaceQuotaSnapshotOrBuilder
SpaceQuotaSnapshot
Message stored in the value of hbase:quota table to denote the status of a table WRT the quota applicable to it.
Modifier and Type | Class and Description |
---|---|
static class |
QuotaProtos.SpaceQuotaSnapshot.Builder
Protobuf type
SpaceQuotaSnapshot |
Modifier and Type | Field and Description |
---|---|
static int |
LIMIT_FIELD_NUMBER |
static <any> |
PARSER |
static int |
STATUS_FIELD_NUMBER |
static int |
USAGE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static QuotaProtos.SpaceQuotaSnapshot |
getDefaultInstance() |
QuotaProtos.SpaceQuotaSnapshot |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getLimit()
optional uint64 limit = 3; |
<any> |
getParserForType() |
int |
getSerializedSize() |
QuotaProtos.SpaceQuotaStatus |
getStatus()
optional .SpaceQuotaStatus status = 1; |
QuotaProtos.SpaceQuotaStatusOrBuilder |
getStatusOrBuilder()
optional .SpaceQuotaStatus status = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
long |
getUsage()
optional uint64 usage = 2; |
int |
hashCode() |
boolean |
hasLimit()
optional uint64 limit = 3; |
boolean |
hasStatus()
optional .SpaceQuotaStatus status = 1; |
boolean |
hasUsage()
optional uint64 usage = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static QuotaProtos.SpaceQuotaSnapshot.Builder |
newBuilder() |
static QuotaProtos.SpaceQuotaSnapshot.Builder |
newBuilder(QuotaProtos.SpaceQuotaSnapshot prototype) |
QuotaProtos.SpaceQuotaSnapshot.Builder |
newBuilderForType() |
protected QuotaProtos.SpaceQuotaSnapshot.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static QuotaProtos.SpaceQuotaSnapshot |
parseDelimitedFrom(InputStream input) |
static QuotaProtos.SpaceQuotaSnapshot |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaProtos.SpaceQuotaSnapshot |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaProtos.SpaceQuotaSnapshot |
parseFrom(com.google.protobuf.ByteString data) |
static QuotaProtos.SpaceQuotaSnapshot |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaProtos.SpaceQuotaSnapshot |
parseFrom(com.google.protobuf.CodedInputStream input) |
static QuotaProtos.SpaceQuotaSnapshot |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuotaProtos.SpaceQuotaSnapshot |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
QuotaProtos.SpaceQuotaSnapshot.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static <any> PARSER
public static final int STATUS_FIELD_NUMBER
public static final int USAGE_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER
public static QuotaProtos.SpaceQuotaSnapshot getDefaultInstance()
public QuotaProtos.SpaceQuotaSnapshot getDefaultInstanceForType()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public <any> getParserForType()
public boolean hasStatus()
optional .SpaceQuotaStatus status = 1;
hasStatus
in interface QuotaProtos.SpaceQuotaSnapshotOrBuilder
public QuotaProtos.SpaceQuotaStatus getStatus()
optional .SpaceQuotaStatus status = 1;
getStatus
in interface QuotaProtos.SpaceQuotaSnapshotOrBuilder
public QuotaProtos.SpaceQuotaStatusOrBuilder getStatusOrBuilder()
optional .SpaceQuotaStatus status = 1;
getStatusOrBuilder
in interface QuotaProtos.SpaceQuotaSnapshotOrBuilder
public boolean hasUsage()
optional uint64 usage = 2;
hasUsage
in interface QuotaProtos.SpaceQuotaSnapshotOrBuilder
public long getUsage()
optional uint64 usage = 2;
getUsage
in interface QuotaProtos.SpaceQuotaSnapshotOrBuilder
public boolean hasLimit()
optional uint64 limit = 3;
hasLimit
in interface QuotaProtos.SpaceQuotaSnapshotOrBuilder
public long getLimit()
optional uint64 limit = 3;
getLimit
in interface QuotaProtos.SpaceQuotaSnapshotOrBuilder
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
IOException
public int getSerializedSize()
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
public boolean equals(Object obj)
public int hashCode()
public static QuotaProtos.SpaceQuotaSnapshot parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QuotaProtos.SpaceQuotaSnapshot parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QuotaProtos.SpaceQuotaSnapshot parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QuotaProtos.SpaceQuotaSnapshot parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QuotaProtos.SpaceQuotaSnapshot parseDelimitedFrom(InputStream input) throws IOException
IOException
public static QuotaProtos.SpaceQuotaSnapshot parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QuotaProtos.SpaceQuotaSnapshot parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static QuotaProtos.SpaceQuotaSnapshot parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QuotaProtos.SpaceQuotaSnapshot.Builder newBuilder()
public QuotaProtos.SpaceQuotaSnapshot.Builder newBuilderForType()
public static QuotaProtos.SpaceQuotaSnapshot.Builder newBuilder(QuotaProtos.SpaceQuotaSnapshot prototype)
public QuotaProtos.SpaceQuotaSnapshot.Builder toBuilder()
protected QuotaProtos.SpaceQuotaSnapshot.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)