Interface ImportAgentRequestOrBuilder (4.36.0)

public interface ImportAgentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAgentCase()

public abstract ImportAgentRequest.AgentCase getAgentCase()
Returns
Type Description
ImportAgentRequest.AgentCase

getAgentContent()

public abstract ByteString getAgentContent()

Zip compressed raw byte content for agent.

bytes agent_content = 3;

Returns
Type Description
ByteString

The agentContent.

getAgentUri()

public abstract String getAgentUri()

The URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with "gs://".

Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.

string agent_uri = 2;

Returns
Type Description
String

The agentUri.

getAgentUriBytes()

public abstract ByteString getAgentUriBytes()

The URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with "gs://".

Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.

string agent_uri = 2;

Returns
Type Description
ByteString

The bytes for agentUri.

getParent()

public abstract String getParent()

Required. The project that the agent to import is associated with. Format: projects/<Project ID> or 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 project that the agent to import is associated with. Format: projects/<Project ID> or 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.

hasAgentContent()

public abstract boolean hasAgentContent()

Zip compressed raw byte content for agent.

bytes agent_content = 3;

Returns
Type Description
boolean

Whether the agentContent field is set.

hasAgentUri()

public abstract boolean hasAgentUri()

The URI to a Google Cloud Storage file containing the agent to import. Note: The URI must start with "gs://".

Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.

string agent_uri = 2;

Returns
Type Description
boolean

Whether the agentUri field is set.