@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasStartIndex()) { hash = (37 * hash) + START_INDEX_FIELD_NUMBER; hash = (53 * hash) + getStartIndex(); } if (hasCount()) { hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + getCount(); } 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; }
result = result && (getVersion() == other.getVersion());
public Builder mergeFrom(org.apache.tez.runtime.api.events.EventProtos.CompositeEventProto other) { if (other == org.apache.tez.runtime.api.events.EventProtos.CompositeEventProto.getDefaultInstance()) return this; if (other.hasStartIndex()) { setStartIndex(other.getStartIndex()); } if (other.hasCount()) { setCount(other.getCount()); } if (other.hasUserPayload()) { setUserPayload(other.getUserPayload()); } if (other.hasVersion()) { setVersion(other.getVersion()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }