Interface UpdateEntityTypeRequestOrBuilder (0.56.0)

public interface UpdateEntityTypeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEntityType()

public abstract EntityType getEntityType()

Required. The entity type to update.

.google.cloud.dialogflow.cx.v3.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntityType

The entityType.

getEntityTypeOrBuilder()

public abstract EntityTypeOrBuilder getEntityTypeOrBuilder()

Required. The entity type to update.

.google.cloud.dialogflow.cx.v3.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntityTypeOrBuilder

getLanguageCode()

public abstract String getLanguageCode()

The language of the following fields in entity_type:

  • EntityType.entities.value
  • EntityType.entities.synonyms
  • EntityType.excluded_phrases.value

    If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 2;

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

The language of the following fields in entity_type:

  • EntityType.entities.value
  • EntityType.entities.synonyms
  • EntityType.excluded_phrases.value

    If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.

string language_code = 2;

Returns
Type Description
ByteString

The bytes for languageCode.

getUpdateMask()

public abstract FieldMask getUpdateMask()

The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMaskOrBuilder

hasEntityType()

public abstract boolean hasEntityType()

Required. The entity type to update.

.google.cloud.dialogflow.cx.v3.EntityType entity_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the entityType field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
boolean

Whether the updateMask field is set.