org.apache.hadoop.hbase.protobuf.generated
Class WALProtos.CompactionDescriptor.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<WALProtos.CompactionDescriptor.Builder>
              extended by org.apache.hadoop.hbase.protobuf.generated.WALProtos.CompactionDescriptor.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, WALProtos.CompactionDescriptorOrBuilder
Enclosing class:
WALProtos.CompactionDescriptor

public static final class WALProtos.CompactionDescriptor.Builder
extends com.google.protobuf.GeneratedMessage.Builder<WALProtos.CompactionDescriptor.Builder>
implements WALProtos.CompactionDescriptorOrBuilder

Protobuf type CompactionDescriptor


 Special WAL entry to hold all related to a compaction.
 Written to WAL before completing compaction.  There is
 sufficient info in the below message to complete later
 the * compaction should we fail the WAL write.
 


Method Summary
 WALProtos.CompactionDescriptor.Builder addAllCompactionInput(Iterable<String> values)
          repeated string compaction_input = 4;
 WALProtos.CompactionDescriptor.Builder addAllCompactionOutput(Iterable<String> values)
          repeated string compaction_output = 5;
 WALProtos.CompactionDescriptor.Builder addCompactionInput(String value)
          repeated string compaction_input = 4;
 WALProtos.CompactionDescriptor.Builder addCompactionInputBytes(com.google.protobuf.ByteString value)
          repeated string compaction_input = 4;
 WALProtos.CompactionDescriptor.Builder addCompactionOutput(String value)
          repeated string compaction_output = 5;
 WALProtos.CompactionDescriptor.Builder addCompactionOutputBytes(com.google.protobuf.ByteString value)
          repeated string compaction_output = 5;
 WALProtos.CompactionDescriptor build()
           
 WALProtos.CompactionDescriptor buildPartial()
           
 WALProtos.CompactionDescriptor.Builder clear()
           
 WALProtos.CompactionDescriptor.Builder clearCompactionInput()
          repeated string compaction_input = 4;
 WALProtos.CompactionDescriptor.Builder clearCompactionOutput()
          repeated string compaction_output = 5;
 WALProtos.CompactionDescriptor.Builder clearEncodedRegionName()
          required bytes encoded_region_name = 2;
 WALProtos.CompactionDescriptor.Builder clearFamilyName()
          required bytes family_name = 3;
 WALProtos.CompactionDescriptor.Builder clearRegionName()
          optional bytes region_name = 7;
 WALProtos.CompactionDescriptor.Builder clearStoreHomeDir()
          required string store_home_dir = 6;
 WALProtos.CompactionDescriptor.Builder clearTableName()
          required bytes table_name = 1;
 WALProtos.CompactionDescriptor.Builder clone()
           
 String getCompactionInput(int index)
          repeated string compaction_input = 4;
 com.google.protobuf.ByteString getCompactionInputBytes(int index)
          repeated string compaction_input = 4;
 int getCompactionInputCount()
          repeated string compaction_input = 4;
 List<String> getCompactionInputList()
          repeated string compaction_input = 4;
 String getCompactionOutput(int index)
          repeated string compaction_output = 5;
 com.google.protobuf.ByteString getCompactionOutputBytes(int index)
          repeated string compaction_output = 5;
 int getCompactionOutputCount()
          repeated string compaction_output = 5;
 List<String> getCompactionOutputList()
          repeated string compaction_output = 5;
 WALProtos.CompactionDescriptor getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 com.google.protobuf.ByteString getEncodedRegionName()
          required bytes encoded_region_name = 2;
 com.google.protobuf.ByteString getFamilyName()
          required bytes family_name = 3;
 com.google.protobuf.ByteString getRegionName()
          optional bytes region_name = 7;
 String getStoreHomeDir()
          required string store_home_dir = 6;
 com.google.protobuf.ByteString getStoreHomeDirBytes()
          required string store_home_dir = 6;
 com.google.protobuf.ByteString getTableName()
          required bytes table_name = 1;
 boolean hasEncodedRegionName()
          required bytes encoded_region_name = 2;
 boolean hasFamilyName()
          required bytes family_name = 3;
 boolean hasRegionName()
          optional bytes region_name = 7;
 boolean hasStoreHomeDir()
          required string store_home_dir = 6;
 boolean hasTableName()
          required bytes table_name = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 WALProtos.CompactionDescriptor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 WALProtos.CompactionDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
           
 WALProtos.CompactionDescriptor.Builder mergeFrom(WALProtos.CompactionDescriptor other)
           
 WALProtos.CompactionDescriptor.Builder setCompactionInput(int index, String value)
          repeated string compaction_input = 4;
 WALProtos.CompactionDescriptor.Builder setCompactionOutput(int index, String value)
          repeated string compaction_output = 5;
 WALProtos.CompactionDescriptor.Builder setEncodedRegionName(com.google.protobuf.ByteString value)
          required bytes encoded_region_name = 2;
 WALProtos.CompactionDescriptor.Builder setFamilyName(com.google.protobuf.ByteString value)
          required bytes family_name = 3;
 WALProtos.CompactionDescriptor.Builder setRegionName(com.google.protobuf.ByteString value)
          optional bytes region_name = 7;
 WALProtos.CompactionDescriptor.Builder setStoreHomeDir(String value)
          required string store_home_dir = 6;
 WALProtos.CompactionDescriptor.Builder setStoreHomeDirBytes(com.google.protobuf.ByteString value)
          required string store_home_dir = 6;
 WALProtos.CompactionDescriptor.Builder setTableName(com.google.protobuf.ByteString value)
          required bytes table_name = 1;
 
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<WALProtos.CompactionDescriptor.Builder>

