@Override
  public int hashCode() {
    int hashCode = 1;

    hashCode = hashCode * 8191 + ((isSetTaskId()) ? 131071 : 524287);
    if (isSetTaskId())
      hashCode = hashCode * 8191 + taskId.hashCode();

    hashCode = hashCode * 8191 + ((isSetTaskType()) ? 131071 : 524287);
    if (isSetTaskType())
      hashCode = hashCode * 8191 + taskType.getValue();

    hashCode = hashCode * 8191 + ((isSetTaskAttributes()) ? 131071 : 524287);
    if (isSetTaskAttributes())
      hashCode = hashCode * 8191 + taskAttributes.hashCode();

    hashCode = hashCode * 8191 + ((isSetTaskCounters()) ? 131071 : 524287);
    if (isSetTaskCounters())
      hashCode = hashCode * 8191 + taskCounters.hashCode();

    hashCode = hashCode * 8191 + ((isSetOperatorGraph()) ? 131071 : 524287);
    if (isSetOperatorGraph())
      hashCode = hashCode * 8191 + operatorGraph.hashCode();

    hashCode = hashCode * 8191 + ((isSetOperatorList()) ? 131071 : 524287);
    if (isSetOperatorList())
      hashCode = hashCode * 8191 + operatorList.hashCode();

    hashCode = hashCode * 8191 + ((done) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((started) ? 131071 : 524287);

    return hashCode;
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java