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

    if (!getCollection().equals(other.getCollection())) return false;
    if (type_ != other.type_) return false;
    if (!getItemResource().equals(other.getItemResource())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Required. The name of the CollectionItem. Its format depends on the `type`
above. For ASSET:
`projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}`
</pre>

<code>string item_resource = 3 [(.google.api.field_behavior) = REQUIRED];</code>

@return The bytes for itemResource.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/CollectionItem.java