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-09-03 UTC."],[],[],null,["# Interface RetrievalConfigOrBuilder (1.32.0)\n\n public interface RetrievalConfigOrBuilder 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### getLanguageCode()\n\n public abstract String getLanguageCode()\n\nThe language code of the user.\n\n`optional string language_code = 2;`\n\n### getLanguageCodeBytes()\n\n public abstract ByteString getLanguageCodeBytes()\n\nThe language code of the user.\n\n`optional string language_code = 2;`\n\n### getLatLng()\n\n public abstract LatLng getLatLng()\n\nThe location of the user.\n\n`optional .google.type.LatLng lat_lng = 1;`\n\n### getLatLngOrBuilder()\n\n public abstract LatLngOrBuilder getLatLngOrBuilder()\n\nThe location of the user.\n\n`optional .google.type.LatLng lat_lng = 1;`\n\n### hasLanguageCode()\n\n public abstract boolean hasLanguageCode()\n\nThe language code of the user.\n\n`optional string language_code = 2;`\n\n### hasLatLng()\n\n public abstract boolean hasLatLng()\n\nThe location of the user.\n\n`optional .google.type.LatLng lat_lng = 1;`"]]