Interface RestoreAgentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RestoreAgentRequest,RestoreAgentRequest.Builder
public interface RestoreAgentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RestoreAgentRequest.AgentCasegetAgentCase()com.google.protobuf.ByteStringgetAgentContent()Uncompressed raw byte content for agent.StringgetAgentUri()The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to restore agent from.com.google.protobuf.ByteStringgetAgentUriBytes()The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to restore agent from.RestoreAgentRequest.GitSourcegetGitSource()Setting for restoring from a git branchRestoreAgentRequest.GitSourceOrBuildergetGitSourceOrBuilder()Setting for restoring from a git branchStringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.RestoreAgentRequest.RestoreOptiongetRestoreOption()Agent restore mode.intgetRestoreOptionValue()Agent restore mode.booleanhasAgentContent()Uncompressed raw byte content for agent.booleanhasAgentUri()The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to restore agent from.booleanhasGitSource()Setting for restoring from a git branch-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
hasAgentUri
boolean hasAgentUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string agent_uri = 2;- Returns:
- Whether the agentUri field is set.
-
getAgentUri
String getAgentUri()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string agent_uri = 2;- Returns:
- The agentUri.
-
getAgentUriBytes
com.google.protobuf.ByteString getAgentUriBytes()
The [Google Cloud Storage](https://cloud.google.com/storage/docs/) 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string agent_uri = 2;- Returns:
- The bytes for agentUri.
-
hasAgentContent
boolean hasAgentContent()
Uncompressed raw byte content for agent.
bytes agent_content = 3;- Returns:
- Whether the agentContent field is set.
-
getAgentContent
com.google.protobuf.ByteString getAgentContent()
Uncompressed raw byte content for agent.
bytes agent_content = 3;- Returns:
- The agentContent.
-
hasGitSource
boolean hasGitSource()
Setting for restoring from a git branch
.google.cloud.dialogflow.cx.v3.RestoreAgentRequest.GitSource git_source = 6;- Returns:
- Whether the gitSource field is set.
-
getGitSource
RestoreAgentRequest.GitSource getGitSource()
Setting for restoring from a git branch
.google.cloud.dialogflow.cx.v3.RestoreAgentRequest.GitSource git_source = 6;- Returns:
- The gitSource.
-
getGitSourceOrBuilder
RestoreAgentRequest.GitSourceOrBuilder getGitSourceOrBuilder()
Setting for restoring from a git branch
.google.cloud.dialogflow.cx.v3.RestoreAgentRequest.GitSource git_source = 6;
-
getRestoreOptionValue
int getRestoreOptionValue()
Agent restore mode. If not specified, `KEEP` is assumed.
.google.cloud.dialogflow.cx.v3.RestoreAgentRequest.RestoreOption restore_option = 5;- Returns:
- The enum numeric value on the wire for restoreOption.
-
getRestoreOption
RestoreAgentRequest.RestoreOption getRestoreOption()
Agent restore mode. If not specified, `KEEP` is assumed.
.google.cloud.dialogflow.cx.v3.RestoreAgentRequest.RestoreOption restore_option = 5;- Returns:
- The restoreOption.
-
getAgentCase
RestoreAgentRequest.AgentCase getAgentCase()
-
-