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