annotations

public final TextContent.Builder annotations(List<Annotation> annotations)

Citation information for model-generated content.


public final TextContent.Builder annotations(JsonField<List<Annotation>> annotations)

Sets Builder.annotations to an arbitrary JSON value.

You should usually call Builder.annotations with a well-typed List<Annotation> value instead. This method is primarily for setting the field to an undocumented or not yet supported value.