Class BetaTextBlock
-
- All Implemented Interfaces:
public final class BetaTextBlock
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaTextBlock.BuilderA builder for BetaTextBlock.
-
Method Summary
Modifier and Type Method Description final Optional<List<BetaTextCitation>>citations()Citations supporting the text block. final Stringtext()final JsonValue_type()final JsonField<List<BetaTextCitation>>_citations()Citations supporting the text block. final JsonField<String>_text()final Map<String, JsonValue>_additionalProperties()final BetaTextBlockParamtoParam()final BetaTextBlockvalidate()final BetaTextBlock.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaTextBlock.Builderbuilder()Returns a mutable builder for constructing an instance of BetaTextBlock. -
-
Method Detail
-
citations
final 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 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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toParam
final BetaTextBlockParam toParam()
-
validate
final BetaTextBlock validate()
-
toBuilder
final BetaTextBlock.Builder toBuilder()
-
builder
final static BetaTextBlock.Builder builder()
Returns a mutable builder for constructing an instance of BetaTextBlock.
The following fields are required:
.citations() .text()
-
-
-
-