Interface GetEntityTypeRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The language to retrieve the entity type for.
    com.google.protobuf.ByteString
    The language to retrieve the entity type for.
    Required.
    com.google.protobuf.ByteString
    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

    • getName

      String getName()
       Required. The name of the entity type.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The name of the entity type.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • getLanguageCode

      String getLanguageCode()
       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, 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 = 2;
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      com.google.protobuf.ByteString getLanguageCodeBytes()
       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, 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 = 2;
      Returns:
      The bytes for languageCode.