Class V1GetFullTextResponse.Builder
-
- All Implemented Interfaces:
public final class V1GetFullTextResponse.BuilderA builder for V1GetFullTextResponse.
-
-
Method Summary
-
-
Method Detail
-
author
final V1GetFullTextResponse.Builder author(String author)
Author or court
-
author
final V1GetFullTextResponse.Builder author(Optional<String> author)
Alias for calling Builder.author with
author.orElse(null).
-
author
final V1GetFullTextResponse.Builder author(JsonField<String> author)
Sets Builder.author to an arbitrary JSON value.
You should usually call Builder.author with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
characterCount
final V1GetFullTextResponse.Builder characterCount(Long characterCount)
Total characters in text
-
characterCount
final V1GetFullTextResponse.Builder characterCount(JsonField<Long> characterCount)
Sets Builder.characterCount to an arbitrary JSON value.
You should usually call Builder.characterCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
highlights
final V1GetFullTextResponse.Builder highlights(List<String> highlights)
Highlighted relevant passages
-
highlights
final V1GetFullTextResponse.Builder highlights(JsonField<List<String>> highlights)
Sets Builder.highlights to an arbitrary JSON value.
You should usually call Builder.highlights with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addHighlight
final V1GetFullTextResponse.Builder addHighlight(String highlight)
Adds a single String to highlights.
-
publishedDate
final V1GetFullTextResponse.Builder publishedDate(String publishedDate)
Publication date
-
publishedDate
final V1GetFullTextResponse.Builder publishedDate(Optional<String> publishedDate)
Alias for calling Builder.publishedDate with
publishedDate.orElse(null).
-
publishedDate
final V1GetFullTextResponse.Builder publishedDate(JsonField<String> publishedDate)
Sets Builder.publishedDate to an arbitrary JSON value.
You should usually call Builder.publishedDate with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
summary
final V1GetFullTextResponse.Builder summary(String summary)
AI-generated summary
-
summary
final V1GetFullTextResponse.Builder summary(Optional<String> summary)
Alias for calling Builder.summary with
summary.orElse(null).
-
summary
final V1GetFullTextResponse.Builder summary(JsonField<String> summary)
Sets Builder.summary to an arbitrary JSON value.
You should usually call Builder.summary with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
text
final V1GetFullTextResponse.Builder text(String text)
Full document text
-
text
final V1GetFullTextResponse.Builder text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value.
You should usually call Builder.text with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
title
final V1GetFullTextResponse.Builder title(String title)
Document title
-
title
final V1GetFullTextResponse.Builder title(JsonField<String> title)
Sets Builder.title to an arbitrary JSON value.
You should usually call Builder.title with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
url
final V1GetFullTextResponse.Builder url(String url)
Document URL
-
url
final V1GetFullTextResponse.Builder url(JsonField<String> url)
Sets Builder.url to an arbitrary JSON value.
You should usually call Builder.url with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final V1GetFullTextResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final V1GetFullTextResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final V1GetFullTextResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final V1GetFullTextResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final V1GetFullTextResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final V1GetFullTextResponse build()
Returns an immutable instance of V1GetFullTextResponse.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-