public static final class WALProtos.CompactionDescriptor.Builder extends <any> implements WALProtos.CompactionDescriptorOrBuilder
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.
| Modifier and Type | Method and Description | 
|---|---|
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 | 
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; | 
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public WALProtos.CompactionDescriptor.Builder clear()
public WALProtos.CompactionDescriptor.Builder clone()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public WALProtos.CompactionDescriptor getDefaultInstanceForType()
public WALProtos.CompactionDescriptor build()
public WALProtos.CompactionDescriptor buildPartial()
public WALProtos.CompactionDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public WALProtos.CompactionDescriptor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic boolean hasTableName()
required bytes table_name = 1;
 TODO: WALKey already stores these, might remove
hasTableName in interface WALProtos.CompactionDescriptorOrBuilderpublic com.google.protobuf.ByteString getTableName()
required bytes table_name = 1;
 TODO: WALKey already stores these, might remove
getTableName in interface WALProtos.CompactionDescriptorOrBuilderpublic WALProtos.CompactionDescriptor.Builder setTableName(com.google.protobuf.ByteString value)
required bytes table_name = 1;
 TODO: WALKey already stores these, might remove
public WALProtos.CompactionDescriptor.Builder clearTableName()
required bytes table_name = 1;
 TODO: WALKey already stores these, might remove
public boolean hasEncodedRegionName()
required bytes encoded_region_name = 2;hasEncodedRegionName in interface WALProtos.CompactionDescriptorOrBuilderpublic com.google.protobuf.ByteString getEncodedRegionName()
required bytes encoded_region_name = 2;getEncodedRegionName in interface WALProtos.CompactionDescriptorOrBuilderpublic WALProtos.CompactionDescriptor.Builder setEncodedRegionName(com.google.protobuf.ByteString value)
required bytes encoded_region_name = 2;public WALProtos.CompactionDescriptor.Builder clearEncodedRegionName()
required bytes encoded_region_name = 2;public boolean hasFamilyName()
required bytes family_name = 3;hasFamilyName in interface WALProtos.CompactionDescriptorOrBuilderpublic com.google.protobuf.ByteString getFamilyName()
required bytes family_name = 3;getFamilyName in interface WALProtos.CompactionDescriptorOrBuilderpublic WALProtos.CompactionDescriptor.Builder setFamilyName(com.google.protobuf.ByteString value)
required bytes family_name = 3;public WALProtos.CompactionDescriptor.Builder clearFamilyName()
required bytes family_name = 3;public List<String> getCompactionInputList()
repeated string compaction_input = 4;
 relative to store dir
getCompactionInputList in interface WALProtos.CompactionDescriptorOrBuilderpublic int getCompactionInputCount()
repeated string compaction_input = 4;
 relative to store dir
getCompactionInputCount in interface WALProtos.CompactionDescriptorOrBuilderpublic String getCompactionInput(int index)
repeated string compaction_input = 4;
 relative to store dir
getCompactionInput in interface WALProtos.CompactionDescriptorOrBuilderpublic com.google.protobuf.ByteString getCompactionInputBytes(int index)
repeated string compaction_input = 4;
 relative to store dir
getCompactionInputBytes in interface WALProtos.CompactionDescriptorOrBuilderpublic WALProtos.CompactionDescriptor.Builder setCompactionInput(int index, String value)
repeated string compaction_input = 4;
 relative to store dir
public WALProtos.CompactionDescriptor.Builder addCompactionInput(String value)
repeated string compaction_input = 4;
 relative to store dir
public WALProtos.CompactionDescriptor.Builder addAllCompactionInput(Iterable<String> values)
repeated string compaction_input = 4;
 relative to store dir
public WALProtos.CompactionDescriptor.Builder clearCompactionInput()
repeated string compaction_input = 4;
 relative to store dir
public WALProtos.CompactionDescriptor.Builder addCompactionInputBytes(com.google.protobuf.ByteString value)
repeated string compaction_input = 4;
 relative to store dir
public List<String> getCompactionOutputList()
repeated string compaction_output = 5;getCompactionOutputList in interface WALProtos.CompactionDescriptorOrBuilderpublic int getCompactionOutputCount()
repeated string compaction_output = 5;getCompactionOutputCount in interface WALProtos.CompactionDescriptorOrBuilderpublic String getCompactionOutput(int index)
repeated string compaction_output = 5;getCompactionOutput in interface WALProtos.CompactionDescriptorOrBuilderpublic com.google.protobuf.ByteString getCompactionOutputBytes(int index)
repeated string compaction_output = 5;getCompactionOutputBytes in interface WALProtos.CompactionDescriptorOrBuilderpublic WALProtos.CompactionDescriptor.Builder setCompactionOutput(int index, String value)
repeated string compaction_output = 5;public WALProtos.CompactionDescriptor.Builder addCompactionOutput(String value)
repeated string compaction_output = 5;public WALProtos.CompactionDescriptor.Builder addAllCompactionOutput(Iterable<String> values)
repeated string compaction_output = 5;public WALProtos.CompactionDescriptor.Builder clearCompactionOutput()
repeated string compaction_output = 5;public WALProtos.CompactionDescriptor.Builder addCompactionOutputBytes(com.google.protobuf.ByteString value)
repeated string compaction_output = 5;public boolean hasStoreHomeDir()
required string store_home_dir = 6;
 relative to region dir
hasStoreHomeDir in interface WALProtos.CompactionDescriptorOrBuilderpublic String getStoreHomeDir()
required string store_home_dir = 6;
 relative to region dir
getStoreHomeDir in interface WALProtos.CompactionDescriptorOrBuilderpublic com.google.protobuf.ByteString getStoreHomeDirBytes()
required string store_home_dir = 6;
 relative to region dir
getStoreHomeDirBytes in interface WALProtos.CompactionDescriptorOrBuilderpublic WALProtos.CompactionDescriptor.Builder setStoreHomeDir(String value)
required string store_home_dir = 6;
 relative to region dir
public WALProtos.CompactionDescriptor.Builder clearStoreHomeDir()
required string store_home_dir = 6;
 relative to region dir
public WALProtos.CompactionDescriptor.Builder setStoreHomeDirBytes(com.google.protobuf.ByteString value)
required string store_home_dir = 6;
 relative to region dir
public boolean hasRegionName()
optional bytes region_name = 7;
 full region name
hasRegionName in interface WALProtos.CompactionDescriptorOrBuilderpublic com.google.protobuf.ByteString getRegionName()
optional bytes region_name = 7;
 full region name
getRegionName in interface WALProtos.CompactionDescriptorOrBuilderpublic WALProtos.CompactionDescriptor.Builder setRegionName(com.google.protobuf.ByteString value)
optional bytes region_name = 7;
 full region name
public WALProtos.CompactionDescriptor.Builder clearRegionName()
optional bytes region_name = 7;
 full region name