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-16 UTC."],[],[],null,["# Interface DynamicRetrievalConfigOrBuilder (1.32.0)\n\n public interface DynamicRetrievalConfigOrBuilder 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### getDynamicThreshold()\n\n public abstract float getDynamicThreshold()\n\nOptional. The threshold to be used in dynamic retrieval.\nIf not set, a system default value is used.\n\n`optional float dynamic_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getMode()\n\n public abstract DynamicRetrievalConfig.Mode getMode()\n\nThe mode of the predictor to be used in dynamic retrieval.\n\n`.google.cloud.vertexai.v1.DynamicRetrievalConfig.Mode mode = 1;`\n\n### getModeValue()\n\n public abstract int getModeValue()\n\nThe mode of the predictor to be used in dynamic retrieval.\n\n`.google.cloud.vertexai.v1.DynamicRetrievalConfig.Mode mode = 1;`\n\n### hasDynamicThreshold()\n\n public abstract boolean hasDynamicThreshold()\n\nOptional. The threshold to be used in dynamic retrieval.\nIf not set, a system default value is used.\n\n`optional float dynamic_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];`"]]