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

    hashCode = hashCode * 8191 + ((isSetStageId()) ? 131071 : 524287);
    if (isSetStageId())
      hashCode = hashCode * 8191 + stageId.hashCode();

    hashCode = hashCode * 8191 + ((isSetStageType()) ? 131071 : 524287);
    if (isSetStageType())
      hashCode = hashCode * 8191 + stageType.getValue();

    hashCode = hashCode * 8191 + ((isSetStageAttributes()) ? 131071 : 524287);
    if (isSetStageAttributes())
      hashCode = hashCode * 8191 + stageAttributes.hashCode();

    hashCode = hashCode * 8191 + ((isSetStageCounters()) ? 131071 : 524287);
    if (isSetStageCounters())
      hashCode = hashCode * 8191 + stageCounters.hashCode();

    hashCode = hashCode * 8191 + ((isSetTaskList()) ? 131071 : 524287);
    if (isSetTaskList())
      hashCode = hashCode * 8191 + taskList.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/Stage.java