Interface RestoreAgentRequestOrBuilder (4.26.0)

public interface RestoreAgentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAgentCase()

public abstract RestoreAgentRequest.AgentCase getAgentCase()
Returns
Type Description
RestoreAgentRequest.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 restore. 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 restore. 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 restore 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 restore 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 restore. 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.