public sealed class StreamingTranslateSpeechResponse : IMessage<StreamingTranslateSpeechResponse>, IEquatable<StreamingTranslateSpeechResponse>, IDeepCloneable<StreamingTranslateSpeechResponse>, IBufferMessage, IMessage
A streaming speech translation response corresponding to a portion of the audio currently processed.
Implements
IMessage<StreamingTranslateSpeechResponse>, IEquatable<StreamingTranslateSpeechResponse>, IDeepCloneable<StreamingTranslateSpeechResponse>, IBufferMessage, IMessageNamespace
Google.Cloud.MediaTranslation.V1Beta1Assembly
Google.Cloud.MediaTranslation.V1Beta1.dll
Constructors
StreamingTranslateSpeechResponse()
public StreamingTranslateSpeechResponse()
StreamingTranslateSpeechResponse(StreamingTranslateSpeechResponse)
public StreamingTranslateSpeechResponse(StreamingTranslateSpeechResponse other)
Parameter | |
---|---|
Name | Description |
other | StreamingTranslateSpeechResponse |
Properties
Error
public Status Error { get; set; }
Output only. If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
Property Value | |
---|---|
Type | Description |
Status |
Result
public StreamingTranslateSpeechResult Result { get; set; }
Output only. The translation result that is currently being processed (is_final could be true or false).
Property Value | |
---|---|
Type | Description |
StreamingTranslateSpeechResult |
SpeechEventType
public StreamingTranslateSpeechResponse.Types.SpeechEventType SpeechEventType { get; set; }
Output only. Indicates the type of speech event.
Property Value | |
---|---|
Type | Description |
StreamingTranslateSpeechResponse.Types.SpeechEventType |