Package com.google.cloud.dialogflow.v2
Interface ImportAgentRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportAgentRequest,ImportAgentRequest.Builder
@Generated
public interface ImportAgentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringZip compressed raw byte content for agent.The URI to a Google Cloud Storage file containing the agent to import.com.google.protobuf.ByteStringThe URI to a Google Cloud Storage file containing the agent to import.Required.com.google.protobuf.ByteStringRequired.booleanZip compressed raw byte content for agent.booleanThe URI to a Google Cloud Storage file containing the agent to import.Methods 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
-
getParent
String getParent()Required. The project that the agent to import is associated with. Format: `projects/<Project 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 import is associated with. Format: `projects/<Project 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 import. 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 import. 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 import. 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
ImportAgentRequest.AgentCase getAgentCase()
-