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

    boolean this_present_catalogName = true && this.isSetCatalogName();
    boolean that_present_catalogName = true && that.isSetCatalogName();
    if (this_present_catalogName || that_present_catalogName) {
      if (!(this_present_catalogName && that_present_catalogName))
        return false;
      if (!this.catalogName.equals(that.catalogName))
        return false;
    }

    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_deleteData = true && this.isSetDeleteData();
    boolean that_present_deleteData = true && that.isSetDeleteData();
    if (this_present_deleteData || that_present_deleteData) {
      if (!(this_present_deleteData && that_present_deleteData))
        return false;
      if (this.deleteData != that.deleteData)
        return false;
    }

    boolean this_present_envContext = true && this.isSetEnvContext();
    boolean that_present_envContext = true && that.isSetEnvContext();
    if (this_present_envContext || that_present_envContext) {
      if (!(this_present_envContext && that_present_envContext))
        return false;
      if (!this.envContext.equals(that.envContext))
        return false;
    }

    boolean this_present_dropPartitions = true && this.isSetDropPartitions();
    boolean that_present_dropPartitions = true && that.isSetDropPartitions();
    if (this_present_dropPartitions || that_present_dropPartitions) {
      if (!(this_present_dropPartitions && that_present_dropPartitions))
        return false;
      if (this.dropPartitions != that.dropPartitions)
        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/DropTableRequest.java