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 Type
    Method
    Description
    The name of the tool's action associated with this call.
    com.google.protobuf.ByteString
    The name of the tool's action associated with this call.
    The tool call's error.
    The tool call's error.
    com.google.protobuf.Struct
    The tool call's output parameters.
    com.google.protobuf.StructOrBuilder
    The tool call's output parameters.
     
    The [tool][Tool] associated with this call.
    com.google.protobuf.ByteString
    The [tool][Tool] associated with this call.
    boolean
    The tool call's error.
    boolean
    The tool call's output parameters.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.
    • hasError

      boolean hasError()
       The tool call's error.
       
      .google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;
      Returns:
      Whether the error field is set.
    • getError

       The tool call's error.
       
      .google.cloud.dialogflow.cx.v3beta1.ToolCallResult.Error error = 3;
      Returns:
      The error.
    • getErrorOrBuilder

      ToolCallResult.ErrorOrBuilder getErrorOrBuilder()
       The tool call's error.
       
      .google.cloud.dialogflow.cx.v3beta1.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()