public static final class HBaseProtos.SnapshotDescription extends com.google.protobuf.GeneratedMessage implements HBaseProtos.SnapshotDescriptionOrBuilder
hbase.pb.SnapshotDescription
Description of the snapshot to take
| Modifier and Type | Class and Description |
|---|---|
static class |
HBaseProtos.SnapshotDescription.Builder
Protobuf type
hbase.pb.SnapshotDescription |
static class |
HBaseProtos.SnapshotDescription.Type
Protobuf enum
hbase.pb.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 |
USERS_AND_PERMISSIONS_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.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() |
java.lang.String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
java.lang.String |
getOwner()
optional string owner = 6; |
com.google.protobuf.ByteString |
getOwnerBytes()
optional string owner = 6; |
<any> |
getParserForType() |
int |
getSerializedSize() |
java.lang.String |
getTable()
optional string table = 2; |
com.google.protobuf.ByteString |
getTableBytes()
optional string table = 2; |
HBaseProtos.SnapshotDescription.Type |
getType()
optional .hbase.pb.SnapshotDescription.Type type = 4 [default = FLUSH]; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
AccessControlProtos.UsersAndPermissions |
getUsersAndPermissions()
optional .hbase.pb.UsersAndPermissions users_and_permissions = 7; |
AccessControlProtos.UsersAndPermissionsOrBuilder |
getUsersAndPermissionsOrBuilder()
optional .hbase.pb.UsersAndPermissions users_and_permissions = 7; |
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 .hbase.pb.SnapshotDescription.Type type = 4 [default = FLUSH]; |
boolean |
hasUsersAndPermissions()
optional .hbase.pb.UsersAndPermissions users_and_permissions = 7; |
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(java.io.InputStream input) |
static HBaseProtos.SnapshotDescription |
parseDelimitedFrom(java.io.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(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HBaseProtos.SnapshotDescription.Builder |
toBuilder() |
protected java.lang.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 final int USERS_AND_PERMISSIONS_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 java.lang.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 java.lang.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 .hbase.pb.SnapshotDescription.Type type = 4 [default = FLUSH];hasType in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic HBaseProtos.SnapshotDescription.Type getType()
optional .hbase.pb.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 java.lang.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 boolean hasUsersAndPermissions()
optional .hbase.pb.UsersAndPermissions users_and_permissions = 7;hasUsersAndPermissions in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic AccessControlProtos.UsersAndPermissions getUsersAndPermissions()
optional .hbase.pb.UsersAndPermissions users_and_permissions = 7;getUsersAndPermissions in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic AccessControlProtos.UsersAndPermissionsOrBuilder getUsersAndPermissionsOrBuilder()
optional .hbase.pb.UsersAndPermissions users_and_permissions = 7;getUsersAndPermissionsOrBuilder in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic boolean equals(java.lang.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(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static HBaseProtos.SnapshotDescription parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static HBaseProtos.SnapshotDescription parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static HBaseProtos.SnapshotDescription parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static HBaseProtos.SnapshotDescription parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.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)