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

    boolean this_present_dataPath = true && this.isSetDataPath();
    boolean that_present_dataPath = true && that.isSetDataPath();
    if (this_present_dataPath || that_present_dataPath) {
      if (!(this_present_dataPath && that_present_dataPath))
        return false;
      if (!this.dataPath.equals(that.dataPath))
        return false;
    }

    boolean this_present_purge = true;
    boolean that_present_purge = true;
    if (this_present_purge || that_present_purge) {
      if (!(this_present_purge && that_present_purge))
        return false;
      if (this.purge != that.purge)
        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/CmRecycleRequest.java