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

    boolean this_present_txn_ids = true && this.isSetTxn_ids();
    boolean that_present_txn_ids = true && that.isSetTxn_ids();
    if (this_present_txn_ids || that_present_txn_ids) {
      if (!(this_present_txn_ids && that_present_txn_ids))
        return false;
      if (!this.txn_ids.equals(that.txn_ids))
        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;
    }

    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/AbortTxnsRequest.java