Interface ToolOrBuilder (0.52.0)

public interface ToolOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActions(int index) (deprecated)

public abstract String getActions(int index)

Deprecated. google.cloud.dialogflow.cx.v3beta1.Tool.actions is deprecated. See google/cloud/dialogflow/cx/v3beta1/tool.proto;l=458

The list of derived action names for the tool.

repeated string actions = 6 [deprecated = true];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The actions at the given index.

getActionsBytes(int index) (deprecated)

public abstract ByteString getActionsBytes(int index)

Deprecated. google.cloud.dialogflow.cx.v3beta1.Tool.actions is deprecated. See google/cloud/dialogflow/cx/v3beta1/tool.proto;l=458

The list of derived action names for the tool.

repeated string actions = 6 [deprecated = true];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the actions at the given index.

getActionsCount() (deprecated)

public abstract int getActionsCount()

Deprecated. google.cloud.dialogflow.cx.v3beta1.Tool.actions is deprecated. See google/cloud/dialogflow/cx/v3beta1/tool.proto;l=458

The list of derived action names for the tool.

repeated string actions = 6 [deprecated = true];

Returns
TypeDescription
int

The count of actions.

getActionsList() (deprecated)

public abstract List<String> getActionsList()

Deprecated. google.cloud.dialogflow.cx.v3beta1.Tool.actions is deprecated. See google/cloud/dialogflow/cx/v3beta1/tool.proto;l=458

The list of derived action names for the tool.

repeated string actions = 6 [deprecated = true];

Returns
TypeDescription
List<String>

A list containing the actions.

getDataStoreSpec()

public abstract Tool.DataStoreTool getDataStoreSpec()

Data store search tool specification.

.google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool data_store_spec = 8;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Tool.ExtensionToolOrBuilder

getFunctionSpec()

public abstract Tool.FunctionTool getFunctionSpec()

Client side executed function specification.

.google.cloud.dialogflow.cx.v3beta1.Tool.FunctionTool function_spec = 13;

Returns
TypeDescription
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
TypeDescription
Tool.FunctionToolOrBuilder

getName()

public abstract String getName()

The unique identifier of the Tool. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/tools/<Tool ID>.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The unique identifier of the Tool. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/tools/<Tool ID>.

string name = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Tool.OpenApiToolOrBuilder

getSchemas(int index) (deprecated)

public abstract String getSchemas(int index)

Deprecated. google.cloud.dialogflow.cx.v3beta1.Tool.schemas is deprecated. See google/cloud/dialogflow/cx/v3beta1/tool.proto;l=461

The list of derived type schemas for the tool.

repeated string schemas = 7 [deprecated = true];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The schemas at the given index.

getSchemasBytes(int index) (deprecated)

public abstract ByteString getSchemasBytes(int index)

Deprecated. google.cloud.dialogflow.cx.v3beta1.Tool.schemas is deprecated. See google/cloud/dialogflow/cx/v3beta1/tool.proto;l=461

The list of derived type schemas for the tool.

repeated string schemas = 7 [deprecated = true];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the schemas at the given index.

getSchemasCount() (deprecated)

public abstract int getSchemasCount()

Deprecated. google.cloud.dialogflow.cx.v3beta1.Tool.schemas is deprecated. See google/cloud/dialogflow/cx/v3beta1/tool.proto;l=461

The list of derived type schemas for the tool.

repeated string schemas = 7 [deprecated = true];

Returns
TypeDescription
int

The count of schemas.

getSchemasList() (deprecated)

public abstract List<String> getSchemasList()

Deprecated. google.cloud.dialogflow.cx.v3beta1.Tool.schemas is deprecated. See google/cloud/dialogflow/cx/v3beta1/tool.proto;l=461

The list of derived type schemas for the tool.

repeated string schemas = 7 [deprecated = true];

Returns
TypeDescription
List<String>

A list containing the schemas.

getSpecificationCase()

public abstract Tool.SpecificationCase getSpecificationCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for toolType.

hasDataStoreSpec()

public abstract boolean hasDataStoreSpec()

Data store search tool specification.

.google.cloud.dialogflow.cx.v3beta1.Tool.DataStoreTool data_store_spec = 8;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the openApiSpec field is set.