Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface GenerationConfig.RoutingConfig.ManualRoutingModeOrBuilder (1.32.0)\n\n public static interface GenerationConfig.RoutingConfig.ManualRoutingModeOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getModelName()\n\n public abstract String getModelName()\n\nThe model name to use. Only the public LLM models are accepted. e.g.\n'gemini-1.5-pro-001'.\n\n`optional string model_name = 1;`\n\n### getModelNameBytes()\n\n public abstract ByteString getModelNameBytes()\n\nThe model name to use. Only the public LLM models are accepted. e.g.\n'gemini-1.5-pro-001'.\n\n`optional string model_name = 1;`\n\n### hasModelName()\n\n public abstract boolean hasModelName()\n\nThe model name to use. Only the public LLM models are accepted. e.g.\n'gemini-1.5-pro-001'.\n\n`optional string model_name = 1;`"]]