Interface Intent.Message.TextOrBuilder

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

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

    Modifier and Type
    Method
    Description
    getText(int index)
    Optional.
    com.google.protobuf.ByteString
    getTextBytes(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

    • getTextList

      List<String> getTextList()
       Optional. The collection of the agent's responses.
       
      repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the text.
    • getTextCount

      int getTextCount()
       Optional. The collection of the agent's responses.
       
      repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of text.
    • getText

      String getText(int index)
       Optional. The collection of the agent's responses.
       
      repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The text at the given index.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes(int index)
       Optional. The collection of the agent's responses.
       
      repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the text at the given index.