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

    boolean this_present_status = true && this.isSetStatus();
    boolean that_present_status = true && that.isSetStatus();
    if (this_present_status || that_present_status) {
      if (!(this_present_status && that_present_status))
        return false;
      if (!this.status.equals(that.status))
        return false;
    }

    boolean this_present_operationState = true && this.isSetOperationState();
    boolean that_present_operationState = true && that.isSetOperationState();
    if (this_present_operationState || that_present_operationState) {
      if (!(this_present_operationState && that_present_operationState))
        return false;
      if (!this.operationState.equals(that.operationState))
        return false;
    }

    boolean this_present_sqlState = true && this.isSetSqlState();
    boolean that_present_sqlState = true && that.isSetSqlState();
    if (this_present_sqlState || that_present_sqlState) {
      if (!(this_present_sqlState && that_present_sqlState))
        return false;
      if (!this.sqlState.equals(that.sqlState))
        return false;
    }

    boolean this_present_errorCode = true && this.isSetErrorCode();
    boolean that_present_errorCode = true && that.isSetErrorCode();
    if (this_present_errorCode || that_present_errorCode) {
      if (!(this_present_errorCode && that_present_errorCode))
        return false;
      if (this.errorCode != that.errorCode)
        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_taskStatus = true && this.isSetTaskStatus();
    boolean that_present_taskStatus = true && that.isSetTaskStatus();
    if (this_present_taskStatus || that_present_taskStatus) {
      if (!(this_present_taskStatus && that_present_taskStatus))
        return false;
      if (!this.taskStatus.equals(that.taskStatus))
        return false;
    }

    boolean this_present_operationStarted = true && this.isSetOperationStarted();
    boolean that_present_operationStarted = true && that.isSetOperationStarted();
    if (this_present_operationStarted || that_present_operationStarted) {
      if (!(this_present_operationStarted && that_present_operationStarted))
        return false;
      if (this.operationStarted != that.operationStarted)
        return false;
    }

    boolean this_present_operationCompleted = true && this.isSetOperationCompleted();
    boolean that_present_operationCompleted = true && that.isSetOperationCompleted();
    if (this_present_operationCompleted || that_present_operationCompleted) {
      if (!(this_present_operationCompleted && that_present_operationCompleted))
        return false;
      if (this.operationCompleted != that.operationCompleted)
        return false;
    }

    boolean this_present_hasResultSet = true && this.isSetHasResultSet();
    boolean that_present_hasResultSet = true && that.isSetHasResultSet();
    if (this_present_hasResultSet || that_present_hasResultSet) {
      if (!(this_present_hasResultSet && that_present_hasResultSet))
        return false;
      if (this.hasResultSet != that.hasResultSet)
        return false;
    }

    boolean this_present_progressUpdateResponse = true && this.isSetProgressUpdateResponse();
    boolean that_present_progressUpdateResponse = true && that.isSetProgressUpdateResponse();
    if (this_present_progressUpdateResponse || that_present_progressUpdateResponse) {
      if (!(this_present_progressUpdateResponse && that_present_progressUpdateResponse))
        return false;
      if (!this.progressUpdateResponse.equals(that.progressUpdateResponse))
        return false;
    }

    boolean this_present_numModifiedRows = true && this.isSetNumModifiedRows();
    boolean that_present_numModifiedRows = true && that.isSetNumModifiedRows();
    if (this_present_numModifiedRows || that_present_numModifiedRows) {
      if (!(this_present_numModifiedRows && that_present_numModifiedRows))
        return false;
      if (this.numModifiedRows != that.numModifiedRows)
        return false;
    }

    return true;
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
service-rpc/src/gen/thrift/gen-javabean/org/apache/hive/service/rpc/thrift/TGetOperationStatusResp.java