Interface AssistantContent.ExecutableCodeOrBuilder (0.66.0)

public static interface AssistantContent.ExecutableCodeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCode()

public abstract String getCode()

Required. The code content. Currently only supports Python.

string code = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The code.

getCodeBytes()

public abstract ByteString getCodeBytes()

Required. The code content. Currently only supports Python.

string code = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for code.