@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasExecutionBlockId()) { hash = (37 * hash) + EXECUTIONBLOCKID_FIELD_NUMBER; hash = (53 * hash) + getExecutionBlockId().hashCode(); } if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasExecutionBlockId()) { hash = (37 * hash) + EXECUTION_BLOCK_ID_FIELD_NUMBER; hash = (53 * hash) + getExecutionBlockId().hashCode(); } if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.tajo.TajoIdProtos.TaskIdProto)) { return super.equals(obj); } org.apache.tajo.TajoIdProtos.TaskIdProto other = (org.apache.tajo.TajoIdProtos.TaskIdProto) obj; boolean result = true; result = result && (hasExecutionBlockId() == other.hasExecutionBlockId()); if (hasExecutionBlockId()) { result = result && getExecutionBlockId() .equals(other.getExecutionBlockId()); } result = result && (hasId() == other.hasId()); if (hasId()) { result = result && (getId() == other.getId()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.tajo.TajoIdProtos.TaskIdProto)) { return super.equals(obj); } org.apache.tajo.TajoIdProtos.TaskIdProto other = (org.apache.tajo.TajoIdProtos.TaskIdProto) obj; boolean result = true; result = result && (hasExecutionBlockId() == other.hasExecutionBlockId()); if (hasExecutionBlockId()) { result = result && getExecutionBlockId() .equals(other.getExecutionBlockId()); } result = result && (hasId() == other.hasId()); if (hasId()) { result = result && (getId() == other.getId()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public TaskId(TajoIdProtos.TaskIdProto proto) { this(new ExecutionBlockId(proto.getExecutionBlockId()), proto.getId()); }
public TaskId(TajoIdProtos.TaskIdProto proto) { this(new ExecutionBlockId(proto.getExecutionBlockId()), proto.getId()); }
public Builder mergeFrom(org.apache.tajo.TajoIdProtos.TaskIdProto other) { if (other == org.apache.tajo.TajoIdProtos.TaskIdProto.getDefaultInstance()) return this; if (other.hasExecutionBlockId()) { mergeExecutionBlockId(other.getExecutionBlockId()); } if (other.hasId()) { setId(other.getId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.tajo.TajoIdProtos.TaskIdProto other) { if (other == org.apache.tajo.TajoIdProtos.TaskIdProto.getDefaultInstance()) return this; if (other.hasExecutionBlockId()) { mergeExecutionBlockId(other.getExecutionBlockId()); } if (other.hasId()) { setId(other.getId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }