org.hbase.async.generated
Class HBasePB.SnapshotDescription.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.GeneratedMessageLite.Builder<HBasePB.SnapshotDescription,HBasePB.SnapshotDescription.Builder>
          extended by org.hbase.async.generated.HBasePB.SnapshotDescription.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, HBasePB.SnapshotDescriptionOrBuilder
Enclosing class:
HBasePB.SnapshotDescription

public static final class HBasePB.SnapshotDescription.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<HBasePB.SnapshotDescription,HBasePB.SnapshotDescription.Builder>
implements HBasePB.SnapshotDescriptionOrBuilder

Protobuf type SnapshotDescription


 Description of the snapshot to take
 


Method Summary
 HBasePB.SnapshotDescription build()
           
 HBasePB.SnapshotDescription buildPartial()
           
 HBasePB.SnapshotDescription.Builder clear()
           
 HBasePB.SnapshotDescription.Builder clearCreationTime()
          optional int64 creation_time = 3 [default = 0];
 HBasePB.SnapshotDescription.Builder clearName()
          required string name = 1;
 HBasePB.SnapshotDescription.Builder clearTable()
          optional string table = 2;
 HBasePB.SnapshotDescription.Builder clearType()
          optional .SnapshotDescription.Type type = 4 [default = FLUSH];
 HBasePB.SnapshotDescription.Builder clearVersion()
          optional int32 version = 5;
 HBasePB.SnapshotDescription.Builder clone()
           
 long getCreationTime()
          optional int64 creation_time = 3 [default = 0];
 HBasePB.SnapshotDescription getDefaultInstanceForType()
           
 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;
 HBasePB.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;
 boolean isInitialized()
           
 HBasePB.SnapshotDescription.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 HBasePB.SnapshotDescription.Builder mergeFrom(HBasePB.SnapshotDescription other)
           
 HBasePB.SnapshotDescription.Builder setCreationTime(long value)
          optional int64 creation_time = 3 [default = 0];
 HBasePB.SnapshotDescription.Builder setName(String value)
          required string name = 1;
 HBasePB.SnapshotDescription.Builder setNameBytes(com.google.protobuf.ByteString value)
          required string name = 1;
 HBasePB.SnapshotDescription.Builder setTable(String value)
          optional string table = 2;
 HBasePB.SnapshotDescription.Builder setTableBytes(com.google.protobuf.ByteString value)
          optional string table = 2;
 HBasePB.SnapshotDescription.Builder setType(HBasePB.SnapshotDescription.Type value)
          optional .SnapshotDescription.Type type = 4 [default = FLUSH];
 HBasePB.SnapshotDescription.Builder setVersion(int value)
          optional int32 version = 5;
 
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
parseUnknownField
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public HBasePB.SnapshotDescription.Builder clear()
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessageLite.Builder<HBasePB.SnapshotDescription,HBasePB.SnapshotDescription.Builder>

clone

public HBasePB.SnapshotDescription.Builder clone()
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessageLite.Builder<HBasePB.SnapshotDescription,HBasePB.SnapshotDescription.Builder>

getDefaultInstanceForType

public HBasePB.SnapshotDescription getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
getDefaultInstanceForType in class com.google.protobuf.GeneratedMessageLite.Builder<HBasePB.SnapshotDescription,HBasePB.SnapshotDescription.Builder>

build

public HBasePB.SnapshotDescription build()
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public HBasePB.SnapshotDescription buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public HBasePB.SnapshotDescription.Builder mergeFrom(HBasePB.SnapshotDescription other)
Specified by:
mergeFrom in class com.google.protobuf.GeneratedMessageLite.Builder<HBasePB.SnapshotDescription,HBasePB.SnapshotDescription.Builder>

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder

mergeFrom

public HBasePB.SnapshotDescription.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessageLite.Builder<HBasePB.SnapshotDescription.Builder>
Throws:
IOException

hasName

public boolean hasName()
required string name = 1;

