public com.google.protobuf.ByteString getModelNameBytes() {
          java.lang.Object ref = modelName_;
          if (ref instanceof 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>
The model name to use. Only the public LLM models are accepted. e.g.
'gemini-1.5-pro-001'.
</pre>

<code>optional string model_name = 1;</code>

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