Builder
A builder for TextContent.
Functions
Link copied to clipboard
Adds a single Annotation to annotations.
Alias for calling addAnnotation with Annotation.ofFileCitation(fileCitation).
Alias for calling addAnnotation with Annotation.ofPlaceCitation(placeCitation).
Alias for calling addAnnotation with Annotation.ofUrlCitation(urlCitation).
Link copied to clipboard
Link copied to clipboard
Sets Builder.annotations to an arbitrary JSON value.
Citation information for model-generated content.
Link copied to clipboard
Returns an immutable instance of TextContent.
Link copied to clipboard
Link copied to clipboard
public final TextContent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets Builder.text to an arbitrary JSON value.
Required. The text content.
Link copied to clipboard
Sets the field to an arbitrary JSON value.