Interface Intent.Message.SimpleResponseOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getDisplayText()
      Optional.
      com.google.protobuf.ByteString getDisplayTextBytes()
      Optional.
      String getSsml()
      One of text_to_speech or ssml must be provided.
      com.google.protobuf.ByteString getSsmlBytes()
      One of text_to_speech or ssml must be provided.
      String getTextToSpeech()
      One of text_to_speech or ssml must be provided.
      com.google.protobuf.ByteString getTextToSpeechBytes()
      One of text_to_speech or ssml must be provided.
      • 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

      • getTextToSpeech

        String getTextToSpeech()
         One of text_to_speech or ssml must be provided. The plain text of the
         speech output. Mutually exclusive with ssml.
         
        string text_to_speech = 1;
        Returns:
        The textToSpeech.
      • getTextToSpeechBytes

        com.google.protobuf.ByteString getTextToSpeechBytes()
         One of text_to_speech or ssml must be provided. The plain text of the
         speech output. Mutually exclusive with ssml.
         
        string text_to_speech = 1;
        Returns:
        The bytes for textToSpeech.
      • getSsml

        String getSsml()
         One of text_to_speech or ssml must be provided. Structured spoken
         response to the user in the SSML format. Mutually exclusive with
         text_to_speech.
         
        string ssml = 2;
        Returns:
        The ssml.
      • getSsmlBytes

        com.google.protobuf.ByteString getSsmlBytes()
         One of text_to_speech or ssml must be provided. Structured spoken
         response to the user in the SSML format. Mutually exclusive with
         text_to_speech.
         
        string ssml = 2;
        Returns:
        The bytes for ssml.
      • getDisplayText

        String getDisplayText()
         Optional. The text to display.
         
        string display_text = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The displayText.
      • getDisplayTextBytes

        com.google.protobuf.ByteString getDisplayTextBytes()
         Optional. The text to display.
         
        string display_text = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for displayText.