Interface ExportEntityTypesRequestOrBuilder (0.53.0)

public interface ExportEntityTypesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataFormat()

public abstract 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
Type Description
ExportEntityTypesRequest.DataFormat

The dataFormat.

getDataFormatValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for dataFormat.

getDestinationCase()

public abstract ExportEntityTypesRequest.DestinationCase getDestinationCase()
Returns
Type Description
ExportEntityTypesRequest.DestinationCase

getEntityTypes(int index)

public abstract String getEntityTypes(int index)

Required. The name of the entity types to export. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<EntityType ID>.

repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The entityTypes at the given index.

getEntityTypesBytes(int index)

public abstract ByteString getEntityTypesBytes(int index)

Required. The name of the entity types to export. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<EntityType ID>.

repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the entityTypes at the given index.

getEntityTypesContentInline()

public abstract boolean getEntityTypesContentInline()

Optional. The option to return the serialized entity types inline.

bool entity_types_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The entityTypesContentInline.

getEntityTypesCount()

public abstract int getEntityTypesCount()

Required. The name of the entity types to export. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<EntityType ID>.

repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of entityTypes.

getEntityTypesList()

public abstract List<String> getEntityTypesList()

Required. The name of the entity types to export. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<EntityType ID>.

repeated string entity_types = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the entityTypes.

getEntityTypesUri()

public abstract String getEntityTypesUri()

Optional. The Google Cloud Storage 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.

string entity_types_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The entityTypesUri.

getEntityTypesUriBytes()

public abstract ByteString getEntityTypesUriBytes()

Optional. The Google Cloud Storage 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.

string entity_types_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for entityTypesUri.

getLanguageCode()

public abstract 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 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
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract 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 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
Type Description
ByteString

The bytes for languageCode.

getParent()

public abstract String getParent()

Required. The name of the parent agent to export entity types. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the parent agent to export entity types. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasEntityTypesContentInline()

public abstract boolean hasEntityTypesContentInline()

Optional. The option to return the serialized entity types inline.

bool entity_types_content_inline = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the entityTypesContentInline field is set.

hasEntityTypesUri()

public abstract boolean hasEntityTypesUri()

Optional. The Google Cloud Storage 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.

string entity_types_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the entityTypesUri field is set.