clear

public WALProtos.CompactionDescriptor.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<WALProtos.CompactionDescriptor.Builder>

clone

public WALProtos.CompactionDescriptor.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<WALProtos.CompactionDescriptor.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<WALProtos.CompactionDescriptor.Builder>

getDefaultInstanceForType

public WALProtos.CompactionDescriptor getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public WALProtos.CompactionDescriptor.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<WALProtos.CompactionDescriptor.Builder>

mergeFrom

public WALProtos.CompactionDescriptor.Builder mergeFrom(WALProtos.CompactionDescriptor other)

isInitialized

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

mergeFrom

public WALProtos.CompactionDescriptor.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<WALProtos.CompactionDescriptor.Builder>
Throws:
IOException

hasTableName

public boolean hasTableName()
required bytes table_name = 1;
 TODO: WALKey already stores these, might remove
 

Specified by:
hasTableName in interface WALProtos.CompactionDescriptorOrBuilder

getTableName

public com.google.protobuf.ByteString getTableName()
required bytes table_name = 1;
 TODO: WALKey already stores these, might remove
 

Specified by:
getTableName in interface WALProtos.CompactionDescriptorOrBuilder

setTableName

public WALProtos.CompactionDescriptor.Builder setTableName(com.google.protobuf.ByteString value)
required bytes table_name = 1;
 TODO: WALKey already stores these, might remove
 


clearTableName

public WALProtos.CompactionDescriptor.Builder clearTableName()
required bytes table_name = 1;
 TODO: WALKey already stores these, might remove
 


hasEncodedRegionName

public boolean hasEncodedRegionName()
required bytes encoded_region_name = 2;

Specified by:
hasEncodedRegionName in interface WALProtos.CompactionDescriptorOrBuilder

getEncodedRegionName

public com.google.protobuf.ByteString getEncodedRegionName()
required bytes encoded_region_name = 2;

Specified by:
getEncodedRegionName in interface WALProtos.CompactionDescriptorOrBuilder

setEncodedRegionName

public WALProtos.CompactionDescriptor.Builder setEncodedRegionName(com.google.protobuf.ByteString value)
required bytes encoded_region_name = 2;


clearEncodedRegionName

public WALProtos.CompactionDescriptor.Builder clearEncodedRegionName()
required bytes encoded_region_name = 2;


hasFamilyName

public boolean hasFamilyName()
required bytes family_name = 3;

Specified by:
hasFamilyName in interface WALProtos.CompactionDescriptorOrBuilder

getFamilyName

public com.google.protobuf.ByteString getFamilyName()
required bytes family_name = 3;

Specified by:
getFamilyName in interface WALProtos.CompactionDescriptorOrBuilder

setFamilyName

public WALProtos.CompactionDescriptor.Builder setFamilyName(com.google.protobuf.ByteString value)
required bytes family_name = 3;


clearFamilyName

public WALProtos.CompactionDescriptor.Builder clearFamilyName()
required bytes family_name = 3;


getCompactionInputList

public List<String> getCompactionInputList()
repeated string compaction_input = 4;

Specified by:
getCompactionInputList in interface WALProtos.CompactionDescriptorOrBuilder

getCompactionInputCount

public int getCompactionInputCount()
repeated string compaction_input = 4;

Specified by:
getCompactionInputCount in interface WALProtos.CompactionDescriptorOrBuilder

getCompactionInput

public String getCompactionInput(int index)
repeated string compaction_input = 4;

