public com.google.protobuf.ByteString getItemResourceBytes() {
      java.lang.Object ref = itemResource_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        itemResource_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
<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