public String getModelName() {
    return this.modelName;
  }
Returns the model name of this generative model.
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/generativeai/GenerativeModel.java