public static final class ToolCall.Builder extends GeneratedMessageV3.Builder<ToolCall.Builder> implements ToolCallOrBuilder
   
   Represents a call of a specific tool's action with the specified inputs.
 Protobuf type google.cloud.dialogflow.cx.v3beta1.ToolCall
 
  
  
  
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
  
  
  
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  Methods
  
  
  
  
    public ToolCall.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  
  
  
  
  
  
    public ToolCall buildPartial()
   
  
  
  
  
    public ToolCall.Builder clear()
   
  
  Overrides
  
  
  
  
    public ToolCall.Builder clearAction()
   
   The name of the tool's action associated with this call.
 string action = 2 [(.google.api.field_behavior) = REQUIRED];
 
  
  
  
  
    public ToolCall.Builder clearField(Descriptors.FieldDescriptor field)
   
  
  
  Overrides
  
  
  
  
    public ToolCall.Builder clearInputParameters()
   
   The action's input parameters.
 .google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
  
  
  
    public ToolCall.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  
  
  Overrides
  
  
  
  
    public ToolCall.Builder clearTool()
   
   The 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) = { ... }
 
 
  
  
  
  
    public ToolCall.Builder clone()
   
  
  Overrides
  
  
  
  
    public String getAction()
   
   The name of the tool's action associated with this call.
 string action = 2 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        String | 
        The action. 
 | 
      
    
  
  
  
  
    public ByteString getActionBytes()
   
   The name of the tool's action associated with this call.
 string action = 2 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        ByteString | 
        The bytes for action. 
 | 
      
    
  
  
  
  
    public ToolCall getDefaultInstanceForType()
   
  
  
  
  
    public Descriptors.Descriptor getDescriptorForType()
   
  
  Overrides
  
  
  
  
    public Struct getInputParameters()
   
   The action's input parameters.
 .google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        Struct | 
        The inputParameters. 
 | 
      
    
  
  
  
  
    public Struct.Builder getInputParametersBuilder()
   
   The action's input parameters.
 .google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
  
  
  
    public StructOrBuilder getInputParametersOrBuilder()
   
   The action's input parameters.
 .google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
  
  
  
   The 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 | 
      
      
        | Type | 
        Description | 
      
      
        String | 
        The tool. 
 | 
      
    
  
  
  
  
    public ByteString getToolBytes()
   
   The 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 | 
      
      
        | Type | 
        Description | 
      
      
        ByteString | 
        The bytes for tool. 
 | 
      
    
  
  
  
  
    public boolean hasInputParameters()
   
   The action's input parameters.
 .google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        boolean | 
        Whether the inputParameters field is set. 
 | 
      
    
  
  
  
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  
  
    public ToolCall.Builder mergeFrom(ToolCall other)
   
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        other | 
        ToolCall
  | 
      
    
  
  
  
  
  
    public ToolCall.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  Overrides
  
  
  
  
  
    public ToolCall.Builder mergeFrom(Message other)
   
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        other | 
        Message
  | 
      
    
  
  
  Overrides
  
  
  
  
    public ToolCall.Builder mergeInputParameters(Struct value)
   
   The action's input parameters.
 .google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        Struct
  | 
      
    
  
  
  
  
  
    public final ToolCall.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides
  
  
  
  
    public ToolCall.Builder setAction(String value)
   
   The name of the tool's action associated with this call.
 string action = 2 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        String
 The action to set. 
 | 
      
    
  
  
  
  
  
    public ToolCall.Builder setActionBytes(ByteString value)
   
   The name of the tool's action associated with this call.
 string action = 2 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        ByteString
 The bytes for action to set. 
 | 
      
    
  
  
  
  
  
    public ToolCall.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  
  
    public ToolCall.Builder setInputParameters(Struct value)
   
   The action's input parameters.
 .google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        Struct
  | 
      
    
  
  
  
  
  
    public ToolCall.Builder setInputParameters(Struct.Builder builderForValue)
   
   The action's input parameters.
 .google.protobuf.Struct input_parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        builderForValue | 
        Builder
  | 
      
    
  
  
  
  
  
    public ToolCall.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  
  
  Overrides
  
  
  
  
    public ToolCall.Builder setTool(String value)
   
   The 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) = { ... }
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        String
 The tool to set. 
 | 
      
    
  
  
  
  
  
    public ToolCall.Builder setToolBytes(ByteString value)
   
   The 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) = { ... }
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        ByteString
 The bytes for tool to set. 
 | 
      
    
  
  
  
  
  
    public final ToolCall.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides