Interface RestoreAgentRequestOrBuilder (0.45.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()

Uncompressed raw byte content for agent.

bytes agent_content = 3;

Returns
Type Description
ByteString

The agentContent.

getAgentUri()

public abstract String getAgentUri()

The Google Cloud Storage URI to restore agent from. The format of this URI must be gs://<bucket-name>/<object-name>.

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 Google Cloud Storage URI to restore agent from. The format of this URI must be gs://<bucket-name>/<object-name>.

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.

getGitSource()

public abstract RestoreAgentRequest.GitSource getGitSource()

Setting for restoring from a git branch

.google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.GitSource git_source = 6;

Returns
Type Description
RestoreAgentRequest.GitSource

The gitSource.

getGitSourceOrBuilder()

public abstract RestoreAgentRequest.GitSourceOrBuilder getGitSourceOrBuilder()

Setting for restoring from a git branch

.google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.GitSource git_source = 6;

Returns
Type Description
RestoreAgentRequest.GitSourceOrBuilder

getName()

public abstract String getName()

Required. The name of the agent to restore into. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the agent to restore into. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

Returns
Type Description
ByteString

The bytes for name.

getRestoreOption()

public abstract RestoreAgentRequest.RestoreOption getRestoreOption()

Agent restore mode. If not specified, KEEP is assumed.

.google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.RestoreOption restore_option = 5;

Returns
Type Description
RestoreAgentRequest.RestoreOption

The restoreOption.

getRestoreOptionValue()

public abstract int getRestoreOptionValue()

Agent restore mode. If not specified, KEEP is assumed.

.google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.RestoreOption restore_option = 5;

Returns
Type Description
int

The enum numeric value on the wire for restoreOption.

hasAgentContent()

public abstract boolean hasAgentContent()

Uncompressed 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 Google Cloud Storage URI to restore agent from. The format of this URI must be gs://<bucket-name>/<object-name>.

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.

hasGitSource()

public abstract boolean hasGitSource()

Setting for restoring from a git branch

.google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.GitSource git_source = 6;

Returns
Type Description
boolean

Whether the gitSource field is set.