Class StreamingTranslateSpeechResult.Types.TextTranslationResult (1.0.0-beta03)

public sealed class TextTranslationResult : IMessage<StreamingTranslateSpeechResult.Types.TextTranslationResult>, IEquatable<StreamingTranslateSpeechResult.Types.TextTranslationResult>, IDeepCloneable<StreamingTranslateSpeechResult.Types.TextTranslationResult>, IBufferMessage, IMessage

Text translation result.

Inheritance

Object > StreamingTranslateSpeechResult.Types.TextTranslationResult

Namespace

Google.Cloud.MediaTranslation.V1Beta1

Assembly

Google.Cloud.MediaTranslation.V1Beta1.dll

Constructors

TextTranslationResult()

public TextTranslationResult()

TextTranslationResult(StreamingTranslateSpeechResult.Types.TextTranslationResult)

public TextTranslationResult(StreamingTranslateSpeechResult.Types.TextTranslationResult other)
Parameter
NameDescription
otherStreamingTranslateSpeechResult.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
TypeDescription
Boolean

Translation

public string Translation { get; set; }

Output only. The translated sentence.

Property Value
TypeDescription
String