Interface CreateToolRequestOrBuilder (0.65.0)

public interface CreateToolRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The agent to create a Tool for. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The agent to create a Tool for. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getTool()

public abstract Tool getTool()

Required. The Tool to be created.

.google.cloud.dialogflow.cx.v3beta1.Tool tool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Tool

The tool.

getToolOrBuilder()

public abstract ToolOrBuilder getToolOrBuilder()

Required. The Tool to be created.

.google.cloud.dialogflow.cx.v3beta1.Tool tool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolOrBuilder

hasTool()

public abstract boolean hasTool()

Required. The Tool to be created.

.google.cloud.dialogflow.cx.v3beta1.Tool tool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the tool field is set.