step

public final StepStart.Builder step(Step step)

A step in the interaction.


public final StepStart.Builder step(JsonField<Step> step)

Sets Builder.step to an arbitrary JSON value.

You should usually call Builder.step with a well-typed Step value instead. This method is primarily for setting the field to an undocumented or not yet supported value.


public final StepStart.Builder step(UserInputStep userInput)

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


public final StepStart.Builder step(ModelOutputStep modelOutput)

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


public final StepStart.Builder step(ThoughtStep thought)

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


public final StepStart.Builder step(FunctionCallStep functionCall)

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


public final StepStart.Builder step(CodeExecutionCallStep codeExecutionCall)

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


public final StepStart.Builder step(UrlContextCallStep urlContextCall)

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


public final StepStart.Builder step(McpServerToolCallStep mcpServerToolCall)

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


public final StepStart.Builder step(GoogleSearchCallStep googleSearchCall)

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


public final StepStart.Builder step(FileSearchCallStep fileSearchCall)

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


public final StepStart.Builder step(GoogleMapsCallStep googleMapsCall)

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


public final StepStart.Builder step(FunctionResultStep functionResult)

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


public final StepStart.Builder step(CodeExecutionResultStep codeExecutionResult)

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


public final StepStart.Builder step(UrlContextResultStep urlContextResult)

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


public final StepStart.Builder step(GoogleSearchResultStep googleSearchResult)

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


public final StepStart.Builder step(McpServerToolResultStep mcpServerToolResult)

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


public final StepStart.Builder step(FileSearchResultStep fileSearchResult)

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


public final StepStart.Builder step(GoogleMapsResultStep googleMapsResult)

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