public static final class HBaseProtos.SnapshotDescription.Builder extends com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.SnapshotDescription.Builder> implements HBaseProtos.SnapshotDescriptionOrBuilder
SnapshotDescription
Description of the snapshot to take
| Modifier and Type | Method and Description |
|---|---|
HBaseProtos.SnapshotDescription |
build() |
HBaseProtos.SnapshotDescription |
buildPartial() |
HBaseProtos.SnapshotDescription.Builder |
clear() |
HBaseProtos.SnapshotDescription.Builder |
clearCreationTime()
optional int64 creation_time = 3 [default = 0]; |
HBaseProtos.SnapshotDescription.Builder |
clearName()
required string name = 1; |
HBaseProtos.SnapshotDescription.Builder |
clearTable()
optional string table = 2; |
HBaseProtos.SnapshotDescription.Builder |
clearType()
optional .SnapshotDescription.Type type = 4 [default = FLUSH]; |
HBaseProtos.SnapshotDescription.Builder |
clearVersion()
optional int32 version = 5; |
HBaseProtos.SnapshotDescription.Builder |
clone() |
long |
getCreationTime()
optional int64 creation_time = 3 [default = 0]; |
HBaseProtos.SnapshotDescription |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
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]; |
int |
getVersion()
optional int32 version = 5; |
boolean |
hasCreationTime()
optional int64 creation_time = 3 [default = 0]; |
boolean |
hasName()
required string name = 1; |
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() |
HBaseProtos.SnapshotDescription.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HBaseProtos.SnapshotDescription.Builder |
mergeFrom(HBaseProtos.SnapshotDescription other) |
HBaseProtos.SnapshotDescription.Builder |
mergeFrom(com.google.protobuf.Message other) |
HBaseProtos.SnapshotDescription.Builder |
setCreationTime(long value)
optional int64 creation_time = 3 [default = 0]; |
HBaseProtos.SnapshotDescription.Builder |
setName(String value)
required string name = 1; |
HBaseProtos.SnapshotDescription.Builder |
setNameBytes(com.google.protobuf.ByteString value)
required string name = 1; |
HBaseProtos.SnapshotDescription.Builder |
setTable(String value)
optional string table = 2; |
HBaseProtos.SnapshotDescription.Builder |
setTableBytes(com.google.protobuf.ByteString value)
optional string table = 2; |
HBaseProtos.SnapshotDescription.Builder |
setType(HBaseProtos.SnapshotDescription.Type value)
optional .SnapshotDescription.Type type = 4 [default = FLUSH]; |
HBaseProtos.SnapshotDescription.Builder |
setVersion(int value)
optional int32 version = 5; |
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<HBaseProtos.SnapshotDescription.Builder>public HBaseProtos.SnapshotDescription.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.SnapshotDescription.Builder>public HBaseProtos.SnapshotDescription.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.SnapshotDescription.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<HBaseProtos.SnapshotDescription.Builder>public HBaseProtos.SnapshotDescription getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HBaseProtos.SnapshotDescription build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HBaseProtos.SnapshotDescription buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HBaseProtos.SnapshotDescription.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HBaseProtos.SnapshotDescription.Builder>public HBaseProtos.SnapshotDescription.Builder mergeFrom(HBaseProtos.SnapshotDescription other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.SnapshotDescription.Builder>public HBaseProtos.SnapshotDescription.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<HBaseProtos.SnapshotDescription.Builder>IOExceptionpublic 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 HBaseProtos.SnapshotDescription.Builder setName(String value)
required string name = 1;public HBaseProtos.SnapshotDescription.Builder clearName()
required string name = 1;public HBaseProtos.SnapshotDescription.Builder setNameBytes(com.google.protobuf.ByteString value)
required string name = 1;public 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 HBaseProtos.SnapshotDescription.Builder setTable(String value)
optional string table = 2;
not needed for delete, but checked for in taking snapshot
public HBaseProtos.SnapshotDescription.Builder clearTable()
optional string table = 2;
not needed for delete, but checked for in taking snapshot
public HBaseProtos.SnapshotDescription.Builder setTableBytes(com.google.protobuf.ByteString value)
optional string table = 2;
not needed for delete, but checked for in taking snapshot
public 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 HBaseProtos.SnapshotDescription.Builder setCreationTime(long value)
optional int64 creation_time = 3 [default = 0];public HBaseProtos.SnapshotDescription.Builder clearCreationTime()
optional int64 creation_time = 3 [default = 0];public 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 HBaseProtos.SnapshotDescription.Builder setType(HBaseProtos.SnapshotDescription.Type value)
optional .SnapshotDescription.Type type = 4 [default = FLUSH];public HBaseProtos.SnapshotDescription.Builder clearType()
optional .SnapshotDescription.Type type = 4 [default = FLUSH];public boolean hasVersion()
optional int32 version = 5;hasVersion in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic int getVersion()
optional int32 version = 5;getVersion in interface HBaseProtos.SnapshotDescriptionOrBuilderpublic HBaseProtos.SnapshotDescription.Builder setVersion(int value)
optional int32 version = 5;public HBaseProtos.SnapshotDescription.Builder clearVersion()
optional int32 version = 5;Copyright © 2014 The Apache Software Foundation. All rights reserved.