Interface EventInputOrBuilder

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

    public interface EventInputOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getLanguageCode()
      Required.
      com.google.protobuf.ByteString getLanguageCodeBytes()
      Required.
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      com.google.protobuf.Struct getParameters()
      The collection of parameters associated with the event.
      com.google.protobuf.StructOrBuilder getParametersOrBuilder()
      The collection of parameters associated with the event.
      boolean hasParameters()
      The collection of parameters associated with the event.
      • 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 Detail

      • getName

        String getName()
         Required. The unique identifier of the event.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. The unique identifier of the event.
         
        string name = 1;
        Returns:
        The bytes for name.
      • hasParameters

        boolean hasParameters()
         The collection of parameters associated with the event.
        
         Depending on your protocol or client library language, this is a
         map, associative array, symbol table, dictionary, or JSON object
         composed of a collection of (MapKey, MapValue) pairs:
        
         * MapKey type: string
         * MapKey value: parameter name
         * MapValue type: If parameter's entity type is a composite entity then use
         map, otherwise, depending on the parameter value type, it could be one of
         string, number, boolean, null, list or map.
         * MapValue value: If parameter's entity type is a composite entity then use
         map from composite entity property names to property values, otherwise,
         use parameter value.
         
        .google.protobuf.Struct parameters = 2;
        Returns:
        Whether the parameters field is set.
      • getParameters

        com.google.protobuf.Struct getParameters()
         The collection of parameters associated with the event.
        
         Depending on your protocol or client library language, this is a
         map, associative array, symbol table, dictionary, or JSON object
         composed of a collection of (MapKey, MapValue) pairs:
        
         * MapKey type: string
         * MapKey value: parameter name
         * MapValue type: If parameter's entity type is a composite entity then use
         map, otherwise, depending on the parameter value type, it could be one of
         string, number, boolean, null, list or map.
         * MapValue value: If parameter's entity type is a composite entity then use
         map from composite entity property names to property values, otherwise,
         use parameter value.
         
        .google.protobuf.Struct parameters = 2;
        Returns:
        The parameters.
      • getParametersOrBuilder

        com.google.protobuf.StructOrBuilder getParametersOrBuilder()
         The collection of parameters associated with the event.
        
         Depending on your protocol or client library language, this is a
         map, associative array, symbol table, dictionary, or JSON object
         composed of a collection of (MapKey, MapValue) pairs:
        
         * MapKey type: string
         * MapKey value: parameter name
         * MapValue type: If parameter's entity type is a composite entity then use
         map, otherwise, depending on the parameter value type, it could be one of
         string, number, boolean, null, list or map.
         * MapValue value: If parameter's entity type is a composite entity then use
         map from composite entity property names to property values, otherwise,
         use parameter value.
         
        .google.protobuf.Struct parameters = 2;
      • getLanguageCode

        String getLanguageCode()
         Required. The language of this query. See [Language
         Support](https://cloud.google.com/dialogflow/docs/reference/language)
         for a list of the currently supported language codes. Note that queries in
         the same session do not necessarily need to specify the same language.
        
         This field is ignored when used in the context of a
         [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input]
         field, because the language was already defined in the originating detect
         intent request.
         
        string language_code = 3;
        Returns:
        The languageCode.
      • getLanguageCodeBytes

        com.google.protobuf.ByteString getLanguageCodeBytes()
         Required. The language of this query. See [Language
         Support](https://cloud.google.com/dialogflow/docs/reference/language)
         for a list of the currently supported language codes. Note that queries in
         the same session do not necessarily need to specify the same language.
        
         This field is ignored when used in the context of a
         [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input]
         field, because the language was already defined in the originating detect
         intent request.
         
        string language_code = 3;
        Returns:
        The bytes for languageCode.