Interface ToolCallOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ToolCall,ToolCall.Builder
@Generated
public interface ToolCallOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the tool's action associated with this call.com.google.protobuf.ByteStringThe name of the tool's action associated with this call.com.google.protobuf.StructThe action's input parameters.com.google.protobuf.StructOrBuilderThe action's input parameters.getTool()The [tool][Tool] associated with this call.com.google.protobuf.ByteStringThe [tool][Tool] associated with this call.booleanThe action's input parameters.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
-
getTool
String getTool()The [tool][Tool] associated with this call. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/tools/<Tool ID>`.
string tool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The tool.
-
getToolBytes
com.google.protobuf.ByteString getToolBytes()The [tool][Tool] associated with this call. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/tools/<Tool ID>`.
string tool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for tool.
-
getAction
String getAction()The name of the tool's action associated with this call.
string action = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The action.
-
getActionBytes
com.google.protobuf.ByteString getActionBytes()The name of the tool's action associated with this call.
string action = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for action.
-
hasInputParameters
boolean hasInputParameters()The action's input parameters.
.google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the inputParameters field is set.
-
getInputParameters
com.google.protobuf.Struct getInputParameters()The action's input parameters.
.google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The inputParameters.
-
getInputParametersOrBuilder
com.google.protobuf.StructOrBuilder getInputParametersOrBuilder()The action's input parameters.
.google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
-