public boolean equals()

in src-gen/com/facebook/buck/artifact_cache/thrift/BuckCacheFetchResponse.java [343:386]


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

    boolean this_present_artifactExists = true && this.isSetArtifactExists();
    boolean that_present_artifactExists = true && that.isSetArtifactExists();
    if (this_present_artifactExists || that_present_artifactExists) {
      if (!(this_present_artifactExists && that_present_artifactExists))
        return false;
      if (this.artifactExists != that.artifactExists)
        return false;
    }

    boolean this_present_metadata = true && this.isSetMetadata();
    boolean that_present_metadata = true && that.isSetMetadata();
    if (this_present_metadata || that_present_metadata) {
      if (!(this_present_metadata && that_present_metadata))
        return false;
      if (!this.metadata.equals(that.metadata))
        return false;
    }

    boolean this_present_debugInfo = true && this.isSetDebugInfo();
    boolean that_present_debugInfo = true && that.isSetDebugInfo();
    if (this_present_debugInfo || that_present_debugInfo) {
      if (!(this_present_debugInfo && that_present_debugInfo))
        return false;
      if (!this.debugInfo.equals(that.debugInfo))
        return false;
    }

    boolean this_present_payload = true && this.isSetPayload();
    boolean that_present_payload = true && that.isSetPayload();
    if (this_present_payload || that_present_payload) {
      if (!(this_present_payload && that_present_payload))
        return false;
      if (!this.payload.equals(that.payload))
        return false;
    }

    return true;
  }