public sealed class TextTranslationResult : IMessage<StreamingTranslateSpeechResult.Types.TextTranslationResult>, IEquatable<StreamingTranslateSpeechResult.Types.TextTranslationResult>, IDeepCloneable<StreamingTranslateSpeechResult.Types.TextTranslationResult>, IBufferMessage, IMessage
Text translation result.
Implements
IMessage<StreamingTranslateSpeechResult.Types.TextTranslationResult>, IEquatable<StreamingTranslateSpeechResult.Types.TextTranslationResult>, IDeepCloneable<StreamingTranslateSpeechResult.Types.TextTranslationResult>, IBufferMessage, IMessageNamespace
Google.Cloud.MediaTranslation.V1Beta1Assembly
Google.Cloud.MediaTranslation.V1Beta1.dll
Constructors
TextTranslationResult()
public TextTranslationResult()
TextTranslationResult(StreamingTranslateSpeechResult.Types.TextTranslationResult)
public TextTranslationResult(StreamingTranslateSpeechResult.Types.TextTranslationResult other)
Parameter | |
---|---|
Name | Description |
other | StreamingTranslateSpeechResult.Types.TextTranslationResult |
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 |
Boolean |
Translation
public string Translation { get; set; }
Output only. The translated sentence.
Property Value | |
---|---|
Type | Description |
String |