Interface Intent.Message.SelectItemInfoOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getKey()
      Required.
      com.google.protobuf.ByteString getKeyBytes()
      Required.
      String getSynonyms​(int index)
      Optional.
      com.google.protobuf.ByteString getSynonymsBytes​(int index)
      Optional.
      int getSynonymsCount()
      Optional.
      List<String> getSynonymsList()
      Optional.
      • 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

      • getKey

        String getKey()
         Required. A unique key that will be sent back to the agent if this
         response is given.
         
        string key = 1;
        Returns:
        The key.
      • getKeyBytes

        com.google.protobuf.ByteString getKeyBytes()
         Required. A unique key that will be sent back to the agent if this
         response is given.
         
        string key = 1;
        Returns:
        The bytes for key.
      • getSynonymsList

        List<String> getSynonymsList()
         Optional. A list of synonyms that can also be used to trigger this
         item in dialog.
         
        repeated string synonyms = 2;
        Returns:
        A list containing the synonyms.
      • getSynonymsCount

        int getSynonymsCount()
         Optional. A list of synonyms that can also be used to trigger this
         item in dialog.
         
        repeated string synonyms = 2;
        Returns:
        The count of synonyms.
      • getSynonyms

        String getSynonyms​(int index)
         Optional. A list of synonyms that can also be used to trigger this
         item in dialog.
         
        repeated string synonyms = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The synonyms at the given index.
      • getSynonymsBytes

        com.google.protobuf.ByteString getSynonymsBytes​(int index)
         Optional. A list of synonyms that can also be used to trigger this
         item in dialog.
         
        repeated string synonyms = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the synonyms at the given index.