Interface ResponseMessage.MixedAudio.SegmentOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getAllowPlaybackInterruption()
      Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.
      com.google.protobuf.ByteString getAudio()
      Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.
      ResponseMessage.MixedAudio.Segment.ContentCase getContentCase()  
      String getUri()
      Client-specific URI that points to an audio clip accessible to the client.
      com.google.protobuf.ByteString getUriBytes()
      Client-specific URI that points to an audio clip accessible to the client.
      boolean hasAudio()
      Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.
      boolean hasUri()
      Client-specific URI that points to an audio clip accessible to the client.
      • 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

      • hasAudio

        boolean hasAudio()
         Raw audio synthesized from the Dialogflow agent's response using
         the output config specified in the request.
         
        bytes audio = 1;
        Returns:
        Whether the audio field is set.
      • getAudio

        com.google.protobuf.ByteString getAudio()
         Raw audio synthesized from the Dialogflow agent's response using
         the output config specified in the request.
         
        bytes audio = 1;
        Returns:
        The audio.
      • hasUri

        boolean hasUri()
         Client-specific URI that points to an audio clip accessible to the
         client.
         
        string uri = 2;
        Returns:
        Whether the uri field is set.
      • getUri

        String getUri()
         Client-specific URI that points to an audio clip accessible to the
         client.
         
        string uri = 2;
        Returns:
        The uri.
      • getUriBytes

        com.google.protobuf.ByteString getUriBytes()
         Client-specific URI that points to an audio clip accessible to the
         client.
         
        string uri = 2;
        Returns:
        The bytes for uri.
      • getAllowPlaybackInterruption

        boolean getAllowPlaybackInterruption()
         Whether the playback of this segment can be interrupted by the end
         user's speech and the client should then start the next Dialogflow
         request.
         
        bool allow_playback_interruption = 3;
        Returns:
        The allowPlaybackInterruption.