public sealed class StreamingTranslateSpeechResult.Types.TextTranslationResult : IMessage<StreamingTranslateSpeechResult.Types.TextTranslationResult>, IEquatable<StreamingTranslateSpeechResult.Types.TextTranslationResult>, IDeepCloneable<StreamingTranslateSpeechResult.Types.TextTranslationResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Media Translation v1beta1 API class StreamingTranslateSpeechResult.Types.TextTranslationResult.
Text translation result.
Implements
IMessageStreamingTranslateSpeechResultTypesTextTranslationResult, IEquatableStreamingTranslateSpeechResultTypesTextTranslationResult, IDeepCloneableStreamingTranslateSpeechResultTypesTextTranslationResult, IBufferMessage, IMessageNamespace
Google.Cloud.MediaTranslation.V1Beta1Assembly
Google.Cloud.MediaTranslation.V1Beta1.dll
Constructors
TextTranslationResult()
public TextTranslationResult()
TextTranslationResult(TextTranslationResult)
public TextTranslationResult(StreamingTranslateSpeechResult.Types.TextTranslationResult other)
Parameter | |
---|---|
Name | Description |
other |
StreamingTranslateSpeechResultTypesTextTranslationResult |
Properties
IsFinal
public bool IsFinal { get; set; }
Output only. If false
, this StreamingTranslateSpeechResult
represents
an interim result that may change. If true
, this is the final time the
translation service will return this particular
StreamingTranslateSpeechResult
, the streaming translator will not
return any further hypotheses for this portion of the transcript and
corresponding audio.
Property Value | |
---|---|
Type | Description |
bool |
Translation
public string Translation { get; set; }
Output only. The translated sentence.
Property Value | |
---|---|
Type | Description |
string |