Interface RestoreAgentRequestOrBuilder (4.47.0)

public interface RestoreAgentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAgentCase()

public abstract RestoreAgentRequest.AgentCase getAgentCase()
Returns
TypeDescription
RestoreAgentRequest.AgentCase

getAgentContent()

public abstract ByteString getAgentContent()

Zip compressed raw byte content for agent.

bytes agent_content = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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>.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The project that the agent to restore is associated with. Format: projects/<Project ID>.

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasAgentContent()

public abstract boolean hasAgentContent()

Zip compressed raw byte content for agent.

bytes agent_content = 3;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the agentUri field is set.