Class ResponseOutputText.Annotation.ContainerFileCitation.Builder
-
- All Implemented Interfaces:
public final class ResponseOutputText.Annotation.ContainerFileCitation.Builder
A builder for ContainerFileCitation.
-
-
Method Summary
-
-
Method Detail
-
containerId
final ResponseOutputText.Annotation.ContainerFileCitation.Builder containerId(String containerId)
The ID of the container file.
-
containerId
final ResponseOutputText.Annotation.ContainerFileCitation.Builder containerId(JsonField<String> containerId)
Sets Builder.containerId to an arbitrary JSON value.
You should usually call Builder.containerId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
endIndex
final ResponseOutputText.Annotation.ContainerFileCitation.Builder endIndex(Long endIndex)
The index of the last character of the container file citation in the message.
-
endIndex
final ResponseOutputText.Annotation.ContainerFileCitation.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.
-
fileId
final ResponseOutputText.Annotation.ContainerFileCitation.Builder fileId(String fileId)
The ID of the file.
-
fileId
final ResponseOutputText.Annotation.ContainerFileCitation.Builder fileId(JsonField<String> fileId)
Sets Builder.fileId to an arbitrary JSON value.
You should usually call Builder.fileId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
filename
final ResponseOutputText.Annotation.ContainerFileCitation.Builder filename(String filename)
The filename of the container file cited.
-
filename
final ResponseOutputText.Annotation.ContainerFileCitation.Builder filename(JsonField<String> filename)
Sets Builder.filename to an arbitrary JSON value.
You should usually call Builder.filename with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
startIndex
final ResponseOutputText.Annotation.ContainerFileCitation.Builder startIndex(Long startIndex)
The index of the first character of the container file citation in the message.
-
startIndex
final ResponseOutputText.Annotation.ContainerFileCitation.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.
-
type
final ResponseOutputText.Annotation.ContainerFileCitation.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("container_file_citation")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseOutputText.Annotation.ContainerFileCitation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseOutputText.Annotation.ContainerFileCitation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseOutputText.Annotation.ContainerFileCitation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseOutputText.Annotation.ContainerFileCitation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseOutputText.Annotation.ContainerFileCitation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseOutputText.Annotation.ContainerFileCitation build()
Returns an immutable instance of ContainerFileCitation.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.containerId() .endIndex() .fileId() .filename() .startIndex()
-
-
-
-