Specified by:
hasName in interface HBasePB.SnapshotDescriptionOrBuilder

getName

public String getName()
required string name = 1;

Specified by:
getName in interface HBasePB.SnapshotDescriptionOrBuilder

getNameBytes

public com.google.protobuf.ByteString getNameBytes()
required string name = 1;

Specified by:
getNameBytes in interface HBasePB.SnapshotDescriptionOrBuilder

setName

public HBasePB.SnapshotDescription.Builder setName(String value)
required string name = 1;


clearName

public HBasePB.SnapshotDescription.Builder clearName()
required string name = 1;


setNameBytes

public HBasePB.SnapshotDescription.Builder setNameBytes(com.google.protobuf.ByteString value)
required string name = 1;


hasTable

public boolean hasTable()
optional string table = 2;
 not needed for delete, but checked for in taking snapshot
 

Specified by:
hasTable in interface HBasePB.SnapshotDescriptionOrBuilder

getTable

public String getTable()
optional string table = 2;
 not needed for delete, but checked for in taking snapshot
 

Specified by:
getTable in interface HBasePB.SnapshotDescriptionOrBuilder

getTableBytes

public com.google.protobuf.ByteString getTableBytes()
optional string table = 2;
 not needed for delete, but checked for in taking snapshot
 

Specified by:
getTableBytes in interface HBasePB.SnapshotDescriptionOrBuilder

setTable

public HBasePB.SnapshotDescription.Builder setTable(String value)
optional string table = 2;
 not needed for delete, but checked for in taking snapshot
 


clearTable

public HBasePB.SnapshotDescription.Builder clearTable()
optional string table = 2;
 not needed for delete, but checked for in taking snapshot
 


setTableBytes

public HBasePB.SnapshotDescription.Builder setTableBytes(com.google.protobuf.ByteString value)
optional string table = 2;
 not needed for delete, but checked for in taking snapshot
 


hasCreationTime

public boolean hasCreationTime()
optional int64 creation_time = 3 [default = 0];

Specified by:
hasCreationTime in interface HBasePB.SnapshotDescriptionOrBuilder

getCreationTime

public long getCreationTime()
optional int64 creation_time = 3 [default = 0];

Specified by:
getCreationTime in interface HBasePB.SnapshotDescriptionOrBuilder

setCreationTime

public HBasePB.SnapshotDescription.Builder setCreationTime(long value)
optional int64 creation_time = 3 [default = 0];


clearCreationTime

public HBasePB.SnapshotDescription.Builder clearCreationTime()
optional int64 creation_time = 3 [default = 0];


hasType

public boolean hasType()
optional .SnapshotDescription.Type type = 4 [default = FLUSH];

Specified by:
hasType in interface HBasePB.SnapshotDescriptionOrBuilder

getType

public HBasePB.SnapshotDescription.Type getType()
optional .SnapshotDescription.Type type = 4 [default = FLUSH];

Specified by:
getType in interface HBasePB.SnapshotDescriptionOrBuilder

setType

public HBasePB.SnapshotDescription.Builder setType(HBasePB.SnapshotDescription.Type value)
optional .SnapshotDescription.Type type = 4 [default = FLUSH];


clearType

public HBasePB.SnapshotDescription.Builder clearType()
optional .SnapshotDescription.Type type = 4 [default = FLUSH];


hasVersion

public boolean hasVersion()
optional int32 version = 5;

Specified by:
hasVersion in interface HBasePB.SnapshotDescriptionOrBuilder

getVersion

public int getVersion()
optional int32 version = 5;

Specified by:
getVersion in interface HBasePB.SnapshotDescriptionOrBuilder

setVersion

public HBasePB.SnapshotDescription.Builder setVersion(int value)
optional int32 version = 5;


clearVersion

public HBasePB.SnapshotDescription.Builder clearVersion()
optional int32 version = 5;



Copyright © 2010-2015, The Async HBase Authors