Interface CreateAgentRequestOrBuilder (0.1.0)

public interface CreateAgentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAgent()

public abstract Agent getAgent()

Required. The agent to create.

.google.cloud.ces.v1.Agent agent = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Agent

The agent.

getAgentId()

public abstract String getAgentId()

Optional. The ID to use for the agent, which will become the final component of the agent's resource name. If not provided, a unique ID will be automatically assigned for the agent.

string agent_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The agentId.

getAgentIdBytes()

public abstract ByteString getAgentIdBytes()

Optional. The ID to use for the agent, which will become the final component of the agent's resource name. If not provided, a unique ID will be automatically assigned for the agent.

string agent_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for agentId.

getAgentOrBuilder()

public abstract AgentOrBuilder getAgentOrBuilder()

Required. The agent to create.

.google.cloud.ces.v1.Agent agent = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AgentOrBuilder

getParent()

public abstract String getParent()

Required. The resource name of the app to create an agent in.

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 resource name of the app to create an agent in.

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.ces.v1.Agent agent = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the agent field is set.