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

    boolean this_present_scheduleKey = true && this.isSetScheduleKey();
    boolean that_present_scheduleKey = true && that.isSetScheduleKey();
    if (this_present_scheduleKey || that_present_scheduleKey) {
      if (!(this_present_scheduleKey && that_present_scheduleKey))
        return false;
      if (!this.scheduleKey.equals(that.scheduleKey))
        return false;
    }

    boolean this_present_executionId = true && this.isSetExecutionId();
    boolean that_present_executionId = true && that.isSetExecutionId();
    if (this_present_executionId || that_present_executionId) {
      if (!(this_present_executionId && that_present_executionId))
        return false;
      if (this.executionId != that.executionId)
        return false;
    }

    boolean this_present_query = true && this.isSetQuery();
    boolean that_present_query = true && that.isSetQuery();
    if (this_present_query || that_present_query) {
      if (!(this_present_query && that_present_query))
        return false;
      if (!this.query.equals(that.query))
        return false;
    }

    boolean this_present_user = true && this.isSetUser();
    boolean that_present_user = true && that.isSetUser();
    if (this_present_user || that_present_user) {
      if (!(this_present_user && that_present_user))
        return false;
      if (!this.user.equals(that.user))
        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/ScheduledQueryPollResponse.java