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.AgentCase
getAgentCase()
com.google.protobuf.ByteString
getAgentContent()
Zip compressed raw byte content for agent.String
getAgentUri()
The URI to a Google Cloud Storage file containing the agent to restore.com.google.protobuf.ByteString
getAgentUriBytes()
The URI to a Google Cloud Storage file containing the agent to restore.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasAgentContent()
Zip compressed raw byte content for agent.boolean
hasAgentUri()
The URI to a Google Cloud Storage file containing the agent to restore.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The project that the agent to restore is associated with. Format: `projects/<Project ID>` or `projects/<Project ID>/locations/<Location ID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The project that the agent to restore is associated with. Format: `projects/<Project ID>` or `projects/<Project ID>/locations/<Location ID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
hasAgentUri
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](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 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](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 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](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
string agent_uri = 2;
- Returns:
- The bytes for agentUri.
-
hasAgentContent
boolean hasAgentContent()
Zip compressed raw byte content for agent.
bytes agent_content = 3;
- Returns:
- Whether the agentContent field is set.
-
getAgentContent
com.google.protobuf.ByteString getAgentContent()
Zip compressed raw byte content for agent.
bytes agent_content = 3;
- Returns:
- The agentContent.
-
getAgentCase
RestoreAgentRequest.AgentCase getAgentCase()
-
-