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

    hashCode = hashCode * 8191 + ((isSetDbname()) ? 131071 : 524287);
    if (isSetDbname())
      hashCode = hashCode * 8191 + dbname.hashCode();

    hashCode = hashCode * 8191 + ((isSetTablename()) ? 131071 : 524287);
    if (isSetTablename())
      hashCode = hashCode * 8191 + tablename.hashCode();

    hashCode = hashCode * 8191 + ((isSetPartitionname()) ? 131071 : 524287);
    if (isSetPartitionname())
      hashCode = hashCode * 8191 + partitionname.hashCode();

    hashCode = hashCode * 8191 + ((isSetType()) ? 131071 : 524287);
    if (isSetType())
      hashCode = hashCode * 8191 + type.getValue();

    hashCode = hashCode * 8191 + ((isSetState()) ? 131071 : 524287);
    if (isSetState())
      hashCode = hashCode * 8191 + state.hashCode();

    hashCode = hashCode * 8191 + ((isSetWorkerid()) ? 131071 : 524287);
    if (isSetWorkerid())
      hashCode = hashCode * 8191 + workerid.hashCode();

    hashCode = hashCode * 8191 + ((isSetStart()) ? 131071 : 524287);
    if (isSetStart())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(start);

    hashCode = hashCode * 8191 + ((isSetRunAs()) ? 131071 : 524287);
    if (isSetRunAs())
      hashCode = hashCode * 8191 + runAs.hashCode();

    hashCode = hashCode * 8191 + ((isSetHightestTxnId()) ? 131071 : 524287);
    if (isSetHightestTxnId())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(hightestTxnId);

    hashCode = hashCode * 8191 + ((isSetMetaInfo()) ? 131071 : 524287);
    if (isSetMetaInfo())
      hashCode = hashCode * 8191 + metaInfo.hashCode();

    hashCode = hashCode * 8191 + ((isSetEndTime()) ? 131071 : 524287);
    if (isSetEndTime())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(endTime);

    hashCode = hashCode * 8191 + ((isSetHadoopJobId()) ? 131071 : 524287);
    if (isSetHadoopJobId())
      hashCode = hashCode * 8191 + hadoopJobId.hashCode();

    hashCode = hashCode * 8191 + ((isSetId()) ? 131071 : 524287);
    if (isSetId())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(id);

    hashCode = hashCode * 8191 + ((isSetErrorMessage()) ? 131071 : 524287);
    if (isSetErrorMessage())
      hashCode = hashCode * 8191 + errorMessage.hashCode();

    hashCode = hashCode * 8191 + ((isSetEnqueueTime()) ? 131071 : 524287);
    if (isSetEnqueueTime())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(enqueueTime);

    hashCode = hashCode * 8191 + ((isSetWorkerVersion()) ? 131071 : 524287);
    if (isSetWorkerVersion())
      hashCode = hashCode * 8191 + workerVersion.hashCode();

    hashCode = hashCode * 8191 + ((isSetInitiatorId()) ? 131071 : 524287);
    if (isSetInitiatorId())
      hashCode = hashCode * 8191 + initiatorId.hashCode();

    hashCode = hashCode * 8191 + ((isSetInitiatorVersion()) ? 131071 : 524287);
    if (isSetInitiatorVersion())
      hashCode = hashCode * 8191 + initiatorVersion.hashCode();

    hashCode = hashCode * 8191 + ((isSetCleanerStart()) ? 131071 : 524287);
    if (isSetCleanerStart())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(cleanerStart);

    hashCode = hashCode * 8191 + ((isSetPoolName()) ? 131071 : 524287);
    if (isSetPoolName())
      hashCode = hashCode * 8191 + poolName.hashCode();

    hashCode = hashCode * 8191 + ((isSetNextTxnId()) ? 131071 : 524287);
    if (isSetNextTxnId())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(nextTxnId);

    hashCode = hashCode * 8191 + ((isSetTxnId()) ? 131071 : 524287);
    if (isSetTxnId())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(txnId);

    hashCode = hashCode * 8191 + ((isSetCommitTime()) ? 131071 : 524287);
    if (isSetCommitTime())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(commitTime);

    hashCode = hashCode * 8191 + ((isSetHightestWriteId()) ? 131071 : 524287);
    if (isSetHightestWriteId())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(hightestWriteId);

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