Package com.google.cloud.dialogflow.v2
Interface GeneratorSuggestion.ToolCallInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GeneratorSuggestion.ToolCallInfo,GeneratorSuggestion.ToolCallInfo.Builder
- Enclosing class:
- GeneratorSuggestion
public static interface GeneratorSuggestion.ToolCallInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.Required.Required.booleanRequired.booleanRequired.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
-
hasToolCall
boolean hasToolCall()Required. Request for a tool call.
.google.cloud.dialogflow.v2.ToolCall tool_call = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the toolCall field is set.
-
getToolCall
ToolCall getToolCall()Required. Request for a tool call.
.google.cloud.dialogflow.v2.ToolCall tool_call = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The toolCall.
-
getToolCallOrBuilder
ToolCallOrBuilder getToolCallOrBuilder()Required. Request for a tool call.
.google.cloud.dialogflow.v2.ToolCall tool_call = 1 [(.google.api.field_behavior) = REQUIRED]; -
hasToolCallResult
boolean hasToolCallResult()Required. Response for a tool call.
.google.cloud.dialogflow.v2.ToolCallResult tool_call_result = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the toolCallResult field is set.
-
getToolCallResult
ToolCallResult getToolCallResult()Required. Response for a tool call.
.google.cloud.dialogflow.v2.ToolCallResult tool_call_result = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The toolCallResult.
-
getToolCallResultOrBuilder
ToolCallResultOrBuilder getToolCallResultOrBuilder()Required. Response for a tool call.
.google.cloud.dialogflow.v2.ToolCallResult tool_call_result = 2 [(.google.api.field_behavior) = REQUIRED];
-