org.apache.hadoop.hbase.protobuf.generated
Class HBaseProtos.SnapshotDescription.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.SnapshotDescription.Builder>
              extended by org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, HBaseProtos.SnapshotDescriptionOrBuilder
Enclosing class:
HBaseProtos.SnapshotDescription

public static final class HBaseProtos.SnapshotDescription.Builder
extends com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.SnapshotDescription.Builder>
implements HBaseProtos.SnapshotDescriptionOrBuilder

Protobuf type SnapshotDescription


 Description of the snapshot to take
 


Method Summary
 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;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.SnapshotDescription.Builder>

clear

public HBaseProtos.SnapshotDescription.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.SnapshotDescription.Builder>

clone

public HBaseProtos.SnapshotDescription.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.SnapshotDescription.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.SnapshotDescription.Builder>

getDefaultInstanceForType

public HBaseProtos.SnapshotDescription getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public HBaseProtos.SnapshotDescription.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HBaseProtos.SnapshotDescription.Builder>

mergeFrom

public HBaseProtos.SnapshotDescription.Builder mergeFrom(HBaseProtos.SnapshotDescription other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<HBaseProtos.SnapshotDescription.Builder>

mergeFrom

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

hasName

public boolean hasName()
required string name = 1;

Specified by:
hasName in interface HBaseProtos.SnapshotDescriptionOrBuilder

getName

public String getName()
required string name = 1;

Specified by:
getName in interface HBaseProtos.SnapshotDescriptionOrBuilder

getNameBytes

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

Specified by:
getNameBytes in interface HBaseProtos.SnapshotDescriptionOrBuilder

setName

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


clearName

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


setNameBytes

public HBaseProtos.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 HBaseProtos.SnapshotDescriptionOrBuilder

getTable

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

Specified by:
getTable in interface HBaseProtos.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 HBaseProtos.SnapshotDescriptionOrBuilder

setTable

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


clearTable

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


setTableBytes

public HBaseProtos.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 HBaseProtos.SnapshotDescriptionOrBuilder

getCreationTime

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

Specified by:
getCreationTime in interface HBaseProtos.SnapshotDescriptionOrBuilder

setCreationTime

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


clearCreationTime

public HBaseProtos.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 HBaseProtos.SnapshotDescriptionOrBuilder

getType

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

Specified by:
getType in interface HBaseProtos.SnapshotDescriptionOrBuilder

setType

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


clearType

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


hasVersion

public boolean hasVersion()
optional int32 version = 5;

Specified by:
hasVersion in interface HBaseProtos.SnapshotDescriptionOrBuilder

getVersion

public int getVersion()
optional int32 version = 5;

Specified by:
getVersion in interface HBaseProtos.SnapshotDescriptionOrBuilder

setVersion

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


clearVersion

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



Copyright © 2015 The Apache Software Foundation. All Rights Reserved.