Class StreamingTranslateSpeechResponse (1.0.0-beta03)

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.

Inheritance

Object > StreamingTranslateSpeechResponse

Namespace

Google.Cloud.MediaTranslation.V1Beta1

Assembly

Google.Cloud.MediaTranslation.V1Beta1.dll

Constructors

StreamingTranslateSpeechResponse()

public StreamingTranslateSpeechResponse()

StreamingTranslateSpeechResponse(StreamingTranslateSpeechResponse)

public StreamingTranslateSpeechResponse(StreamingTranslateSpeechResponse other)
Parameter
NameDescription
otherStreamingTranslateSpeechResponse

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
TypeDescription
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
TypeDescription
StreamingTranslateSpeechResult

SpeechEventType

public StreamingTranslateSpeechResponse.Types.SpeechEventType SpeechEventType { get; set; }

Output only. Indicates the type of speech event.

Property Value
TypeDescription
StreamingTranslateSpeechResponse.Types.SpeechEventType