public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { alluxio.proto.journal.File.UpdateInodeDirectoryEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (alluxio.proto.journal.File.UpdateInodeDirectoryEntry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof alluxio.proto.journal.File.UpdateInodeDirectoryEntry) { return mergeFrom((alluxio.proto.journal.File.UpdateInodeDirectoryEntry)other); } else { super.mergeFrom(other); return this; } }
/** * <code>optional .alluxio.proto.journal.UpdateInodeDirectoryEntry update_inode_directory = 36;</code> */ public Builder mergeUpdateInodeDirectory(alluxio.proto.journal.File.UpdateInodeDirectoryEntry value) { if (updateInodeDirectoryBuilder_ == null) { if (((bitField0_ & 0x00800000) == 0x00800000) && updateInodeDirectory_ != null && updateInodeDirectory_ != alluxio.proto.journal.File.UpdateInodeDirectoryEntry.getDefaultInstance()) { updateInodeDirectory_ = alluxio.proto.journal.File.UpdateInodeDirectoryEntry.newBuilder(updateInodeDirectory_).mergeFrom(value).buildPartial(); } else { updateInodeDirectory_ = value; } onChanged(); } else { updateInodeDirectoryBuilder_.mergeFrom(value); } bitField0_ |= 0x00800000; return this; } /**
subBuilder.mergeFrom(updateInodeDirectory_); updateInodeDirectory_ = subBuilder.buildPartial();
public static Builder newBuilder(alluxio.proto.journal.File.UpdateInodeDirectoryEntry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); }