Interface Intent.Message.SelectItemInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Intent.Message.SelectItemInfo, Intent.Message.SelectItemInfo.Builder
Enclosing class:
Intent.Message

public static interface Intent.Message.SelectItemInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    getSynonyms(int index)
    Optional.
    com.google.protobuf.ByteString
    getSynonymsBytes(int index)
    Optional.
    int
    Optional.
    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 Details

    • getKey

      String getKey()
       Required. A unique key that will be sent back to the agent if this
       response is given.
       
      string key = 1 [(.google.api.field_behavior) = REQUIRED];
      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 [(.google.api.field_behavior) = REQUIRED];
      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 [(.google.api.field_behavior) = OPTIONAL];
      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 [(.google.api.field_behavior) = OPTIONAL];
      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 [(.google.api.field_behavior) = OPTIONAL];
      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 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the synonyms at the given index.