Class CodeExecutionUtils.File

java.lang.Object
com.google.adk.JsonBaseModel
com.google.adk.codeexecutors.CodeExecutionUtils.File
Enclosing class:
CodeExecutionUtils

public abstract static class CodeExecutionUtils.File extends JsonBaseModel
A structure that contains a file name and its content.
  • Constructor Details

    • File

      public File()
  • Method Details

    • name

      public abstract String name()
      The name of the file with file extension (e.g., "file.csv").
    • content

      public abstract String content()
      The base64-encoded bytes of the file content.
    • mimeType

      public abstract String mimeType()
      The mime type of the file (e.g., "image/png").
    • builder

      public static CodeExecutionUtils.File.Builder builder()