alluxio.proto.journal.Journal Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: journal.proto
package alluxio.proto.journal;
public final class Journal {
private Journal() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface JournalEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.proto.journal.JournalEntry)
com.google.protobuf.MessageOrBuilder {
/**
* optional int64 sequence_number = 1;
*/
boolean hasSequenceNumber();
/**
* optional int64 sequence_number = 1;
*/
long getSequenceNumber();
/**
* optional .alluxio.proto.journal.AddMountPointEntry add_mount_point = 2;
*/
boolean hasAddMountPoint();
/**
* optional .alluxio.proto.journal.AddMountPointEntry add_mount_point = 2;
*/
alluxio.proto.journal.File.AddMountPointEntry getAddMountPoint();
/**
* optional .alluxio.proto.journal.AddMountPointEntry add_mount_point = 2;
*/
alluxio.proto.journal.File.AddMountPointEntryOrBuilder getAddMountPointOrBuilder();
/**
* optional .alluxio.proto.journal.BlockContainerIdGeneratorEntry block_container_id_generator = 3;
*/
boolean hasBlockContainerIdGenerator();
/**
* optional .alluxio.proto.journal.BlockContainerIdGeneratorEntry block_container_id_generator = 3;
*/
alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry getBlockContainerIdGenerator();
/**
* optional .alluxio.proto.journal.BlockContainerIdGeneratorEntry block_container_id_generator = 3;
*/
alluxio.proto.journal.Block.BlockContainerIdGeneratorEntryOrBuilder getBlockContainerIdGeneratorOrBuilder();
/**
* optional .alluxio.proto.journal.BlockInfoEntry block_info = 4;
*/
boolean hasBlockInfo();
/**
* optional .alluxio.proto.journal.BlockInfoEntry block_info = 4;
*/
alluxio.proto.journal.Block.BlockInfoEntry getBlockInfo();
/**
* optional .alluxio.proto.journal.BlockInfoEntry block_info = 4;
*/
alluxio.proto.journal.Block.BlockInfoEntryOrBuilder getBlockInfoOrBuilder();
/**
* optional .alluxio.proto.journal.CompleteFileEntry complete_file = 5;
*/
boolean hasCompleteFile();
/**
* optional .alluxio.proto.journal.CompleteFileEntry complete_file = 5;
*/
alluxio.proto.journal.File.CompleteFileEntry getCompleteFile();
/**
* optional .alluxio.proto.journal.CompleteFileEntry complete_file = 5;
*/
alluxio.proto.journal.File.CompleteFileEntryOrBuilder getCompleteFileOrBuilder();
/**
* optional .alluxio.proto.journal.CompletePartitionEntry complete_partition = 21;
*/
boolean hasCompletePartition();
/**
* optional .alluxio.proto.journal.CompletePartitionEntry complete_partition = 21;
*/
alluxio.proto.journal.KeyValue.CompletePartitionEntry getCompletePartition();
/**
* optional .alluxio.proto.journal.CompletePartitionEntry complete_partition = 21;
*/
alluxio.proto.journal.KeyValue.CompletePartitionEntryOrBuilder getCompletePartitionOrBuilder();
/**
* optional .alluxio.proto.journal.CompleteStoreEntry complete_store = 22;
*/
boolean hasCompleteStore();
/**
* optional .alluxio.proto.journal.CompleteStoreEntry complete_store = 22;
*/
alluxio.proto.journal.KeyValue.CompleteStoreEntry getCompleteStore();
/**
* optional .alluxio.proto.journal.CompleteStoreEntry complete_store = 22;
*/
alluxio.proto.journal.KeyValue.CompleteStoreEntryOrBuilder getCompleteStoreOrBuilder();
/**
* optional .alluxio.proto.journal.CreateStoreEntry create_store = 23;
*/
boolean hasCreateStore();
/**
* optional .alluxio.proto.journal.CreateStoreEntry create_store = 23;
*/
alluxio.proto.journal.KeyValue.CreateStoreEntry getCreateStore();
/**
* optional .alluxio.proto.journal.CreateStoreEntry create_store = 23;
*/
alluxio.proto.journal.KeyValue.CreateStoreEntryOrBuilder getCreateStoreOrBuilder();
/**
* optional .alluxio.proto.journal.DeleteFileEntry delete_file = 6;
*/
boolean hasDeleteFile();
/**
* optional .alluxio.proto.journal.DeleteFileEntry delete_file = 6;
*/
alluxio.proto.journal.File.DeleteFileEntry getDeleteFile();
/**
* optional .alluxio.proto.journal.DeleteFileEntry delete_file = 6;
*/
alluxio.proto.journal.File.DeleteFileEntryOrBuilder getDeleteFileOrBuilder();
/**
* optional .alluxio.proto.journal.DeleteLineageEntry delete_lineage = 7;
*/
boolean hasDeleteLineage();
/**
* optional .alluxio.proto.journal.DeleteLineageEntry delete_lineage = 7;
*/
alluxio.proto.journal.Lineage.DeleteLineageEntry getDeleteLineage();
/**
* optional .alluxio.proto.journal.DeleteLineageEntry delete_lineage = 7;
*/
alluxio.proto.journal.Lineage.DeleteLineageEntryOrBuilder getDeleteLineageOrBuilder();
/**
* optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;
*/
boolean hasDeleteMountPoint();
/**
* optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;
*/
alluxio.proto.journal.File.DeleteMountPointEntry getDeleteMountPoint();
/**
* optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;
*/
alluxio.proto.journal.File.DeleteMountPointEntryOrBuilder getDeleteMountPointOrBuilder();
/**
* optional .alluxio.proto.journal.DeleteStoreEntry delete_store = 25;
*/
boolean hasDeleteStore();
/**
* optional .alluxio.proto.journal.DeleteStoreEntry delete_store = 25;
*/
alluxio.proto.journal.KeyValue.DeleteStoreEntry getDeleteStore();
/**
* optional .alluxio.proto.journal.DeleteStoreEntry delete_store = 25;
*/
alluxio.proto.journal.KeyValue.DeleteStoreEntryOrBuilder getDeleteStoreOrBuilder();
/**
* optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;
*/
boolean hasInodeDirectory();
/**
* optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;
*/
alluxio.proto.journal.File.InodeDirectoryEntry getInodeDirectory();
/**
* optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;
*/
alluxio.proto.journal.File.InodeDirectoryEntryOrBuilder getInodeDirectoryOrBuilder();
/**
* optional .alluxio.proto.journal.InodeDirectoryIdGeneratorEntry inode_directory_id_generator = 10;
*/
boolean hasInodeDirectoryIdGenerator();
/**
* optional .alluxio.proto.journal.InodeDirectoryIdGeneratorEntry inode_directory_id_generator = 10;
*/
alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry getInodeDirectoryIdGenerator();
/**
* optional .alluxio.proto.journal.InodeDirectoryIdGeneratorEntry inode_directory_id_generator = 10;
*/
alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntryOrBuilder getInodeDirectoryIdGeneratorOrBuilder();
/**
* optional .alluxio.proto.journal.InodeFileEntry inode_file = 11;
*/
boolean hasInodeFile();
/**
* optional .alluxio.proto.journal.InodeFileEntry inode_file = 11;
*/
alluxio.proto.journal.File.InodeFileEntry getInodeFile();
/**
* optional .alluxio.proto.journal.InodeFileEntry inode_file = 11;
*/
alluxio.proto.journal.File.InodeFileEntryOrBuilder getInodeFileOrBuilder();
/**
* optional .alluxio.proto.journal.InodeLastModificationTimeEntry inode_last_modification_time = 12;
*/
boolean hasInodeLastModificationTime();
/**
* optional .alluxio.proto.journal.InodeLastModificationTimeEntry inode_last_modification_time = 12;
*/
alluxio.proto.journal.File.InodeLastModificationTimeEntry getInodeLastModificationTime();
/**
* optional .alluxio.proto.journal.InodeLastModificationTimeEntry inode_last_modification_time = 12;
*/
alluxio.proto.journal.File.InodeLastModificationTimeEntryOrBuilder getInodeLastModificationTimeOrBuilder();
/**
* optional .alluxio.proto.journal.LineageEntry lineage = 13;
*/
boolean hasLineage();
/**
* optional .alluxio.proto.journal.LineageEntry lineage = 13;
*/
alluxio.proto.journal.Lineage.LineageEntry getLineage();
/**
* optional .alluxio.proto.journal.LineageEntry lineage = 13;
*/
alluxio.proto.journal.Lineage.LineageEntryOrBuilder getLineageOrBuilder();
/**
* optional .alluxio.proto.journal.LineageIdGeneratorEntry lineage_id_generator = 14;
*/
boolean hasLineageIdGenerator();
/**
* optional .alluxio.proto.journal.LineageIdGeneratorEntry lineage_id_generator = 14;
*/
alluxio.proto.journal.Lineage.LineageIdGeneratorEntry getLineageIdGenerator();
/**
* optional .alluxio.proto.journal.LineageIdGeneratorEntry lineage_id_generator = 14;
*/
alluxio.proto.journal.Lineage.LineageIdGeneratorEntryOrBuilder getLineageIdGeneratorOrBuilder();
/**
* optional .alluxio.proto.journal.MergeStoreEntry merge_store = 26;
*/
boolean hasMergeStore();
/**
* optional .alluxio.proto.journal.MergeStoreEntry merge_store = 26;
*/
alluxio.proto.journal.KeyValue.MergeStoreEntry getMergeStore();
/**
* optional .alluxio.proto.journal.MergeStoreEntry merge_store = 26;
*/
alluxio.proto.journal.KeyValue.MergeStoreEntryOrBuilder getMergeStoreOrBuilder();
/**
* optional .alluxio.proto.journal.PersistDirectoryEntry persist_directory = 15;
*/
boolean hasPersistDirectory();
/**
* optional .alluxio.proto.journal.PersistDirectoryEntry persist_directory = 15;
*/
alluxio.proto.journal.File.PersistDirectoryEntry getPersistDirectory();
/**
* optional .alluxio.proto.journal.PersistDirectoryEntry persist_directory = 15;
*/
alluxio.proto.journal.File.PersistDirectoryEntryOrBuilder getPersistDirectoryOrBuilder();
/**
* optional .alluxio.proto.journal.AsyncPersistRequestEntry async_persist_request = 16;
*/
boolean hasAsyncPersistRequest();
/**
* optional .alluxio.proto.journal.AsyncPersistRequestEntry async_persist_request = 16;
*/
alluxio.proto.journal.File.AsyncPersistRequestEntry getAsyncPersistRequest();
/**
* optional .alluxio.proto.journal.AsyncPersistRequestEntry async_persist_request = 16;
*/
alluxio.proto.journal.File.AsyncPersistRequestEntryOrBuilder getAsyncPersistRequestOrBuilder();
/**
* optional .alluxio.proto.journal.ReinitializeFileEntry reinitialize_file = 18;
*/
boolean hasReinitializeFile();
/**
* optional .alluxio.proto.journal.ReinitializeFileEntry reinitialize_file = 18;
*/
alluxio.proto.journal.File.ReinitializeFileEntry getReinitializeFile();
/**
* optional .alluxio.proto.journal.ReinitializeFileEntry reinitialize_file = 18;
*/
alluxio.proto.journal.File.ReinitializeFileEntryOrBuilder getReinitializeFileOrBuilder();
/**
* optional .alluxio.proto.journal.RenameEntry rename = 19;
*/
boolean hasRename();
/**
* optional .alluxio.proto.journal.RenameEntry rename = 19;
*/
alluxio.proto.journal.File.RenameEntry getRename();
/**
* optional .alluxio.proto.journal.RenameEntry rename = 19;
*/
alluxio.proto.journal.File.RenameEntryOrBuilder getRenameOrBuilder();
/**
* optional .alluxio.proto.journal.RenameStoreEntry rename_store = 28;
*/
boolean hasRenameStore();
/**
* optional .alluxio.proto.journal.RenameStoreEntry rename_store = 28;
*/
alluxio.proto.journal.KeyValue.RenameStoreEntry getRenameStore();
/**
* optional .alluxio.proto.journal.RenameStoreEntry rename_store = 28;
*/
alluxio.proto.journal.KeyValue.RenameStoreEntryOrBuilder getRenameStoreOrBuilder();
/**
* optional .alluxio.proto.journal.SetAttributeEntry set_attribute = 27;
*/
boolean hasSetAttribute();
/**
* optional .alluxio.proto.journal.SetAttributeEntry set_attribute = 27;
*/
alluxio.proto.journal.File.SetAttributeEntry getSetAttribute();
/**
* optional .alluxio.proto.journal.SetAttributeEntry set_attribute = 27;
*/
alluxio.proto.journal.File.SetAttributeEntryOrBuilder getSetAttributeOrBuilder();
}
/**
* Protobuf type {@code alluxio.proto.journal.JournalEntry}
*
*
* Wraps around all types of Alluxio journal messages.
* next available id: 29
*
*/
public static final class JournalEntry extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:alluxio.proto.journal.JournalEntry)
JournalEntryOrBuilder {
// Use JournalEntry.newBuilder() to construct.
private JournalEntry(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private JournalEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final JournalEntry defaultInstance;
public static JournalEntry getDefaultInstance() {
return defaultInstance;
}
public JournalEntry getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private JournalEntry(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
sequenceNumber_ = input.readInt64();
break;
}
case 18: {
alluxio.proto.journal.File.AddMountPointEntry.Builder subBuilder = null;
if (entryCase_ == 2) {
subBuilder = ((alluxio.proto.journal.File.AddMountPointEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.File.AddMountPointEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.File.AddMountPointEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 2;
break;
}
case 26: {
alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.Builder subBuilder = null;
if (entryCase_ == 3) {
subBuilder = ((alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 3;
break;
}
case 34: {
alluxio.proto.journal.Block.BlockInfoEntry.Builder subBuilder = null;
if (entryCase_ == 4) {
subBuilder = ((alluxio.proto.journal.Block.BlockInfoEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.Block.BlockInfoEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.Block.BlockInfoEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 4;
break;
}
case 42: {
alluxio.proto.journal.File.CompleteFileEntry.Builder subBuilder = null;
if (entryCase_ == 5) {
subBuilder = ((alluxio.proto.journal.File.CompleteFileEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.File.CompleteFileEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.File.CompleteFileEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 5;
break;
}
case 50: {
alluxio.proto.journal.File.DeleteFileEntry.Builder subBuilder = null;
if (entryCase_ == 6) {
subBuilder = ((alluxio.proto.journal.File.DeleteFileEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.File.DeleteFileEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.File.DeleteFileEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 6;
break;
}
case 58: {
alluxio.proto.journal.Lineage.DeleteLineageEntry.Builder subBuilder = null;
if (entryCase_ == 7) {
subBuilder = ((alluxio.proto.journal.Lineage.DeleteLineageEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.Lineage.DeleteLineageEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.Lineage.DeleteLineageEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 7;
break;
}
case 66: {
alluxio.proto.journal.File.DeleteMountPointEntry.Builder subBuilder = null;
if (entryCase_ == 8) {
subBuilder = ((alluxio.proto.journal.File.DeleteMountPointEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.File.DeleteMountPointEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.File.DeleteMountPointEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 8;
break;
}
case 74: {
alluxio.proto.journal.File.InodeDirectoryEntry.Builder subBuilder = null;
if (entryCase_ == 9) {
subBuilder = ((alluxio.proto.journal.File.InodeDirectoryEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.File.InodeDirectoryEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.File.InodeDirectoryEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 9;
break;
}
case 82: {
alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.Builder subBuilder = null;
if (entryCase_ == 10) {
subBuilder = ((alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 10;
break;
}
case 90: {
alluxio.proto.journal.File.InodeFileEntry.Builder subBuilder = null;
if (entryCase_ == 11) {
subBuilder = ((alluxio.proto.journal.File.InodeFileEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.File.InodeFileEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.File.InodeFileEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 11;
break;
}
case 98: {
alluxio.proto.journal.File.InodeLastModificationTimeEntry.Builder subBuilder = null;
if (entryCase_ == 12) {
subBuilder = ((alluxio.proto.journal.File.InodeLastModificationTimeEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.File.InodeLastModificationTimeEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.File.InodeLastModificationTimeEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 12;
break;
}
case 106: {
alluxio.proto.journal.Lineage.LineageEntry.Builder subBuilder = null;
if (entryCase_ == 13) {
subBuilder = ((alluxio.proto.journal.Lineage.LineageEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.Lineage.LineageEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.Lineage.LineageEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 13;
break;
}
case 114: {
alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.Builder subBuilder = null;
if (entryCase_ == 14) {
subBuilder = ((alluxio.proto.journal.Lineage.LineageIdGeneratorEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.Lineage.LineageIdGeneratorEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 14;
break;
}
case 122: {
alluxio.proto.journal.File.PersistDirectoryEntry.Builder subBuilder = null;
if (entryCase_ == 15) {
subBuilder = ((alluxio.proto.journal.File.PersistDirectoryEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.File.PersistDirectoryEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.File.PersistDirectoryEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 15;
break;
}
case 130: {
alluxio.proto.journal.File.AsyncPersistRequestEntry.Builder subBuilder = null;
if (entryCase_ == 16) {
subBuilder = ((alluxio.proto.journal.File.AsyncPersistRequestEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.File.AsyncPersistRequestEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.File.AsyncPersistRequestEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 16;
break;
}
case 146: {
alluxio.proto.journal.File.ReinitializeFileEntry.Builder subBuilder = null;
if (entryCase_ == 18) {
subBuilder = ((alluxio.proto.journal.File.ReinitializeFileEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.File.ReinitializeFileEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.File.ReinitializeFileEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 18;
break;
}
case 154: {
alluxio.proto.journal.File.RenameEntry.Builder subBuilder = null;
if (entryCase_ == 19) {
subBuilder = ((alluxio.proto.journal.File.RenameEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.File.RenameEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.File.RenameEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 19;
break;
}
case 170: {
alluxio.proto.journal.KeyValue.CompletePartitionEntry.Builder subBuilder = null;
if (entryCase_ == 21) {
subBuilder = ((alluxio.proto.journal.KeyValue.CompletePartitionEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.KeyValue.CompletePartitionEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.KeyValue.CompletePartitionEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 21;
break;
}
case 178: {
alluxio.proto.journal.KeyValue.CompleteStoreEntry.Builder subBuilder = null;
if (entryCase_ == 22) {
subBuilder = ((alluxio.proto.journal.KeyValue.CompleteStoreEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.KeyValue.CompleteStoreEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.KeyValue.CompleteStoreEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 22;
break;
}
case 186: {
alluxio.proto.journal.KeyValue.CreateStoreEntry.Builder subBuilder = null;
if (entryCase_ == 23) {
subBuilder = ((alluxio.proto.journal.KeyValue.CreateStoreEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.KeyValue.CreateStoreEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.KeyValue.CreateStoreEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 23;
break;
}
case 202: {
alluxio.proto.journal.KeyValue.DeleteStoreEntry.Builder subBuilder = null;
if (entryCase_ == 25) {
subBuilder = ((alluxio.proto.journal.KeyValue.DeleteStoreEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.KeyValue.DeleteStoreEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.KeyValue.DeleteStoreEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 25;
break;
}
case 210: {
alluxio.proto.journal.KeyValue.MergeStoreEntry.Builder subBuilder = null;
if (entryCase_ == 26) {
subBuilder = ((alluxio.proto.journal.KeyValue.MergeStoreEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.KeyValue.MergeStoreEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.KeyValue.MergeStoreEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 26;
break;
}
case 218: {
alluxio.proto.journal.File.SetAttributeEntry.Builder subBuilder = null;
if (entryCase_ == 27) {
subBuilder = ((alluxio.proto.journal.File.SetAttributeEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.File.SetAttributeEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.File.SetAttributeEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 27;
break;
}
case 226: {
alluxio.proto.journal.KeyValue.RenameStoreEntry.Builder subBuilder = null;
if (entryCase_ == 28) {
subBuilder = ((alluxio.proto.journal.KeyValue.RenameStoreEntry) entry_).toBuilder();
}
entry_ = input.readMessage(alluxio.proto.journal.KeyValue.RenameStoreEntry.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((alluxio.proto.journal.KeyValue.RenameStoreEntry) entry_);
entry_ = subBuilder.buildPartial();
}
entryCase_ = 28;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.Journal.internal_static_alluxio_proto_journal_JournalEntry_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.Journal.internal_static_alluxio_proto_journal_JournalEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.Journal.JournalEntry.class, alluxio.proto.journal.Journal.JournalEntry.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public JournalEntry parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new JournalEntry(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
private int entryCase_ = 0;
private java.lang.Object entry_;
public enum EntryCase
implements com.google.protobuf.Internal.EnumLite {
ADD_MOUNT_POINT(2),
BLOCK_CONTAINER_ID_GENERATOR(3),
BLOCK_INFO(4),
COMPLETE_FILE(5),
COMPLETE_PARTITION(21),
COMPLETE_STORE(22),
CREATE_STORE(23),
DELETE_FILE(6),
DELETE_LINEAGE(7),
DELETE_MOUNT_POINT(8),
DELETE_STORE(25),
INODE_DIRECTORY(9),
INODE_DIRECTORY_ID_GENERATOR(10),
INODE_FILE(11),
INODE_LAST_MODIFICATION_TIME(12),
LINEAGE(13),
LINEAGE_ID_GENERATOR(14),
MERGE_STORE(26),
PERSIST_DIRECTORY(15),
ASYNC_PERSIST_REQUEST(16),
REINITIALIZE_FILE(18),
RENAME(19),
RENAME_STORE(28),
SET_ATTRIBUTE(27),
ENTRY_NOT_SET(0);
private int value = 0;
private EntryCase(int value) {
this.value = value;
}
public static EntryCase valueOf(int value) {
switch (value) {
case 2: return ADD_MOUNT_POINT;
case 3: return BLOCK_CONTAINER_ID_GENERATOR;
case 4: return BLOCK_INFO;
case 5: return COMPLETE_FILE;
case 21: return COMPLETE_PARTITION;
case 22: return COMPLETE_STORE;
case 23: return CREATE_STORE;
case 6: return DELETE_FILE;
case 7: return DELETE_LINEAGE;
case 8: return DELETE_MOUNT_POINT;
case 25: return DELETE_STORE;
case 9: return INODE_DIRECTORY;
case 10: return INODE_DIRECTORY_ID_GENERATOR;
case 11: return INODE_FILE;
case 12: return INODE_LAST_MODIFICATION_TIME;
case 13: return LINEAGE;
case 14: return LINEAGE_ID_GENERATOR;
case 26: return MERGE_STORE;
case 15: return PERSIST_DIRECTORY;
case 16: return ASYNC_PERSIST_REQUEST;
case 18: return REINITIALIZE_FILE;
case 19: return RENAME;
case 28: return RENAME_STORE;
case 27: return SET_ATTRIBUTE;
case 0: return ENTRY_NOT_SET;
default: throw new java.lang.IllegalArgumentException(
"Value is undefined for this oneof enum.");
}
}
public int getNumber() {
return this.value;
}
};
public EntryCase
getEntryCase() {
return EntryCase.valueOf(
entryCase_);
}
public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 1;
private long sequenceNumber_;
/**
* optional int64 sequence_number = 1;
*/
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 sequence_number = 1;
*/
public long getSequenceNumber() {
return sequenceNumber_;
}
public static final int ADD_MOUNT_POINT_FIELD_NUMBER = 2;
/**
* optional .alluxio.proto.journal.AddMountPointEntry add_mount_point = 2;
*/
public boolean hasAddMountPoint() {
return entryCase_ == 2;
}
/**
* optional .alluxio.proto.journal.AddMountPointEntry add_mount_point = 2;
*/
public alluxio.proto.journal.File.AddMountPointEntry getAddMountPoint() {
if (entryCase_ == 2) {
return (alluxio.proto.journal.File.AddMountPointEntry) entry_;
}
return alluxio.proto.journal.File.AddMountPointEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.AddMountPointEntry add_mount_point = 2;
*/
public alluxio.proto.journal.File.AddMountPointEntryOrBuilder getAddMountPointOrBuilder() {
if (entryCase_ == 2) {
return (alluxio.proto.journal.File.AddMountPointEntry) entry_;
}
return alluxio.proto.journal.File.AddMountPointEntry.getDefaultInstance();
}
public static final int BLOCK_CONTAINER_ID_GENERATOR_FIELD_NUMBER = 3;
/**
* optional .alluxio.proto.journal.BlockContainerIdGeneratorEntry block_container_id_generator = 3;
*/
public boolean hasBlockContainerIdGenerator() {
return entryCase_ == 3;
}
/**
* optional .alluxio.proto.journal.BlockContainerIdGeneratorEntry block_container_id_generator = 3;
*/
public alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry getBlockContainerIdGenerator() {
if (entryCase_ == 3) {
return (alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry) entry_;
}
return alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.BlockContainerIdGeneratorEntry block_container_id_generator = 3;
*/
public alluxio.proto.journal.Block.BlockContainerIdGeneratorEntryOrBuilder getBlockContainerIdGeneratorOrBuilder() {
if (entryCase_ == 3) {
return (alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry) entry_;
}
return alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.getDefaultInstance();
}
public static final int BLOCK_INFO_FIELD_NUMBER = 4;
/**
* optional .alluxio.proto.journal.BlockInfoEntry block_info = 4;
*/
public boolean hasBlockInfo() {
return entryCase_ == 4;
}
/**
* optional .alluxio.proto.journal.BlockInfoEntry block_info = 4;
*/
public alluxio.proto.journal.Block.BlockInfoEntry getBlockInfo() {
if (entryCase_ == 4) {
return (alluxio.proto.journal.Block.BlockInfoEntry) entry_;
}
return alluxio.proto.journal.Block.BlockInfoEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.BlockInfoEntry block_info = 4;
*/
public alluxio.proto.journal.Block.BlockInfoEntryOrBuilder getBlockInfoOrBuilder() {
if (entryCase_ == 4) {
return (alluxio.proto.journal.Block.BlockInfoEntry) entry_;
}
return alluxio.proto.journal.Block.BlockInfoEntry.getDefaultInstance();
}
public static final int COMPLETE_FILE_FIELD_NUMBER = 5;
/**
* optional .alluxio.proto.journal.CompleteFileEntry complete_file = 5;
*/
public boolean hasCompleteFile() {
return entryCase_ == 5;
}
/**
* optional .alluxio.proto.journal.CompleteFileEntry complete_file = 5;
*/
public alluxio.proto.journal.File.CompleteFileEntry getCompleteFile() {
if (entryCase_ == 5) {
return (alluxio.proto.journal.File.CompleteFileEntry) entry_;
}
return alluxio.proto.journal.File.CompleteFileEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.CompleteFileEntry complete_file = 5;
*/
public alluxio.proto.journal.File.CompleteFileEntryOrBuilder getCompleteFileOrBuilder() {
if (entryCase_ == 5) {
return (alluxio.proto.journal.File.CompleteFileEntry) entry_;
}
return alluxio.proto.journal.File.CompleteFileEntry.getDefaultInstance();
}
public static final int COMPLETE_PARTITION_FIELD_NUMBER = 21;
/**
* optional .alluxio.proto.journal.CompletePartitionEntry complete_partition = 21;
*/
public boolean hasCompletePartition() {
return entryCase_ == 21;
}
/**
* optional .alluxio.proto.journal.CompletePartitionEntry complete_partition = 21;
*/
public alluxio.proto.journal.KeyValue.CompletePartitionEntry getCompletePartition() {
if (entryCase_ == 21) {
return (alluxio.proto.journal.KeyValue.CompletePartitionEntry) entry_;
}
return alluxio.proto.journal.KeyValue.CompletePartitionEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.CompletePartitionEntry complete_partition = 21;
*/
public alluxio.proto.journal.KeyValue.CompletePartitionEntryOrBuilder getCompletePartitionOrBuilder() {
if (entryCase_ == 21) {
return (alluxio.proto.journal.KeyValue.CompletePartitionEntry) entry_;
}
return alluxio.proto.journal.KeyValue.CompletePartitionEntry.getDefaultInstance();
}
public static final int COMPLETE_STORE_FIELD_NUMBER = 22;
/**
* optional .alluxio.proto.journal.CompleteStoreEntry complete_store = 22;
*/
public boolean hasCompleteStore() {
return entryCase_ == 22;
}
/**
* optional .alluxio.proto.journal.CompleteStoreEntry complete_store = 22;
*/
public alluxio.proto.journal.KeyValue.CompleteStoreEntry getCompleteStore() {
if (entryCase_ == 22) {
return (alluxio.proto.journal.KeyValue.CompleteStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.CompleteStoreEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.CompleteStoreEntry complete_store = 22;
*/
public alluxio.proto.journal.KeyValue.CompleteStoreEntryOrBuilder getCompleteStoreOrBuilder() {
if (entryCase_ == 22) {
return (alluxio.proto.journal.KeyValue.CompleteStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.CompleteStoreEntry.getDefaultInstance();
}
public static final int CREATE_STORE_FIELD_NUMBER = 23;
/**
* optional .alluxio.proto.journal.CreateStoreEntry create_store = 23;
*/
public boolean hasCreateStore() {
return entryCase_ == 23;
}
/**
* optional .alluxio.proto.journal.CreateStoreEntry create_store = 23;
*/
public alluxio.proto.journal.KeyValue.CreateStoreEntry getCreateStore() {
if (entryCase_ == 23) {
return (alluxio.proto.journal.KeyValue.CreateStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.CreateStoreEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.CreateStoreEntry create_store = 23;
*/
public alluxio.proto.journal.KeyValue.CreateStoreEntryOrBuilder getCreateStoreOrBuilder() {
if (entryCase_ == 23) {
return (alluxio.proto.journal.KeyValue.CreateStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.CreateStoreEntry.getDefaultInstance();
}
public static final int DELETE_FILE_FIELD_NUMBER = 6;
/**
* optional .alluxio.proto.journal.DeleteFileEntry delete_file = 6;
*/
public boolean hasDeleteFile() {
return entryCase_ == 6;
}
/**
* optional .alluxio.proto.journal.DeleteFileEntry delete_file = 6;
*/
public alluxio.proto.journal.File.DeleteFileEntry getDeleteFile() {
if (entryCase_ == 6) {
return (alluxio.proto.journal.File.DeleteFileEntry) entry_;
}
return alluxio.proto.journal.File.DeleteFileEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.DeleteFileEntry delete_file = 6;
*/
public alluxio.proto.journal.File.DeleteFileEntryOrBuilder getDeleteFileOrBuilder() {
if (entryCase_ == 6) {
return (alluxio.proto.journal.File.DeleteFileEntry) entry_;
}
return alluxio.proto.journal.File.DeleteFileEntry.getDefaultInstance();
}
public static final int DELETE_LINEAGE_FIELD_NUMBER = 7;
/**
* optional .alluxio.proto.journal.DeleteLineageEntry delete_lineage = 7;
*/
public boolean hasDeleteLineage() {
return entryCase_ == 7;
}
/**
* optional .alluxio.proto.journal.DeleteLineageEntry delete_lineage = 7;
*/
public alluxio.proto.journal.Lineage.DeleteLineageEntry getDeleteLineage() {
if (entryCase_ == 7) {
return (alluxio.proto.journal.Lineage.DeleteLineageEntry) entry_;
}
return alluxio.proto.journal.Lineage.DeleteLineageEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.DeleteLineageEntry delete_lineage = 7;
*/
public alluxio.proto.journal.Lineage.DeleteLineageEntryOrBuilder getDeleteLineageOrBuilder() {
if (entryCase_ == 7) {
return (alluxio.proto.journal.Lineage.DeleteLineageEntry) entry_;
}
return alluxio.proto.journal.Lineage.DeleteLineageEntry.getDefaultInstance();
}
public static final int DELETE_MOUNT_POINT_FIELD_NUMBER = 8;
/**
* optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;
*/
public boolean hasDeleteMountPoint() {
return entryCase_ == 8;
}
/**
* optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;
*/
public alluxio.proto.journal.File.DeleteMountPointEntry getDeleteMountPoint() {
if (entryCase_ == 8) {
return (alluxio.proto.journal.File.DeleteMountPointEntry) entry_;
}
return alluxio.proto.journal.File.DeleteMountPointEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;
*/
public alluxio.proto.journal.File.DeleteMountPointEntryOrBuilder getDeleteMountPointOrBuilder() {
if (entryCase_ == 8) {
return (alluxio.proto.journal.File.DeleteMountPointEntry) entry_;
}
return alluxio.proto.journal.File.DeleteMountPointEntry.getDefaultInstance();
}
public static final int DELETE_STORE_FIELD_NUMBER = 25;
/**
* optional .alluxio.proto.journal.DeleteStoreEntry delete_store = 25;
*/
public boolean hasDeleteStore() {
return entryCase_ == 25;
}
/**
* optional .alluxio.proto.journal.DeleteStoreEntry delete_store = 25;
*/
public alluxio.proto.journal.KeyValue.DeleteStoreEntry getDeleteStore() {
if (entryCase_ == 25) {
return (alluxio.proto.journal.KeyValue.DeleteStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.DeleteStoreEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.DeleteStoreEntry delete_store = 25;
*/
public alluxio.proto.journal.KeyValue.DeleteStoreEntryOrBuilder getDeleteStoreOrBuilder() {
if (entryCase_ == 25) {
return (alluxio.proto.journal.KeyValue.DeleteStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.DeleteStoreEntry.getDefaultInstance();
}
public static final int INODE_DIRECTORY_FIELD_NUMBER = 9;
/**
* optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;
*/
public boolean hasInodeDirectory() {
return entryCase_ == 9;
}
/**
* optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;
*/
public alluxio.proto.journal.File.InodeDirectoryEntry getInodeDirectory() {
if (entryCase_ == 9) {
return (alluxio.proto.journal.File.InodeDirectoryEntry) entry_;
}
return alluxio.proto.journal.File.InodeDirectoryEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;
*/
public alluxio.proto.journal.File.InodeDirectoryEntryOrBuilder getInodeDirectoryOrBuilder() {
if (entryCase_ == 9) {
return (alluxio.proto.journal.File.InodeDirectoryEntry) entry_;
}
return alluxio.proto.journal.File.InodeDirectoryEntry.getDefaultInstance();
}
public static final int INODE_DIRECTORY_ID_GENERATOR_FIELD_NUMBER = 10;
/**
* optional .alluxio.proto.journal.InodeDirectoryIdGeneratorEntry inode_directory_id_generator = 10;
*/
public boolean hasInodeDirectoryIdGenerator() {
return entryCase_ == 10;
}
/**
* optional .alluxio.proto.journal.InodeDirectoryIdGeneratorEntry inode_directory_id_generator = 10;
*/
public alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry getInodeDirectoryIdGenerator() {
if (entryCase_ == 10) {
return (alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry) entry_;
}
return alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.InodeDirectoryIdGeneratorEntry inode_directory_id_generator = 10;
*/
public alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntryOrBuilder getInodeDirectoryIdGeneratorOrBuilder() {
if (entryCase_ == 10) {
return (alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry) entry_;
}
return alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.getDefaultInstance();
}
public static final int INODE_FILE_FIELD_NUMBER = 11;
/**
* optional .alluxio.proto.journal.InodeFileEntry inode_file = 11;
*/
public boolean hasInodeFile() {
return entryCase_ == 11;
}
/**
* optional .alluxio.proto.journal.InodeFileEntry inode_file = 11;
*/
public alluxio.proto.journal.File.InodeFileEntry getInodeFile() {
if (entryCase_ == 11) {
return (alluxio.proto.journal.File.InodeFileEntry) entry_;
}
return alluxio.proto.journal.File.InodeFileEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.InodeFileEntry inode_file = 11;
*/
public alluxio.proto.journal.File.InodeFileEntryOrBuilder getInodeFileOrBuilder() {
if (entryCase_ == 11) {
return (alluxio.proto.journal.File.InodeFileEntry) entry_;
}
return alluxio.proto.journal.File.InodeFileEntry.getDefaultInstance();
}
public static final int INODE_LAST_MODIFICATION_TIME_FIELD_NUMBER = 12;
/**
* optional .alluxio.proto.journal.InodeLastModificationTimeEntry inode_last_modification_time = 12;
*/
public boolean hasInodeLastModificationTime() {
return entryCase_ == 12;
}
/**
* optional .alluxio.proto.journal.InodeLastModificationTimeEntry inode_last_modification_time = 12;
*/
public alluxio.proto.journal.File.InodeLastModificationTimeEntry getInodeLastModificationTime() {
if (entryCase_ == 12) {
return (alluxio.proto.journal.File.InodeLastModificationTimeEntry) entry_;
}
return alluxio.proto.journal.File.InodeLastModificationTimeEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.InodeLastModificationTimeEntry inode_last_modification_time = 12;
*/
public alluxio.proto.journal.File.InodeLastModificationTimeEntryOrBuilder getInodeLastModificationTimeOrBuilder() {
if (entryCase_ == 12) {
return (alluxio.proto.journal.File.InodeLastModificationTimeEntry) entry_;
}
return alluxio.proto.journal.File.InodeLastModificationTimeEntry.getDefaultInstance();
}
public static final int LINEAGE_FIELD_NUMBER = 13;
/**
* optional .alluxio.proto.journal.LineageEntry lineage = 13;
*/
public boolean hasLineage() {
return entryCase_ == 13;
}
/**
* optional .alluxio.proto.journal.LineageEntry lineage = 13;
*/
public alluxio.proto.journal.Lineage.LineageEntry getLineage() {
if (entryCase_ == 13) {
return (alluxio.proto.journal.Lineage.LineageEntry) entry_;
}
return alluxio.proto.journal.Lineage.LineageEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.LineageEntry lineage = 13;
*/
public alluxio.proto.journal.Lineage.LineageEntryOrBuilder getLineageOrBuilder() {
if (entryCase_ == 13) {
return (alluxio.proto.journal.Lineage.LineageEntry) entry_;
}
return alluxio.proto.journal.Lineage.LineageEntry.getDefaultInstance();
}
public static final int LINEAGE_ID_GENERATOR_FIELD_NUMBER = 14;
/**
* optional .alluxio.proto.journal.LineageIdGeneratorEntry lineage_id_generator = 14;
*/
public boolean hasLineageIdGenerator() {
return entryCase_ == 14;
}
/**
* optional .alluxio.proto.journal.LineageIdGeneratorEntry lineage_id_generator = 14;
*/
public alluxio.proto.journal.Lineage.LineageIdGeneratorEntry getLineageIdGenerator() {
if (entryCase_ == 14) {
return (alluxio.proto.journal.Lineage.LineageIdGeneratorEntry) entry_;
}
return alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.LineageIdGeneratorEntry lineage_id_generator = 14;
*/
public alluxio.proto.journal.Lineage.LineageIdGeneratorEntryOrBuilder getLineageIdGeneratorOrBuilder() {
if (entryCase_ == 14) {
return (alluxio.proto.journal.Lineage.LineageIdGeneratorEntry) entry_;
}
return alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.getDefaultInstance();
}
public static final int MERGE_STORE_FIELD_NUMBER = 26;
/**
* optional .alluxio.proto.journal.MergeStoreEntry merge_store = 26;
*/
public boolean hasMergeStore() {
return entryCase_ == 26;
}
/**
* optional .alluxio.proto.journal.MergeStoreEntry merge_store = 26;
*/
public alluxio.proto.journal.KeyValue.MergeStoreEntry getMergeStore() {
if (entryCase_ == 26) {
return (alluxio.proto.journal.KeyValue.MergeStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.MergeStoreEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.MergeStoreEntry merge_store = 26;
*/
public alluxio.proto.journal.KeyValue.MergeStoreEntryOrBuilder getMergeStoreOrBuilder() {
if (entryCase_ == 26) {
return (alluxio.proto.journal.KeyValue.MergeStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.MergeStoreEntry.getDefaultInstance();
}
public static final int PERSIST_DIRECTORY_FIELD_NUMBER = 15;
/**
* optional .alluxio.proto.journal.PersistDirectoryEntry persist_directory = 15;
*/
public boolean hasPersistDirectory() {
return entryCase_ == 15;
}
/**
* optional .alluxio.proto.journal.PersistDirectoryEntry persist_directory = 15;
*/
public alluxio.proto.journal.File.PersistDirectoryEntry getPersistDirectory() {
if (entryCase_ == 15) {
return (alluxio.proto.journal.File.PersistDirectoryEntry) entry_;
}
return alluxio.proto.journal.File.PersistDirectoryEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.PersistDirectoryEntry persist_directory = 15;
*/
public alluxio.proto.journal.File.PersistDirectoryEntryOrBuilder getPersistDirectoryOrBuilder() {
if (entryCase_ == 15) {
return (alluxio.proto.journal.File.PersistDirectoryEntry) entry_;
}
return alluxio.proto.journal.File.PersistDirectoryEntry.getDefaultInstance();
}
public static final int ASYNC_PERSIST_REQUEST_FIELD_NUMBER = 16;
/**
* optional .alluxio.proto.journal.AsyncPersistRequestEntry async_persist_request = 16;
*/
public boolean hasAsyncPersistRequest() {
return entryCase_ == 16;
}
/**
* optional .alluxio.proto.journal.AsyncPersistRequestEntry async_persist_request = 16;
*/
public alluxio.proto.journal.File.AsyncPersistRequestEntry getAsyncPersistRequest() {
if (entryCase_ == 16) {
return (alluxio.proto.journal.File.AsyncPersistRequestEntry) entry_;
}
return alluxio.proto.journal.File.AsyncPersistRequestEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.AsyncPersistRequestEntry async_persist_request = 16;
*/
public alluxio.proto.journal.File.AsyncPersistRequestEntryOrBuilder getAsyncPersistRequestOrBuilder() {
if (entryCase_ == 16) {
return (alluxio.proto.journal.File.AsyncPersistRequestEntry) entry_;
}
return alluxio.proto.journal.File.AsyncPersistRequestEntry.getDefaultInstance();
}
public static final int REINITIALIZE_FILE_FIELD_NUMBER = 18;
/**
* optional .alluxio.proto.journal.ReinitializeFileEntry reinitialize_file = 18;
*/
public boolean hasReinitializeFile() {
return entryCase_ == 18;
}
/**
* optional .alluxio.proto.journal.ReinitializeFileEntry reinitialize_file = 18;
*/
public alluxio.proto.journal.File.ReinitializeFileEntry getReinitializeFile() {
if (entryCase_ == 18) {
return (alluxio.proto.journal.File.ReinitializeFileEntry) entry_;
}
return alluxio.proto.journal.File.ReinitializeFileEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.ReinitializeFileEntry reinitialize_file = 18;
*/
public alluxio.proto.journal.File.ReinitializeFileEntryOrBuilder getReinitializeFileOrBuilder() {
if (entryCase_ == 18) {
return (alluxio.proto.journal.File.ReinitializeFileEntry) entry_;
}
return alluxio.proto.journal.File.ReinitializeFileEntry.getDefaultInstance();
}
public static final int RENAME_FIELD_NUMBER = 19;
/**
* optional .alluxio.proto.journal.RenameEntry rename = 19;
*/
public boolean hasRename() {
return entryCase_ == 19;
}
/**
* optional .alluxio.proto.journal.RenameEntry rename = 19;
*/
public alluxio.proto.journal.File.RenameEntry getRename() {
if (entryCase_ == 19) {
return (alluxio.proto.journal.File.RenameEntry) entry_;
}
return alluxio.proto.journal.File.RenameEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.RenameEntry rename = 19;
*/
public alluxio.proto.journal.File.RenameEntryOrBuilder getRenameOrBuilder() {
if (entryCase_ == 19) {
return (alluxio.proto.journal.File.RenameEntry) entry_;
}
return alluxio.proto.journal.File.RenameEntry.getDefaultInstance();
}
public static final int RENAME_STORE_FIELD_NUMBER = 28;
/**
* optional .alluxio.proto.journal.RenameStoreEntry rename_store = 28;
*/
public boolean hasRenameStore() {
return entryCase_ == 28;
}
/**
* optional .alluxio.proto.journal.RenameStoreEntry rename_store = 28;
*/
public alluxio.proto.journal.KeyValue.RenameStoreEntry getRenameStore() {
if (entryCase_ == 28) {
return (alluxio.proto.journal.KeyValue.RenameStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.RenameStoreEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.RenameStoreEntry rename_store = 28;
*/
public alluxio.proto.journal.KeyValue.RenameStoreEntryOrBuilder getRenameStoreOrBuilder() {
if (entryCase_ == 28) {
return (alluxio.proto.journal.KeyValue.RenameStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.RenameStoreEntry.getDefaultInstance();
}
public static final int SET_ATTRIBUTE_FIELD_NUMBER = 27;
/**
* optional .alluxio.proto.journal.SetAttributeEntry set_attribute = 27;
*/
public boolean hasSetAttribute() {
return entryCase_ == 27;
}
/**
* optional .alluxio.proto.journal.SetAttributeEntry set_attribute = 27;
*/
public alluxio.proto.journal.File.SetAttributeEntry getSetAttribute() {
if (entryCase_ == 27) {
return (alluxio.proto.journal.File.SetAttributeEntry) entry_;
}
return alluxio.proto.journal.File.SetAttributeEntry.getDefaultInstance();
}
/**
* optional .alluxio.proto.journal.SetAttributeEntry set_attribute = 27;
*/
public alluxio.proto.journal.File.SetAttributeEntryOrBuilder getSetAttributeOrBuilder() {
if (entryCase_ == 27) {
return (alluxio.proto.journal.File.SetAttributeEntry) entry_;
}
return alluxio.proto.journal.File.SetAttributeEntry.getDefaultInstance();
}
private void initFields() {
sequenceNumber_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt64(1, sequenceNumber_);
}
if (entryCase_ == 2) {
output.writeMessage(2, (alluxio.proto.journal.File.AddMountPointEntry) entry_);
}
if (entryCase_ == 3) {
output.writeMessage(3, (alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry) entry_);
}
if (entryCase_ == 4) {
output.writeMessage(4, (alluxio.proto.journal.Block.BlockInfoEntry) entry_);
}
if (entryCase_ == 5) {
output.writeMessage(5, (alluxio.proto.journal.File.CompleteFileEntry) entry_);
}
if (entryCase_ == 6) {
output.writeMessage(6, (alluxio.proto.journal.File.DeleteFileEntry) entry_);
}
if (entryCase_ == 7) {
output.writeMessage(7, (alluxio.proto.journal.Lineage.DeleteLineageEntry) entry_);
}
if (entryCase_ == 8) {
output.writeMessage(8, (alluxio.proto.journal.File.DeleteMountPointEntry) entry_);
}
if (entryCase_ == 9) {
output.writeMessage(9, (alluxio.proto.journal.File.InodeDirectoryEntry) entry_);
}
if (entryCase_ == 10) {
output.writeMessage(10, (alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry) entry_);
}
if (entryCase_ == 11) {
output.writeMessage(11, (alluxio.proto.journal.File.InodeFileEntry) entry_);
}
if (entryCase_ == 12) {
output.writeMessage(12, (alluxio.proto.journal.File.InodeLastModificationTimeEntry) entry_);
}
if (entryCase_ == 13) {
output.writeMessage(13, (alluxio.proto.journal.Lineage.LineageEntry) entry_);
}
if (entryCase_ == 14) {
output.writeMessage(14, (alluxio.proto.journal.Lineage.LineageIdGeneratorEntry) entry_);
}
if (entryCase_ == 15) {
output.writeMessage(15, (alluxio.proto.journal.File.PersistDirectoryEntry) entry_);
}
if (entryCase_ == 16) {
output.writeMessage(16, (alluxio.proto.journal.File.AsyncPersistRequestEntry) entry_);
}
if (entryCase_ == 18) {
output.writeMessage(18, (alluxio.proto.journal.File.ReinitializeFileEntry) entry_);
}
if (entryCase_ == 19) {
output.writeMessage(19, (alluxio.proto.journal.File.RenameEntry) entry_);
}
if (entryCase_ == 21) {
output.writeMessage(21, (alluxio.proto.journal.KeyValue.CompletePartitionEntry) entry_);
}
if (entryCase_ == 22) {
output.writeMessage(22, (alluxio.proto.journal.KeyValue.CompleteStoreEntry) entry_);
}
if (entryCase_ == 23) {
output.writeMessage(23, (alluxio.proto.journal.KeyValue.CreateStoreEntry) entry_);
}
if (entryCase_ == 25) {
output.writeMessage(25, (alluxio.proto.journal.KeyValue.DeleteStoreEntry) entry_);
}
if (entryCase_ == 26) {
output.writeMessage(26, (alluxio.proto.journal.KeyValue.MergeStoreEntry) entry_);
}
if (entryCase_ == 27) {
output.writeMessage(27, (alluxio.proto.journal.File.SetAttributeEntry) entry_);
}
if (entryCase_ == 28) {
output.writeMessage(28, (alluxio.proto.journal.KeyValue.RenameStoreEntry) entry_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, sequenceNumber_);
}
if (entryCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (alluxio.proto.journal.File.AddMountPointEntry) entry_);
}
if (entryCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry) entry_);
}
if (entryCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (alluxio.proto.journal.Block.BlockInfoEntry) entry_);
}
if (entryCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (alluxio.proto.journal.File.CompleteFileEntry) entry_);
}
if (entryCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (alluxio.proto.journal.File.DeleteFileEntry) entry_);
}
if (entryCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (alluxio.proto.journal.Lineage.DeleteLineageEntry) entry_);
}
if (entryCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (alluxio.proto.journal.File.DeleteMountPointEntry) entry_);
}
if (entryCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (alluxio.proto.journal.File.InodeDirectoryEntry) entry_);
}
if (entryCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry) entry_);
}
if (entryCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (alluxio.proto.journal.File.InodeFileEntry) entry_);
}
if (entryCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (alluxio.proto.journal.File.InodeLastModificationTimeEntry) entry_);
}
if (entryCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (alluxio.proto.journal.Lineage.LineageEntry) entry_);
}
if (entryCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (alluxio.proto.journal.Lineage.LineageIdGeneratorEntry) entry_);
}
if (entryCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (alluxio.proto.journal.File.PersistDirectoryEntry) entry_);
}
if (entryCase_ == 16) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, (alluxio.proto.journal.File.AsyncPersistRequestEntry) entry_);
}
if (entryCase_ == 18) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, (alluxio.proto.journal.File.ReinitializeFileEntry) entry_);
}
if (entryCase_ == 19) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, (alluxio.proto.journal.File.RenameEntry) entry_);
}
if (entryCase_ == 21) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(21, (alluxio.proto.journal.KeyValue.CompletePartitionEntry) entry_);
}
if (entryCase_ == 22) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(22, (alluxio.proto.journal.KeyValue.CompleteStoreEntry) entry_);
}
if (entryCase_ == 23) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(23, (alluxio.proto.journal.KeyValue.CreateStoreEntry) entry_);
}
if (entryCase_ == 25) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(25, (alluxio.proto.journal.KeyValue.DeleteStoreEntry) entry_);
}
if (entryCase_ == 26) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(26, (alluxio.proto.journal.KeyValue.MergeStoreEntry) entry_);
}
if (entryCase_ == 27) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(27, (alluxio.proto.journal.File.SetAttributeEntry) entry_);
}
if (entryCase_ == 28) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(28, (alluxio.proto.journal.KeyValue.RenameStoreEntry) entry_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static alluxio.proto.journal.Journal.JournalEntry parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.Journal.JournalEntry parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.Journal.JournalEntry parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.proto.journal.Journal.JournalEntry parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.proto.journal.Journal.JournalEntry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static alluxio.proto.journal.Journal.JournalEntry parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static alluxio.proto.journal.Journal.JournalEntry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static alluxio.proto.journal.Journal.JournalEntry parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static alluxio.proto.journal.Journal.JournalEntry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static alluxio.proto.journal.Journal.JournalEntry parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(alluxio.proto.journal.Journal.JournalEntry prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code alluxio.proto.journal.JournalEntry}
*
*
* Wraps around all types of Alluxio journal messages.
* next available id: 29
*
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.proto.journal.JournalEntry)
alluxio.proto.journal.Journal.JournalEntryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.proto.journal.Journal.internal_static_alluxio_proto_journal_JournalEntry_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.proto.journal.Journal.internal_static_alluxio_proto_journal_JournalEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.proto.journal.Journal.JournalEntry.class, alluxio.proto.journal.Journal.JournalEntry.Builder.class);
}
// Construct using alluxio.proto.journal.Journal.JournalEntry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
sequenceNumber_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
entryCase_ = 0;
entry_ = null;
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.proto.journal.Journal.internal_static_alluxio_proto_journal_JournalEntry_descriptor;
}
public alluxio.proto.journal.Journal.JournalEntry getDefaultInstanceForType() {
return alluxio.proto.journal.Journal.JournalEntry.getDefaultInstance();
}
public alluxio.proto.journal.Journal.JournalEntry build() {
alluxio.proto.journal.Journal.JournalEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public alluxio.proto.journal.Journal.JournalEntry buildPartial() {
alluxio.proto.journal.Journal.JournalEntry result = new alluxio.proto.journal.Journal.JournalEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.sequenceNumber_ = sequenceNumber_;
if (entryCase_ == 2) {
if (addMountPointBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = addMountPointBuilder_.build();
}
}
if (entryCase_ == 3) {
if (blockContainerIdGeneratorBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = blockContainerIdGeneratorBuilder_.build();
}
}
if (entryCase_ == 4) {
if (blockInfoBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = blockInfoBuilder_.build();
}
}
if (entryCase_ == 5) {
if (completeFileBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = completeFileBuilder_.build();
}
}
if (entryCase_ == 21) {
if (completePartitionBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = completePartitionBuilder_.build();
}
}
if (entryCase_ == 22) {
if (completeStoreBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = completeStoreBuilder_.build();
}
}
if (entryCase_ == 23) {
if (createStoreBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = createStoreBuilder_.build();
}
}
if (entryCase_ == 6) {
if (deleteFileBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = deleteFileBuilder_.build();
}
}
if (entryCase_ == 7) {
if (deleteLineageBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = deleteLineageBuilder_.build();
}
}
if (entryCase_ == 8) {
if (deleteMountPointBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = deleteMountPointBuilder_.build();
}
}
if (entryCase_ == 25) {
if (deleteStoreBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = deleteStoreBuilder_.build();
}
}
if (entryCase_ == 9) {
if (inodeDirectoryBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = inodeDirectoryBuilder_.build();
}
}
if (entryCase_ == 10) {
if (inodeDirectoryIdGeneratorBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = inodeDirectoryIdGeneratorBuilder_.build();
}
}
if (entryCase_ == 11) {
if (inodeFileBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = inodeFileBuilder_.build();
}
}
if (entryCase_ == 12) {
if (inodeLastModificationTimeBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = inodeLastModificationTimeBuilder_.build();
}
}
if (entryCase_ == 13) {
if (lineageBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = lineageBuilder_.build();
}
}
if (entryCase_ == 14) {
if (lineageIdGeneratorBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = lineageIdGeneratorBuilder_.build();
}
}
if (entryCase_ == 26) {
if (mergeStoreBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = mergeStoreBuilder_.build();
}
}
if (entryCase_ == 15) {
if (persistDirectoryBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = persistDirectoryBuilder_.build();
}
}
if (entryCase_ == 16) {
if (asyncPersistRequestBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = asyncPersistRequestBuilder_.build();
}
}
if (entryCase_ == 18) {
if (reinitializeFileBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = reinitializeFileBuilder_.build();
}
}
if (entryCase_ == 19) {
if (renameBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = renameBuilder_.build();
}
}
if (entryCase_ == 28) {
if (renameStoreBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = renameStoreBuilder_.build();
}
}
if (entryCase_ == 27) {
if (setAttributeBuilder_ == null) {
result.entry_ = entry_;
} else {
result.entry_ = setAttributeBuilder_.build();
}
}
result.bitField0_ = to_bitField0_;
result.entryCase_ = entryCase_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof alluxio.proto.journal.Journal.JournalEntry) {
return mergeFrom((alluxio.proto.journal.Journal.JournalEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.proto.journal.Journal.JournalEntry other) {
if (other == alluxio.proto.journal.Journal.JournalEntry.getDefaultInstance()) return this;
if (other.hasSequenceNumber()) {
setSequenceNumber(other.getSequenceNumber());
}
switch (other.getEntryCase()) {
case ADD_MOUNT_POINT: {
mergeAddMountPoint(other.getAddMountPoint());
break;
}
case BLOCK_CONTAINER_ID_GENERATOR: {
mergeBlockContainerIdGenerator(other.getBlockContainerIdGenerator());
break;
}
case BLOCK_INFO: {
mergeBlockInfo(other.getBlockInfo());
break;
}
case COMPLETE_FILE: {
mergeCompleteFile(other.getCompleteFile());
break;
}
case COMPLETE_PARTITION: {
mergeCompletePartition(other.getCompletePartition());
break;
}
case COMPLETE_STORE: {
mergeCompleteStore(other.getCompleteStore());
break;
}
case CREATE_STORE: {
mergeCreateStore(other.getCreateStore());
break;
}
case DELETE_FILE: {
mergeDeleteFile(other.getDeleteFile());
break;
}
case DELETE_LINEAGE: {
mergeDeleteLineage(other.getDeleteLineage());
break;
}
case DELETE_MOUNT_POINT: {
mergeDeleteMountPoint(other.getDeleteMountPoint());
break;
}
case DELETE_STORE: {
mergeDeleteStore(other.getDeleteStore());
break;
}
case INODE_DIRECTORY: {
mergeInodeDirectory(other.getInodeDirectory());
break;
}
case INODE_DIRECTORY_ID_GENERATOR: {
mergeInodeDirectoryIdGenerator(other.getInodeDirectoryIdGenerator());
break;
}
case INODE_FILE: {
mergeInodeFile(other.getInodeFile());
break;
}
case INODE_LAST_MODIFICATION_TIME: {
mergeInodeLastModificationTime(other.getInodeLastModificationTime());
break;
}
case LINEAGE: {
mergeLineage(other.getLineage());
break;
}
case LINEAGE_ID_GENERATOR: {
mergeLineageIdGenerator(other.getLineageIdGenerator());
break;
}
case MERGE_STORE: {
mergeMergeStore(other.getMergeStore());
break;
}
case PERSIST_DIRECTORY: {
mergePersistDirectory(other.getPersistDirectory());
break;
}
case ASYNC_PERSIST_REQUEST: {
mergeAsyncPersistRequest(other.getAsyncPersistRequest());
break;
}
case REINITIALIZE_FILE: {
mergeReinitializeFile(other.getReinitializeFile());
break;
}
case RENAME: {
mergeRename(other.getRename());
break;
}
case RENAME_STORE: {
mergeRenameStore(other.getRenameStore());
break;
}
case SET_ATTRIBUTE: {
mergeSetAttribute(other.getSetAttribute());
break;
}
case ENTRY_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
alluxio.proto.journal.Journal.JournalEntry parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (alluxio.proto.journal.Journal.JournalEntry) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int entryCase_ = 0;
private java.lang.Object entry_;
public EntryCase
getEntryCase() {
return EntryCase.valueOf(
entryCase_);
}
public Builder clearEntry() {
entryCase_ = 0;
entry_ = null;
onChanged();
return this;
}
private int bitField0_;
private long sequenceNumber_ ;
/**
* optional int64 sequence_number = 1;
*/
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int64 sequence_number = 1;
*/
public long getSequenceNumber() {
return sequenceNumber_;
}
/**
* optional int64 sequence_number = 1;
*/
public Builder setSequenceNumber(long value) {
bitField0_ |= 0x00000001;
sequenceNumber_ = value;
onChanged();
return this;
}
/**
* optional int64 sequence_number = 1;
*/
public Builder clearSequenceNumber() {
bitField0_ = (bitField0_ & ~0x00000001);
sequenceNumber_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.AddMountPointEntry, alluxio.proto.journal.File.AddMountPointEntry.Builder, alluxio.proto.journal.File.AddMountPointEntryOrBuilder> addMountPointBuilder_;
/**
* optional .alluxio.proto.journal.AddMountPointEntry add_mount_point = 2;
*/
public boolean hasAddMountPoint() {
return entryCase_ == 2;
}
/**
* optional .alluxio.proto.journal.AddMountPointEntry add_mount_point = 2;
*/
public alluxio.proto.journal.File.AddMountPointEntry getAddMountPoint() {
if (addMountPointBuilder_ == null) {
if (entryCase_ == 2) {
return (alluxio.proto.journal.File.AddMountPointEntry) entry_;
}
return alluxio.proto.journal.File.AddMountPointEntry.getDefaultInstance();
} else {
if (entryCase_ == 2) {
return addMountPointBuilder_.getMessage();
}
return alluxio.proto.journal.File.AddMountPointEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.AddMountPointEntry add_mount_point = 2;
*/
public Builder setAddMountPoint(alluxio.proto.journal.File.AddMountPointEntry value) {
if (addMountPointBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
addMountPointBuilder_.setMessage(value);
}
entryCase_ = 2;
return this;
}
/**
* optional .alluxio.proto.journal.AddMountPointEntry add_mount_point = 2;
*/
public Builder setAddMountPoint(
alluxio.proto.journal.File.AddMountPointEntry.Builder builderForValue) {
if (addMountPointBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
addMountPointBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 2;
return this;
}
/**
* optional .alluxio.proto.journal.AddMountPointEntry add_mount_point = 2;
*/
public Builder mergeAddMountPoint(alluxio.proto.journal.File.AddMountPointEntry value) {
if (addMountPointBuilder_ == null) {
if (entryCase_ == 2 &&
entry_ != alluxio.proto.journal.File.AddMountPointEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.File.AddMountPointEntry.newBuilder((alluxio.proto.journal.File.AddMountPointEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 2) {
addMountPointBuilder_.mergeFrom(value);
}
addMountPointBuilder_.setMessage(value);
}
entryCase_ = 2;
return this;
}
/**
* optional .alluxio.proto.journal.AddMountPointEntry add_mount_point = 2;
*/
public Builder clearAddMountPoint() {
if (addMountPointBuilder_ == null) {
if (entryCase_ == 2) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 2) {
entryCase_ = 0;
entry_ = null;
}
addMountPointBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.AddMountPointEntry add_mount_point = 2;
*/
public alluxio.proto.journal.File.AddMountPointEntry.Builder getAddMountPointBuilder() {
return getAddMountPointFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.AddMountPointEntry add_mount_point = 2;
*/
public alluxio.proto.journal.File.AddMountPointEntryOrBuilder getAddMountPointOrBuilder() {
if ((entryCase_ == 2) && (addMountPointBuilder_ != null)) {
return addMountPointBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 2) {
return (alluxio.proto.journal.File.AddMountPointEntry) entry_;
}
return alluxio.proto.journal.File.AddMountPointEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.AddMountPointEntry add_mount_point = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.AddMountPointEntry, alluxio.proto.journal.File.AddMountPointEntry.Builder, alluxio.proto.journal.File.AddMountPointEntryOrBuilder>
getAddMountPointFieldBuilder() {
if (addMountPointBuilder_ == null) {
if (!(entryCase_ == 2)) {
entry_ = alluxio.proto.journal.File.AddMountPointEntry.getDefaultInstance();
}
addMountPointBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.AddMountPointEntry, alluxio.proto.journal.File.AddMountPointEntry.Builder, alluxio.proto.journal.File.AddMountPointEntryOrBuilder>(
(alluxio.proto.journal.File.AddMountPointEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 2;
return addMountPointBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry, alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.Builder, alluxio.proto.journal.Block.BlockContainerIdGeneratorEntryOrBuilder> blockContainerIdGeneratorBuilder_;
/**
* optional .alluxio.proto.journal.BlockContainerIdGeneratorEntry block_container_id_generator = 3;
*/
public boolean hasBlockContainerIdGenerator() {
return entryCase_ == 3;
}
/**
* optional .alluxio.proto.journal.BlockContainerIdGeneratorEntry block_container_id_generator = 3;
*/
public alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry getBlockContainerIdGenerator() {
if (blockContainerIdGeneratorBuilder_ == null) {
if (entryCase_ == 3) {
return (alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry) entry_;
}
return alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.getDefaultInstance();
} else {
if (entryCase_ == 3) {
return blockContainerIdGeneratorBuilder_.getMessage();
}
return alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.BlockContainerIdGeneratorEntry block_container_id_generator = 3;
*/
public Builder setBlockContainerIdGenerator(alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry value) {
if (blockContainerIdGeneratorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
blockContainerIdGeneratorBuilder_.setMessage(value);
}
entryCase_ = 3;
return this;
}
/**
* optional .alluxio.proto.journal.BlockContainerIdGeneratorEntry block_container_id_generator = 3;
*/
public Builder setBlockContainerIdGenerator(
alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.Builder builderForValue) {
if (blockContainerIdGeneratorBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
blockContainerIdGeneratorBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 3;
return this;
}
/**
* optional .alluxio.proto.journal.BlockContainerIdGeneratorEntry block_container_id_generator = 3;
*/
public Builder mergeBlockContainerIdGenerator(alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry value) {
if (blockContainerIdGeneratorBuilder_ == null) {
if (entryCase_ == 3 &&
entry_ != alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.newBuilder((alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 3) {
blockContainerIdGeneratorBuilder_.mergeFrom(value);
}
blockContainerIdGeneratorBuilder_.setMessage(value);
}
entryCase_ = 3;
return this;
}
/**
* optional .alluxio.proto.journal.BlockContainerIdGeneratorEntry block_container_id_generator = 3;
*/
public Builder clearBlockContainerIdGenerator() {
if (blockContainerIdGeneratorBuilder_ == null) {
if (entryCase_ == 3) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 3) {
entryCase_ = 0;
entry_ = null;
}
blockContainerIdGeneratorBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.BlockContainerIdGeneratorEntry block_container_id_generator = 3;
*/
public alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.Builder getBlockContainerIdGeneratorBuilder() {
return getBlockContainerIdGeneratorFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.BlockContainerIdGeneratorEntry block_container_id_generator = 3;
*/
public alluxio.proto.journal.Block.BlockContainerIdGeneratorEntryOrBuilder getBlockContainerIdGeneratorOrBuilder() {
if ((entryCase_ == 3) && (blockContainerIdGeneratorBuilder_ != null)) {
return blockContainerIdGeneratorBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 3) {
return (alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry) entry_;
}
return alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.BlockContainerIdGeneratorEntry block_container_id_generator = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry, alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.Builder, alluxio.proto.journal.Block.BlockContainerIdGeneratorEntryOrBuilder>
getBlockContainerIdGeneratorFieldBuilder() {
if (blockContainerIdGeneratorBuilder_ == null) {
if (!(entryCase_ == 3)) {
entry_ = alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.getDefaultInstance();
}
blockContainerIdGeneratorBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry, alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.Builder, alluxio.proto.journal.Block.BlockContainerIdGeneratorEntryOrBuilder>(
(alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 3;
return blockContainerIdGeneratorBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.Block.BlockInfoEntry, alluxio.proto.journal.Block.BlockInfoEntry.Builder, alluxio.proto.journal.Block.BlockInfoEntryOrBuilder> blockInfoBuilder_;
/**
* optional .alluxio.proto.journal.BlockInfoEntry block_info = 4;
*/
public boolean hasBlockInfo() {
return entryCase_ == 4;
}
/**
* optional .alluxio.proto.journal.BlockInfoEntry block_info = 4;
*/
public alluxio.proto.journal.Block.BlockInfoEntry getBlockInfo() {
if (blockInfoBuilder_ == null) {
if (entryCase_ == 4) {
return (alluxio.proto.journal.Block.BlockInfoEntry) entry_;
}
return alluxio.proto.journal.Block.BlockInfoEntry.getDefaultInstance();
} else {
if (entryCase_ == 4) {
return blockInfoBuilder_.getMessage();
}
return alluxio.proto.journal.Block.BlockInfoEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.BlockInfoEntry block_info = 4;
*/
public Builder setBlockInfo(alluxio.proto.journal.Block.BlockInfoEntry value) {
if (blockInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
blockInfoBuilder_.setMessage(value);
}
entryCase_ = 4;
return this;
}
/**
* optional .alluxio.proto.journal.BlockInfoEntry block_info = 4;
*/
public Builder setBlockInfo(
alluxio.proto.journal.Block.BlockInfoEntry.Builder builderForValue) {
if (blockInfoBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
blockInfoBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 4;
return this;
}
/**
* optional .alluxio.proto.journal.BlockInfoEntry block_info = 4;
*/
public Builder mergeBlockInfo(alluxio.proto.journal.Block.BlockInfoEntry value) {
if (blockInfoBuilder_ == null) {
if (entryCase_ == 4 &&
entry_ != alluxio.proto.journal.Block.BlockInfoEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.Block.BlockInfoEntry.newBuilder((alluxio.proto.journal.Block.BlockInfoEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 4) {
blockInfoBuilder_.mergeFrom(value);
}
blockInfoBuilder_.setMessage(value);
}
entryCase_ = 4;
return this;
}
/**
* optional .alluxio.proto.journal.BlockInfoEntry block_info = 4;
*/
public Builder clearBlockInfo() {
if (blockInfoBuilder_ == null) {
if (entryCase_ == 4) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 4) {
entryCase_ = 0;
entry_ = null;
}
blockInfoBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.BlockInfoEntry block_info = 4;
*/
public alluxio.proto.journal.Block.BlockInfoEntry.Builder getBlockInfoBuilder() {
return getBlockInfoFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.BlockInfoEntry block_info = 4;
*/
public alluxio.proto.journal.Block.BlockInfoEntryOrBuilder getBlockInfoOrBuilder() {
if ((entryCase_ == 4) && (blockInfoBuilder_ != null)) {
return blockInfoBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 4) {
return (alluxio.proto.journal.Block.BlockInfoEntry) entry_;
}
return alluxio.proto.journal.Block.BlockInfoEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.BlockInfoEntry block_info = 4;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.Block.BlockInfoEntry, alluxio.proto.journal.Block.BlockInfoEntry.Builder, alluxio.proto.journal.Block.BlockInfoEntryOrBuilder>
getBlockInfoFieldBuilder() {
if (blockInfoBuilder_ == null) {
if (!(entryCase_ == 4)) {
entry_ = alluxio.proto.journal.Block.BlockInfoEntry.getDefaultInstance();
}
blockInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.Block.BlockInfoEntry, alluxio.proto.journal.Block.BlockInfoEntry.Builder, alluxio.proto.journal.Block.BlockInfoEntryOrBuilder>(
(alluxio.proto.journal.Block.BlockInfoEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 4;
return blockInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.CompleteFileEntry, alluxio.proto.journal.File.CompleteFileEntry.Builder, alluxio.proto.journal.File.CompleteFileEntryOrBuilder> completeFileBuilder_;
/**
* optional .alluxio.proto.journal.CompleteFileEntry complete_file = 5;
*/
public boolean hasCompleteFile() {
return entryCase_ == 5;
}
/**
* optional .alluxio.proto.journal.CompleteFileEntry complete_file = 5;
*/
public alluxio.proto.journal.File.CompleteFileEntry getCompleteFile() {
if (completeFileBuilder_ == null) {
if (entryCase_ == 5) {
return (alluxio.proto.journal.File.CompleteFileEntry) entry_;
}
return alluxio.proto.journal.File.CompleteFileEntry.getDefaultInstance();
} else {
if (entryCase_ == 5) {
return completeFileBuilder_.getMessage();
}
return alluxio.proto.journal.File.CompleteFileEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.CompleteFileEntry complete_file = 5;
*/
public Builder setCompleteFile(alluxio.proto.journal.File.CompleteFileEntry value) {
if (completeFileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
completeFileBuilder_.setMessage(value);
}
entryCase_ = 5;
return this;
}
/**
* optional .alluxio.proto.journal.CompleteFileEntry complete_file = 5;
*/
public Builder setCompleteFile(
alluxio.proto.journal.File.CompleteFileEntry.Builder builderForValue) {
if (completeFileBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
completeFileBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 5;
return this;
}
/**
* optional .alluxio.proto.journal.CompleteFileEntry complete_file = 5;
*/
public Builder mergeCompleteFile(alluxio.proto.journal.File.CompleteFileEntry value) {
if (completeFileBuilder_ == null) {
if (entryCase_ == 5 &&
entry_ != alluxio.proto.journal.File.CompleteFileEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.File.CompleteFileEntry.newBuilder((alluxio.proto.journal.File.CompleteFileEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 5) {
completeFileBuilder_.mergeFrom(value);
}
completeFileBuilder_.setMessage(value);
}
entryCase_ = 5;
return this;
}
/**
* optional .alluxio.proto.journal.CompleteFileEntry complete_file = 5;
*/
public Builder clearCompleteFile() {
if (completeFileBuilder_ == null) {
if (entryCase_ == 5) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 5) {
entryCase_ = 0;
entry_ = null;
}
completeFileBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.CompleteFileEntry complete_file = 5;
*/
public alluxio.proto.journal.File.CompleteFileEntry.Builder getCompleteFileBuilder() {
return getCompleteFileFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.CompleteFileEntry complete_file = 5;
*/
public alluxio.proto.journal.File.CompleteFileEntryOrBuilder getCompleteFileOrBuilder() {
if ((entryCase_ == 5) && (completeFileBuilder_ != null)) {
return completeFileBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 5) {
return (alluxio.proto.journal.File.CompleteFileEntry) entry_;
}
return alluxio.proto.journal.File.CompleteFileEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.CompleteFileEntry complete_file = 5;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.CompleteFileEntry, alluxio.proto.journal.File.CompleteFileEntry.Builder, alluxio.proto.journal.File.CompleteFileEntryOrBuilder>
getCompleteFileFieldBuilder() {
if (completeFileBuilder_ == null) {
if (!(entryCase_ == 5)) {
entry_ = alluxio.proto.journal.File.CompleteFileEntry.getDefaultInstance();
}
completeFileBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.CompleteFileEntry, alluxio.proto.journal.File.CompleteFileEntry.Builder, alluxio.proto.journal.File.CompleteFileEntryOrBuilder>(
(alluxio.proto.journal.File.CompleteFileEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 5;
return completeFileBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.CompletePartitionEntry, alluxio.proto.journal.KeyValue.CompletePartitionEntry.Builder, alluxio.proto.journal.KeyValue.CompletePartitionEntryOrBuilder> completePartitionBuilder_;
/**
* optional .alluxio.proto.journal.CompletePartitionEntry complete_partition = 21;
*/
public boolean hasCompletePartition() {
return entryCase_ == 21;
}
/**
* optional .alluxio.proto.journal.CompletePartitionEntry complete_partition = 21;
*/
public alluxio.proto.journal.KeyValue.CompletePartitionEntry getCompletePartition() {
if (completePartitionBuilder_ == null) {
if (entryCase_ == 21) {
return (alluxio.proto.journal.KeyValue.CompletePartitionEntry) entry_;
}
return alluxio.proto.journal.KeyValue.CompletePartitionEntry.getDefaultInstance();
} else {
if (entryCase_ == 21) {
return completePartitionBuilder_.getMessage();
}
return alluxio.proto.journal.KeyValue.CompletePartitionEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.CompletePartitionEntry complete_partition = 21;
*/
public Builder setCompletePartition(alluxio.proto.journal.KeyValue.CompletePartitionEntry value) {
if (completePartitionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
completePartitionBuilder_.setMessage(value);
}
entryCase_ = 21;
return this;
}
/**
* optional .alluxio.proto.journal.CompletePartitionEntry complete_partition = 21;
*/
public Builder setCompletePartition(
alluxio.proto.journal.KeyValue.CompletePartitionEntry.Builder builderForValue) {
if (completePartitionBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
completePartitionBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 21;
return this;
}
/**
* optional .alluxio.proto.journal.CompletePartitionEntry complete_partition = 21;
*/
public Builder mergeCompletePartition(alluxio.proto.journal.KeyValue.CompletePartitionEntry value) {
if (completePartitionBuilder_ == null) {
if (entryCase_ == 21 &&
entry_ != alluxio.proto.journal.KeyValue.CompletePartitionEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.KeyValue.CompletePartitionEntry.newBuilder((alluxio.proto.journal.KeyValue.CompletePartitionEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 21) {
completePartitionBuilder_.mergeFrom(value);
}
completePartitionBuilder_.setMessage(value);
}
entryCase_ = 21;
return this;
}
/**
* optional .alluxio.proto.journal.CompletePartitionEntry complete_partition = 21;
*/
public Builder clearCompletePartition() {
if (completePartitionBuilder_ == null) {
if (entryCase_ == 21) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 21) {
entryCase_ = 0;
entry_ = null;
}
completePartitionBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.CompletePartitionEntry complete_partition = 21;
*/
public alluxio.proto.journal.KeyValue.CompletePartitionEntry.Builder getCompletePartitionBuilder() {
return getCompletePartitionFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.CompletePartitionEntry complete_partition = 21;
*/
public alluxio.proto.journal.KeyValue.CompletePartitionEntryOrBuilder getCompletePartitionOrBuilder() {
if ((entryCase_ == 21) && (completePartitionBuilder_ != null)) {
return completePartitionBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 21) {
return (alluxio.proto.journal.KeyValue.CompletePartitionEntry) entry_;
}
return alluxio.proto.journal.KeyValue.CompletePartitionEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.CompletePartitionEntry complete_partition = 21;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.CompletePartitionEntry, alluxio.proto.journal.KeyValue.CompletePartitionEntry.Builder, alluxio.proto.journal.KeyValue.CompletePartitionEntryOrBuilder>
getCompletePartitionFieldBuilder() {
if (completePartitionBuilder_ == null) {
if (!(entryCase_ == 21)) {
entry_ = alluxio.proto.journal.KeyValue.CompletePartitionEntry.getDefaultInstance();
}
completePartitionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.CompletePartitionEntry, alluxio.proto.journal.KeyValue.CompletePartitionEntry.Builder, alluxio.proto.journal.KeyValue.CompletePartitionEntryOrBuilder>(
(alluxio.proto.journal.KeyValue.CompletePartitionEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 21;
return completePartitionBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.CompleteStoreEntry, alluxio.proto.journal.KeyValue.CompleteStoreEntry.Builder, alluxio.proto.journal.KeyValue.CompleteStoreEntryOrBuilder> completeStoreBuilder_;
/**
* optional .alluxio.proto.journal.CompleteStoreEntry complete_store = 22;
*/
public boolean hasCompleteStore() {
return entryCase_ == 22;
}
/**
* optional .alluxio.proto.journal.CompleteStoreEntry complete_store = 22;
*/
public alluxio.proto.journal.KeyValue.CompleteStoreEntry getCompleteStore() {
if (completeStoreBuilder_ == null) {
if (entryCase_ == 22) {
return (alluxio.proto.journal.KeyValue.CompleteStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.CompleteStoreEntry.getDefaultInstance();
} else {
if (entryCase_ == 22) {
return completeStoreBuilder_.getMessage();
}
return alluxio.proto.journal.KeyValue.CompleteStoreEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.CompleteStoreEntry complete_store = 22;
*/
public Builder setCompleteStore(alluxio.proto.journal.KeyValue.CompleteStoreEntry value) {
if (completeStoreBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
completeStoreBuilder_.setMessage(value);
}
entryCase_ = 22;
return this;
}
/**
* optional .alluxio.proto.journal.CompleteStoreEntry complete_store = 22;
*/
public Builder setCompleteStore(
alluxio.proto.journal.KeyValue.CompleteStoreEntry.Builder builderForValue) {
if (completeStoreBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
completeStoreBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 22;
return this;
}
/**
* optional .alluxio.proto.journal.CompleteStoreEntry complete_store = 22;
*/
public Builder mergeCompleteStore(alluxio.proto.journal.KeyValue.CompleteStoreEntry value) {
if (completeStoreBuilder_ == null) {
if (entryCase_ == 22 &&
entry_ != alluxio.proto.journal.KeyValue.CompleteStoreEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.KeyValue.CompleteStoreEntry.newBuilder((alluxio.proto.journal.KeyValue.CompleteStoreEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 22) {
completeStoreBuilder_.mergeFrom(value);
}
completeStoreBuilder_.setMessage(value);
}
entryCase_ = 22;
return this;
}
/**
* optional .alluxio.proto.journal.CompleteStoreEntry complete_store = 22;
*/
public Builder clearCompleteStore() {
if (completeStoreBuilder_ == null) {
if (entryCase_ == 22) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 22) {
entryCase_ = 0;
entry_ = null;
}
completeStoreBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.CompleteStoreEntry complete_store = 22;
*/
public alluxio.proto.journal.KeyValue.CompleteStoreEntry.Builder getCompleteStoreBuilder() {
return getCompleteStoreFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.CompleteStoreEntry complete_store = 22;
*/
public alluxio.proto.journal.KeyValue.CompleteStoreEntryOrBuilder getCompleteStoreOrBuilder() {
if ((entryCase_ == 22) && (completeStoreBuilder_ != null)) {
return completeStoreBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 22) {
return (alluxio.proto.journal.KeyValue.CompleteStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.CompleteStoreEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.CompleteStoreEntry complete_store = 22;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.CompleteStoreEntry, alluxio.proto.journal.KeyValue.CompleteStoreEntry.Builder, alluxio.proto.journal.KeyValue.CompleteStoreEntryOrBuilder>
getCompleteStoreFieldBuilder() {
if (completeStoreBuilder_ == null) {
if (!(entryCase_ == 22)) {
entry_ = alluxio.proto.journal.KeyValue.CompleteStoreEntry.getDefaultInstance();
}
completeStoreBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.CompleteStoreEntry, alluxio.proto.journal.KeyValue.CompleteStoreEntry.Builder, alluxio.proto.journal.KeyValue.CompleteStoreEntryOrBuilder>(
(alluxio.proto.journal.KeyValue.CompleteStoreEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 22;
return completeStoreBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.CreateStoreEntry, alluxio.proto.journal.KeyValue.CreateStoreEntry.Builder, alluxio.proto.journal.KeyValue.CreateStoreEntryOrBuilder> createStoreBuilder_;
/**
* optional .alluxio.proto.journal.CreateStoreEntry create_store = 23;
*/
public boolean hasCreateStore() {
return entryCase_ == 23;
}
/**
* optional .alluxio.proto.journal.CreateStoreEntry create_store = 23;
*/
public alluxio.proto.journal.KeyValue.CreateStoreEntry getCreateStore() {
if (createStoreBuilder_ == null) {
if (entryCase_ == 23) {
return (alluxio.proto.journal.KeyValue.CreateStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.CreateStoreEntry.getDefaultInstance();
} else {
if (entryCase_ == 23) {
return createStoreBuilder_.getMessage();
}
return alluxio.proto.journal.KeyValue.CreateStoreEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.CreateStoreEntry create_store = 23;
*/
public Builder setCreateStore(alluxio.proto.journal.KeyValue.CreateStoreEntry value) {
if (createStoreBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
createStoreBuilder_.setMessage(value);
}
entryCase_ = 23;
return this;
}
/**
* optional .alluxio.proto.journal.CreateStoreEntry create_store = 23;
*/
public Builder setCreateStore(
alluxio.proto.journal.KeyValue.CreateStoreEntry.Builder builderForValue) {
if (createStoreBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
createStoreBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 23;
return this;
}
/**
* optional .alluxio.proto.journal.CreateStoreEntry create_store = 23;
*/
public Builder mergeCreateStore(alluxio.proto.journal.KeyValue.CreateStoreEntry value) {
if (createStoreBuilder_ == null) {
if (entryCase_ == 23 &&
entry_ != alluxio.proto.journal.KeyValue.CreateStoreEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.KeyValue.CreateStoreEntry.newBuilder((alluxio.proto.journal.KeyValue.CreateStoreEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 23) {
createStoreBuilder_.mergeFrom(value);
}
createStoreBuilder_.setMessage(value);
}
entryCase_ = 23;
return this;
}
/**
* optional .alluxio.proto.journal.CreateStoreEntry create_store = 23;
*/
public Builder clearCreateStore() {
if (createStoreBuilder_ == null) {
if (entryCase_ == 23) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 23) {
entryCase_ = 0;
entry_ = null;
}
createStoreBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.CreateStoreEntry create_store = 23;
*/
public alluxio.proto.journal.KeyValue.CreateStoreEntry.Builder getCreateStoreBuilder() {
return getCreateStoreFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.CreateStoreEntry create_store = 23;
*/
public alluxio.proto.journal.KeyValue.CreateStoreEntryOrBuilder getCreateStoreOrBuilder() {
if ((entryCase_ == 23) && (createStoreBuilder_ != null)) {
return createStoreBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 23) {
return (alluxio.proto.journal.KeyValue.CreateStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.CreateStoreEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.CreateStoreEntry create_store = 23;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.CreateStoreEntry, alluxio.proto.journal.KeyValue.CreateStoreEntry.Builder, alluxio.proto.journal.KeyValue.CreateStoreEntryOrBuilder>
getCreateStoreFieldBuilder() {
if (createStoreBuilder_ == null) {
if (!(entryCase_ == 23)) {
entry_ = alluxio.proto.journal.KeyValue.CreateStoreEntry.getDefaultInstance();
}
createStoreBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.CreateStoreEntry, alluxio.proto.journal.KeyValue.CreateStoreEntry.Builder, alluxio.proto.journal.KeyValue.CreateStoreEntryOrBuilder>(
(alluxio.proto.journal.KeyValue.CreateStoreEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 23;
return createStoreBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.DeleteFileEntry, alluxio.proto.journal.File.DeleteFileEntry.Builder, alluxio.proto.journal.File.DeleteFileEntryOrBuilder> deleteFileBuilder_;
/**
* optional .alluxio.proto.journal.DeleteFileEntry delete_file = 6;
*/
public boolean hasDeleteFile() {
return entryCase_ == 6;
}
/**
* optional .alluxio.proto.journal.DeleteFileEntry delete_file = 6;
*/
public alluxio.proto.journal.File.DeleteFileEntry getDeleteFile() {
if (deleteFileBuilder_ == null) {
if (entryCase_ == 6) {
return (alluxio.proto.journal.File.DeleteFileEntry) entry_;
}
return alluxio.proto.journal.File.DeleteFileEntry.getDefaultInstance();
} else {
if (entryCase_ == 6) {
return deleteFileBuilder_.getMessage();
}
return alluxio.proto.journal.File.DeleteFileEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.DeleteFileEntry delete_file = 6;
*/
public Builder setDeleteFile(alluxio.proto.journal.File.DeleteFileEntry value) {
if (deleteFileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
deleteFileBuilder_.setMessage(value);
}
entryCase_ = 6;
return this;
}
/**
* optional .alluxio.proto.journal.DeleteFileEntry delete_file = 6;
*/
public Builder setDeleteFile(
alluxio.proto.journal.File.DeleteFileEntry.Builder builderForValue) {
if (deleteFileBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
deleteFileBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 6;
return this;
}
/**
* optional .alluxio.proto.journal.DeleteFileEntry delete_file = 6;
*/
public Builder mergeDeleteFile(alluxio.proto.journal.File.DeleteFileEntry value) {
if (deleteFileBuilder_ == null) {
if (entryCase_ == 6 &&
entry_ != alluxio.proto.journal.File.DeleteFileEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.File.DeleteFileEntry.newBuilder((alluxio.proto.journal.File.DeleteFileEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 6) {
deleteFileBuilder_.mergeFrom(value);
}
deleteFileBuilder_.setMessage(value);
}
entryCase_ = 6;
return this;
}
/**
* optional .alluxio.proto.journal.DeleteFileEntry delete_file = 6;
*/
public Builder clearDeleteFile() {
if (deleteFileBuilder_ == null) {
if (entryCase_ == 6) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 6) {
entryCase_ = 0;
entry_ = null;
}
deleteFileBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.DeleteFileEntry delete_file = 6;
*/
public alluxio.proto.journal.File.DeleteFileEntry.Builder getDeleteFileBuilder() {
return getDeleteFileFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.DeleteFileEntry delete_file = 6;
*/
public alluxio.proto.journal.File.DeleteFileEntryOrBuilder getDeleteFileOrBuilder() {
if ((entryCase_ == 6) && (deleteFileBuilder_ != null)) {
return deleteFileBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 6) {
return (alluxio.proto.journal.File.DeleteFileEntry) entry_;
}
return alluxio.proto.journal.File.DeleteFileEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.DeleteFileEntry delete_file = 6;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.DeleteFileEntry, alluxio.proto.journal.File.DeleteFileEntry.Builder, alluxio.proto.journal.File.DeleteFileEntryOrBuilder>
getDeleteFileFieldBuilder() {
if (deleteFileBuilder_ == null) {
if (!(entryCase_ == 6)) {
entry_ = alluxio.proto.journal.File.DeleteFileEntry.getDefaultInstance();
}
deleteFileBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.DeleteFileEntry, alluxio.proto.journal.File.DeleteFileEntry.Builder, alluxio.proto.journal.File.DeleteFileEntryOrBuilder>(
(alluxio.proto.journal.File.DeleteFileEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 6;
return deleteFileBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.Lineage.DeleteLineageEntry, alluxio.proto.journal.Lineage.DeleteLineageEntry.Builder, alluxio.proto.journal.Lineage.DeleteLineageEntryOrBuilder> deleteLineageBuilder_;
/**
* optional .alluxio.proto.journal.DeleteLineageEntry delete_lineage = 7;
*/
public boolean hasDeleteLineage() {
return entryCase_ == 7;
}
/**
* optional .alluxio.proto.journal.DeleteLineageEntry delete_lineage = 7;
*/
public alluxio.proto.journal.Lineage.DeleteLineageEntry getDeleteLineage() {
if (deleteLineageBuilder_ == null) {
if (entryCase_ == 7) {
return (alluxio.proto.journal.Lineage.DeleteLineageEntry) entry_;
}
return alluxio.proto.journal.Lineage.DeleteLineageEntry.getDefaultInstance();
} else {
if (entryCase_ == 7) {
return deleteLineageBuilder_.getMessage();
}
return alluxio.proto.journal.Lineage.DeleteLineageEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.DeleteLineageEntry delete_lineage = 7;
*/
public Builder setDeleteLineage(alluxio.proto.journal.Lineage.DeleteLineageEntry value) {
if (deleteLineageBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
deleteLineageBuilder_.setMessage(value);
}
entryCase_ = 7;
return this;
}
/**
* optional .alluxio.proto.journal.DeleteLineageEntry delete_lineage = 7;
*/
public Builder setDeleteLineage(
alluxio.proto.journal.Lineage.DeleteLineageEntry.Builder builderForValue) {
if (deleteLineageBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
deleteLineageBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 7;
return this;
}
/**
* optional .alluxio.proto.journal.DeleteLineageEntry delete_lineage = 7;
*/
public Builder mergeDeleteLineage(alluxio.proto.journal.Lineage.DeleteLineageEntry value) {
if (deleteLineageBuilder_ == null) {
if (entryCase_ == 7 &&
entry_ != alluxio.proto.journal.Lineage.DeleteLineageEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.Lineage.DeleteLineageEntry.newBuilder((alluxio.proto.journal.Lineage.DeleteLineageEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 7) {
deleteLineageBuilder_.mergeFrom(value);
}
deleteLineageBuilder_.setMessage(value);
}
entryCase_ = 7;
return this;
}
/**
* optional .alluxio.proto.journal.DeleteLineageEntry delete_lineage = 7;
*/
public Builder clearDeleteLineage() {
if (deleteLineageBuilder_ == null) {
if (entryCase_ == 7) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 7) {
entryCase_ = 0;
entry_ = null;
}
deleteLineageBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.DeleteLineageEntry delete_lineage = 7;
*/
public alluxio.proto.journal.Lineage.DeleteLineageEntry.Builder getDeleteLineageBuilder() {
return getDeleteLineageFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.DeleteLineageEntry delete_lineage = 7;
*/
public alluxio.proto.journal.Lineage.DeleteLineageEntryOrBuilder getDeleteLineageOrBuilder() {
if ((entryCase_ == 7) && (deleteLineageBuilder_ != null)) {
return deleteLineageBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 7) {
return (alluxio.proto.journal.Lineage.DeleteLineageEntry) entry_;
}
return alluxio.proto.journal.Lineage.DeleteLineageEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.DeleteLineageEntry delete_lineage = 7;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.Lineage.DeleteLineageEntry, alluxio.proto.journal.Lineage.DeleteLineageEntry.Builder, alluxio.proto.journal.Lineage.DeleteLineageEntryOrBuilder>
getDeleteLineageFieldBuilder() {
if (deleteLineageBuilder_ == null) {
if (!(entryCase_ == 7)) {
entry_ = alluxio.proto.journal.Lineage.DeleteLineageEntry.getDefaultInstance();
}
deleteLineageBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.Lineage.DeleteLineageEntry, alluxio.proto.journal.Lineage.DeleteLineageEntry.Builder, alluxio.proto.journal.Lineage.DeleteLineageEntryOrBuilder>(
(alluxio.proto.journal.Lineage.DeleteLineageEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 7;
return deleteLineageBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.DeleteMountPointEntry, alluxio.proto.journal.File.DeleteMountPointEntry.Builder, alluxio.proto.journal.File.DeleteMountPointEntryOrBuilder> deleteMountPointBuilder_;
/**
* optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;
*/
public boolean hasDeleteMountPoint() {
return entryCase_ == 8;
}
/**
* optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;
*/
public alluxio.proto.journal.File.DeleteMountPointEntry getDeleteMountPoint() {
if (deleteMountPointBuilder_ == null) {
if (entryCase_ == 8) {
return (alluxio.proto.journal.File.DeleteMountPointEntry) entry_;
}
return alluxio.proto.journal.File.DeleteMountPointEntry.getDefaultInstance();
} else {
if (entryCase_ == 8) {
return deleteMountPointBuilder_.getMessage();
}
return alluxio.proto.journal.File.DeleteMountPointEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;
*/
public Builder setDeleteMountPoint(alluxio.proto.journal.File.DeleteMountPointEntry value) {
if (deleteMountPointBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
deleteMountPointBuilder_.setMessage(value);
}
entryCase_ = 8;
return this;
}
/**
* optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;
*/
public Builder setDeleteMountPoint(
alluxio.proto.journal.File.DeleteMountPointEntry.Builder builderForValue) {
if (deleteMountPointBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
deleteMountPointBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 8;
return this;
}
/**
* optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;
*/
public Builder mergeDeleteMountPoint(alluxio.proto.journal.File.DeleteMountPointEntry value) {
if (deleteMountPointBuilder_ == null) {
if (entryCase_ == 8 &&
entry_ != alluxio.proto.journal.File.DeleteMountPointEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.File.DeleteMountPointEntry.newBuilder((alluxio.proto.journal.File.DeleteMountPointEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 8) {
deleteMountPointBuilder_.mergeFrom(value);
}
deleteMountPointBuilder_.setMessage(value);
}
entryCase_ = 8;
return this;
}
/**
* optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;
*/
public Builder clearDeleteMountPoint() {
if (deleteMountPointBuilder_ == null) {
if (entryCase_ == 8) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 8) {
entryCase_ = 0;
entry_ = null;
}
deleteMountPointBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;
*/
public alluxio.proto.journal.File.DeleteMountPointEntry.Builder getDeleteMountPointBuilder() {
return getDeleteMountPointFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;
*/
public alluxio.proto.journal.File.DeleteMountPointEntryOrBuilder getDeleteMountPointOrBuilder() {
if ((entryCase_ == 8) && (deleteMountPointBuilder_ != null)) {
return deleteMountPointBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 8) {
return (alluxio.proto.journal.File.DeleteMountPointEntry) entry_;
}
return alluxio.proto.journal.File.DeleteMountPointEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.DeleteMountPointEntry, alluxio.proto.journal.File.DeleteMountPointEntry.Builder, alluxio.proto.journal.File.DeleteMountPointEntryOrBuilder>
getDeleteMountPointFieldBuilder() {
if (deleteMountPointBuilder_ == null) {
if (!(entryCase_ == 8)) {
entry_ = alluxio.proto.journal.File.DeleteMountPointEntry.getDefaultInstance();
}
deleteMountPointBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.DeleteMountPointEntry, alluxio.proto.journal.File.DeleteMountPointEntry.Builder, alluxio.proto.journal.File.DeleteMountPointEntryOrBuilder>(
(alluxio.proto.journal.File.DeleteMountPointEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 8;
return deleteMountPointBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.DeleteStoreEntry, alluxio.proto.journal.KeyValue.DeleteStoreEntry.Builder, alluxio.proto.journal.KeyValue.DeleteStoreEntryOrBuilder> deleteStoreBuilder_;
/**
* optional .alluxio.proto.journal.DeleteStoreEntry delete_store = 25;
*/
public boolean hasDeleteStore() {
return entryCase_ == 25;
}
/**
* optional .alluxio.proto.journal.DeleteStoreEntry delete_store = 25;
*/
public alluxio.proto.journal.KeyValue.DeleteStoreEntry getDeleteStore() {
if (deleteStoreBuilder_ == null) {
if (entryCase_ == 25) {
return (alluxio.proto.journal.KeyValue.DeleteStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.DeleteStoreEntry.getDefaultInstance();
} else {
if (entryCase_ == 25) {
return deleteStoreBuilder_.getMessage();
}
return alluxio.proto.journal.KeyValue.DeleteStoreEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.DeleteStoreEntry delete_store = 25;
*/
public Builder setDeleteStore(alluxio.proto.journal.KeyValue.DeleteStoreEntry value) {
if (deleteStoreBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
deleteStoreBuilder_.setMessage(value);
}
entryCase_ = 25;
return this;
}
/**
* optional .alluxio.proto.journal.DeleteStoreEntry delete_store = 25;
*/
public Builder setDeleteStore(
alluxio.proto.journal.KeyValue.DeleteStoreEntry.Builder builderForValue) {
if (deleteStoreBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
deleteStoreBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 25;
return this;
}
/**
* optional .alluxio.proto.journal.DeleteStoreEntry delete_store = 25;
*/
public Builder mergeDeleteStore(alluxio.proto.journal.KeyValue.DeleteStoreEntry value) {
if (deleteStoreBuilder_ == null) {
if (entryCase_ == 25 &&
entry_ != alluxio.proto.journal.KeyValue.DeleteStoreEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.KeyValue.DeleteStoreEntry.newBuilder((alluxio.proto.journal.KeyValue.DeleteStoreEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 25) {
deleteStoreBuilder_.mergeFrom(value);
}
deleteStoreBuilder_.setMessage(value);
}
entryCase_ = 25;
return this;
}
/**
* optional .alluxio.proto.journal.DeleteStoreEntry delete_store = 25;
*/
public Builder clearDeleteStore() {
if (deleteStoreBuilder_ == null) {
if (entryCase_ == 25) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 25) {
entryCase_ = 0;
entry_ = null;
}
deleteStoreBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.DeleteStoreEntry delete_store = 25;
*/
public alluxio.proto.journal.KeyValue.DeleteStoreEntry.Builder getDeleteStoreBuilder() {
return getDeleteStoreFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.DeleteStoreEntry delete_store = 25;
*/
public alluxio.proto.journal.KeyValue.DeleteStoreEntryOrBuilder getDeleteStoreOrBuilder() {
if ((entryCase_ == 25) && (deleteStoreBuilder_ != null)) {
return deleteStoreBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 25) {
return (alluxio.proto.journal.KeyValue.DeleteStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.DeleteStoreEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.DeleteStoreEntry delete_store = 25;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.DeleteStoreEntry, alluxio.proto.journal.KeyValue.DeleteStoreEntry.Builder, alluxio.proto.journal.KeyValue.DeleteStoreEntryOrBuilder>
getDeleteStoreFieldBuilder() {
if (deleteStoreBuilder_ == null) {
if (!(entryCase_ == 25)) {
entry_ = alluxio.proto.journal.KeyValue.DeleteStoreEntry.getDefaultInstance();
}
deleteStoreBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.DeleteStoreEntry, alluxio.proto.journal.KeyValue.DeleteStoreEntry.Builder, alluxio.proto.journal.KeyValue.DeleteStoreEntryOrBuilder>(
(alluxio.proto.journal.KeyValue.DeleteStoreEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 25;
return deleteStoreBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.InodeDirectoryEntry, alluxio.proto.journal.File.InodeDirectoryEntry.Builder, alluxio.proto.journal.File.InodeDirectoryEntryOrBuilder> inodeDirectoryBuilder_;
/**
* optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;
*/
public boolean hasInodeDirectory() {
return entryCase_ == 9;
}
/**
* optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;
*/
public alluxio.proto.journal.File.InodeDirectoryEntry getInodeDirectory() {
if (inodeDirectoryBuilder_ == null) {
if (entryCase_ == 9) {
return (alluxio.proto.journal.File.InodeDirectoryEntry) entry_;
}
return alluxio.proto.journal.File.InodeDirectoryEntry.getDefaultInstance();
} else {
if (entryCase_ == 9) {
return inodeDirectoryBuilder_.getMessage();
}
return alluxio.proto.journal.File.InodeDirectoryEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;
*/
public Builder setInodeDirectory(alluxio.proto.journal.File.InodeDirectoryEntry value) {
if (inodeDirectoryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
inodeDirectoryBuilder_.setMessage(value);
}
entryCase_ = 9;
return this;
}
/**
* optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;
*/
public Builder setInodeDirectory(
alluxio.proto.journal.File.InodeDirectoryEntry.Builder builderForValue) {
if (inodeDirectoryBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
inodeDirectoryBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 9;
return this;
}
/**
* optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;
*/
public Builder mergeInodeDirectory(alluxio.proto.journal.File.InodeDirectoryEntry value) {
if (inodeDirectoryBuilder_ == null) {
if (entryCase_ == 9 &&
entry_ != alluxio.proto.journal.File.InodeDirectoryEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.File.InodeDirectoryEntry.newBuilder((alluxio.proto.journal.File.InodeDirectoryEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 9) {
inodeDirectoryBuilder_.mergeFrom(value);
}
inodeDirectoryBuilder_.setMessage(value);
}
entryCase_ = 9;
return this;
}
/**
* optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;
*/
public Builder clearInodeDirectory() {
if (inodeDirectoryBuilder_ == null) {
if (entryCase_ == 9) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 9) {
entryCase_ = 0;
entry_ = null;
}
inodeDirectoryBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;
*/
public alluxio.proto.journal.File.InodeDirectoryEntry.Builder getInodeDirectoryBuilder() {
return getInodeDirectoryFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;
*/
public alluxio.proto.journal.File.InodeDirectoryEntryOrBuilder getInodeDirectoryOrBuilder() {
if ((entryCase_ == 9) && (inodeDirectoryBuilder_ != null)) {
return inodeDirectoryBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 9) {
return (alluxio.proto.journal.File.InodeDirectoryEntry) entry_;
}
return alluxio.proto.journal.File.InodeDirectoryEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.InodeDirectoryEntry, alluxio.proto.journal.File.InodeDirectoryEntry.Builder, alluxio.proto.journal.File.InodeDirectoryEntryOrBuilder>
getInodeDirectoryFieldBuilder() {
if (inodeDirectoryBuilder_ == null) {
if (!(entryCase_ == 9)) {
entry_ = alluxio.proto.journal.File.InodeDirectoryEntry.getDefaultInstance();
}
inodeDirectoryBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.InodeDirectoryEntry, alluxio.proto.journal.File.InodeDirectoryEntry.Builder, alluxio.proto.journal.File.InodeDirectoryEntryOrBuilder>(
(alluxio.proto.journal.File.InodeDirectoryEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 9;
return inodeDirectoryBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry, alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.Builder, alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntryOrBuilder> inodeDirectoryIdGeneratorBuilder_;
/**
* optional .alluxio.proto.journal.InodeDirectoryIdGeneratorEntry inode_directory_id_generator = 10;
*/
public boolean hasInodeDirectoryIdGenerator() {
return entryCase_ == 10;
}
/**
* optional .alluxio.proto.journal.InodeDirectoryIdGeneratorEntry inode_directory_id_generator = 10;
*/
public alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry getInodeDirectoryIdGenerator() {
if (inodeDirectoryIdGeneratorBuilder_ == null) {
if (entryCase_ == 10) {
return (alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry) entry_;
}
return alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.getDefaultInstance();
} else {
if (entryCase_ == 10) {
return inodeDirectoryIdGeneratorBuilder_.getMessage();
}
return alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.InodeDirectoryIdGeneratorEntry inode_directory_id_generator = 10;
*/
public Builder setInodeDirectoryIdGenerator(alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry value) {
if (inodeDirectoryIdGeneratorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
inodeDirectoryIdGeneratorBuilder_.setMessage(value);
}
entryCase_ = 10;
return this;
}
/**
* optional .alluxio.proto.journal.InodeDirectoryIdGeneratorEntry inode_directory_id_generator = 10;
*/
public Builder setInodeDirectoryIdGenerator(
alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.Builder builderForValue) {
if (inodeDirectoryIdGeneratorBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
inodeDirectoryIdGeneratorBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 10;
return this;
}
/**
* optional .alluxio.proto.journal.InodeDirectoryIdGeneratorEntry inode_directory_id_generator = 10;
*/
public Builder mergeInodeDirectoryIdGenerator(alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry value) {
if (inodeDirectoryIdGeneratorBuilder_ == null) {
if (entryCase_ == 10 &&
entry_ != alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.newBuilder((alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 10) {
inodeDirectoryIdGeneratorBuilder_.mergeFrom(value);
}
inodeDirectoryIdGeneratorBuilder_.setMessage(value);
}
entryCase_ = 10;
return this;
}
/**
* optional .alluxio.proto.journal.InodeDirectoryIdGeneratorEntry inode_directory_id_generator = 10;
*/
public Builder clearInodeDirectoryIdGenerator() {
if (inodeDirectoryIdGeneratorBuilder_ == null) {
if (entryCase_ == 10) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 10) {
entryCase_ = 0;
entry_ = null;
}
inodeDirectoryIdGeneratorBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.InodeDirectoryIdGeneratorEntry inode_directory_id_generator = 10;
*/
public alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.Builder getInodeDirectoryIdGeneratorBuilder() {
return getInodeDirectoryIdGeneratorFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.InodeDirectoryIdGeneratorEntry inode_directory_id_generator = 10;
*/
public alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntryOrBuilder getInodeDirectoryIdGeneratorOrBuilder() {
if ((entryCase_ == 10) && (inodeDirectoryIdGeneratorBuilder_ != null)) {
return inodeDirectoryIdGeneratorBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 10) {
return (alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry) entry_;
}
return alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.InodeDirectoryIdGeneratorEntry inode_directory_id_generator = 10;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry, alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.Builder, alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntryOrBuilder>
getInodeDirectoryIdGeneratorFieldBuilder() {
if (inodeDirectoryIdGeneratorBuilder_ == null) {
if (!(entryCase_ == 10)) {
entry_ = alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.getDefaultInstance();
}
inodeDirectoryIdGeneratorBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry, alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry.Builder, alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntryOrBuilder>(
(alluxio.proto.journal.File.InodeDirectoryIdGeneratorEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 10;
return inodeDirectoryIdGeneratorBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.InodeFileEntry, alluxio.proto.journal.File.InodeFileEntry.Builder, alluxio.proto.journal.File.InodeFileEntryOrBuilder> inodeFileBuilder_;
/**
* optional .alluxio.proto.journal.InodeFileEntry inode_file = 11;
*/
public boolean hasInodeFile() {
return entryCase_ == 11;
}
/**
* optional .alluxio.proto.journal.InodeFileEntry inode_file = 11;
*/
public alluxio.proto.journal.File.InodeFileEntry getInodeFile() {
if (inodeFileBuilder_ == null) {
if (entryCase_ == 11) {
return (alluxio.proto.journal.File.InodeFileEntry) entry_;
}
return alluxio.proto.journal.File.InodeFileEntry.getDefaultInstance();
} else {
if (entryCase_ == 11) {
return inodeFileBuilder_.getMessage();
}
return alluxio.proto.journal.File.InodeFileEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.InodeFileEntry inode_file = 11;
*/
public Builder setInodeFile(alluxio.proto.journal.File.InodeFileEntry value) {
if (inodeFileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
inodeFileBuilder_.setMessage(value);
}
entryCase_ = 11;
return this;
}
/**
* optional .alluxio.proto.journal.InodeFileEntry inode_file = 11;
*/
public Builder setInodeFile(
alluxio.proto.journal.File.InodeFileEntry.Builder builderForValue) {
if (inodeFileBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
inodeFileBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 11;
return this;
}
/**
* optional .alluxio.proto.journal.InodeFileEntry inode_file = 11;
*/
public Builder mergeInodeFile(alluxio.proto.journal.File.InodeFileEntry value) {
if (inodeFileBuilder_ == null) {
if (entryCase_ == 11 &&
entry_ != alluxio.proto.journal.File.InodeFileEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.File.InodeFileEntry.newBuilder((alluxio.proto.journal.File.InodeFileEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 11) {
inodeFileBuilder_.mergeFrom(value);
}
inodeFileBuilder_.setMessage(value);
}
entryCase_ = 11;
return this;
}
/**
* optional .alluxio.proto.journal.InodeFileEntry inode_file = 11;
*/
public Builder clearInodeFile() {
if (inodeFileBuilder_ == null) {
if (entryCase_ == 11) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 11) {
entryCase_ = 0;
entry_ = null;
}
inodeFileBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.InodeFileEntry inode_file = 11;
*/
public alluxio.proto.journal.File.InodeFileEntry.Builder getInodeFileBuilder() {
return getInodeFileFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.InodeFileEntry inode_file = 11;
*/
public alluxio.proto.journal.File.InodeFileEntryOrBuilder getInodeFileOrBuilder() {
if ((entryCase_ == 11) && (inodeFileBuilder_ != null)) {
return inodeFileBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 11) {
return (alluxio.proto.journal.File.InodeFileEntry) entry_;
}
return alluxio.proto.journal.File.InodeFileEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.InodeFileEntry inode_file = 11;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.InodeFileEntry, alluxio.proto.journal.File.InodeFileEntry.Builder, alluxio.proto.journal.File.InodeFileEntryOrBuilder>
getInodeFileFieldBuilder() {
if (inodeFileBuilder_ == null) {
if (!(entryCase_ == 11)) {
entry_ = alluxio.proto.journal.File.InodeFileEntry.getDefaultInstance();
}
inodeFileBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.InodeFileEntry, alluxio.proto.journal.File.InodeFileEntry.Builder, alluxio.proto.journal.File.InodeFileEntryOrBuilder>(
(alluxio.proto.journal.File.InodeFileEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 11;
return inodeFileBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.InodeLastModificationTimeEntry, alluxio.proto.journal.File.InodeLastModificationTimeEntry.Builder, alluxio.proto.journal.File.InodeLastModificationTimeEntryOrBuilder> inodeLastModificationTimeBuilder_;
/**
* optional .alluxio.proto.journal.InodeLastModificationTimeEntry inode_last_modification_time = 12;
*/
public boolean hasInodeLastModificationTime() {
return entryCase_ == 12;
}
/**
* optional .alluxio.proto.journal.InodeLastModificationTimeEntry inode_last_modification_time = 12;
*/
public alluxio.proto.journal.File.InodeLastModificationTimeEntry getInodeLastModificationTime() {
if (inodeLastModificationTimeBuilder_ == null) {
if (entryCase_ == 12) {
return (alluxio.proto.journal.File.InodeLastModificationTimeEntry) entry_;
}
return alluxio.proto.journal.File.InodeLastModificationTimeEntry.getDefaultInstance();
} else {
if (entryCase_ == 12) {
return inodeLastModificationTimeBuilder_.getMessage();
}
return alluxio.proto.journal.File.InodeLastModificationTimeEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.InodeLastModificationTimeEntry inode_last_modification_time = 12;
*/
public Builder setInodeLastModificationTime(alluxio.proto.journal.File.InodeLastModificationTimeEntry value) {
if (inodeLastModificationTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
inodeLastModificationTimeBuilder_.setMessage(value);
}
entryCase_ = 12;
return this;
}
/**
* optional .alluxio.proto.journal.InodeLastModificationTimeEntry inode_last_modification_time = 12;
*/
public Builder setInodeLastModificationTime(
alluxio.proto.journal.File.InodeLastModificationTimeEntry.Builder builderForValue) {
if (inodeLastModificationTimeBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
inodeLastModificationTimeBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 12;
return this;
}
/**
* optional .alluxio.proto.journal.InodeLastModificationTimeEntry inode_last_modification_time = 12;
*/
public Builder mergeInodeLastModificationTime(alluxio.proto.journal.File.InodeLastModificationTimeEntry value) {
if (inodeLastModificationTimeBuilder_ == null) {
if (entryCase_ == 12 &&
entry_ != alluxio.proto.journal.File.InodeLastModificationTimeEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.File.InodeLastModificationTimeEntry.newBuilder((alluxio.proto.journal.File.InodeLastModificationTimeEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 12) {
inodeLastModificationTimeBuilder_.mergeFrom(value);
}
inodeLastModificationTimeBuilder_.setMessage(value);
}
entryCase_ = 12;
return this;
}
/**
* optional .alluxio.proto.journal.InodeLastModificationTimeEntry inode_last_modification_time = 12;
*/
public Builder clearInodeLastModificationTime() {
if (inodeLastModificationTimeBuilder_ == null) {
if (entryCase_ == 12) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 12) {
entryCase_ = 0;
entry_ = null;
}
inodeLastModificationTimeBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.InodeLastModificationTimeEntry inode_last_modification_time = 12;
*/
public alluxio.proto.journal.File.InodeLastModificationTimeEntry.Builder getInodeLastModificationTimeBuilder() {
return getInodeLastModificationTimeFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.InodeLastModificationTimeEntry inode_last_modification_time = 12;
*/
public alluxio.proto.journal.File.InodeLastModificationTimeEntryOrBuilder getInodeLastModificationTimeOrBuilder() {
if ((entryCase_ == 12) && (inodeLastModificationTimeBuilder_ != null)) {
return inodeLastModificationTimeBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 12) {
return (alluxio.proto.journal.File.InodeLastModificationTimeEntry) entry_;
}
return alluxio.proto.journal.File.InodeLastModificationTimeEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.InodeLastModificationTimeEntry inode_last_modification_time = 12;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.InodeLastModificationTimeEntry, alluxio.proto.journal.File.InodeLastModificationTimeEntry.Builder, alluxio.proto.journal.File.InodeLastModificationTimeEntryOrBuilder>
getInodeLastModificationTimeFieldBuilder() {
if (inodeLastModificationTimeBuilder_ == null) {
if (!(entryCase_ == 12)) {
entry_ = alluxio.proto.journal.File.InodeLastModificationTimeEntry.getDefaultInstance();
}
inodeLastModificationTimeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.InodeLastModificationTimeEntry, alluxio.proto.journal.File.InodeLastModificationTimeEntry.Builder, alluxio.proto.journal.File.InodeLastModificationTimeEntryOrBuilder>(
(alluxio.proto.journal.File.InodeLastModificationTimeEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 12;
return inodeLastModificationTimeBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.Lineage.LineageEntry, alluxio.proto.journal.Lineage.LineageEntry.Builder, alluxio.proto.journal.Lineage.LineageEntryOrBuilder> lineageBuilder_;
/**
* optional .alluxio.proto.journal.LineageEntry lineage = 13;
*/
public boolean hasLineage() {
return entryCase_ == 13;
}
/**
* optional .alluxio.proto.journal.LineageEntry lineage = 13;
*/
public alluxio.proto.journal.Lineage.LineageEntry getLineage() {
if (lineageBuilder_ == null) {
if (entryCase_ == 13) {
return (alluxio.proto.journal.Lineage.LineageEntry) entry_;
}
return alluxio.proto.journal.Lineage.LineageEntry.getDefaultInstance();
} else {
if (entryCase_ == 13) {
return lineageBuilder_.getMessage();
}
return alluxio.proto.journal.Lineage.LineageEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.LineageEntry lineage = 13;
*/
public Builder setLineage(alluxio.proto.journal.Lineage.LineageEntry value) {
if (lineageBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
lineageBuilder_.setMessage(value);
}
entryCase_ = 13;
return this;
}
/**
* optional .alluxio.proto.journal.LineageEntry lineage = 13;
*/
public Builder setLineage(
alluxio.proto.journal.Lineage.LineageEntry.Builder builderForValue) {
if (lineageBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
lineageBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 13;
return this;
}
/**
* optional .alluxio.proto.journal.LineageEntry lineage = 13;
*/
public Builder mergeLineage(alluxio.proto.journal.Lineage.LineageEntry value) {
if (lineageBuilder_ == null) {
if (entryCase_ == 13 &&
entry_ != alluxio.proto.journal.Lineage.LineageEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.Lineage.LineageEntry.newBuilder((alluxio.proto.journal.Lineage.LineageEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 13) {
lineageBuilder_.mergeFrom(value);
}
lineageBuilder_.setMessage(value);
}
entryCase_ = 13;
return this;
}
/**
* optional .alluxio.proto.journal.LineageEntry lineage = 13;
*/
public Builder clearLineage() {
if (lineageBuilder_ == null) {
if (entryCase_ == 13) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 13) {
entryCase_ = 0;
entry_ = null;
}
lineageBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.LineageEntry lineage = 13;
*/
public alluxio.proto.journal.Lineage.LineageEntry.Builder getLineageBuilder() {
return getLineageFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.LineageEntry lineage = 13;
*/
public alluxio.proto.journal.Lineage.LineageEntryOrBuilder getLineageOrBuilder() {
if ((entryCase_ == 13) && (lineageBuilder_ != null)) {
return lineageBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 13) {
return (alluxio.proto.journal.Lineage.LineageEntry) entry_;
}
return alluxio.proto.journal.Lineage.LineageEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.LineageEntry lineage = 13;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.Lineage.LineageEntry, alluxio.proto.journal.Lineage.LineageEntry.Builder, alluxio.proto.journal.Lineage.LineageEntryOrBuilder>
getLineageFieldBuilder() {
if (lineageBuilder_ == null) {
if (!(entryCase_ == 13)) {
entry_ = alluxio.proto.journal.Lineage.LineageEntry.getDefaultInstance();
}
lineageBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.Lineage.LineageEntry, alluxio.proto.journal.Lineage.LineageEntry.Builder, alluxio.proto.journal.Lineage.LineageEntryOrBuilder>(
(alluxio.proto.journal.Lineage.LineageEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 13;
return lineageBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.Lineage.LineageIdGeneratorEntry, alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.Builder, alluxio.proto.journal.Lineage.LineageIdGeneratorEntryOrBuilder> lineageIdGeneratorBuilder_;
/**
* optional .alluxio.proto.journal.LineageIdGeneratorEntry lineage_id_generator = 14;
*/
public boolean hasLineageIdGenerator() {
return entryCase_ == 14;
}
/**
* optional .alluxio.proto.journal.LineageIdGeneratorEntry lineage_id_generator = 14;
*/
public alluxio.proto.journal.Lineage.LineageIdGeneratorEntry getLineageIdGenerator() {
if (lineageIdGeneratorBuilder_ == null) {
if (entryCase_ == 14) {
return (alluxio.proto.journal.Lineage.LineageIdGeneratorEntry) entry_;
}
return alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.getDefaultInstance();
} else {
if (entryCase_ == 14) {
return lineageIdGeneratorBuilder_.getMessage();
}
return alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.LineageIdGeneratorEntry lineage_id_generator = 14;
*/
public Builder setLineageIdGenerator(alluxio.proto.journal.Lineage.LineageIdGeneratorEntry value) {
if (lineageIdGeneratorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
lineageIdGeneratorBuilder_.setMessage(value);
}
entryCase_ = 14;
return this;
}
/**
* optional .alluxio.proto.journal.LineageIdGeneratorEntry lineage_id_generator = 14;
*/
public Builder setLineageIdGenerator(
alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.Builder builderForValue) {
if (lineageIdGeneratorBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
lineageIdGeneratorBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 14;
return this;
}
/**
* optional .alluxio.proto.journal.LineageIdGeneratorEntry lineage_id_generator = 14;
*/
public Builder mergeLineageIdGenerator(alluxio.proto.journal.Lineage.LineageIdGeneratorEntry value) {
if (lineageIdGeneratorBuilder_ == null) {
if (entryCase_ == 14 &&
entry_ != alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.newBuilder((alluxio.proto.journal.Lineage.LineageIdGeneratorEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 14) {
lineageIdGeneratorBuilder_.mergeFrom(value);
}
lineageIdGeneratorBuilder_.setMessage(value);
}
entryCase_ = 14;
return this;
}
/**
* optional .alluxio.proto.journal.LineageIdGeneratorEntry lineage_id_generator = 14;
*/
public Builder clearLineageIdGenerator() {
if (lineageIdGeneratorBuilder_ == null) {
if (entryCase_ == 14) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 14) {
entryCase_ = 0;
entry_ = null;
}
lineageIdGeneratorBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.LineageIdGeneratorEntry lineage_id_generator = 14;
*/
public alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.Builder getLineageIdGeneratorBuilder() {
return getLineageIdGeneratorFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.LineageIdGeneratorEntry lineage_id_generator = 14;
*/
public alluxio.proto.journal.Lineage.LineageIdGeneratorEntryOrBuilder getLineageIdGeneratorOrBuilder() {
if ((entryCase_ == 14) && (lineageIdGeneratorBuilder_ != null)) {
return lineageIdGeneratorBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 14) {
return (alluxio.proto.journal.Lineage.LineageIdGeneratorEntry) entry_;
}
return alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.LineageIdGeneratorEntry lineage_id_generator = 14;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.Lineage.LineageIdGeneratorEntry, alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.Builder, alluxio.proto.journal.Lineage.LineageIdGeneratorEntryOrBuilder>
getLineageIdGeneratorFieldBuilder() {
if (lineageIdGeneratorBuilder_ == null) {
if (!(entryCase_ == 14)) {
entry_ = alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.getDefaultInstance();
}
lineageIdGeneratorBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.Lineage.LineageIdGeneratorEntry, alluxio.proto.journal.Lineage.LineageIdGeneratorEntry.Builder, alluxio.proto.journal.Lineage.LineageIdGeneratorEntryOrBuilder>(
(alluxio.proto.journal.Lineage.LineageIdGeneratorEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 14;
return lineageIdGeneratorBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.MergeStoreEntry, alluxio.proto.journal.KeyValue.MergeStoreEntry.Builder, alluxio.proto.journal.KeyValue.MergeStoreEntryOrBuilder> mergeStoreBuilder_;
/**
* optional .alluxio.proto.journal.MergeStoreEntry merge_store = 26;
*/
public boolean hasMergeStore() {
return entryCase_ == 26;
}
/**
* optional .alluxio.proto.journal.MergeStoreEntry merge_store = 26;
*/
public alluxio.proto.journal.KeyValue.MergeStoreEntry getMergeStore() {
if (mergeStoreBuilder_ == null) {
if (entryCase_ == 26) {
return (alluxio.proto.journal.KeyValue.MergeStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.MergeStoreEntry.getDefaultInstance();
} else {
if (entryCase_ == 26) {
return mergeStoreBuilder_.getMessage();
}
return alluxio.proto.journal.KeyValue.MergeStoreEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.MergeStoreEntry merge_store = 26;
*/
public Builder setMergeStore(alluxio.proto.journal.KeyValue.MergeStoreEntry value) {
if (mergeStoreBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
mergeStoreBuilder_.setMessage(value);
}
entryCase_ = 26;
return this;
}
/**
* optional .alluxio.proto.journal.MergeStoreEntry merge_store = 26;
*/
public Builder setMergeStore(
alluxio.proto.journal.KeyValue.MergeStoreEntry.Builder builderForValue) {
if (mergeStoreBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
mergeStoreBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 26;
return this;
}
/**
* optional .alluxio.proto.journal.MergeStoreEntry merge_store = 26;
*/
public Builder mergeMergeStore(alluxio.proto.journal.KeyValue.MergeStoreEntry value) {
if (mergeStoreBuilder_ == null) {
if (entryCase_ == 26 &&
entry_ != alluxio.proto.journal.KeyValue.MergeStoreEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.KeyValue.MergeStoreEntry.newBuilder((alluxio.proto.journal.KeyValue.MergeStoreEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 26) {
mergeStoreBuilder_.mergeFrom(value);
}
mergeStoreBuilder_.setMessage(value);
}
entryCase_ = 26;
return this;
}
/**
* optional .alluxio.proto.journal.MergeStoreEntry merge_store = 26;
*/
public Builder clearMergeStore() {
if (mergeStoreBuilder_ == null) {
if (entryCase_ == 26) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 26) {
entryCase_ = 0;
entry_ = null;
}
mergeStoreBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.MergeStoreEntry merge_store = 26;
*/
public alluxio.proto.journal.KeyValue.MergeStoreEntry.Builder getMergeStoreBuilder() {
return getMergeStoreFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.MergeStoreEntry merge_store = 26;
*/
public alluxio.proto.journal.KeyValue.MergeStoreEntryOrBuilder getMergeStoreOrBuilder() {
if ((entryCase_ == 26) && (mergeStoreBuilder_ != null)) {
return mergeStoreBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 26) {
return (alluxio.proto.journal.KeyValue.MergeStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.MergeStoreEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.MergeStoreEntry merge_store = 26;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.MergeStoreEntry, alluxio.proto.journal.KeyValue.MergeStoreEntry.Builder, alluxio.proto.journal.KeyValue.MergeStoreEntryOrBuilder>
getMergeStoreFieldBuilder() {
if (mergeStoreBuilder_ == null) {
if (!(entryCase_ == 26)) {
entry_ = alluxio.proto.journal.KeyValue.MergeStoreEntry.getDefaultInstance();
}
mergeStoreBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.MergeStoreEntry, alluxio.proto.journal.KeyValue.MergeStoreEntry.Builder, alluxio.proto.journal.KeyValue.MergeStoreEntryOrBuilder>(
(alluxio.proto.journal.KeyValue.MergeStoreEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 26;
return mergeStoreBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.PersistDirectoryEntry, alluxio.proto.journal.File.PersistDirectoryEntry.Builder, alluxio.proto.journal.File.PersistDirectoryEntryOrBuilder> persistDirectoryBuilder_;
/**
* optional .alluxio.proto.journal.PersistDirectoryEntry persist_directory = 15;
*/
public boolean hasPersistDirectory() {
return entryCase_ == 15;
}
/**
* optional .alluxio.proto.journal.PersistDirectoryEntry persist_directory = 15;
*/
public alluxio.proto.journal.File.PersistDirectoryEntry getPersistDirectory() {
if (persistDirectoryBuilder_ == null) {
if (entryCase_ == 15) {
return (alluxio.proto.journal.File.PersistDirectoryEntry) entry_;
}
return alluxio.proto.journal.File.PersistDirectoryEntry.getDefaultInstance();
} else {
if (entryCase_ == 15) {
return persistDirectoryBuilder_.getMessage();
}
return alluxio.proto.journal.File.PersistDirectoryEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.PersistDirectoryEntry persist_directory = 15;
*/
public Builder setPersistDirectory(alluxio.proto.journal.File.PersistDirectoryEntry value) {
if (persistDirectoryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
persistDirectoryBuilder_.setMessage(value);
}
entryCase_ = 15;
return this;
}
/**
* optional .alluxio.proto.journal.PersistDirectoryEntry persist_directory = 15;
*/
public Builder setPersistDirectory(
alluxio.proto.journal.File.PersistDirectoryEntry.Builder builderForValue) {
if (persistDirectoryBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
persistDirectoryBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 15;
return this;
}
/**
* optional .alluxio.proto.journal.PersistDirectoryEntry persist_directory = 15;
*/
public Builder mergePersistDirectory(alluxio.proto.journal.File.PersistDirectoryEntry value) {
if (persistDirectoryBuilder_ == null) {
if (entryCase_ == 15 &&
entry_ != alluxio.proto.journal.File.PersistDirectoryEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.File.PersistDirectoryEntry.newBuilder((alluxio.proto.journal.File.PersistDirectoryEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 15) {
persistDirectoryBuilder_.mergeFrom(value);
}
persistDirectoryBuilder_.setMessage(value);
}
entryCase_ = 15;
return this;
}
/**
* optional .alluxio.proto.journal.PersistDirectoryEntry persist_directory = 15;
*/
public Builder clearPersistDirectory() {
if (persistDirectoryBuilder_ == null) {
if (entryCase_ == 15) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 15) {
entryCase_ = 0;
entry_ = null;
}
persistDirectoryBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.PersistDirectoryEntry persist_directory = 15;
*/
public alluxio.proto.journal.File.PersistDirectoryEntry.Builder getPersistDirectoryBuilder() {
return getPersistDirectoryFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.PersistDirectoryEntry persist_directory = 15;
*/
public alluxio.proto.journal.File.PersistDirectoryEntryOrBuilder getPersistDirectoryOrBuilder() {
if ((entryCase_ == 15) && (persistDirectoryBuilder_ != null)) {
return persistDirectoryBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 15) {
return (alluxio.proto.journal.File.PersistDirectoryEntry) entry_;
}
return alluxio.proto.journal.File.PersistDirectoryEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.PersistDirectoryEntry persist_directory = 15;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.PersistDirectoryEntry, alluxio.proto.journal.File.PersistDirectoryEntry.Builder, alluxio.proto.journal.File.PersistDirectoryEntryOrBuilder>
getPersistDirectoryFieldBuilder() {
if (persistDirectoryBuilder_ == null) {
if (!(entryCase_ == 15)) {
entry_ = alluxio.proto.journal.File.PersistDirectoryEntry.getDefaultInstance();
}
persistDirectoryBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.PersistDirectoryEntry, alluxio.proto.journal.File.PersistDirectoryEntry.Builder, alluxio.proto.journal.File.PersistDirectoryEntryOrBuilder>(
(alluxio.proto.journal.File.PersistDirectoryEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 15;
return persistDirectoryBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.AsyncPersistRequestEntry, alluxio.proto.journal.File.AsyncPersistRequestEntry.Builder, alluxio.proto.journal.File.AsyncPersistRequestEntryOrBuilder> asyncPersistRequestBuilder_;
/**
* optional .alluxio.proto.journal.AsyncPersistRequestEntry async_persist_request = 16;
*/
public boolean hasAsyncPersistRequest() {
return entryCase_ == 16;
}
/**
* optional .alluxio.proto.journal.AsyncPersistRequestEntry async_persist_request = 16;
*/
public alluxio.proto.journal.File.AsyncPersistRequestEntry getAsyncPersistRequest() {
if (asyncPersistRequestBuilder_ == null) {
if (entryCase_ == 16) {
return (alluxio.proto.journal.File.AsyncPersistRequestEntry) entry_;
}
return alluxio.proto.journal.File.AsyncPersistRequestEntry.getDefaultInstance();
} else {
if (entryCase_ == 16) {
return asyncPersistRequestBuilder_.getMessage();
}
return alluxio.proto.journal.File.AsyncPersistRequestEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.AsyncPersistRequestEntry async_persist_request = 16;
*/
public Builder setAsyncPersistRequest(alluxio.proto.journal.File.AsyncPersistRequestEntry value) {
if (asyncPersistRequestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
asyncPersistRequestBuilder_.setMessage(value);
}
entryCase_ = 16;
return this;
}
/**
* optional .alluxio.proto.journal.AsyncPersistRequestEntry async_persist_request = 16;
*/
public Builder setAsyncPersistRequest(
alluxio.proto.journal.File.AsyncPersistRequestEntry.Builder builderForValue) {
if (asyncPersistRequestBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
asyncPersistRequestBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 16;
return this;
}
/**
* optional .alluxio.proto.journal.AsyncPersistRequestEntry async_persist_request = 16;
*/
public Builder mergeAsyncPersistRequest(alluxio.proto.journal.File.AsyncPersistRequestEntry value) {
if (asyncPersistRequestBuilder_ == null) {
if (entryCase_ == 16 &&
entry_ != alluxio.proto.journal.File.AsyncPersistRequestEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.File.AsyncPersistRequestEntry.newBuilder((alluxio.proto.journal.File.AsyncPersistRequestEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 16) {
asyncPersistRequestBuilder_.mergeFrom(value);
}
asyncPersistRequestBuilder_.setMessage(value);
}
entryCase_ = 16;
return this;
}
/**
* optional .alluxio.proto.journal.AsyncPersistRequestEntry async_persist_request = 16;
*/
public Builder clearAsyncPersistRequest() {
if (asyncPersistRequestBuilder_ == null) {
if (entryCase_ == 16) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 16) {
entryCase_ = 0;
entry_ = null;
}
asyncPersistRequestBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.AsyncPersistRequestEntry async_persist_request = 16;
*/
public alluxio.proto.journal.File.AsyncPersistRequestEntry.Builder getAsyncPersistRequestBuilder() {
return getAsyncPersistRequestFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.AsyncPersistRequestEntry async_persist_request = 16;
*/
public alluxio.proto.journal.File.AsyncPersistRequestEntryOrBuilder getAsyncPersistRequestOrBuilder() {
if ((entryCase_ == 16) && (asyncPersistRequestBuilder_ != null)) {
return asyncPersistRequestBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 16) {
return (alluxio.proto.journal.File.AsyncPersistRequestEntry) entry_;
}
return alluxio.proto.journal.File.AsyncPersistRequestEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.AsyncPersistRequestEntry async_persist_request = 16;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.AsyncPersistRequestEntry, alluxio.proto.journal.File.AsyncPersistRequestEntry.Builder, alluxio.proto.journal.File.AsyncPersistRequestEntryOrBuilder>
getAsyncPersistRequestFieldBuilder() {
if (asyncPersistRequestBuilder_ == null) {
if (!(entryCase_ == 16)) {
entry_ = alluxio.proto.journal.File.AsyncPersistRequestEntry.getDefaultInstance();
}
asyncPersistRequestBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.AsyncPersistRequestEntry, alluxio.proto.journal.File.AsyncPersistRequestEntry.Builder, alluxio.proto.journal.File.AsyncPersistRequestEntryOrBuilder>(
(alluxio.proto.journal.File.AsyncPersistRequestEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 16;
return asyncPersistRequestBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.ReinitializeFileEntry, alluxio.proto.journal.File.ReinitializeFileEntry.Builder, alluxio.proto.journal.File.ReinitializeFileEntryOrBuilder> reinitializeFileBuilder_;
/**
* optional .alluxio.proto.journal.ReinitializeFileEntry reinitialize_file = 18;
*/
public boolean hasReinitializeFile() {
return entryCase_ == 18;
}
/**
* optional .alluxio.proto.journal.ReinitializeFileEntry reinitialize_file = 18;
*/
public alluxio.proto.journal.File.ReinitializeFileEntry getReinitializeFile() {
if (reinitializeFileBuilder_ == null) {
if (entryCase_ == 18) {
return (alluxio.proto.journal.File.ReinitializeFileEntry) entry_;
}
return alluxio.proto.journal.File.ReinitializeFileEntry.getDefaultInstance();
} else {
if (entryCase_ == 18) {
return reinitializeFileBuilder_.getMessage();
}
return alluxio.proto.journal.File.ReinitializeFileEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.ReinitializeFileEntry reinitialize_file = 18;
*/
public Builder setReinitializeFile(alluxio.proto.journal.File.ReinitializeFileEntry value) {
if (reinitializeFileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
reinitializeFileBuilder_.setMessage(value);
}
entryCase_ = 18;
return this;
}
/**
* optional .alluxio.proto.journal.ReinitializeFileEntry reinitialize_file = 18;
*/
public Builder setReinitializeFile(
alluxio.proto.journal.File.ReinitializeFileEntry.Builder builderForValue) {
if (reinitializeFileBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
reinitializeFileBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 18;
return this;
}
/**
* optional .alluxio.proto.journal.ReinitializeFileEntry reinitialize_file = 18;
*/
public Builder mergeReinitializeFile(alluxio.proto.journal.File.ReinitializeFileEntry value) {
if (reinitializeFileBuilder_ == null) {
if (entryCase_ == 18 &&
entry_ != alluxio.proto.journal.File.ReinitializeFileEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.File.ReinitializeFileEntry.newBuilder((alluxio.proto.journal.File.ReinitializeFileEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 18) {
reinitializeFileBuilder_.mergeFrom(value);
}
reinitializeFileBuilder_.setMessage(value);
}
entryCase_ = 18;
return this;
}
/**
* optional .alluxio.proto.journal.ReinitializeFileEntry reinitialize_file = 18;
*/
public Builder clearReinitializeFile() {
if (reinitializeFileBuilder_ == null) {
if (entryCase_ == 18) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 18) {
entryCase_ = 0;
entry_ = null;
}
reinitializeFileBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.ReinitializeFileEntry reinitialize_file = 18;
*/
public alluxio.proto.journal.File.ReinitializeFileEntry.Builder getReinitializeFileBuilder() {
return getReinitializeFileFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.ReinitializeFileEntry reinitialize_file = 18;
*/
public alluxio.proto.journal.File.ReinitializeFileEntryOrBuilder getReinitializeFileOrBuilder() {
if ((entryCase_ == 18) && (reinitializeFileBuilder_ != null)) {
return reinitializeFileBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 18) {
return (alluxio.proto.journal.File.ReinitializeFileEntry) entry_;
}
return alluxio.proto.journal.File.ReinitializeFileEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.ReinitializeFileEntry reinitialize_file = 18;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.ReinitializeFileEntry, alluxio.proto.journal.File.ReinitializeFileEntry.Builder, alluxio.proto.journal.File.ReinitializeFileEntryOrBuilder>
getReinitializeFileFieldBuilder() {
if (reinitializeFileBuilder_ == null) {
if (!(entryCase_ == 18)) {
entry_ = alluxio.proto.journal.File.ReinitializeFileEntry.getDefaultInstance();
}
reinitializeFileBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.ReinitializeFileEntry, alluxio.proto.journal.File.ReinitializeFileEntry.Builder, alluxio.proto.journal.File.ReinitializeFileEntryOrBuilder>(
(alluxio.proto.journal.File.ReinitializeFileEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 18;
return reinitializeFileBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.RenameEntry, alluxio.proto.journal.File.RenameEntry.Builder, alluxio.proto.journal.File.RenameEntryOrBuilder> renameBuilder_;
/**
* optional .alluxio.proto.journal.RenameEntry rename = 19;
*/
public boolean hasRename() {
return entryCase_ == 19;
}
/**
* optional .alluxio.proto.journal.RenameEntry rename = 19;
*/
public alluxio.proto.journal.File.RenameEntry getRename() {
if (renameBuilder_ == null) {
if (entryCase_ == 19) {
return (alluxio.proto.journal.File.RenameEntry) entry_;
}
return alluxio.proto.journal.File.RenameEntry.getDefaultInstance();
} else {
if (entryCase_ == 19) {
return renameBuilder_.getMessage();
}
return alluxio.proto.journal.File.RenameEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.RenameEntry rename = 19;
*/
public Builder setRename(alluxio.proto.journal.File.RenameEntry value) {
if (renameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
renameBuilder_.setMessage(value);
}
entryCase_ = 19;
return this;
}
/**
* optional .alluxio.proto.journal.RenameEntry rename = 19;
*/
public Builder setRename(
alluxio.proto.journal.File.RenameEntry.Builder builderForValue) {
if (renameBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
renameBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 19;
return this;
}
/**
* optional .alluxio.proto.journal.RenameEntry rename = 19;
*/
public Builder mergeRename(alluxio.proto.journal.File.RenameEntry value) {
if (renameBuilder_ == null) {
if (entryCase_ == 19 &&
entry_ != alluxio.proto.journal.File.RenameEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.File.RenameEntry.newBuilder((alluxio.proto.journal.File.RenameEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 19) {
renameBuilder_.mergeFrom(value);
}
renameBuilder_.setMessage(value);
}
entryCase_ = 19;
return this;
}
/**
* optional .alluxio.proto.journal.RenameEntry rename = 19;
*/
public Builder clearRename() {
if (renameBuilder_ == null) {
if (entryCase_ == 19) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 19) {
entryCase_ = 0;
entry_ = null;
}
renameBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.RenameEntry rename = 19;
*/
public alluxio.proto.journal.File.RenameEntry.Builder getRenameBuilder() {
return getRenameFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.RenameEntry rename = 19;
*/
public alluxio.proto.journal.File.RenameEntryOrBuilder getRenameOrBuilder() {
if ((entryCase_ == 19) && (renameBuilder_ != null)) {
return renameBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 19) {
return (alluxio.proto.journal.File.RenameEntry) entry_;
}
return alluxio.proto.journal.File.RenameEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.RenameEntry rename = 19;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.RenameEntry, alluxio.proto.journal.File.RenameEntry.Builder, alluxio.proto.journal.File.RenameEntryOrBuilder>
getRenameFieldBuilder() {
if (renameBuilder_ == null) {
if (!(entryCase_ == 19)) {
entry_ = alluxio.proto.journal.File.RenameEntry.getDefaultInstance();
}
renameBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.RenameEntry, alluxio.proto.journal.File.RenameEntry.Builder, alluxio.proto.journal.File.RenameEntryOrBuilder>(
(alluxio.proto.journal.File.RenameEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 19;
return renameBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.RenameStoreEntry, alluxio.proto.journal.KeyValue.RenameStoreEntry.Builder, alluxio.proto.journal.KeyValue.RenameStoreEntryOrBuilder> renameStoreBuilder_;
/**
* optional .alluxio.proto.journal.RenameStoreEntry rename_store = 28;
*/
public boolean hasRenameStore() {
return entryCase_ == 28;
}
/**
* optional .alluxio.proto.journal.RenameStoreEntry rename_store = 28;
*/
public alluxio.proto.journal.KeyValue.RenameStoreEntry getRenameStore() {
if (renameStoreBuilder_ == null) {
if (entryCase_ == 28) {
return (alluxio.proto.journal.KeyValue.RenameStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.RenameStoreEntry.getDefaultInstance();
} else {
if (entryCase_ == 28) {
return renameStoreBuilder_.getMessage();
}
return alluxio.proto.journal.KeyValue.RenameStoreEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.RenameStoreEntry rename_store = 28;
*/
public Builder setRenameStore(alluxio.proto.journal.KeyValue.RenameStoreEntry value) {
if (renameStoreBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
renameStoreBuilder_.setMessage(value);
}
entryCase_ = 28;
return this;
}
/**
* optional .alluxio.proto.journal.RenameStoreEntry rename_store = 28;
*/
public Builder setRenameStore(
alluxio.proto.journal.KeyValue.RenameStoreEntry.Builder builderForValue) {
if (renameStoreBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
renameStoreBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 28;
return this;
}
/**
* optional .alluxio.proto.journal.RenameStoreEntry rename_store = 28;
*/
public Builder mergeRenameStore(alluxio.proto.journal.KeyValue.RenameStoreEntry value) {
if (renameStoreBuilder_ == null) {
if (entryCase_ == 28 &&
entry_ != alluxio.proto.journal.KeyValue.RenameStoreEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.KeyValue.RenameStoreEntry.newBuilder((alluxio.proto.journal.KeyValue.RenameStoreEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 28) {
renameStoreBuilder_.mergeFrom(value);
}
renameStoreBuilder_.setMessage(value);
}
entryCase_ = 28;
return this;
}
/**
* optional .alluxio.proto.journal.RenameStoreEntry rename_store = 28;
*/
public Builder clearRenameStore() {
if (renameStoreBuilder_ == null) {
if (entryCase_ == 28) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 28) {
entryCase_ = 0;
entry_ = null;
}
renameStoreBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.RenameStoreEntry rename_store = 28;
*/
public alluxio.proto.journal.KeyValue.RenameStoreEntry.Builder getRenameStoreBuilder() {
return getRenameStoreFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.RenameStoreEntry rename_store = 28;
*/
public alluxio.proto.journal.KeyValue.RenameStoreEntryOrBuilder getRenameStoreOrBuilder() {
if ((entryCase_ == 28) && (renameStoreBuilder_ != null)) {
return renameStoreBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 28) {
return (alluxio.proto.journal.KeyValue.RenameStoreEntry) entry_;
}
return alluxio.proto.journal.KeyValue.RenameStoreEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.RenameStoreEntry rename_store = 28;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.RenameStoreEntry, alluxio.proto.journal.KeyValue.RenameStoreEntry.Builder, alluxio.proto.journal.KeyValue.RenameStoreEntryOrBuilder>
getRenameStoreFieldBuilder() {
if (renameStoreBuilder_ == null) {
if (!(entryCase_ == 28)) {
entry_ = alluxio.proto.journal.KeyValue.RenameStoreEntry.getDefaultInstance();
}
renameStoreBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.KeyValue.RenameStoreEntry, alluxio.proto.journal.KeyValue.RenameStoreEntry.Builder, alluxio.proto.journal.KeyValue.RenameStoreEntryOrBuilder>(
(alluxio.proto.journal.KeyValue.RenameStoreEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 28;
return renameStoreBuilder_;
}
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.SetAttributeEntry, alluxio.proto.journal.File.SetAttributeEntry.Builder, alluxio.proto.journal.File.SetAttributeEntryOrBuilder> setAttributeBuilder_;
/**
* optional .alluxio.proto.journal.SetAttributeEntry set_attribute = 27;
*/
public boolean hasSetAttribute() {
return entryCase_ == 27;
}
/**
* optional .alluxio.proto.journal.SetAttributeEntry set_attribute = 27;
*/
public alluxio.proto.journal.File.SetAttributeEntry getSetAttribute() {
if (setAttributeBuilder_ == null) {
if (entryCase_ == 27) {
return (alluxio.proto.journal.File.SetAttributeEntry) entry_;
}
return alluxio.proto.journal.File.SetAttributeEntry.getDefaultInstance();
} else {
if (entryCase_ == 27) {
return setAttributeBuilder_.getMessage();
}
return alluxio.proto.journal.File.SetAttributeEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.SetAttributeEntry set_attribute = 27;
*/
public Builder setSetAttribute(alluxio.proto.journal.File.SetAttributeEntry value) {
if (setAttributeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
onChanged();
} else {
setAttributeBuilder_.setMessage(value);
}
entryCase_ = 27;
return this;
}
/**
* optional .alluxio.proto.journal.SetAttributeEntry set_attribute = 27;
*/
public Builder setSetAttribute(
alluxio.proto.journal.File.SetAttributeEntry.Builder builderForValue) {
if (setAttributeBuilder_ == null) {
entry_ = builderForValue.build();
onChanged();
} else {
setAttributeBuilder_.setMessage(builderForValue.build());
}
entryCase_ = 27;
return this;
}
/**
* optional .alluxio.proto.journal.SetAttributeEntry set_attribute = 27;
*/
public Builder mergeSetAttribute(alluxio.proto.journal.File.SetAttributeEntry value) {
if (setAttributeBuilder_ == null) {
if (entryCase_ == 27 &&
entry_ != alluxio.proto.journal.File.SetAttributeEntry.getDefaultInstance()) {
entry_ = alluxio.proto.journal.File.SetAttributeEntry.newBuilder((alluxio.proto.journal.File.SetAttributeEntry) entry_)
.mergeFrom(value).buildPartial();
} else {
entry_ = value;
}
onChanged();
} else {
if (entryCase_ == 27) {
setAttributeBuilder_.mergeFrom(value);
}
setAttributeBuilder_.setMessage(value);
}
entryCase_ = 27;
return this;
}
/**
* optional .alluxio.proto.journal.SetAttributeEntry set_attribute = 27;
*/
public Builder clearSetAttribute() {
if (setAttributeBuilder_ == null) {
if (entryCase_ == 27) {
entryCase_ = 0;
entry_ = null;
onChanged();
}
} else {
if (entryCase_ == 27) {
entryCase_ = 0;
entry_ = null;
}
setAttributeBuilder_.clear();
}
return this;
}
/**
* optional .alluxio.proto.journal.SetAttributeEntry set_attribute = 27;
*/
public alluxio.proto.journal.File.SetAttributeEntry.Builder getSetAttributeBuilder() {
return getSetAttributeFieldBuilder().getBuilder();
}
/**
* optional .alluxio.proto.journal.SetAttributeEntry set_attribute = 27;
*/
public alluxio.proto.journal.File.SetAttributeEntryOrBuilder getSetAttributeOrBuilder() {
if ((entryCase_ == 27) && (setAttributeBuilder_ != null)) {
return setAttributeBuilder_.getMessageOrBuilder();
} else {
if (entryCase_ == 27) {
return (alluxio.proto.journal.File.SetAttributeEntry) entry_;
}
return alluxio.proto.journal.File.SetAttributeEntry.getDefaultInstance();
}
}
/**
* optional .alluxio.proto.journal.SetAttributeEntry set_attribute = 27;
*/
private com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.SetAttributeEntry, alluxio.proto.journal.File.SetAttributeEntry.Builder, alluxio.proto.journal.File.SetAttributeEntryOrBuilder>
getSetAttributeFieldBuilder() {
if (setAttributeBuilder_ == null) {
if (!(entryCase_ == 27)) {
entry_ = alluxio.proto.journal.File.SetAttributeEntry.getDefaultInstance();
}
setAttributeBuilder_ = new com.google.protobuf.SingleFieldBuilder<
alluxio.proto.journal.File.SetAttributeEntry, alluxio.proto.journal.File.SetAttributeEntry.Builder, alluxio.proto.journal.File.SetAttributeEntryOrBuilder>(
(alluxio.proto.journal.File.SetAttributeEntry) entry_,
getParentForChildren(),
isClean());
entry_ = null;
}
entryCase_ = 27;
return setAttributeBuilder_;
}
// @@protoc_insertion_point(builder_scope:alluxio.proto.journal.JournalEntry)
}
static {
defaultInstance = new JournalEntry(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:alluxio.proto.journal.JournalEntry)
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_alluxio_proto_journal_JournalEntry_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_alluxio_proto_journal_JournalEntry_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\rjournal.proto\022\025alluxio.proto.journal\032\013" +
"block.proto\032\nfile.proto\032\017key_value.proto" +
"\032\rlineage.proto\"\344\r\n\014JournalEntry\022\027\n\017sequ" +
"ence_number\030\001 \001(\003\022D\n\017add_mount_point\030\002 \001" +
"(\0132).alluxio.proto.journal.AddMountPoint" +
"EntryH\000\022]\n\034block_container_id_generator\030" +
"\003 \001(\01325.alluxio.proto.journal.BlockConta" +
"inerIdGeneratorEntryH\000\022;\n\nblock_info\030\004 \001" +
"(\0132%.alluxio.proto.journal.BlockInfoEntr" +
"yH\000\022A\n\rcomplete_file\030\005 \001(\0132(.alluxio.pro",
"to.journal.CompleteFileEntryH\000\022K\n\022comple" +
"te_partition\030\025 \001(\0132-.alluxio.proto.journ" +
"al.CompletePartitionEntryH\000\022C\n\016complete_" +
"store\030\026 \001(\0132).alluxio.proto.journal.Comp" +
"leteStoreEntryH\000\022?\n\014create_store\030\027 \001(\0132\'" +
".alluxio.proto.journal.CreateStoreEntryH" +
"\000\022=\n\013delete_file\030\006 \001(\0132&.alluxio.proto.j" +
"ournal.DeleteFileEntryH\000\022C\n\016delete_linea" +
"ge\030\007 \001(\0132).alluxio.proto.journal.DeleteL" +
"ineageEntryH\000\022J\n\022delete_mount_point\030\010 \001(",
"\0132,.alluxio.proto.journal.DeleteMountPoi" +
"ntEntryH\000\022?\n\014delete_store\030\031 \001(\0132\'.alluxi" +
"o.proto.journal.DeleteStoreEntryH\000\022E\n\017in" +
"ode_directory\030\t \001(\0132*.alluxio.proto.jour" +
"nal.InodeDirectoryEntryH\000\022]\n\034inode_direc" +
"tory_id_generator\030\n \001(\01325.alluxio.proto." +
"journal.InodeDirectoryIdGeneratorEntryH\000" +
"\022;\n\ninode_file\030\013 \001(\0132%.alluxio.proto.jou" +
"rnal.InodeFileEntryH\000\022]\n\034inode_last_modi" +
"fication_time\030\014 \001(\01325.alluxio.proto.jour",
"nal.InodeLastModificationTimeEntryH\000\0226\n\007" +
"lineage\030\r \001(\0132#.alluxio.proto.journal.Li" +
"neageEntryH\000\022N\n\024lineage_id_generator\030\016 \001" +
"(\0132..alluxio.proto.journal.LineageIdGene" +
"ratorEntryH\000\022=\n\013merge_store\030\032 \001(\0132&.allu" +
"xio.proto.journal.MergeStoreEntryH\000\022I\n\021p" +
"ersist_directory\030\017 \001(\0132,.alluxio.proto.j" +
"ournal.PersistDirectoryEntryH\000\022P\n\025async_" +
"persist_request\030\020 \001(\0132/.alluxio.proto.jo" +
"urnal.AsyncPersistRequestEntryH\000\022I\n\021rein",
"itialize_file\030\022 \001(\0132,.alluxio.proto.jour" +
"nal.ReinitializeFileEntryH\000\0224\n\006rename\030\023 " +
"\001(\0132\".alluxio.proto.journal.RenameEntryH" +
"\000\022?\n\014rename_store\030\034 \001(\0132\'.alluxio.proto." +
"journal.RenameStoreEntryH\000\022A\n\rset_attrib" +
"ute\030\033 \001(\0132(.alluxio.proto.journal.SetAtt" +
"ributeEntryH\000B\007\n\005entryB\027\n\025alluxio.proto." +
"journal"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
alluxio.proto.journal.Block.getDescriptor(),
alluxio.proto.journal.File.getDescriptor(),
alluxio.proto.journal.KeyValue.getDescriptor(),
alluxio.proto.journal.Lineage.getDescriptor(),
}, assigner);
internal_static_alluxio_proto_journal_JournalEntry_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_alluxio_proto_journal_JournalEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_alluxio_proto_journal_JournalEntry_descriptor,
new java.lang.String[] { "SequenceNumber", "AddMountPoint", "BlockContainerIdGenerator", "BlockInfo", "CompleteFile", "CompletePartition", "CompleteStore", "CreateStore", "DeleteFile", "DeleteLineage", "DeleteMountPoint", "DeleteStore", "InodeDirectory", "InodeDirectoryIdGenerator", "InodeFile", "InodeLastModificationTime", "Lineage", "LineageIdGenerator", "MergeStore", "PersistDirectory", "AsyncPersistRequest", "ReinitializeFile", "Rename", "RenameStore", "SetAttribute", "Entry", });
alluxio.proto.journal.Block.getDescriptor();
alluxio.proto.journal.File.getDescriptor();
alluxio.proto.journal.KeyValue.getDescriptor();
alluxio.proto.journal.Lineage.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy