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 Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    com.google.protobuf.Struct
    Optional.
    com.google.protobuf.StructOrBuilder
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Optional.

    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()
       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.
    • hasInputParameters

      boolean hasInputParameters()
       Optional. 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()
       Optional. 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()
       Optional. The action's input parameters.
       
      .google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];