Class BetaCitationCharLocation.Builder
-
- All Implemented Interfaces:
public final class BetaCitationCharLocation.BuilderA builder for BetaCitationCharLocation.
-
-
Method Summary
-
-
Method Detail
-
citedText
final BetaCitationCharLocation.Builder citedText(String citedText)
-
citedText
final BetaCitationCharLocation.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 BetaCitationCharLocation.Builder documentIndex(Long documentIndex)
-
documentIndex
final BetaCitationCharLocation.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 BetaCitationCharLocation.Builder documentTitle(String documentTitle)
-
documentTitle
final BetaCitationCharLocation.Builder documentTitle(Optional<String> documentTitle)
Alias for calling Builder.documentTitle with
documentTitle.orElse(null).
-
documentTitle
final BetaCitationCharLocation.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 BetaCitationCharLocation.Builder endCharIndex(Long endCharIndex)
-
endCharIndex
final BetaCitationCharLocation.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 BetaCitationCharLocation.Builder startCharIndex(Long startCharIndex)
-
startCharIndex
final BetaCitationCharLocation.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 BetaCitationCharLocation.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 BetaCitationCharLocation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaCitationCharLocation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaCitationCharLocation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaCitationCharLocation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaCitationCharLocation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaCitationCharLocation build()
Returns an immutable instance of BetaCitationCharLocation.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.citedText() .documentIndex() .documentTitle() .endCharIndex() .startCharIndex()
-
-
-
-