public sealed class StreamingSynthesisInput : IMessage<StreamingSynthesisInput>, IEquatable<StreamingSynthesisInput>, IDeepCloneable<StreamingSynthesisInput>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Text-to-Speech v1beta1 API class StreamingSynthesisInput.
Input to be synthesized.
Implements
IMessageStreamingSynthesisInput, IEquatableStreamingSynthesisInput, IDeepCloneableStreamingSynthesisInput, IBufferMessage, IMessageNamespace
Google.Cloud.TextToSpeech.V1Beta1Assembly
Google.Cloud.TextToSpeech.V1Beta1.dll
Constructors
StreamingSynthesisInput()
public StreamingSynthesisInput()
StreamingSynthesisInput(StreamingSynthesisInput)
public StreamingSynthesisInput(StreamingSynthesisInput other)
Parameter | |
---|---|
Name | Description |
other |
StreamingSynthesisInput |
Properties
HasText
public bool HasText { get; }
Gets whether the "text" field is set
Property Value | |
---|---|
Type | Description |
bool |
InputSourceCase
public StreamingSynthesisInput.InputSourceOneofCase InputSourceCase { get; }
Property Value | |
---|---|
Type | Description |
StreamingSynthesisInputInputSourceOneofCase |
Text
public string Text { get; set; }
The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, as this will likely result in better prosody in the output audio. That being said, users are free to input text however they please.
Property Value | |
---|---|
Type | Description |
string |