@java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(retailProductRecognitionIndex_)) {
        size +=
            com.google.protobuf.GeneratedMessageV3.computeStringSize(
                1, retailProductRecognitionIndex_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vertexModel_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, vertexModel_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
<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