/** * <code>optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;</code> */ public Builder setInodeDirectory( alluxio.proto.journal.File.InodeDirectoryEntry.Builder builderForValue) { if (inodeDirectoryBuilder_ == null) { inodeDirectory_ = builderForValue.build(); onChanged(); } else { inodeDirectoryBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; return this; } /**
public Builder mergeFrom(alluxio.proto.journal.File.InodeDirectoryEntry other) { if (other == alluxio.proto.journal.File.InodeDirectoryEntry.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); setParentId(other.getParentId()); onChanged(); onChanged(); setPinned(other.getPinned()); setCreationTimeMs(other.getCreationTimeMs()); setLastModificationTimeMs(other.getLastModificationTimeMs()); onChanged(); onChanged(); setMode(other.getMode()); setMountPoint(other.getMountPoint()); setDirectChildrenLoaded(other.getDirectChildrenLoaded()); setTtl(other.getTtl()); setTtlAction(other.getTtlAction());
@Override public JournalEntry toJournalEntry() { InodeDirectoryEntry inodeDirectory = InodeDirectoryEntry.newBuilder() .setCreationTimeMs(getCreationTimeMs()) .setId(getId()) .setName(getName()) .setParentId(getParentId()) .setPersistenceState(getPersistenceState().name()) .setPinned(isPinned()) .setLastModificationTimeMs(getLastModificationTimeMs()) .setMountPoint(isMountPoint()) .setTtl(getTtl()) .setTtlAction(ProtobufUtils.toProtobuf(getTtlAction())) .setDirectChildrenLoaded(isDirectChildrenLoaded()) .setOwner(getOwner()).setGroup(getGroup()).setMode(getMode()) .build(); return JournalEntry.newBuilder().setInodeDirectory(inodeDirectory).build(); } }
/** * <code>optional .alluxio.proto.journal.InodeDirectoryEntry inode_directory = 9;</code> */ public Builder setInodeDirectory( alluxio.proto.journal.File.InodeDirectoryEntry.Builder builderForValue) { if (inodeDirectoryBuilder_ == null) { inodeDirectory_ = builderForValue.build(); onChanged(); } else { inodeDirectoryBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00004000; return this; } /**
public Builder mergeFrom(alluxio.proto.journal.File.InodeDirectoryEntry other) { if (other == alluxio.proto.journal.File.InodeDirectoryEntry.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); setParentId(other.getParentId()); onChanged(); onChanged(); setPinned(other.getPinned()); setCreationTimeMs(other.getCreationTimeMs()); setLastModificationTimeMs(other.getLastModificationTimeMs()); onChanged(); onChanged(); setMode(other.getMode()); setMountPoint(other.getMountPoint()); setDirectChildrenLoaded(other.getDirectChildrenLoaded()); setTtl(other.getTtl()); setTtlAction(other.getTtlAction());
@Override public JournalEntry toJournalEntry() { InodeDirectoryEntry inodeDirectory = InodeDirectoryEntry.newBuilder() .setCreationTimeMs(getCreationTimeMs()) .setId(getId()) .setName(getName()) .setParentId(getParentId()) .setPersistenceState(getPersistenceState().name()) .setPinned(isPinned()) .setLastModificationTimeMs(getLastModificationTimeMs()) .setMountPoint(isMountPoint()) .setTtl(getTtl()) .setTtlAction(ProtobufUtils.toProtobuf(getTtlAction())) .setDirectChildrenLoaded(isDirectChildrenLoaded()) .setAcl(ProtoUtils.toProto(mAcl)) .setDefaultAcl(ProtoUtils.toProto(mDefaultAcl)) .build(); return JournalEntry.newBuilder().setInodeDirectory(inodeDirectory).build(); }