@java.lang.Override
    public com.google.protobuf.ByteString getAssetBytes() {
      java.lang.Object ref = "";
      if (imageCase_ == 2) {
        ref = image_;
      }
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        if (imageCase_ == 2) {
          image_ = b;
        }
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
<pre>
Resource name of the asset. Only supported in IMAGE corpus type.
Format:
`projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`
</pre>

<code>string asset = 2 [(.google.api.resource_reference) = { ... }</code>

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