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

        size = 0;
        if (((bitField0_ & 0x00000001) != 0)) {
          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, modelName_);
        }
        size += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
      }
<pre>
Optional. The model name of the rank service.
Format: `semantic-ranker-512&#64;latest`
</pre>

<code>optional string model_name = 1 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The bytes for modelName.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RagRetrievalConfig.java