Interface RestoreAgentRequestOrBuilder (0.52.0)

public interface RestoreAgentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAgentCase()

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

getAgentContent()

public abstract ByteString getAgentContent()

Uncompressed raw byte content for agent.

bytes agent_content = 3;

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

The bytes for agentUri.

getGitSource()

public abstract RestoreAgentRequest.GitSource getGitSource()

Setting for restoring from a git branch

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

Returns
TypeDescription
RestoreAgentRequest.GitSource

The gitSource.

getGitSourceOrBuilder()

public abstract RestoreAgentRequest.GitSourceOrBuilder getGitSourceOrBuilder()

Setting for restoring from a git branch

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

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

The bytes for name.

getRestoreOption()

public abstract RestoreAgentRequest.RestoreOption getRestoreOption()

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

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

Returns
TypeDescription
RestoreAgentRequest.RestoreOption

The restoreOption.

getRestoreOptionValue()

public abstract int getRestoreOptionValue()

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

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

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

Whether the agentUri field is set.

hasGitSource()

public abstract boolean hasGitSource()

Setting for restoring from a git branch

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

Returns
TypeDescription
boolean

Whether the gitSource field is set.