@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasSourceIndex()) { hash = (37 * hash) + SOURCE_INDEX_FIELD_NUMBER; hash = (53 * hash) + getSourceIndex(); } if (hasTargetIndex()) { hash = (37 * hash) + TARGET_INDEX_FIELD_NUMBER; hash = (53 * hash) + getTargetIndex(); } if (hasUserPayload()) { hash = (37 * hash) + USER_PAYLOAD_FIELD_NUMBER; hash = (53 * hash) + getUserPayload().hashCode(); } if (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
== other.getTargetIndex()); result = result && (hasUserPayload() == other.hasUserPayload()); if (hasUserPayload()) { result = result && getUserPayload() .equals(other.getUserPayload());
public Builder mergeFrom(org.apache.tez.runtime.api.events.EventProtos.DataMovementEventProto other) { if (other == org.apache.tez.runtime.api.events.EventProtos.DataMovementEventProto.getDefaultInstance()) return this; if (other.hasSourceIndex()) { setSourceIndex(other.getSourceIndex()); } if (other.hasTargetIndex()) { setTargetIndex(other.getTargetIndex()); } if (other.hasUserPayload()) { setUserPayload(other.getUserPayload()); } if (other.hasVersion()) { setVersion(other.getVersion()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }