Class ResponseMessage.PlayAudio.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<ResponseMessage.PlayAudio.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<ResponseMessage.PlayAudio.Builder>
      • getDefaultInstanceForType

        public ResponseMessage.PlayAudio getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

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

        public ResponseMessage.PlayAudio buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public ResponseMessage.PlayAudio.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResponseMessage.PlayAudio.Builder>
      • isInitialized

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

        public ResponseMessage.PlayAudio.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<ResponseMessage.PlayAudio.Builder>
        Throws:
        IOException
      • getAudioUri

        public String getAudioUri()
         Required. URI of the audio clip. Dialogflow does not impose any
         validation on this value. It is specific to the client that reads it.
         
        string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAudioUri in interface ResponseMessage.PlayAudioOrBuilder
        Returns:
        The audioUri.
      • getAudioUriBytes

        public com.google.protobuf.ByteString getAudioUriBytes()
         Required. URI of the audio clip. Dialogflow does not impose any
         validation on this value. It is specific to the client that reads it.
         
        string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAudioUriBytes in interface ResponseMessage.PlayAudioOrBuilder
        Returns:
        The bytes for audioUri.
      • setAudioUri

        public ResponseMessage.PlayAudio.Builder setAudioUri​(String value)
         Required. URI of the audio clip. Dialogflow does not impose any
         validation on this value. It is specific to the client that reads it.
         
        string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The audioUri to set.
        Returns:
        This builder for chaining.
      • clearAudioUri

        public ResponseMessage.PlayAudio.Builder clearAudioUri()
         Required. URI of the audio clip. Dialogflow does not impose any
         validation on this value. It is specific to the client that reads it.
         
        string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setAudioUriBytes

        public ResponseMessage.PlayAudio.Builder setAudioUriBytes​(com.google.protobuf.ByteString value)
         Required. URI of the audio clip. Dialogflow does not impose any
         validation on this value. It is specific to the client that reads it.
         
        string audio_uri = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for audioUri to set.
        Returns:
        This builder for chaining.
      • getAllowPlaybackInterruption

        public boolean getAllowPlaybackInterruption()
         Output only. Whether the playback of this message can be interrupted by
         the end user's speech and the client can then starts the next Dialogflow
         request.
         
        bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getAllowPlaybackInterruption in interface ResponseMessage.PlayAudioOrBuilder
        Returns:
        The allowPlaybackInterruption.
      • setAllowPlaybackInterruption

        public ResponseMessage.PlayAudio.Builder setAllowPlaybackInterruption​(boolean value)
         Output only. Whether the playback of this message can be interrupted by
         the end user's speech and the client can then starts the next Dialogflow
         request.
         
        bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The allowPlaybackInterruption to set.
        Returns:
        This builder for chaining.
      • clearAllowPlaybackInterruption

        public ResponseMessage.PlayAudio.Builder clearAllowPlaybackInterruption()
         Output only. Whether the playback of this message can be interrupted by
         the end user's speech and the client can then starts the next Dialogflow
         request.
         
        bool allow_playback_interruption = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ResponseMessage.PlayAudio.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResponseMessage.PlayAudio.Builder>
      • mergeUnknownFields

        public final ResponseMessage.PlayAudio.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResponseMessage.PlayAudio.Builder>