Class CodeExecutionResultStep
java.lang.Object
com.google.genai.gaos.models.interactions.CodeExecutionResultStep
- All Implemented Interfaces:
Step
CodeExecutionResultStep
Code execution result step.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCodeExecutionResultStep(String callId, CodeExecutionResultStepResult result) CodeExecutionResultStep(String callId, Boolean isError, CodeExecutionResultStepResult result, String signature) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()callId()Required.booleaninthashCode()isError()Whether the code execution resulted in an error.result()The output of the code execution.A signature hash for backend validation.toString()type()withCallId(String callId) Required.withIsError(Boolean isError) Whether the code execution resulted in an error.The output of the code execution.withSignature(String signature) A signature hash for backend validation.
-
Constructor Details
-
CodeExecutionResultStep
public CodeExecutionResultStep(@Nonnull String callId, @Nullable Boolean isError, @Nonnull CodeExecutionResultStepResult result, @Nullable String signature) -
CodeExecutionResultStep
public CodeExecutionResultStep(@Nonnull String callId, @Nonnull CodeExecutionResultStepResult result)
-
-
Method Details
-
callId
Required. ID to match the ID from the function call block. -
isError
Whether the code execution resulted in an error. -
result
The output of the code execution. -
signature
A signature hash for backend validation. -
type
-
builder
-
withCallId
Required. ID to match the ID from the function call block. -
withIsError
Whether the code execution resulted in an error. -
withResult
The output of the code execution. -
withSignature
A signature hash for backend validation. -
equals
-
hashCode
public int hashCode() -
toString
-