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 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

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