Class BetaTextBlock.Builder
-
- All Implemented Interfaces:
public final class BetaTextBlock.BuilderA builder for BetaTextBlock.
-
-
Method Summary
-
-
Method Detail
-
citations
final BetaTextBlock.Builder citations(List<BetaTextCitation> citations)
Citations supporting the text block.
The type of citation returned will depend on the type of document being cited. Citing a PDF results in
page_location, plain text results inchar_location, and content document results incontent_block_location.
-
citations
final BetaTextBlock.Builder citations(Optional<List<BetaTextCitation>> citations)
Citations supporting the text block.
The type of citation returned will depend on the type of document being cited. Citing a PDF results in
page_location, plain text results inchar_location, and content document results incontent_block_location.
-
citations
final BetaTextBlock.Builder citations(JsonField<List<BetaTextCitation>> citations)
Citations supporting the text block.
The type of citation returned will depend on the type of document being cited. Citing a PDF results in
page_location, plain text results inchar_location, and content document results incontent_block_location.
-
addCitation
final BetaTextBlock.Builder addCitation(BetaTextCitation citation)
Citations supporting the text block.
The type of citation returned will depend on the type of document being cited. Citing a PDF results in
page_location, plain text results inchar_location, and content document results incontent_block_location.
-
addCitation
final BetaTextBlock.Builder addCitation(BetaCitationCharLocation citationCharLocation)
Citations supporting the text block.
The type of citation returned will depend on the type of document being cited. Citing a PDF results in
page_location, plain text results inchar_location, and content document results incontent_block_location.
-
addCitation
final BetaTextBlock.Builder addCitation(BetaCitationPageLocation citationPageLocation)
Citations supporting the text block.
The type of citation returned will depend on the type of document being cited. Citing a PDF results in
page_location, plain text results inchar_location, and content document results incontent_block_location.
-
addCitation
final BetaTextBlock.Builder addCitation(BetaCitationContentBlockLocation citationContentBlockLocation)
Citations supporting the text block.
The type of citation returned will depend on the type of document being cited. Citing a PDF results in
page_location, plain text results inchar_location, and content document results incontent_block_location.
-
text
final BetaTextBlock.Builder text(String text)
-
text
final BetaTextBlock.Builder text(JsonField<String> text)
-
type
final BetaTextBlock.Builder type(BetaTextBlock.Type type)
-
type
final BetaTextBlock.Builder type(JsonField<BetaTextBlock.Type> type)
-
additionalProperties
final BetaTextBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaTextBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaTextBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaTextBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaTextBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaTextBlock build()
-
-
-
-