Class ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder
-
- All Implemented Interfaces:
public final class ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder
A builder for UrlCitation.
-
-
Method Summary
-
-
Method Detail
-
endIndex
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder endIndex(Long endIndex)
The index of the last character of the URL citation in the message.
-
endIndex
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.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.
-
startIndex
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder startIndex(Long startIndex)
The index of the first character of the URL citation in the message.
-
startIndex
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.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.
-
title
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder title(String title)
The title of the web resource.
-
title
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder title(JsonField<String> title)
Sets Builder.title to an arbitrary JSON value.
You should usually call Builder.title 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 ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.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("url_citation")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
url
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder url(String url)
The URL of the web resource.
-
url
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder url(JsonField<String> url)
Sets Builder.url to an arbitrary JSON value.
You should usually call Builder.url 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 ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation build()
Returns an immutable instance of UrlCitation.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.endIndex() .startIndex() .title() .url()
-
-
-
-