Builder

public final class Builder

A builder for StepDelta.

Functions

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

Returns an immutable instance of StepDelta.

Link copied to clipboard

Alias for calling delta with the following:

Link copied to clipboard

Alias for calling delta with the following:

Link copied to clipboard
public final StepDelta.Builder delta(JsonField<StepDelta.Delta> delta)

Sets Builder.delta to an arbitrary JSON value.

public final StepDelta.Builder delta(ArgumentsDelta arguments)

Alias for calling delta with Delta.ofArguments(arguments).

public final StepDelta.Builder delta(FunctionResultDelta functionResult)

Alias for calling delta with Delta.ofFunctionResult(functionResult).

public final StepDelta.Builder delta(GoogleSearchResultDelta googleSearchResult)

Alias for calling delta with Delta.ofGoogleSearchResult(googleSearchResult).


Alias for calling delta with Delta.ofAudio(audio).

Alias for calling delta with Delta.ofCodeExecutionCall(codeExecutionCall).

public final StepDelta.Builder delta(StepDelta.Delta.CodeExecutionResult codeExecutionResult)

Alias for calling delta with Delta.ofCodeExecutionResult(codeExecutionResult).

Alias for calling delta with Delta.ofDocument(document).

Alias for calling delta with Delta.ofFileSearchCall(fileSearchCall).

Alias for calling delta with Delta.ofFileSearchResult(fileSearchResult).

Alias for calling delta with Delta.ofGoogleMapsCall(googleMapsCall).

Alias for calling delta with Delta.ofGoogleMapsResult(googleMapsResult).

Alias for calling delta with Delta.ofGoogleSearchCall(googleSearchCall).

Alias for calling delta with Delta.ofImage(image).

Alias for calling delta with Delta.ofMcpServerToolCall(mcpServerToolCall).

public final StepDelta.Builder delta(StepDelta.Delta.McpServerToolResult mcpServerToolResult)

Alias for calling delta with Delta.ofMcpServerToolResult(mcpServerToolResult).

Alias for calling delta with Delta.ofText(text).

Alias for calling delta with Delta.ofTextAnnotation(textAnnotation).

Alias for calling delta with Delta.ofThoughtSignature(thoughtSignature).

Alias for calling delta with Delta.ofThoughtSummary(thoughtSummary).

Alias for calling delta with Delta.ofUrlContextCall(urlContextCall).

Alias for calling delta with Delta.ofVideo(video).

public final StepDelta.Builder delta(UrlContextResultDelta urlContextResult)

Alias for calling delta with Delta.ofUrlContextResult(urlContextResult).

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

Sets Builder.eventId to an arbitrary JSON value.

public final StepDelta.Builder eventId(String eventId)

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

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

Sets the field to an arbitrary JSON value.

Link copied to clipboard
public final StepDelta.Builder fileSearchResultDelta(List<JsonValue> result)

Alias for calling delta with the following:

Link copied to clipboard

Alias for calling delta with the following:

Link copied to clipboard

Alias for calling delta with the following:

Link copied to clipboard
public final StepDelta.Builder index(JsonField<Integer> index)

Sets Builder.index to an arbitrary JSON value.

public final StepDelta.Builder index(Integer index)
Link copied to clipboard
public final StepDelta.Builder mcpServerToolResultDelta(JsonValue jsonValue)

Alias for calling mcpServerToolResultDelta with Delta.McpServerToolResult.Result.ofJsonValue(jsonValue).

Alias for calling delta with the following:

Alias for calling mcpServerToolResultDelta with Delta.McpServerToolResult.Result.ofString(string).

Alias for calling mcpServerToolResultDelta with Delta.McpServerToolResult.Result.ofFunctionResultSubcontentList(functionResultSubcontentList).

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

Alias for calling delta with the following:

Link copied to clipboard

Alias for calling delta with the following:

Link copied to clipboard

Alias for calling delta with the following: