public boolean equals()

in src-gen/com/facebook/buck/frontend/thrift/FrontendResponse.java [398:450]


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

    boolean this_present_wasSuccessful = true && this.isSetWasSuccessful();
    boolean that_present_wasSuccessful = true && that.isSetWasSuccessful();
    if (this_present_wasSuccessful || that_present_wasSuccessful) {
      if (!(this_present_wasSuccessful && that_present_wasSuccessful))
        return false;
      if (this.wasSuccessful != that.wasSuccessful)
        return false;
    }

    boolean this_present_errorMessage = true && this.isSetErrorMessage();
    boolean that_present_errorMessage = true && that.isSetErrorMessage();
    if (this_present_errorMessage || that_present_errorMessage) {
      if (!(this_present_errorMessage && that_present_errorMessage))
        return false;
      if (!this.errorMessage.equals(that.errorMessage))
        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_announcementResponse = true && this.isSetAnnouncementResponse();
    boolean that_present_announcementResponse = true && that.isSetAnnouncementResponse();
    if (this_present_announcementResponse || that_present_announcementResponse) {
      if (!(this_present_announcementResponse && that_present_announcementResponse))
        return false;
      if (!this.announcementResponse.equals(that.announcementResponse))
        return false;
    }

    boolean this_present_fetchRuleKeyLogsResponse = true && this.isSetFetchRuleKeyLogsResponse();
    boolean that_present_fetchRuleKeyLogsResponse = true && that.isSetFetchRuleKeyLogsResponse();
    if (this_present_fetchRuleKeyLogsResponse || that_present_fetchRuleKeyLogsResponse) {
      if (!(this_present_fetchRuleKeyLogsResponse && that_present_fetchRuleKeyLogsResponse))
        return false;
      if (!this.fetchRuleKeyLogsResponse.equals(that.fetchRuleKeyLogsResponse))
        return false;
    }

    return true;
  }