Package com.google.cloud.dialogflow.v2
Interface ToolsetToolOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ToolsetTool,ToolsetTool.Builder
@Generated
public interface ToolsetToolOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.intOptional.Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.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
-
getToolset
String getToolset()Required. The name of the toolset to retrieve the schema for. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`string toolset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The toolset.
-
getToolsetBytes
com.google.protobuf.ByteString getToolsetBytes()Required. The name of the toolset to retrieve the schema for. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`string toolset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for toolset.
-
getOperationId
String getOperationId()Optional. The operationId field of the OpenAPI endpoint. The operationId must be present in the toolset's definition.
string operation_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The operationId.
-
getOperationIdBytes
com.google.protobuf.ByteString getOperationIdBytes()Optional. The operationId field of the OpenAPI endpoint. The operationId must be present in the toolset's definition.
string operation_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for operationId.
-
getConfirmationRequirementValue
int getConfirmationRequirementValue()Optional. Indicates whether the tool requires human confirmation.
.google.cloud.dialogflow.v2.Tool.ConfirmationRequirement confirmation_requirement = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for confirmationRequirement.
-
getConfirmationRequirement
Tool.ConfirmationRequirement getConfirmationRequirement()Optional. Indicates whether the tool requires human confirmation.
.google.cloud.dialogflow.v2.Tool.ConfirmationRequirement confirmation_requirement = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The confirmationRequirement.
-