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 CitationOrBuilder (1.32.0)\n\n public interface CitationOrBuilder 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### getEndIndex()\n\n public abstract int getEndIndex()\n\nOutput only. End index into the content.\n\n`int32 end_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getLicense()\n\n public abstract String getLicense()\n\nOutput only. License of the attribution.\n\n`string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getLicenseBytes()\n\n public abstract ByteString getLicenseBytes()\n\nOutput only. License of the attribution.\n\n`string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getPublicationDate()\n\n public abstract Date getPublicationDate()\n\nOutput only. Publication date of the attribution.\n\n`.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getPublicationDateOrBuilder()\n\n public abstract DateOrBuilder getPublicationDateOrBuilder()\n\nOutput only. Publication date of the attribution.\n\n`.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getStartIndex()\n\n public abstract int getStartIndex()\n\nOutput only. Start index into the content.\n\n`int32 start_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getTitle()\n\n public abstract String getTitle()\n\nOutput only. Title of the attribution.\n\n`string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getTitleBytes()\n\n public abstract ByteString getTitleBytes()\n\nOutput only. Title of the attribution.\n\n`string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getUri()\n\n public abstract String getUri()\n\nOutput only. Url reference of the attribution.\n\n`string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getUriBytes()\n\n public abstract ByteString getUriBytes()\n\nOutput only. Url reference of the attribution.\n\n`string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### hasPublicationDate()\n\n public abstract boolean hasPublicationDate()\n\nOutput only. Publication date of the attribution.\n\n`.google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`"]]