public interface ToolUseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAction()
Optional.
|
com.google.protobuf.ByteString |
getActionBytes()
Optional.
|
String |
getDisplayName()
Output only.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Output only.
|
com.google.protobuf.Struct |
getInputActionParameters()
Optional.
|
com.google.protobuf.StructOrBuilder |
getInputActionParametersOrBuilder()
Optional.
|
com.google.protobuf.Struct |
getOutputActionParameters()
Optional.
|
com.google.protobuf.StructOrBuilder |
getOutputActionParametersOrBuilder()
Optional.
|
String |
getTool()
Required.
|
com.google.protobuf.ByteString |
getToolBytes()
Required.
|
boolean |
hasInputActionParameters()
Optional.
|
boolean |
hasOutputActionParameters()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getTool()
Required. The [tool][google.cloud.dialogflow.cx.v3beta1.Tool] that should be used. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>`.
string tool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getToolBytes()
Required. The [tool][google.cloud.dialogflow.cx.v3beta1.Tool] that should be used. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>`.
string tool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
String getDisplayName()
Output only. The display name of the tool.
string display_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getDisplayNameBytes()
Output only. The display name of the tool.
string display_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];String getAction()
Optional. Name of the action to be called during the tool use.
string action = 2 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getActionBytes()
Optional. Name of the action to be called during the tool use.
string action = 2 [(.google.api.field_behavior) = OPTIONAL];boolean hasInputActionParameters()
Optional. A list of input parameters for the action.
.google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.Struct getInputActionParameters()
Optional. A list of input parameters for the action.
.google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.StructOrBuilder getInputActionParametersOrBuilder()
Optional. A list of input parameters for the action.
.google.protobuf.Struct input_action_parameters = 5 [(.google.api.field_behavior) = OPTIONAL];
boolean hasOutputActionParameters()
Optional. A list of output parameters generated by the action.
.google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.Struct getOutputActionParameters()
Optional. A list of output parameters generated by the action.
.google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
com.google.protobuf.StructOrBuilder getOutputActionParametersOrBuilder()
Optional. A list of output parameters generated by the action.
.google.protobuf.Struct output_action_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2025 Google LLC. All rights reserved.