Interface ImportEntityTypesRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportEntityTypesRequest,ImportEntityTypesRequest.Builder
@Generated
public interface ImportEntityTypesRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionUncompressed byte content of entity types.Uncompressed byte content of entity types.The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import entity types from.com.google.protobuf.ByteStringThe [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import entity types from.Required.intRequired.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.booleanUncompressed byte content of entity types.booleanThe [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import entity types from.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 agent to import the entity types into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The agent to import the entity types into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasEntityTypesUri
boolean hasEntityTypesUri()The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import entity types 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 entity_types_uri = 2;- Returns:
- Whether the entityTypesUri field is set.
-
getEntityTypesUri
String getEntityTypesUri()The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import entity types 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 entity_types_uri = 2;- Returns:
- The entityTypesUri.
-
getEntityTypesUriBytes
com.google.protobuf.ByteString getEntityTypesUriBytes()The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to import entity types 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 entity_types_uri = 2;- Returns:
- The bytes for entityTypesUri.
-
hasEntityTypesContent
boolean hasEntityTypesContent()Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3beta1.InlineSource entity_types_content = 3;- Returns:
- Whether the entityTypesContent field is set.
-
getEntityTypesContent
InlineSource getEntityTypesContent()Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3beta1.InlineSource entity_types_content = 3;- Returns:
- The entityTypesContent.
-
getEntityTypesContentOrBuilder
InlineSourceOrBuilder getEntityTypesContentOrBuilder()Uncompressed byte content of entity types.
.google.cloud.dialogflow.cx.v3beta1.InlineSource entity_types_content = 3; -
getMergeOptionValue
int getMergeOptionValue()Required. Merge option for importing entity types.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesRequest.MergeOption merge_option = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for mergeOption.
-
getMergeOption
ImportEntityTypesRequest.MergeOption getMergeOption()Required. Merge option for importing entity types.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesRequest.MergeOption merge_option = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The mergeOption.
-
getTargetEntityType
String getTargetEntityType()Optional. The target entity type to import into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`. If set, there should be only one entity type included in [entity_types][google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesRequest.entity_types], of which the type should match the type of the target entity type. All [entities][google.cloud.dialogflow.cx.v3beta1.EntityType.entities] in the imported entity type will be added to the target entity type.
string target_entity_type = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The targetEntityType.
-
getTargetEntityTypeBytes
com.google.protobuf.ByteString getTargetEntityTypeBytes()Optional. The target entity type to import into. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`. If set, there should be only one entity type included in [entity_types][google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesRequest.entity_types], of which the type should match the type of the target entity type. All [entities][google.cloud.dialogflow.cx.v3beta1.EntityType.entities] in the imported entity type will be added to the target entity type.
string target_entity_type = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for targetEntityType.
-
getEntityTypesCase
ImportEntityTypesRequest.EntityTypesCase getEntityTypesCase()
-