Interface BatchCreateEntitiesRequestOrBuilder (4.30.0)

public interface BatchCreateEntitiesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEntities(int index)

public abstract EntityType.Entity getEntities(int index)

Required. The entities to create.

repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
EntityType.Entity

getEntitiesCount()

public abstract int getEntitiesCount()

Required. The entities to create.

repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getEntitiesList()

public abstract List<EntityType.Entity> getEntitiesList()

Required. The entities to create.

repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Entity>

getEntitiesOrBuilder(int index)

public abstract EntityType.EntityOrBuilder getEntitiesOrBuilder(int index)

Required. The entities to create.

repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
EntityType.EntityOrBuilder

getEntitiesOrBuilderList()

public abstract List<? extends EntityType.EntityOrBuilder> getEntitiesOrBuilderList()

Required. The entities to create.

repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.EntityType.EntityOrBuilder>

getLanguageCode()

public abstract String getLanguageCode()

Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.

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

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data.

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

Returns
Type Description
ByteString

The bytes for languageCode.

getParent()

public abstract String getParent()

Required. The name of the entity type to create entities in. Format: projects/<Project ID>/agent/entityTypes/<Entity Type 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 entity type to create entities in. Format: projects/<Project ID>/agent/entityTypes/<Entity Type ID>.

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

Returns
Type Description
ByteString

The bytes for parent.