.computeMessageSize(14, getAcl());
hash = (19 * hash) + getDescriptor().hashCode(); if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getId()); if (hasParentId()) { hash = (37 * hash) + PARENT_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getParentId()); if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (hasPersistenceState()) { hash = (37 * hash) + PERSISTENCE_STATE_FIELD_NUMBER; hash = (53 * hash) + getPersistenceState().hashCode(); if (hasPinned()) { hash = (37 * hash) + PINNED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getPinned()); if (hasCreationTimeMs()) { hash = (37 * hash) + CREATION_TIME_MS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCreationTimeMs());
result = result && (hasId() == other.hasId()); if (hasId()) { result = result && (getId() == other.getId()); result = result && (hasParentId() == other.hasParentId()); if (hasParentId()) { result = result && (getParentId() == other.getParentId()); result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); result = result && (hasPersistenceState() == other.hasPersistenceState()); if (hasPersistenceState()) { result = result && getPersistenceState() .equals(other.getPersistenceState()); result = result && (hasPinned() == other.hasPinned()); if (hasPinned()) { result = result && (getPinned() == other.getPinned()); result = result && (hasCreationTimeMs() == other.hasCreationTimeMs()); if (hasCreationTimeMs()) { result = result && (getCreationTimeMs() == other.getCreationTimeMs());
output.writeMessage(14, getAcl());
public Builder mergeFrom(alluxio.proto.journal.File.UpdateInodeEntry other) { if (other == alluxio.proto.journal.File.UpdateInodeEntry.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); if (other.hasParentId()) { setParentId(other.getParentId()); if (other.hasName()) { bitField0_ |= 0x00000004; name_ = other.name_; onChanged(); if (other.hasPersistenceState()) { bitField0_ |= 0x00000008; persistenceState_ = other.persistenceState_; onChanged(); if (other.hasPinned()) { setPinned(other.getPinned()); if (other.hasCreationTimeMs()) { setCreationTimeMs(other.getCreationTimeMs()); if (other.hasLastModificationTimeMs()) { setLastModificationTimeMs(other.getLastModificationTimeMs()); if (other.hasOverwriteModificationTime()) { setOverwriteModificationTime(other.getOverwriteModificationTime());
if (entry.hasAcl()) { setInternalAcl(ProtoUtils.fromProto(entry.getAcl())); if (entry.hasCreationTimeMs()) { setCreationTimeMs(entry.getCreationTimeMs()); if (entry.hasGroup()) { setGroup(entry.getGroup()); if (entry.hasLastModificationTimeMs()) { setLastModificationTimeMs(entry.getLastModificationTimeMs(), entry.getOverwriteModificationTime()); if (entry.hasMode()) { setMode((short) entry.getMode()); if (entry.hasName()) { setName(entry.getName()); if (entry.hasOwner()) { setOwner(entry.getOwner()); if (entry.hasParentId()) { setParentId(entry.getParentId()); if (entry.hasPersistenceState()) { setPersistenceState(PersistenceState.valueOf(entry.getPersistenceState())); if (entry.hasPinned()) {
private void apply(UpdateInodeEntry entry) { MutableInode<?> inode = mInodeStore.getMutable(entry.getId()).get(); if (entry.hasTtl()) { if (entry.hasTtl()) { mTtlBuckets.insert(Inode.wrap(inode)); if (entry.hasPinned() && inode.isFile()) { if (entry.getPinned()) { MutableInodeFile file = inode.asFile(); mPinnedInodeFileIds.add(entry.getId()); } else { mPinnedInodeFileIds.remove(entry.getId());
/** * <code>optional string group = 10;</code> */ public Builder clearGroup() { bitField0_ = (bitField0_ & ~0x00000200); group_ = getDefaultInstance().getGroup(); onChanged(); return this; } /**
/** * <code>optional string name = 3;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000004); name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>optional string owner = 9;</code> */ public Builder clearOwner() { bitField0_ = (bitField0_ & ~0x00000100); owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /**