Interface ToolCallResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ToolCallResult,ToolCallResult.Builder
@Generated
public interface ToolCallResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.getError()The tool call's error.The tool call's error.com.google.protobuf.StructThe tool call's output parameters.com.google.protobuf.StructOrBuilderThe tool call's output parameters.getTool()Required.com.google.protobuf.ByteStringRequired.booleanhasError()The tool call's error.booleanThe tool call's output 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()Required. The [tool][google.cloud.dialogflow.cx.v3.Tool] associated with this call. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>`.
string tool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The tool.
-
getToolBytes
com.google.protobuf.ByteString getToolBytes()Required. The [tool][google.cloud.dialogflow.cx.v3.Tool] associated with this call. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>`.
string tool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for tool.
-
getAction
String getAction()Required. 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()Required. The name of the tool's action associated with this call.
string action = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for action.
-
hasError
boolean hasError()The tool call's error.
.google.cloud.dialogflow.cx.v3.ToolCallResult.Error error = 3;- Returns:
- Whether the error field is set.
-
getError
ToolCallResult.Error getError()The tool call's error.
.google.cloud.dialogflow.cx.v3.ToolCallResult.Error error = 3;- Returns:
- The error.
-
getErrorOrBuilder
ToolCallResult.ErrorOrBuilder getErrorOrBuilder()The tool call's error.
.google.cloud.dialogflow.cx.v3.ToolCallResult.Error error = 3; -
hasOutputParameters
boolean hasOutputParameters()The tool call's output parameters.
.google.protobuf.Struct output_parameters = 4;- Returns:
- Whether the outputParameters field is set.
-
getOutputParameters
com.google.protobuf.Struct getOutputParameters()The tool call's output parameters.
.google.protobuf.Struct output_parameters = 4;- Returns:
- The outputParameters.
-
getOutputParametersOrBuilder
com.google.protobuf.StructOrBuilder getOutputParametersOrBuilder()The tool call's output parameters.
.google.protobuf.Struct output_parameters = 4; -
getResultCase
ToolCallResult.ResultCase getResultCase()
-