Package com.google.cloud.dialogflow.v2
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 TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.StructOptional.com.google.protobuf.StructOrBuilderOptional.getState()Output only.intOutput only.getTool()Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.booleanOptional.booleanOptional.booleanOutput only.booleanOptional.booleanhasTool()Optional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTool
boolean hasTool()Optional. The [tool][google.cloud.dialogflow.v2.Tool] associated with this call. Format: `projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>`.
string tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- Whether the tool field is set.
-
getTool
String getTool()Optional. The [tool][google.cloud.dialogflow.v2.Tool] associated with this call. Format: `projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>`.
string tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The tool.
-
getToolBytes
com.google.protobuf.ByteString getToolBytes()Optional. The [tool][google.cloud.dialogflow.v2.Tool] associated with this call. Format: `projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>`.
string tool = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for tool.
-
hasCesTool
boolean hasCesTool()Optional. CES tool name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/tools/<ToolID>`.
string ces_tool = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- Whether the cesTool field is set.
-
getCesTool
String getCesTool()Optional. CES tool name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/tools/<ToolID>`.
string ces_tool = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The cesTool.
-
getCesToolBytes
com.google.protobuf.ByteString getCesToolBytes()Optional. CES tool name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/tools/<ToolID>`.
string ces_tool = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for cesTool.
-
hasCesToolset
boolean hasCesToolset()Optional. CES toolset name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/toolsets/ToolsetID>`.
string ces_toolset = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- Whether the cesToolset field is set.
-
getCesToolset
String getCesToolset()Optional. CES toolset name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/toolsets/ToolsetID>`.
string ces_toolset = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The cesToolset.
-
getCesToolsetBytes
com.google.protobuf.ByteString getCesToolsetBytes()Optional. CES toolset name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/toolsets/ToolsetID>`.
string ces_toolset = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for cesToolset.
-
hasCesApp
boolean hasCesApp()Optional. CES app name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>`.
string ces_app = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- Whether the cesApp field is set.
-
getCesApp
String getCesApp()Optional. CES app name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>`.
string ces_app = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The cesApp.
-
getCesAppBytes
com.google.protobuf.ByteString getCesAppBytes()Optional. CES app name for this call. Format: `projects/<ProjectID>/locations/<LocationID>/apps/<AppID>`.
string ces_app = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for cesApp.
-
getToolDisplayName
String getToolDisplayName()Optional. A human readable short name of the tool, to be shown on the UI.
string tool_display_name = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The toolDisplayName.
-
getToolDisplayNameBytes
com.google.protobuf.ByteString getToolDisplayNameBytes()Optional. A human readable short name of the tool, to be shown on the UI.
string tool_display_name = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for toolDisplayName.
-
getToolDisplayDetails
String getToolDisplayDetails()Optional. A human readable description of the tool.
string tool_display_details = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The toolDisplayDetails.
-
getToolDisplayDetailsBytes
com.google.protobuf.ByteString getToolDisplayDetailsBytes()Optional. A human readable description of the tool.
string tool_display_details = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for toolDisplayDetails.
-
getAction
String getAction()Optional. The name of the tool's action associated with this call.
string action = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The action.
-
getActionBytes
com.google.protobuf.ByteString getActionBytes()Optional. The name of the tool's action associated with this call.
string action = 2 [(.google.api.field_behavior) = OPTIONAL];- 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]; -
hasCreateTime
boolean hasCreateTime()Output only. Create time of the tool call.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Create time of the tool call.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Create time of the tool call.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAnswerRecord
String getAnswerRecord()Optional. The answer record associated with this tool call.
string answer_record = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The answerRecord.
-
getAnswerRecordBytes
com.google.protobuf.ByteString getAnswerRecordBytes()Optional. The answer record associated with this tool call.
string answer_record = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for answerRecord.
-
getStateValue
int getStateValue()Output only. State of the tool call.
.google.cloud.dialogflow.v2.ToolCall.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
ToolCall.State getState()Output only. State of the tool call.
.google.cloud.dialogflow.v2.ToolCall.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getSourceCase
ToolCall.SourceCase getSourceCase()
-