@java.lang.Override
  public java.lang.String getItemResource() {
    java.lang.Object ref = itemResource_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      itemResource_ = s;
      return s;
    }
  }
<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 itemResource.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/CollectionItem.java