@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(retailProductRecognitionIndex_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(
            output, 1, retailProductRecognitionIndex_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vertexModel_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, vertexModel_);
      }
      getUnknownFields().writeTo(output);
    }
<pre>
Optional. The resource name of embedding model hosted in Vertex AI
Platform.
</pre>

<code>string vertex_model = 2 [(.google.api.field_behavior) = OPTIONAL];</code>

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