@java.lang.Override
      public com.google.protobuf.ByteString getModelNameBytes() {
        java.lang.Object ref = modelName_;
        if (ref instanceof java.lang.String) {
          com.google.protobuf.ByteString b =
              com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
          modelName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
<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