Interface ToolsetToolOrBuilder (4.97.0)

public interface ToolsetToolOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfirmationRequirement()

public abstract Tool.ConfirmationRequirement getConfirmationRequirement()

Optional. Indicates whether the tool requires human confirmation.

.google.cloud.dialogflow.v2beta1.Tool.ConfirmationRequirement confirmation_requirement = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Tool.ConfirmationRequirement

The confirmationRequirement.

getConfirmationRequirementValue()

public abstract int getConfirmationRequirementValue()

Optional. Indicates whether the tool requires human confirmation.

.google.cloud.dialogflow.v2beta1.Tool.ConfirmationRequirement confirmation_requirement = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for confirmationRequirement.

getOperationId()

public abstract 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
Type Description
String

The operationId.

getOperationIdBytes()

public abstract 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
Type Description
ByteString

The bytes for operationId.

getToolset()

public abstract 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
Type Description
String

The toolset.

getToolsetBytes()

public abstract 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
Type Description
ByteString

The bytes for toolset.