- 0.89.0 (latest)
 - 0.87.0
 - 0.86.0
 - 0.85.0
 - 0.84.0
 - 0.83.0
 - 0.81.0
 - 0.79.0
 - 0.78.0
 - 0.75.0
 - 0.74.0
 - 0.73.0
 - 0.71.0
 - 0.70.0
 - 0.69.0
 - 0.68.0
 - 0.67.0
 - 0.66.0
 - 0.65.0
 - 0.64.0
 - 0.63.0
 - 0.62.0
 - 0.60.0
 - 0.59.0
 - 0.58.0
 - 0.57.0
 - 0.56.0
 - 0.55.0
 - 0.54.0
 - 0.53.0
 - 0.52.0
 - 0.51.0
 - 0.50.0
 - 0.48.0
 - 0.47.0
 - 0.46.0
 - 0.45.0
 - 0.44.0
 - 0.43.0
 - 0.42.0
 - 0.41.0
 - 0.40.0
 - 0.39.0
 - 0.38.0
 - 0.35.0
 - 0.34.0
 - 0.33.0
 - 0.32.0
 - 0.31.0
 - 0.30.0
 - 0.29.0
 - 0.28.0
 - 0.27.0
 - 0.26.0
 - 0.25.0
 - 0.24.0
 - 0.23.0
 - 0.22.0
 - 0.20.0
 - 0.19.0
 - 0.18.0
 - 0.17.0
 - 0.16.0
 - 0.15.0
 - 0.14.7
 - 0.13.1
 - 0.12.1
 - 0.11.5
 
public interface ToolOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getConnectorSpec()
public abstract Tool.ConnectorTool getConnectorSpec()Integration connectors tool specification.
 .google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool connector_spec = 15;
| Returns | |
|---|---|
| Type | Description | 
Tool.ConnectorTool | 
        The connectorSpec.  | 
      
getConnectorSpecOrBuilder()
public abstract Tool.ConnectorToolOrBuilder getConnectorSpecOrBuilder()Integration connectors tool specification.
 .google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool connector_spec = 15;
| Returns | |
|---|---|
| Type | Description | 
Tool.ConnectorToolOrBuilder | 
        |
getDataStoreSpec()
public abstract Tool.DataStoreTool getDataStoreSpec()Data store search tool specification.
 .google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool data_store_spec = 8;
| Returns | |
|---|---|
| Type | Description | 
Tool.DataStoreTool | 
        The dataStoreSpec.  | 
      
getDataStoreSpecOrBuilder()
public abstract Tool.DataStoreToolOrBuilder getDataStoreSpecOrBuilder()Data store search tool specification.
 .google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool data_store_spec = 8;
| Returns | |
|---|---|
| Type | Description | 
Tool.DataStoreToolOrBuilder | 
        |
getDescription()
public abstract String getDescription()Required. High level description of the Tool and its usage.
 string description = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The description.  | 
      
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()Required. High level description of the Tool and its usage.
 string description = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for description.  | 
      
getDisplayName()
public abstract String getDisplayName()Required. The human-readable name of the Tool, unique within an agent.
 string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The displayName.  | 
      
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()Required. The human-readable name of the Tool, unique within an agent.
 string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for displayName.  | 
      
getExtensionSpec()
public abstract Tool.ExtensionTool getExtensionSpec()Vertex extension tool specification.
 .google.cloud.dialogflow.cx.v3beta1.Tool.ExtensionTool extension_spec = 11;
| Returns | |
|---|---|
| Type | Description | 
Tool.ExtensionTool | 
        The extensionSpec.  | 
      
getExtensionSpecOrBuilder()
public abstract Tool.ExtensionToolOrBuilder getExtensionSpecOrBuilder()Vertex extension tool specification.
 .google.cloud.dialogflow.cx.v3beta1.Tool.ExtensionTool extension_spec = 11;
| Returns | |
|---|---|
| Type | Description | 
Tool.ExtensionToolOrBuilder | 
        |
getFunctionSpec()
public abstract Tool.FunctionTool getFunctionSpec()Client side executed function specification.
 .google.cloud.dialogflow.cx.v3beta1.Tool.FunctionTool function_spec = 13;
| Returns | |
|---|---|
| Type | Description | 
Tool.FunctionTool | 
        The functionSpec.  | 
      
getFunctionSpecOrBuilder()
public abstract Tool.FunctionToolOrBuilder getFunctionSpecOrBuilder()Client side executed function specification.
 .google.cloud.dialogflow.cx.v3beta1.Tool.FunctionTool function_spec = 13;
| Returns | |
|---|---|
| Type | Description | 
Tool.FunctionToolOrBuilder | 
        |
getName()
public abstract String getName() The unique identifier of the Tool.
 Format:
 projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The name.  | 
      
getNameBytes()
public abstract ByteString getNameBytes() The unique identifier of the Tool.
 Format:
 projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for name.  | 
      
getOpenApiSpec()
public abstract Tool.OpenApiTool getOpenApiSpec()OpenAPI specification of the Tool.
 .google.cloud.dialogflow.cx.v3beta1.Tool.OpenApiTool open_api_spec = 4;
| Returns | |
|---|---|
| Type | Description | 
Tool.OpenApiTool | 
        The openApiSpec.  | 
      
getOpenApiSpecOrBuilder()
public abstract Tool.OpenApiToolOrBuilder getOpenApiSpecOrBuilder()OpenAPI specification of the Tool.
 .google.cloud.dialogflow.cx.v3beta1.Tool.OpenApiTool open_api_spec = 4;
| Returns | |
|---|---|
| Type | Description | 
Tool.OpenApiToolOrBuilder | 
        |
getSpecificationCase()
public abstract Tool.SpecificationCase getSpecificationCase()| Returns | |
|---|---|
| Type | Description | 
Tool.SpecificationCase | 
        |
getToolType()
public abstract Tool.ToolType getToolType()Output only. The tool type.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.ToolType tool_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Tool.ToolType | 
        The toolType.  | 
      
getToolTypeValue()
public abstract int getToolTypeValue()Output only. The tool type.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.ToolType tool_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire for toolType.  | 
      
hasConnectorSpec()
public abstract boolean hasConnectorSpec()Integration connectors tool specification.
 .google.cloud.dialogflow.cx.v3beta1.Tool.ConnectorTool connector_spec = 15;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the connectorSpec field is set.  | 
      
hasDataStoreSpec()
public abstract boolean hasDataStoreSpec()Data store search tool specification.
 .google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool data_store_spec = 8;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the dataStoreSpec field is set.  | 
      
hasExtensionSpec()
public abstract boolean hasExtensionSpec()Vertex extension tool specification.
 .google.cloud.dialogflow.cx.v3beta1.Tool.ExtensionTool extension_spec = 11;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the extensionSpec field is set.  | 
      
hasFunctionSpec()
public abstract boolean hasFunctionSpec()Client side executed function specification.
 .google.cloud.dialogflow.cx.v3beta1.Tool.FunctionTool function_spec = 13;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the functionSpec field is set.  | 
      
hasOpenApiSpec()
public abstract boolean hasOpenApiSpec()OpenAPI specification of the Tool.
 .google.cloud.dialogflow.cx.v3beta1.Tool.OpenApiTool open_api_spec = 4;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the openApiSpec field is set.  |