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 ExamplesOverrideOrBuilder (1.32.0)\n\n public interface ExamplesOverrideOrBuilder 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### getCrowdingCount()\n\n public abstract int getCrowdingCount()\n\nThe number of neighbors to return that have the same crowding tag.\n\n`int32 crowding_count = 2;`\n\n### getDataFormat()\n\n public abstract ExamplesOverride.DataFormat getDataFormat()\n\nThe format of the data being provided with each call.\n\n`.google.cloud.vertexai.v1.ExamplesOverride.DataFormat data_format = 5;`\n\n### getDataFormatValue()\n\n public abstract int getDataFormatValue()\n\nThe format of the data being provided with each call.\n\n`.google.cloud.vertexai.v1.ExamplesOverride.DataFormat data_format = 5;`\n\n### getNeighborCount()\n\n public abstract int getNeighborCount()\n\nThe number of neighbors to return.\n\n`int32 neighbor_count = 1;`\n\n### getRestrictions(int index)\n\n public abstract ExamplesRestrictionsNamespace getRestrictions(int index)\n\nRestrict the resulting nearest neighbors to respect these constraints.\n\n`repeated .google.cloud.vertexai.v1.ExamplesRestrictionsNamespace restrictions = 3;`\n\n### getRestrictionsCount()\n\n public abstract int getRestrictionsCount()\n\nRestrict the resulting nearest neighbors to respect these constraints.\n\n`repeated .google.cloud.vertexai.v1.ExamplesRestrictionsNamespace restrictions = 3;`\n\n### getRestrictionsList()\n\n public abstract List\u003cExamplesRestrictionsNamespace\u003e getRestrictionsList()\n\nRestrict the resulting nearest neighbors to respect these constraints.\n\n`repeated .google.cloud.vertexai.v1.ExamplesRestrictionsNamespace restrictions = 3;`\n\n### getRestrictionsOrBuilder(int index)\n\n public abstract ExamplesRestrictionsNamespaceOrBuilder getRestrictionsOrBuilder(int index)\n\nRestrict the resulting nearest neighbors to respect these constraints.\n\n`repeated .google.cloud.vertexai.v1.ExamplesRestrictionsNamespace restrictions = 3;`\n\n### getRestrictionsOrBuilderList()\n\n public abstract List\u003c? extends ExamplesRestrictionsNamespaceOrBuilder\u003e getRestrictionsOrBuilderList()\n\nRestrict the resulting nearest neighbors to respect these constraints.\n\n`repeated .google.cloud.vertexai.v1.ExamplesRestrictionsNamespace restrictions = 3;`\n\n### getReturnEmbeddings()\n\n public abstract boolean getReturnEmbeddings()\n\nIf true, return the embeddings instead of neighbors.\n\n`bool return_embeddings = 4;`"]]