Interface CreateAgentRequestOrBuilder (0.56.0)

public interface CreateAgentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAgent()

public abstract Agent getAgent()

Required. The agent to create.

.google.cloud.dialogflow.cx.v3.Agent agent = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Agent

The agent.

getAgentOrBuilder()

public abstract AgentOrBuilder getAgentOrBuilder()

Required. The agent to create.

.google.cloud.dialogflow.cx.v3.Agent agent = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AgentOrBuilder

getParent()

public abstract String getParent()

Required. The location to create a agent for. Format: projects/<Project ID>/locations/<Location ID>.

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 location to create a agent for. Format: projects/<Project ID>/locations/<Location ID>.

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

Returns
Type Description
ByteString

The bytes for parent.

hasAgent()

public abstract boolean hasAgent()

Required. The agent to create.

.google.cloud.dialogflow.cx.v3.Agent agent = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the agent field is set.