Class CitationsSearchResultLocation.Builder
-
- All Implemented Interfaces:
public final class CitationsSearchResultLocation.BuilderA builder for CitationsSearchResultLocation.
-
-
Method Summary
-
-
Method Detail
-
citedText
final CitationsSearchResultLocation.Builder citedText(String citedText)
-
citedText
final CitationsSearchResultLocation.Builder citedText(JsonField<String> citedText)
Sets Builder.citedText to an arbitrary JSON value.
You should usually call Builder.citedText with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
endBlockIndex
final CitationsSearchResultLocation.Builder endBlockIndex(Long endBlockIndex)
-
endBlockIndex
final CitationsSearchResultLocation.Builder endBlockIndex(JsonField<Long> endBlockIndex)
Sets Builder.endBlockIndex to an arbitrary JSON value.
You should usually call Builder.endBlockIndex with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
searchResultIndex
final CitationsSearchResultLocation.Builder searchResultIndex(Long searchResultIndex)
-
searchResultIndex
final CitationsSearchResultLocation.Builder searchResultIndex(JsonField<Long> searchResultIndex)
Sets Builder.searchResultIndex to an arbitrary JSON value.
You should usually call Builder.searchResultIndex with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
source
final CitationsSearchResultLocation.Builder source(String source)
-
source
final CitationsSearchResultLocation.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.
-
startBlockIndex
final CitationsSearchResultLocation.Builder startBlockIndex(Long startBlockIndex)
-
startBlockIndex
final CitationsSearchResultLocation.Builder startBlockIndex(JsonField<Long> startBlockIndex)
Sets Builder.startBlockIndex to an arbitrary JSON value.
You should usually call Builder.startBlockIndex with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
title
final CitationsSearchResultLocation.Builder title(String title)
-
title
final CitationsSearchResultLocation.Builder title(Optional<String> title)
Alias for calling Builder.title with
title.orElse(null).
-
title
final CitationsSearchResultLocation.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.
-
type
final CitationsSearchResultLocation.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("search_result_location")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final CitationsSearchResultLocation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CitationsSearchResultLocation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CitationsSearchResultLocation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CitationsSearchResultLocation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CitationsSearchResultLocation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CitationsSearchResultLocation build()
Returns an immutable instance of CitationsSearchResultLocation.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.citedText() .endBlockIndex() .searchResultIndex() .source() .startBlockIndex() .title()
-
-
-
-