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

    if (!getName().equals(other.getName())) return false;
    if (!getSpansList().equals(other.getSpansList())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Required. A list of new spans. The span names must not match existing
spans, otherwise the results are undefined.
</pre>

<code>
repeated .google.devtools.cloudtrace.v2.Span spans = 2 [(.google.api.field_behavior) = REQUIRED];
</code>
java-trace/proto-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/BatchWriteSpansRequest.java