Interface RestoreAgentRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RestoreAgentRequest,RestoreAgentRequest.Builder
@Generated
public interface RestoreAgentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringUncompressed raw byte content for agent.The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to restore agent from.com.google.protobuf.ByteStringThe [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to restore agent from.Setting for restoring from a git branchSetting for restoring from a git branchgetName()Required.com.google.protobuf.ByteStringRequired.Agent restore mode.intAgent restore mode.booleanUncompressed raw byte content for agent.booleanThe [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to restore agent from.booleanSetting for restoring from a git branchMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Required. The name of the agent to restore into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
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.v3beta1.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.v3beta1.RestoreAgentRequest.GitSource git_source = 6;- Returns:
- The gitSource.
-
getGitSourceOrBuilder
RestoreAgentRequest.GitSourceOrBuilder getGitSourceOrBuilder()Setting for restoring from a git branch
.google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.GitSource git_source = 6; -
getRestoreOptionValue
int getRestoreOptionValue()Agent restore mode. If not specified, `KEEP` is assumed.
.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.RestoreAgentRequest.RestoreOption restore_option = 5;- Returns:
- The restoreOption.
-
getAgentCase
RestoreAgentRequest.AgentCase getAgentCase()
-