Interface CreateEntityTypeRequestOrBuilder (4.7.0)

public interface CreateEntityTypeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEntityType()

public abstract EntityType getEntityType()

Required. The entity type to create.

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

Returns
TypeDescription
EntityType

The entityType.

getEntityTypeOrBuilder()

public abstract EntityTypeOrBuilder getEntityTypeOrBuilder()

Required. The entity type to create.

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

Returns
TypeDescription
EntityTypeOrBuilder

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
TypeDescription
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
TypeDescription
ByteString

The bytes for languageCode.

getParent()

public abstract String getParent()

Required. The agent to create a entity type for. Format: projects/<Project ID>/agent.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The agent to create a entity type for. Format: projects/<Project ID>/agent.

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasEntityType()

public abstract boolean hasEntityType()

Required. The entity type to create.

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

Returns
TypeDescription
boolean

Whether the entityType field is set.