Class V1FindResponse.Candidate.Builder
-
- All Implemented Interfaces:
public final class V1FindResponse.Candidate.BuilderA builder for Candidate.
-
-
Method Summary
-
-
Method Detail
-
snippet
final V1FindResponse.Candidate.Builder snippet(String snippet)
Text excerpt from the document
-
snippet
final V1FindResponse.Candidate.Builder snippet(JsonField<String> snippet)
Sets Builder.snippet to an arbitrary JSON value.
You should usually call Builder.snippet with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
source
final V1FindResponse.Candidate.Builder source(String source)
Domain of the source
-
source
final V1FindResponse.Candidate.Builder source(JsonField<String> source)
Sets Builder.source to an arbitrary JSON value.
You should usually call Builder.source 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 V1FindResponse.Candidate.Builder title(String title)
Title of the document
-
title
final V1FindResponse.Candidate.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 V1FindResponse.Candidate.Builder url(String url)
URL of the legal source
-
url
final V1FindResponse.Candidate.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 V1FindResponse.Candidate.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final V1FindResponse.Candidate.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final V1FindResponse.Candidate.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final V1FindResponse.Candidate.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final V1FindResponse.Candidate.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final V1FindResponse.Candidate build()
Returns an immutable instance of Candidate.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-