@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(asset_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, asset_);
      }
      if (dataTypeCase_ == 2) {
        output.writeMessage(
            2, (com.google.cloud.visionai.v1.IngestAssetRequest.Config.VideoType) dataType_);
      }
      getUnknownFields().writeTo(output);
    }
<pre>
Required. The resource name of the asset that the ingested data belongs
to.
</pre>

<code>
string asset = 1 [(.google.api.field_behavior) = REQUIRED, (.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/IngestAssetRequest.java