Interface ExportEntityTypesRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExportEntityTypesRequest,ExportEntityTypesRequest.Builder
@Generated
public interface ExportEntityTypesRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.intOptional.getEntityTypes(int index) Required.com.google.protobuf.ByteStringgetEntityTypesBytes(int index) Required.booleanOptional.intRequired.Required.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.booleanOptional.booleanOptional.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 name of the parent agent to export entity types. 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 name of the parent agent to export entity types. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getEntityTypesList
Required. The name of the entity types to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- A list containing the entityTypes.
-
getEntityTypesCount
int getEntityTypesCount()Required. The name of the entity types to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The count of entityTypes.
-
getEntityTypes
Required. The name of the entity types to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the element to return.- Returns:
- The entityTypes at the given index.
-
getEntityTypesBytes
com.google.protobuf.ByteString getEntityTypesBytes(int index) Required. The name of the entity types to export. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entityTypes at the given index.
-
hasEntityTypesUri
boolean hasEntityTypesUri()Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the entity types to. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write 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 = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the entityTypesUri field is set.
-
getEntityTypesUri
String getEntityTypesUri()Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the entity types to. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write 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 = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The entityTypesUri.
-
getEntityTypesUriBytes
com.google.protobuf.ByteString getEntityTypesUriBytes()Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the entity types to. The format of this URI must be `gs://<bucket-name>/<object-name>`. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write 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 = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for entityTypesUri.
-
hasEntityTypesContentInline
boolean hasEntityTypesContentInline()Optional. The option to return the serialized entity types inline.
bool entity_types_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the entityTypesContentInline field is set.
-
getEntityTypesContentInline
boolean getEntityTypesContentInline()Optional. The option to return the serialized entity types inline.
bool entity_types_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The entityTypesContentInline.
-
getDataFormatValue
int getDataFormatValue()Optional. The data format of the exported entity types. If not specified, `BLOB` is assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportEntityTypesRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for dataFormat.
-
getDataFormat
ExportEntityTypesRequest.DataFormat getDataFormat()Optional. The data format of the exported entity types. If not specified, `BLOB` is assumed.
.google.cloud.dialogflow.cx.v3beta1.ExportEntityTypesRequest.DataFormat data_format = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The dataFormat.
-
getLanguageCode
String getLanguageCode()Optional. The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, all language dependent fields will be retrieved. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
string language_code = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()Optional. The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, all language dependent fields will be retrieved. [Many languages](https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
string language_code = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for languageCode.
-
getDestinationCase
ExportEntityTypesRequest.DestinationCase getDestinationCase()
-