Class StreamingTranslateSpeechResult (0.2.0)

StreamingTranslateSpeechResult(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

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

Attributes

NameDescription
text_translation_result .media_translation.StreamingTranslateSpeechResult.TextTranslationResult
Text translation result.
recognition_result str
Output only. The debug only recognition result in original language. This field is debug only and will be set to empty string if not available. This is implementation detail and will not be backward compatible. Still need to decide whether to expose this field by default.

Classes

TextTranslationResult

TextTranslationResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Text translation result.

Methods

__delattr__

__delattr__(key)

Delete the value on the given field.

This is generally equivalent to setting a falsy value.

__eq__

__eq__(other)

Return True if the messages are equal, False otherwise.

__ne__

__ne__(other)

Return True if the messages are unequal, False otherwise.

__setattr__

__setattr__(key, value)

Set the value on the given field.

For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.