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

    boolean this_present_workerId = true && this.isSetWorkerId();
    boolean that_present_workerId = true && that.isSetWorkerId();
    if (this_present_workerId || that_present_workerId) {
      if (!(this_present_workerId && that_present_workerId))
        return false;
      if (!this.workerId.equals(that.workerId))
        return false;
    }

    boolean this_present_workerVersion = true && this.isSetWorkerVersion();
    boolean that_present_workerVersion = true && that.isSetWorkerVersion();
    if (this_present_workerVersion || that_present_workerVersion) {
      if (!(this_present_workerVersion && that_present_workerVersion))
        return false;
      if (!this.workerVersion.equals(that.workerVersion))
        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;
    }

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