Interface CreateEntityTypeRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateEntityTypeRequest, CreateEntityTypeRequest.Builder

@Generated public interface CreateEntityTypeRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    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.
    com.google.protobuf.ByteString
    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.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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 agent to create a entity type for.
       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 agent to create a entity type for.
       Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasEntityType

      boolean hasEntityType()
       Required. The entity type to create.
       
      .google.cloud.dialogflow.cx.v3beta1.EntityType entity_type = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the entityType field is set.
    • getEntityType

      EntityType getEntityType()
       Required. The entity type to create.
       
      .google.cloud.dialogflow.cx.v3beta1.EntityType entity_type = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The entityType.
    • getEntityTypeOrBuilder

      EntityTypeOrBuilder getEntityTypeOrBuilder()
       Required. The entity type to create.
       
      .google.cloud.dialogflow.cx.v3beta1.EntityType entity_type = 2 [(.google.api.field_behavior) = REQUIRED];
    • getLanguageCode

      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](https://cloud.google.com/dialogflow/cx/docs/reference/language)
       are supported.
       Note: languages must be enabled in the agent before they can be used.
       
      string language_code = 3;
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      com.google.protobuf.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](https://cloud.google.com/dialogflow/cx/docs/reference/language)
       are supported.
       Note: languages must be enabled in the agent before they can be used.
       
      string language_code = 3;
      Returns:
      The bytes for languageCode.