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