public static final class HBaseProtos.SnapshotDescription extends com.google.protobuf.GeneratedMessage implements HBaseProtos.SnapshotDescriptionOrBuilder
SnapshotDescription
Description of the snapshot to take
| Modifier and Type | Class and Description |
|---|---|
static class |
HBaseProtos.SnapshotDescription.Builder
Protobuf type
SnapshotDescription |
static class |
HBaseProtos.SnapshotDescription.Type
Protobuf enum
SnapshotDescription.Type |
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATION_TIME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OWNER_FIELD_NUMBER |
static <any> |
PARSER |
static int |
TABLE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getCreationTime()
optional int64 creation_time = 3 [default = 0]; |
static HBaseProtos.SnapshotDescription |
getDefaultInstance() |
HBaseProtos.SnapshotDescription |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
String |
getOwner()
optional string owner = 6; |
com.google.protobuf.ByteString |
getOwnerBytes()
optional string owner = 6; |
<any> |
getParserForType() |
int |
getSerializedSize() |
String |
getTable()
optional string table = 2; |
com.google.protobuf.ByteString |
getTableBytes()
optional string table = 2; |
HBaseProtos.SnapshotDescription.Type |
getType()
optional .SnapshotDescription.Type type = 4 [default = FLUSH]; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVersion()
optional int32 version = 5; |
boolean |
hasCreationTime()
optional int64 creation_time = 3 [default = 0]; |
int |
hashCode() |
boolean |
hasName()
required string name = 1; |
boolean |
hasOwner()
optional string owner = 6; |
boolean |
hasTable()
optional string table = 2; |
boolean |
hasType()
optional .SnapshotDescription.Type type = 4 [default = FLUSH]; |
boolean |
hasVersion()
optional int32 version = 5; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HBaseProtos.SnapshotDescription.Builder |
newBuilder() |
static HBaseProtos.SnapshotDescription.Builder |
newBuilder(HBaseProtos.SnapshotDescription prototype) |
HBaseProtos.SnapshotDescription.Builder |
newBuilderForType() |
protected HBaseProtos.SnapshotDescription.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static HBaseProtos.SnapshotDescription |
parseDelimitedFrom(InputStream input) |
static HBaseProtos.SnapshotDescription |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HBaseProtos.SnapshotDescription |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HBaseProtos.SnapshotDescription |
parseFrom(com.google.protobuf.ByteString data) |
static HBaseProtos.SnapshotDescription |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HBaseProtos.SnapshotDescription |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HBaseProtos.SnapshotDescription |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HBaseProtos.SnapshotDescription |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HBaseProtos.SnapshotDescription.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static <any> PARSER
public static final int NAME_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
public static final int CREATION_TIME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int OWNER_FIELD_NUMBER
public static HBaseProtos.SnapshotDescription getDefaultInstance()
public HBaseProtos.SnapshotDescription 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 hasName()
required string name = 1;hasName in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic String getName()
required string name = 1;getName in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
required string name = 1;getNameBytes in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic boolean hasTable()
optional string table = 2;
not needed for delete, but checked for in taking snapshot
hasTable in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic String getTable()
optional string table = 2;
not needed for delete, but checked for in taking snapshot
getTable in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic com.google.protobuf.ByteString getTableBytes()
optional string table = 2;
not needed for delete, but checked for in taking snapshot
getTableBytes in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic boolean hasCreationTime()
optional int64 creation_time = 3 [default = 0];hasCreationTime in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic long getCreationTime()
optional int64 creation_time = 3 [default = 0];getCreationTime in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic boolean hasType()
optional .SnapshotDescription.Type type = 4 [default = FLUSH];hasType in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic HBaseProtos.SnapshotDescription.Type getType()
optional .SnapshotDescription.Type type = 4 [default = FLUSH];getType in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic boolean hasVersion()
optional int32 version = 5;hasVersion in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic int getVersion()
optional int32 version = 5;getVersion in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic boolean hasOwner()
optional string owner = 6;hasOwner in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic String getOwner()
optional string owner = 6;getOwner in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic com.google.protobuf.ByteString getOwnerBytes()
optional string owner = 6;getOwnerBytes in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
IOExceptionpublic int getSerializedSize()
protected Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionpublic boolean equals(Object obj)
public int hashCode()
public static HBaseProtos.SnapshotDescription parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HBaseProtos.SnapshotDescription parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HBaseProtos.SnapshotDescription parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HBaseProtos.SnapshotDescription parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HBaseProtos.SnapshotDescription parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HBaseProtos.SnapshotDescription parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HBaseProtos.SnapshotDescription parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HBaseProtos.SnapshotDescription parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HBaseProtos.SnapshotDescription.Builder newBuilder()
public HBaseProtos.SnapshotDescription.Builder newBuilderForType()
public static HBaseProtos.SnapshotDescription.Builder newBuilder(HBaseProtos.SnapshotDescription prototype)
public HBaseProtos.SnapshotDescription.Builder toBuilder()
protected HBaseProtos.SnapshotDescription.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)