Class CodeExecutionUtils.CodeExecutionResult
java.lang.Object
com.google.adk.JsonBaseModel
com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult
- Enclosing class:
CodeExecutionUtils
A structure that contains the result of code execution.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forCodeExecutionUtils.CodeExecutionResult. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class JsonBaseModel
fromJsonNode, fromJsonString, getMapper, toJson, toJsonNode, toJsonStringModifier and TypeMethodDescriptionstatic <T extends JsonBaseModel>
TfromJsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode, Class<T> clazz) Deserializes a JsonNode to an object of the given type.static <T extends JsonBaseModel>
TfromJsonString(String jsonString, Class<T> clazz) Deserializes a Json string to an object of the given type.static com.fasterxml.jackson.databind.ObjectMapperReturns the mutable ObjectMapper instance used by ADK.toJson()Serializes this object (i.e., the ObjectMappper instance used by ADK) to a Json string.protected static com.fasterxml.jackson.databind.JsonNodetoJsonNode(Object object) Serializes an object to a JsonNode.static StringtoJsonString(Object object) Serializes an object to a Json string.
-
Constructor Details
-
CodeExecutionResult
public CodeExecutionResult()
-
-
Method Details
-
stdout
The standard output of the code execution. -
stderr
The standard error of the code execution. -
outputFiles
The output files from the code execution. -
builder
-