Interface ToolCallResult.ErrorOrBuilder (4.87.0)

public static interface ToolCallResult.ErrorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessage()

public abstract String getMessage()

Optional. 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()

Optional. The error message of the function.

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

Returns
Type Description
ByteString

The bytes for message.