public static final class WALProtos.CompactionDescriptor.Builder extends com.google.protobuf.GeneratedMessage.Builder<WALProtos.CompactionDescriptor.Builder> 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 |
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; |
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<WALProtos.CompactionDescriptor.Builder>
public WALProtos.CompactionDescriptor.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<WALProtos.CompactionDescriptor.Builder>
public WALProtos.CompactionDescriptor.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<WALProtos.CompactionDescriptor.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<WALProtos.CompactionDescriptor.Builder>
public WALProtos.CompactionDescriptor getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public WALProtos.CompactionDescriptor build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public WALProtos.CompactionDescriptor buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public WALProtos.CompactionDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WALProtos.CompactionDescriptor.Builder>
public WALProtos.CompactionDescriptor.Builder mergeFrom(WALProtos.CompactionDescriptor other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<WALProtos.CompactionDescriptor.Builder>
public WALProtos.CompactionDescriptor.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<WALProtos.CompactionDescriptor.Builder>
IOException
public boolean hasTableName()
required bytes table_name = 1;
TODO: WALKey already stores these, might remove
hasTableName
in interface WALProtos.CompactionDescriptorOrBuilder
public com.google.protobuf.ByteString getTableName()
required bytes table_name = 1;
TODO: WALKey already stores these, might remove
getTableName
in interface WALProtos.CompactionDescriptorOrBuilder
public 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.CompactionDescriptorOrBuilder
public com.google.protobuf.ByteString getEncodedRegionName()
required bytes encoded_region_name = 2;
getEncodedRegionName
in interface WALProtos.CompactionDescriptorOrBuilder
public 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.CompactionDescriptorOrBuilder
public com.google.protobuf.ByteString getFamilyName()
required bytes family_name = 3;
getFamilyName
in interface WALProtos.CompactionDescriptorOrBuilder
public 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.CompactionDescriptorOrBuilder
public int getCompactionInputCount()
repeated string compaction_input = 4;
relative to store dir
getCompactionInputCount
in interface WALProtos.CompactionDescriptorOrBuilder
public String getCompactionInput(int index)
repeated string compaction_input = 4;
relative to store dir
getCompactionInput
in interface WALProtos.CompactionDescriptorOrBuilder
public com.google.protobuf.ByteString getCompactionInputBytes(int index)
repeated string compaction_input = 4;
relative to store dir
getCompactionInputBytes
in interface WALProtos.CompactionDescriptorOrBuilder
public 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.CompactionDescriptorOrBuilder
public int getCompactionOutputCount()
repeated string compaction_output = 5;
getCompactionOutputCount
in interface WALProtos.CompactionDescriptorOrBuilder
public String getCompactionOutput(int index)
repeated string compaction_output = 5;
getCompactionOutput
in interface WALProtos.CompactionDescriptorOrBuilder
public com.google.protobuf.ByteString getCompactionOutputBytes(int index)
repeated string compaction_output = 5;
getCompactionOutputBytes
in interface WALProtos.CompactionDescriptorOrBuilder
public 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.CompactionDescriptorOrBuilder
public String getStoreHomeDir()
required string store_home_dir = 6;
relative to region dir
getStoreHomeDir
in interface WALProtos.CompactionDescriptorOrBuilder
public com.google.protobuf.ByteString getStoreHomeDirBytes()
required string store_home_dir = 6;
relative to region dir
getStoreHomeDirBytes
in interface WALProtos.CompactionDescriptorOrBuilder
public 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.CompactionDescriptorOrBuilder
public com.google.protobuf.ByteString getRegionName()
optional bytes region_name = 7;
full region name
getRegionName
in interface WALProtos.CompactionDescriptorOrBuilder
public 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
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.