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

    if (hasOperationMetadata() != other.hasOperationMetadata()) return false;
    if (hasOperationMetadata()) {
      if (!getOperationMetadata().equals(other.getOperationMetadata())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Common metadata of the long-running operation.
</pre>

<code>.google.cloud.visionai.v1.OperationMetadata operation_metadata = 1;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/CreateCollectionMetadata.java