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, Boolean isError, String result, String signature) CodeExecutionResultStep(String callId, String result) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()callId()Required.booleaninthashCode()isError()Whether the code execution resulted in an error.result()Required.A signature hash for backend validation.toString()type()withCallId(String callId) Required.withIsError(Boolean isError) Whether the code execution resulted in an error.withResult(String result) Required.withSignature(String signature) A signature hash for backend validation.
-
Constructor Details
-
CodeExecutionResultStep
-
CodeExecutionResultStep
-
-
Method Details
-
callId
Required. ID to match the ID from the function call block. -
isError
Whether the code execution resulted in an error. -
result
Required. 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
Required. The output of the code execution. -
withSignature
A signature hash for backend validation. -
equals
-
hashCode
public int hashCode() -
toString
-