Package ai.vectros.types
Class ContentDeltaEvent.Builder
java.lang.Object
ai.vectros.types.ContentDeltaEvent.Builder
- All Implemented Interfaces:
ContentDeltaEvent._FinalStage,ContentDeltaEvent.DeltaStage,ContentDeltaEvent.EventStage
- Enclosing class:
ContentDeltaEvent
public static final class ContentDeltaEvent.Builder
extends Object
implements ContentDeltaEvent.EventStage, ContentDeltaEvent.DeltaStage, ContentDeltaEvent._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()The next chunk of generated text.event(@NotNull ContentDeltaEventEvent event) Backward-compatible alias oftype.from(ContentDeltaEvent other)
-
Method Details
-
from
- Specified by:
fromin interfaceContentDeltaEvent.EventStage
-
event
Backward-compatible alias of
type. Alwayscontent_delta.Backward-compatible alias of
type. Alwayscontent_delta.- Specified by:
eventin interfaceContentDeltaEvent.EventStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
delta
The next chunk of generated text.
The next chunk of generated text.
- Specified by:
deltain interfaceContentDeltaEvent.DeltaStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
- Specified by:
buildin interfaceContentDeltaEvent._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceContentDeltaEvent._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceContentDeltaEvent._FinalStage
-