public Builder mergeFrom(alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry other) { if (other == alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.getDefaultInstance()) return this; if (other.hasNextContainerId()) { setNextContainerId(other.getNextContainerId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * @return a {@link JournalEntry} representing the state of the container id generator */ private JournalEntry getContainerIdJournalEntry() { BlockContainerIdGeneratorEntry blockContainerIdGenerator = BlockContainerIdGeneratorEntry.newBuilder().setNextContainerId(mJournaledNextContainerId) .build(); return JournalEntry.newBuilder().setBlockContainerIdGenerator(blockContainerIdGenerator) .build(); }
/** * @return a {@link JournalEntry} representing the state of the container id generator */ private JournalEntry getContainerIdJournalEntry() { BlockContainerIdGeneratorEntry blockContainerIdGenerator = BlockContainerIdGeneratorEntry.newBuilder().setNextContainerId(mJournaledNextContainerId) .build(); return JournalEntry.newBuilder().setBlockContainerIdGenerator(blockContainerIdGenerator) .build(); }
public Builder mergeFrom(alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry other) { if (other == alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry.getDefaultInstance()) return this; if (other.hasNextContainerId()) { setNextContainerId(other.getNextContainerId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }