Builder

public final class Builder

A builder for StepStart.

Functions

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

Returns an immutable instance of StepStart.

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

Sets Builder.eventId to an arbitrary JSON value.

public final StepStart.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 StepStart.Builder eventType(JsonValue eventType)

Sets the field to an arbitrary JSON value.

Link copied to clipboard

Alias for calling step with the following:

Link copied to clipboard

Alias for calling step with the following:

Link copied to clipboard

Alias for calling step with the following:

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

Sets Builder.index to an arbitrary JSON value.

public final StepStart.Builder index(Integer index)
Link copied to clipboard
public final StepStart.Builder putAdditionalProperty(String key, JsonValue value)
Link copied to clipboard
public final StepStart.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard
Link copied to clipboard
public final StepStart.Builder step(JsonField<Step> step)

Sets Builder.step to an arbitrary JSON value.

public final StepStart.Builder step(CodeExecutionCallStep codeExecutionCall)

Alias for calling step with Step.ofCodeExecutionCall(codeExecutionCall).

public final StepStart.Builder step(CodeExecutionResultStep codeExecutionResult)

Alias for calling step with Step.ofCodeExecutionResult(codeExecutionResult).

public final StepStart.Builder step(FileSearchCallStep fileSearchCall)

Alias for calling step with Step.ofFileSearchCall(fileSearchCall).

public final StepStart.Builder step(FileSearchResultStep fileSearchResult)

Alias for calling step with Step.ofFileSearchResult(fileSearchResult).

public final StepStart.Builder step(FunctionCallStep functionCall)

Alias for calling step with Step.ofFunctionCall(functionCall).

public final StepStart.Builder step(FunctionResultStep functionResult)

Alias for calling step with Step.ofFunctionResult(functionResult).

public final StepStart.Builder step(GoogleMapsCallStep googleMapsCall)

Alias for calling step with Step.ofGoogleMapsCall(googleMapsCall).

public final StepStart.Builder step(GoogleMapsResultStep googleMapsResult)

Alias for calling step with Step.ofGoogleMapsResult(googleMapsResult).

public final StepStart.Builder step(GoogleSearchCallStep googleSearchCall)

Alias for calling step with Step.ofGoogleSearchCall(googleSearchCall).

public final StepStart.Builder step(GoogleSearchResultStep googleSearchResult)

Alias for calling step with Step.ofGoogleSearchResult(googleSearchResult).

public final StepStart.Builder step(McpServerToolCallStep mcpServerToolCall)

Alias for calling step with Step.ofMcpServerToolCall(mcpServerToolCall).

public final StepStart.Builder step(McpServerToolResultStep mcpServerToolResult)

Alias for calling step with Step.ofMcpServerToolResult(mcpServerToolResult).

public final StepStart.Builder step(ModelOutputStep modelOutput)

Alias for calling step with Step.ofModelOutput(modelOutput).

public final StepStart.Builder step(Step step)

A step in the interaction.

public final StepStart.Builder step(ThoughtStep thought)

Alias for calling step with Step.ofThought(thought).

public final StepStart.Builder step(UrlContextCallStep urlContextCall)

Alias for calling step with Step.ofUrlContextCall(urlContextCall).

public final StepStart.Builder step(UrlContextResultStep urlContextResult)

Alias for calling step with Step.ofUrlContextResult(urlContextResult).

public final StepStart.Builder step(UserInputStep userInput)

Alias for calling step with Step.ofUserInput(userInput).