Class Intent.Message.SimpleResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.SimpleResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.SimpleResponse.Builder>
      • getDefaultInstanceForType

        public Intent.Message.SimpleResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Intent.Message.SimpleResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Intent.Message.SimpleResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.SimpleResponse.Builder>
      • mergeFrom

        public Intent.Message.SimpleResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Intent.Message.SimpleResponse.Builder>
        Throws:
        IOException
      • getTextToSpeech

        public 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;
        Specified by:
        getTextToSpeech in interface Intent.Message.SimpleResponseOrBuilder
        Returns:
        The textToSpeech.
      • getTextToSpeechBytes

        public 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;
        Specified by:
        getTextToSpeechBytes in interface Intent.Message.SimpleResponseOrBuilder
        Returns:
        The bytes for textToSpeech.
      • setTextToSpeech

        public Intent.Message.SimpleResponse.Builder setTextToSpeech​(String value)
         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;
        Parameters:
        value - The textToSpeech to set.
        Returns:
        This builder for chaining.
      • clearTextToSpeech

        public Intent.Message.SimpleResponse.Builder clearTextToSpeech()
         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:
        This builder for chaining.
      • setTextToSpeechBytes

        public Intent.Message.SimpleResponse.Builder setTextToSpeechBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for textToSpeech to set.
        Returns:
        This builder for chaining.
      • getSsml

        public 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;
        Specified by:
        getSsml in interface Intent.Message.SimpleResponseOrBuilder
        Returns:
        The ssml.
      • getSsmlBytes

        public 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;
        Specified by:
        getSsmlBytes in interface Intent.Message.SimpleResponseOrBuilder
        Returns:
        The bytes for ssml.
      • setSsml

        public Intent.Message.SimpleResponse.Builder setSsml​(String value)
         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;
        Parameters:
        value - The ssml to set.
        Returns:
        This builder for chaining.
      • clearSsml

        public Intent.Message.SimpleResponse.Builder clearSsml()
         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:
        This builder for chaining.
      • setSsmlBytes

        public Intent.Message.SimpleResponse.Builder setSsmlBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for ssml to set.
        Returns:
        This builder for chaining.
      • setDisplayText

        public Intent.Message.SimpleResponse.Builder setDisplayText​(String value)
         Optional. The text to display.
         
        string display_text = 3;
        Parameters:
        value - The displayText to set.
        Returns:
        This builder for chaining.
      • setDisplayTextBytes

        public Intent.Message.SimpleResponse.Builder setDisplayTextBytes​(com.google.protobuf.ByteString value)
         Optional. The text to display.
         
        string display_text = 3;
        Parameters:
        value - The bytes for displayText to set.
        Returns:
        This builder for chaining.