Interface ToolCallResult.ErrorOrBuilder (0.54.0)

public static interface ToolCallResult.ErrorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessage()

public abstract String getMessage()

The error message of the function.

string message = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The message.

getMessageBytes()

public abstract ByteString getMessageBytes()

The error message of the function.

string message = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for message.