@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasNextContainerId()) { hash = (37 * hash) + NEXT_CONTAINER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNextContainerId()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry)) { return super.equals(obj); } alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry other = (alluxio.proto.journal.Block.BlockContainerIdGeneratorEntry) obj; boolean result = true; result = result && (hasNextContainerId() == other.hasNextContainerId()); if (hasNextContainerId()) { result = result && (getNextContainerId() == other.getNextContainerId()); } result = result && unknownFields.equals(other.unknownFields); return result; }
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; }
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; }