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-04 UTC."],[],[],null,["# Interface GroundingAttributionOrBuilder (1.1.0)\n\n public interface GroundingAttributionOrBuilder 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### getConfidenceScore()\n\n public abstract float getConfidenceScore()\n\nOptional. Output only. Confidence score of the attribution. Ranges from 0\nto 1. 1 is the most confident.\n\n`\noptional float confidence_score = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getReferenceCase()\n\n public abstract GroundingAttribution.ReferenceCase getReferenceCase()\n\n### getSegment()\n\n public abstract Segment getSegment()\n\nOutput only. Segment of the content this attribution belongs to.\n\n`\n.google.cloud.vertexai.v1.Segment segment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getSegmentOrBuilder()\n\n public abstract SegmentOrBuilder getSegmentOrBuilder()\n\nOutput only. Segment of the content this attribution belongs to.\n\n`\n.google.cloud.vertexai.v1.Segment segment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getWeb()\n\n public abstract GroundingAttribution.Web getWeb()\n\nOptional. Attribution from the web.\n\n`\n.google.cloud.vertexai.v1.GroundingAttribution.Web web = 3 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### getWebOrBuilder()\n\n public abstract GroundingAttribution.WebOrBuilder getWebOrBuilder()\n\nOptional. Attribution from the web.\n\n`\n.google.cloud.vertexai.v1.GroundingAttribution.Web web = 3 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### hasConfidenceScore()\n\n public abstract boolean hasConfidenceScore()\n\nOptional. Output only. Confidence score of the attribution. Ranges from 0\nto 1. 1 is the most confident.\n\n`\noptional float confidence_score = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### hasSegment()\n\n public abstract boolean hasSegment()\n\nOutput only. Segment of the content this attribution belongs to.\n\n`\n.google.cloud.vertexai.v1.Segment segment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### hasWeb()\n\n public abstract boolean hasWeb()\n\nOptional. Attribution from the web.\n\n`\n.google.cloud.vertexai.v1.GroundingAttribution.Web web = 3 [(.google.api.field_behavior) = OPTIONAL];\n`"]]