Class Segment (2.15.2)

Stay organized with collections Save and categorize content based on your preferences.
Segment(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents one segment of audio.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
audio bytes
Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request. This field is a member of `oneof`_ ``content``.
uri str
Client-specific URI that points to an audio clip accessible to the client. This field is a member of `oneof`_ ``content``.
allow_playback_interruption bool
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.

Inheritance

builtins.object > proto.message.Message > Segment