Class FileCitationAnnotation.Builder
-
- All Implemented Interfaces:
public final class FileCitationAnnotation.Builder
A builder for FileCitationAnnotation.
-
-
Method Summary
-
-
Method Detail
-
endIndex
final FileCitationAnnotation.Builder endIndex(Long endIndex)
-
endIndex
final FileCitationAnnotation.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 FileCitationAnnotation.Builder fileCitation(FileCitationAnnotation.FileCitation fileCitation)
-
fileCitation
final FileCitationAnnotation.Builder fileCitation(JsonField<FileCitationAnnotation.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 FileCitationAnnotation.Builder startIndex(Long startIndex)
-
startIndex
final FileCitationAnnotation.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 FileCitationAnnotation.Builder text(String text)
The text in the message content that needs to be replaced.
-
text
final FileCitationAnnotation.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.
-
type
final FileCitationAnnotation.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.
-
additionalProperties
final FileCitationAnnotation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FileCitationAnnotation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FileCitationAnnotation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FileCitationAnnotation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FileCitationAnnotation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FileCitationAnnotation build()
Returns an immutable instance of FileCitationAnnotation.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.endIndex() .fileCitation() .startIndex() .text()
-
-
-
-