Interface CreateCompanionAgentRequestOrBuilder (4.105.0)

public interface CreateCompanionAgentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCompanionAgent()

public abstract CompanionAgent getCompanionAgent()

Required. The companion agent to create.

.google.cloud.dialogflow.v2.CompanionAgent companion_agent = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CompanionAgent

The companionAgent.

getCompanionAgentId()

public abstract String getCompanionAgentId()

Optional. The resource ID of the companion agent to create. If not provided, the server will auto-generate a resource ID.

string companion_agent_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The companionAgentId.

getCompanionAgentIdBytes()

public abstract ByteString getCompanionAgentIdBytes()

Optional. The resource ID of the companion agent to create. If not provided, the server will auto-generate a resource ID.

string companion_agent_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for companionAgentId.

getCompanionAgentOrBuilder()

public abstract CompanionAgentOrBuilder getCompanionAgentOrBuilder()

Required. The companion agent to create.

.google.cloud.dialogflow.v2.CompanionAgent companion_agent = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CompanionAgentOrBuilder

getParent()

public abstract String getParent()

Required. Resource identifier of the project creating the companion agent. Format: projects/{project}/locations/{location}

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Resource identifier of the project creating the companion agent. Format: projects/{project}/locations/{location}

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

Returns
Type Description
ByteString

The bytes for parent.

hasCompanionAgent()

public abstract boolean hasCompanionAgent()

Required. The companion agent to create.

.google.cloud.dialogflow.v2.CompanionAgent companion_agent = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the companionAgent field is set.