@Generated(value="proto") public static final class HBaseProtos.SnapshotDescription.Builder extends com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.SnapshotDescription.Builder> implements HBaseProtos.SnapshotDescriptionOrBuilder
hbase.pb.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 |
clearOwner()
optional string owner = 6; |
HBaseProtos.SnapshotDescription.Builder |
clearTable()
optional string table = 2; |
HBaseProtos.SnapshotDescription.Builder |
clearType()
optional .hbase.pb.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 |
getOwner()
optional string owner = 6; |
com.google.protobuf.ByteString |
getOwnerBytes()
optional string owner = 6; |
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]; |
int |
getVersion()
optional int32 version = 5; |
boolean |
hasCreationTime()
optional int64 creation_time = 3 [default = 0]; |
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 |
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 |
setOwner(String value)
optional string owner = 6; |
HBaseProtos.SnapshotDescription.Builder |
setOwnerBytes(com.google.protobuf.ByteString value)
optional string owner = 6; |
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 .hbase.pb.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, 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<HBaseProtos.SnapshotDescription.Builder>
public HBaseProtos.SnapshotDescription.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<HBaseProtos.SnapshotDescription.Builder>
public HBaseProtos.SnapshotDescription.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<HBaseProtos.SnapshotDescription.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<HBaseProtos.SnapshotDescription.Builder>
public HBaseProtos.SnapshotDescription getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public HBaseProtos.SnapshotDescription build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public HBaseProtos.SnapshotDescription buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public HBaseProtos.SnapshotDescription.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HBaseProtos.SnapshotDescription.Builder>
IOException
public boolean hasName()
required string name = 1;
hasName
in interface HBaseProtos.SnapshotDescriptionOrBuilder
public String getName()
required string name = 1;
getName
in interface HBaseProtos.SnapshotDescriptionOrBuilder
public com.google.protobuf.ByteString getNameBytes()
required string name = 1;
getNameBytes
in interface HBaseProtos.SnapshotDescriptionOrBuilder
public 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.SnapshotDescriptionOrBuilder
public String getTable()
optional string table = 2;
not needed for delete, but checked for in taking snapshot
getTable
in interface HBaseProtos.SnapshotDescriptionOrBuilder
public com.google.protobuf.ByteString getTableBytes()
optional string table = 2;
not needed for delete, but checked for in taking snapshot
getTableBytes
in interface HBaseProtos.SnapshotDescriptionOrBuilder
public 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.SnapshotDescriptionOrBuilder
public long getCreationTime()
optional int64 creation_time = 3 [default = 0];
getCreationTime
in interface HBaseProtos.SnapshotDescriptionOrBuilder
public 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 .hbase.pb.SnapshotDescription.Type type = 4 [default = FLUSH];
hasType
in interface HBaseProtos.SnapshotDescriptionOrBuilder
public HBaseProtos.SnapshotDescription.Type getType()
optional .hbase.pb.SnapshotDescription.Type type = 4 [default = FLUSH];
getType
in interface HBaseProtos.SnapshotDescriptionOrBuilder
public HBaseProtos.SnapshotDescription.Builder setType(HBaseProtos.SnapshotDescription.Type value)
optional .hbase.pb.SnapshotDescription.Type type = 4 [default = FLUSH];
public HBaseProtos.SnapshotDescription.Builder clearType()
optional .hbase.pb.SnapshotDescription.Type type = 4 [default = FLUSH];
public boolean hasVersion()
optional int32 version = 5;
hasVersion
in interface HBaseProtos.SnapshotDescriptionOrBuilder
public int getVersion()
optional int32 version = 5;
getVersion
in interface HBaseProtos.SnapshotDescriptionOrBuilder
public HBaseProtos.SnapshotDescription.Builder setVersion(int value)
optional int32 version = 5;
public HBaseProtos.SnapshotDescription.Builder clearVersion()
optional int32 version = 5;
public boolean hasOwner()
optional string owner = 6;
hasOwner
in interface HBaseProtos.SnapshotDescriptionOrBuilder
public String getOwner()
optional string owner = 6;
getOwner
in interface HBaseProtos.SnapshotDescriptionOrBuilder
public com.google.protobuf.ByteString getOwnerBytes()
optional string owner = 6;
getOwnerBytes
in interface HBaseProtos.SnapshotDescriptionOrBuilder
public HBaseProtos.SnapshotDescription.Builder setOwner(String value)
optional string owner = 6;
public HBaseProtos.SnapshotDescription.Builder clearOwner()
optional string owner = 6;
public HBaseProtos.SnapshotDescription.Builder setOwnerBytes(com.google.protobuf.ByteString value)
optional string owner = 6;
Copyright © 2007–2019 Cloudera. All rights reserved.