Builder

public final class Builder

A builder for InteractionCompletedEvent.

Functions

Link copied to clipboard
public final InteractionCompletedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard

Returns an immutable instance of InteractionCompletedEvent.

Link copied to clipboard
public final InteractionCompletedEvent.Builder eventId(JsonField<String> eventId)

Sets Builder.eventId to an arbitrary JSON value.

The event_id token to be used to resume the interaction stream, from this event.

Link copied to clipboard
public final InteractionCompletedEvent.Builder eventType(JsonValue eventType)

Sets the field to an arbitrary JSON value.

Link copied to clipboard
public final InteractionCompletedEvent.Builder interaction(JsonField<Interaction> interaction)

Sets Builder.interaction to an arbitrary JSON value.

Required. The completed interaction with empty outputs to reduce the payload size. Use the preceding ContentDelta events for the actual output.

Link copied to clipboard
public final InteractionCompletedEvent.Builder putAdditionalProperty(String key, JsonValue value)
Link copied to clipboard
public final InteractionCompletedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)