public boolean equals()

in src-gen/com/facebook/buck/frontend/thrift/FrontendRequest.java [349:392]


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

    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_logRequest = true && this.isSetLogRequest();
    boolean that_present_logRequest = true && that.isSetLogRequest();
    if (this_present_logRequest || that_present_logRequest) {
      if (!(this_present_logRequest && that_present_logRequest))
        return false;
      if (!this.logRequest.equals(that.logRequest))
        return false;
    }

    boolean this_present_announcementRequest = true && this.isSetAnnouncementRequest();
    boolean that_present_announcementRequest = true && that.isSetAnnouncementRequest();
    if (this_present_announcementRequest || that_present_announcementRequest) {
      if (!(this_present_announcementRequest && that_present_announcementRequest))
        return false;
      if (!this.announcementRequest.equals(that.announcementRequest))
        return false;
    }

    boolean this_present_fetchRuleKeyLogsRequest = true && this.isSetFetchRuleKeyLogsRequest();
    boolean that_present_fetchRuleKeyLogsRequest = true && that.isSetFetchRuleKeyLogsRequest();
    if (this_present_fetchRuleKeyLogsRequest || that_present_fetchRuleKeyLogsRequest) {
      if (!(this_present_fetchRuleKeyLogsRequest && that_present_fetchRuleKeyLogsRequest))
        return false;
      if (!this.fetchRuleKeyLogsRequest.equals(that.fetchRuleKeyLogsRequest))
        return false;
    }

    return true;
  }