Class: Google::Cloud::Dialogflow::CX::V3::ResponseMessage::MixedAudio::Segment

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb

Overview

Represents one segment of audio.

Instance Attribute Summary collapse

Instance Attribute Details

#allow_playback_interruption::Boolean (readonly)

Returns Output only. 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.

Returns:

  • (::Boolean)

    Output only. 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.



261
262
263
264
# File 'proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb', line 261

class Segment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#audio::String

Returns Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.

Note: The following fields are mutually exclusive: audio, uri. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.

    Note: The following fields are mutually exclusive: audio, uri. If a field in that set is populated, all other fields in the set will automatically be cleared.



261
262
263
264
# File 'proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb', line 261

class Segment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#uri::String

Returns Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it.

Note: The following fields are mutually exclusive: uri, audio. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it.

    Note: The following fields are mutually exclusive: uri, audio. If a field in that set is populated, all other fields in the set will automatically be cleared.



261
262
263
264
# File 'proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb', line 261

class Segment
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end