Interface ToolCallResult.ErrorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ToolCallResult.Error,ToolCallResult.Error.Builder
- Enclosing class:
- ToolCallResult
public static interface ToolCallResult.ErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe error message of the function.com.google.protobuf.ByteStringThe error message of the function.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMessage
String getMessage()The error message of the function.
string message = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()The error message of the function.
string message = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for message.
-