Specified by:
getCompactionInput in interface WALProtos.CompactionDescriptorOrBuilder

getCompactionInputBytes

public com.google.protobuf.ByteString getCompactionInputBytes(int index)
repeated string compaction_input = 4;

Specified by:
getCompactionInputBytes in interface WALProtos.CompactionDescriptorOrBuilder

setCompactionInput

public WALProtos.CompactionDescriptor.Builder setCompactionInput(int index,
                                                                 String value)
repeated string compaction_input = 4;


addCompactionInput

public WALProtos.CompactionDescriptor.Builder addCompactionInput(String value)
repeated string compaction_input = 4;


addAllCompactionInput

public WALProtos.CompactionDescriptor.Builder addAllCompactionInput(Iterable<String> values)
repeated string compaction_input = 4;


clearCompactionInput

public WALProtos.CompactionDescriptor.Builder clearCompactionInput()
repeated string compaction_input = 4;


addCompactionInputBytes

public WALProtos.CompactionDescriptor.Builder addCompactionInputBytes(com.google.protobuf.ByteString value)
repeated string compaction_input = 4;


getCompactionOutputList

public List<String> getCompactionOutputList()
repeated string compaction_output = 5;

Specified by:
getCompactionOutputList in interface WALProtos.CompactionDescriptorOrBuilder

getCompactionOutputCount

public int getCompactionOutputCount()
repeated string compaction_output = 5;

Specified by:
getCompactionOutputCount in interface WALProtos.CompactionDescriptorOrBuilder

getCompactionOutput

public String getCompactionOutput(int index)
repeated string compaction_output = 5;

Specified by:
getCompactionOutput in interface WALProtos.CompactionDescriptorOrBuilder

getCompactionOutputBytes

public com.google.protobuf.ByteString getCompactionOutputBytes(int index)
repeated string compaction_output = 5;

Specified by:
getCompactionOutputBytes in interface WALProtos.CompactionDescriptorOrBuilder

setCompactionOutput

public WALProtos.CompactionDescriptor.Builder setCompactionOutput(int index,
                                                                  String value)
repeated string compaction_output = 5;


addCompactionOutput

public WALProtos.CompactionDescriptor.Builder addCompactionOutput(String value)
repeated string compaction_output = 5;


addAllCompactionOutput

public WALProtos.CompactionDescriptor.Builder addAllCompactionOutput(Iterable<String> values)
repeated string compaction_output = 5;


clearCompactionOutput

public WALProtos.CompactionDescriptor.Builder clearCompactionOutput()
repeated string compaction_output = 5;


addCompactionOutputBytes

public WALProtos.CompactionDescriptor.Builder addCompactionOutputBytes(com.google.protobuf.ByteString value)
repeated string compaction_output = 5;


hasStoreHomeDir

public boolean hasStoreHomeDir()
required string store_home_dir = 6;

Specified by:
hasStoreHomeDir in interface WALProtos.CompactionDescriptorOrBuilder

getStoreHomeDir

public String getStoreHomeDir()
required string store_home_dir = 6;

Specified by:
getStoreHomeDir in interface WALProtos.CompactionDescriptorOrBuilder

getStoreHomeDirBytes

public com.google.protobuf.ByteString getStoreHomeDirBytes()
required string store_home_dir = 6;

Specified by:
getStoreHomeDirBytes in interface WALProtos.CompactionDescriptorOrBuilder

setStoreHomeDir

public WALProtos.CompactionDescriptor.Builder setStoreHomeDir(String value)
required string store_home_dir = 6;


clearStoreHomeDir

public WALProtos.CompactionDescriptor.Builder clearStoreHomeDir()
required string store_home_dir = 6;


setStoreHomeDirBytes

public WALProtos.CompactionDescriptor.Builder setStoreHomeDirBytes(com.google.protobuf.ByteString value)
required string store_home_dir = 6;


hasRegionName

public boolean hasRegionName()
optional bytes region_name = 7;
 full region name
 

Specified by:
hasRegionName in interface WALProtos.CompactionDescriptorOrBuilder

getRegionName

public com.google.protobuf.ByteString getRegionName()
optional bytes region_name = 7;
 full region name
 

Specified by:
getRegionName in interface WALProtos.CompactionDescriptorOrBuilder

setRegionName

public WALProtos.CompactionDescriptor.Builder setRegionName(com.google.protobuf.ByteString value)
optional bytes region_name = 7;
 full region name
 


clearRegionName

public WALProtos.CompactionDescriptor.Builder clearRegionName()
optional bytes region_name = 7;
 full region name
 



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