Package com.google.genai.types
Class Citation.Builder
java.lang.Object
com.google.genai.types.Citation.Builder
- Enclosing class:
- Citation
Builder for Citation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Citationbuild()Clears the value of endIndex field.Clears the value of license field.Clears the value of publicationDate field.Clears the value of startIndex field.Clears the value of title field.clearUri()Clears the value of uri field.abstract Citation.BuilderSetter for endIndex.abstract Citation.BuilderSetter for license.abstract Citation.BuilderpublicationDate(GoogleTypeDate publicationDate) Setter for publicationDate.publicationDate(GoogleTypeDate.Builder publicationDateBuilder) Setter for publicationDate builder.abstract Citation.BuilderstartIndex(Integer startIndex) Setter for startIndex.abstract Citation.BuilderSetter for title.abstract Citation.BuilderSetter for uri.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endIndex
Setter for endIndex.endIndex: Output only. The end index of the citation in the content.
-
clearEndIndex
Clears the value of endIndex field. -
license
Setter for license.license: Output only. The license of the source of the citation.
-
clearLicense
Clears the value of license field. -
publicationDate
Setter for publicationDate.publicationDate: Output only. The publication date of the source of the citation.
-
publicationDate
@CanIgnoreReturnValue public Citation.Builder publicationDate(GoogleTypeDate.Builder publicationDateBuilder) Setter for publicationDate builder.publicationDate: Output only. The publication date of the source of the citation.
-
clearPublicationDate
Clears the value of publicationDate field. -
startIndex
Setter for startIndex.startIndex: Output only. The start index of the citation in the content.
-
clearStartIndex
Clears the value of startIndex field. -
title
Setter for title.title: Output only. The title of the source of the citation.
-
clearTitle
Clears the value of title field. -
uri
Setter for uri.uri: Output only. The URI of the source of the citation.
-
clearUri
Clears the value of uri field. -
build
-