public boolean equals(ShowCompactResponseElement that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_dbname = true && this.isSetDbname();
    boolean that_present_dbname = true && that.isSetDbname();
    if (this_present_dbname || that_present_dbname) {
      if (!(this_present_dbname && that_present_dbname))
        return false;
      if (!this.dbname.equals(that.dbname))
        return false;
    }

    boolean this_present_tablename = true && this.isSetTablename();
    boolean that_present_tablename = true && that.isSetTablename();
    if (this_present_tablename || that_present_tablename) {
      if (!(this_present_tablename && that_present_tablename))
        return false;
      if (!this.tablename.equals(that.tablename))
        return false;
    }

    boolean this_present_partitionname = true && this.isSetPartitionname();
    boolean that_present_partitionname = true && that.isSetPartitionname();
    if (this_present_partitionname || that_present_partitionname) {
      if (!(this_present_partitionname && that_present_partitionname))
        return false;
      if (!this.partitionname.equals(that.partitionname))
        return false;
    }

    boolean this_present_type = true && this.isSetType();
    boolean that_present_type = true && that.isSetType();
    if (this_present_type || that_present_type) {
      if (!(this_present_type && that_present_type))
        return false;
      if (!this.type.equals(that.type))
        return false;
    }

    boolean this_present_state = true && this.isSetState();
    boolean that_present_state = true && that.isSetState();
    if (this_present_state || that_present_state) {
      if (!(this_present_state && that_present_state))
        return false;
      if (!this.state.equals(that.state))
        return false;
    }

    boolean this_present_workerid = true && this.isSetWorkerid();
    boolean that_present_workerid = true && that.isSetWorkerid();
    if (this_present_workerid || that_present_workerid) {
      if (!(this_present_workerid && that_present_workerid))
        return false;
      if (!this.workerid.equals(that.workerid))
        return false;
    }

    boolean this_present_start = true && this.isSetStart();
    boolean that_present_start = true && that.isSetStart();
    if (this_present_start || that_present_start) {
      if (!(this_present_start && that_present_start))
        return false;
      if (this.start != that.start)
        return false;
    }

    boolean this_present_runAs = true && this.isSetRunAs();
    boolean that_present_runAs = true && that.isSetRunAs();
    if (this_present_runAs || that_present_runAs) {
      if (!(this_present_runAs && that_present_runAs))
        return false;
      if (!this.runAs.equals(that.runAs))
        return false;
    }

    boolean this_present_hightestTxnId = true && this.isSetHightestTxnId();
    boolean that_present_hightestTxnId = true && that.isSetHightestTxnId();
    if (this_present_hightestTxnId || that_present_hightestTxnId) {
      if (!(this_present_hightestTxnId && that_present_hightestTxnId))
        return false;
      if (this.hightestTxnId != that.hightestTxnId)
        return false;
    }

    boolean this_present_metaInfo = true && this.isSetMetaInfo();
    boolean that_present_metaInfo = true && that.isSetMetaInfo();
    if (this_present_metaInfo || that_present_metaInfo) {
      if (!(this_present_metaInfo && that_present_metaInfo))
        return false;
      if (!this.metaInfo.equals(that.metaInfo))
        return false;
    }

    boolean this_present_endTime = true && this.isSetEndTime();
    boolean that_present_endTime = true && that.isSetEndTime();
    if (this_present_endTime || that_present_endTime) {
      if (!(this_present_endTime && that_present_endTime))
        return false;
      if (this.endTime != that.endTime)
        return false;
    }

    boolean this_present_hadoopJobId = true && this.isSetHadoopJobId();
    boolean that_present_hadoopJobId = true && that.isSetHadoopJobId();
    if (this_present_hadoopJobId || that_present_hadoopJobId) {
      if (!(this_present_hadoopJobId && that_present_hadoopJobId))
        return false;
      if (!this.hadoopJobId.equals(that.hadoopJobId))
        return false;
    }

    boolean this_present_id = true && this.isSetId();
    boolean that_present_id = true && that.isSetId();
    if (this_present_id || that_present_id) {
      if (!(this_present_id && that_present_id))
        return false;
      if (this.id != that.id)
        return false;
    }

    boolean this_present_errorMessage = true && this.isSetErrorMessage();
    boolean that_present_errorMessage = true && that.isSetErrorMessage();
    if (this_present_errorMessage || that_present_errorMessage) {
      if (!(this_present_errorMessage && that_present_errorMessage))
        return false;
      if (!this.errorMessage.equals(that.errorMessage))
        return false;
    }

    boolean this_present_enqueueTime = true && this.isSetEnqueueTime();
    boolean that_present_enqueueTime = true && that.isSetEnqueueTime();
    if (this_present_enqueueTime || that_present_enqueueTime) {
      if (!(this_present_enqueueTime && that_present_enqueueTime))
        return false;
      if (this.enqueueTime != that.enqueueTime)
        return false;
    }

    boolean this_present_workerVersion = true && this.isSetWorkerVersion();
    boolean that_present_workerVersion = true && that.isSetWorkerVersion();
    if (this_present_workerVersion || that_present_workerVersion) {
      if (!(this_present_workerVersion && that_present_workerVersion))
        return false;
      if (!this.workerVersion.equals(that.workerVersion))
        return false;
    }

    boolean this_present_initiatorId = true && this.isSetInitiatorId();
    boolean that_present_initiatorId = true && that.isSetInitiatorId();
    if (this_present_initiatorId || that_present_initiatorId) {
      if (!(this_present_initiatorId && that_present_initiatorId))
        return false;
      if (!this.initiatorId.equals(that.initiatorId))
        return false;
    }

    boolean this_present_initiatorVersion = true && this.isSetInitiatorVersion();
    boolean that_present_initiatorVersion = true && that.isSetInitiatorVersion();
    if (this_present_initiatorVersion || that_present_initiatorVersion) {
      if (!(this_present_initiatorVersion && that_present_initiatorVersion))
        return false;
      if (!this.initiatorVersion.equals(that.initiatorVersion))
        return false;
    }

    boolean this_present_cleanerStart = true && this.isSetCleanerStart();
    boolean that_present_cleanerStart = true && that.isSetCleanerStart();
    if (this_present_cleanerStart || that_present_cleanerStart) {
      if (!(this_present_cleanerStart && that_present_cleanerStart))
        return false;
      if (this.cleanerStart != that.cleanerStart)
        return false;
    }

    boolean this_present_poolName = true && this.isSetPoolName();
    boolean that_present_poolName = true && that.isSetPoolName();
    if (this_present_poolName || that_present_poolName) {
      if (!(this_present_poolName && that_present_poolName))
        return false;
      if (!this.poolName.equals(that.poolName))
        return false;
    }

    boolean this_present_nextTxnId = true && this.isSetNextTxnId();
    boolean that_present_nextTxnId = true && that.isSetNextTxnId();
    if (this_present_nextTxnId || that_present_nextTxnId) {
      if (!(this_present_nextTxnId && that_present_nextTxnId))
        return false;
      if (this.nextTxnId != that.nextTxnId)
        return false;
    }

    boolean this_present_txnId = true && this.isSetTxnId();
    boolean that_present_txnId = true && that.isSetTxnId();
    if (this_present_txnId || that_present_txnId) {
      if (!(this_present_txnId && that_present_txnId))
        return false;
      if (this.txnId != that.txnId)
        return false;
    }

    boolean this_present_commitTime = true && this.isSetCommitTime();
    boolean that_present_commitTime = true && that.isSetCommitTime();
    if (this_present_commitTime || that_present_commitTime) {
      if (!(this_present_commitTime && that_present_commitTime))
        return false;
      if (this.commitTime != that.commitTime)
        return false;
    }

    boolean this_present_hightestWriteId = true && this.isSetHightestWriteId();
    boolean that_present_hightestWriteId = true && that.isSetHightestWriteId();
    if (this_present_hightestWriteId || that_present_hightestWriteId) {
      if (!(this_present_hightestWriteId && that_present_hightestWriteId))
        return false;
      if (this.hightestWriteId != that.hightestWriteId)
        return false;
    }

    return true;
  }
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