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