Package Classes (0.11.10)

Summary of entries of Classes for mediatranslation.

Classes

SpeechTranslationServiceAsyncClient

Provides translation from/to media types.

SpeechTranslationServiceClient

Provides translation from/to media types.

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.

SpeechEventType

Indicates the type of speech event.

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

TextTranslationResult

Text translation result.

TranslateSpeechConfig

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