public boolean equals(CompactionRequest 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_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_properties = true && this.isSetProperties();
    boolean that_present_properties = true && that.isSetProperties();
    if (this_present_properties || that_present_properties) {
      if (!(this_present_properties && that_present_properties))
        return false;
      if (!this.properties.equals(that.properties))
        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_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_numberOfBuckets = true && this.isSetNumberOfBuckets();
    boolean that_present_numberOfBuckets = true && that.isSetNumberOfBuckets();
    if (this_present_numberOfBuckets || that_present_numberOfBuckets) {
      if (!(this_present_numberOfBuckets && that_present_numberOfBuckets))
        return false;
      if (this.numberOfBuckets != that.numberOfBuckets)
        return false;
    }

    boolean this_present_orderByClause = true && this.isSetOrderByClause();
    boolean that_present_orderByClause = true && that.isSetOrderByClause();
    if (this_present_orderByClause || that_present_orderByClause) {
      if (!(this_present_orderByClause && that_present_orderByClause))
        return false;
      if (!this.orderByClause.equals(that.orderByClause))
        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/CompactionRequest.java