Class BetaManagedAgentsDeltaContent.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsDeltaContent.BuilderA builder for BetaManagedAgentsDeltaContent.
-
-
Method Summary
-
-
Method Detail
-
content
final BetaManagedAgentsDeltaContent.Builder content(BetaManagedAgentsTextBlock content)
A partial element of the content array at index, typed like the element itself — the same shape the buffered agent.message carries in content.
-
content
final BetaManagedAgentsDeltaContent.Builder content(JsonField<BetaManagedAgentsTextBlock> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed BetaManagedAgentsTextBlock value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaManagedAgentsDeltaContent.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("content_delta")This method is primarily for setting the field to an undocumented or not yet supported value.
-
index
final BetaManagedAgentsDeltaContent.Builder index(Long index)
Which entry in the previewed event's content array this fragment lands in. Insert content as that entry when the index is new; append to the existing entry otherwise.
-
index
final BetaManagedAgentsDeltaContent.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.
-
additionalProperties
final BetaManagedAgentsDeltaContent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsDeltaContent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsDeltaContent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsDeltaContent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsDeltaContent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsDeltaContent build()
Returns an immutable instance of BetaManagedAgentsDeltaContent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.content()
-
-
-
-