@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.devtools.cloudtrace.v1.PatchTracesRequest)) {
      return super.equals(obj);
    }
    com.google.devtools.cloudtrace.v1.PatchTracesRequest other =
        (com.google.devtools.cloudtrace.v1.PatchTracesRequest) obj;

    if (!getProjectId().equals(other.getProjectId())) return false;
    if (hasTraces() != other.hasTraces()) return false;
    if (hasTraces()) {
      if (!getTraces().equals(other.getTraces())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Required. The body of the message.
</pre>

<code>
.google.devtools.cloudtrace.v1.Traces traces = 2 [(.google.api.field_behavior) = REQUIRED];
</code>
java-trace/proto-google-cloud-trace-v1/src/main/java/com/google/devtools/cloudtrace/v1/PatchTracesRequest.java