Interface ToolCallResult.ErrorOrBuilder (0.52.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
TypeDescription
String

The message.

getMessageBytes()

public abstract ByteString getMessageBytes()

The error message of the function.

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

Returns
TypeDescription
ByteString

The bytes for message.