public sealed class StreamingTranslateSpeechResponse : IMessage<StreamingTranslateSpeechResponse>, IEquatable<StreamingTranslateSpeechResponse>, IDeepCloneable<StreamingTranslateSpeechResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Media Translation v1beta1 API class StreamingTranslateSpeechResponse.
A streaming speech translation response corresponding to a portion of the audio currently processed.
Implements
IMessageStreamingTranslateSpeechResponse, IEquatableStreamingTranslateSpeechResponse, IDeepCloneableStreamingTranslateSpeechResponse, 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 |
StreamingTranslateSpeechResponseTypesSpeechEventType |