Class FileCitationDeltaAnnotation.Builder
-
- All Implemented Interfaces:
public final class FileCitationDeltaAnnotation.Builder
A builder for FileCitationDeltaAnnotation.
-
-
Method Summary
-
-
Method Detail
-
index
final FileCitationDeltaAnnotation.Builder index(Long index)
The index of the annotation in the text content part.
-
index
final FileCitationDeltaAnnotation.Builder index(JsonField<Long> index)
Sets Builder.index to an arbitrary JSON value.
You should usually call Builder.index 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 FileCitationDeltaAnnotation.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("file_citation")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
endIndex
final FileCitationDeltaAnnotation.Builder endIndex(Long endIndex)
-
endIndex
final FileCitationDeltaAnnotation.Builder endIndex(JsonField<Long> endIndex)
Sets Builder.endIndex to an arbitrary JSON value.
You should usually call Builder.endIndex with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fileCitation
final FileCitationDeltaAnnotation.Builder fileCitation(FileCitationDeltaAnnotation.FileCitation fileCitation)
-
fileCitation
final FileCitationDeltaAnnotation.Builder fileCitation(JsonField<FileCitationDeltaAnnotation.FileCitation> fileCitation)
Sets Builder.fileCitation to an arbitrary JSON value.
You should usually call Builder.fileCitation with a well-typed FileCitation value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
startIndex
final FileCitationDeltaAnnotation.Builder startIndex(Long startIndex)
-
startIndex
final FileCitationDeltaAnnotation.Builder startIndex(JsonField<Long> startIndex)
Sets Builder.startIndex to an arbitrary JSON value.
You should usually call Builder.startIndex with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
text
final FileCitationDeltaAnnotation.Builder text(String text)
The text in the message content that needs to be replaced.
-
text
final FileCitationDeltaAnnotation.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.
-
additionalProperties
final FileCitationDeltaAnnotation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FileCitationDeltaAnnotation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FileCitationDeltaAnnotation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FileCitationDeltaAnnotation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FileCitationDeltaAnnotation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FileCitationDeltaAnnotation build()
Returns an immutable instance of FileCitationDeltaAnnotation.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.index()
-
-
-
-