Package types (0.10.0)

API documentation for mediatranslation_v1beta1.types package.

Classes

StreamingTranslateSpeechConfig

Config used for streaming translation.

StreamingTranslateSpeechRequest

The top-level message sent by the client for the StreamingTranslateSpeech method. Multiple StreamingTranslateSpeechRequest messages are sent. The first message must contain a streaming_config message and must not contain audio_content data. All subsequent messages must contain audio_content data and must not contain a streaming_config message.

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

StreamingTranslateSpeechResponse

A streaming speech translation response corresponding to a portion of the audio currently processed.

StreamingTranslateSpeechResult

A streaming speech translation result corresponding to a portion of the audio that is currently being processed.

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

TranslateSpeechConfig

Provides information to the speech translation that specifies how to process the request.