public sealed class StreamingSynthesisInput : IMessage<StreamingSynthesisInput>, IEquatable<StreamingSynthesisInput>, IDeepCloneable<StreamingSynthesisInput>, IBufferMessage, IMessageReference 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
HasMarkup
public bool HasMarkup { get; }Gets whether the "markup" field is set
| Property Value | |
|---|---|
| Type | Description | 
| bool | |
HasPrompt
public bool HasPrompt { get; }Gets whether the "prompt" field is set
| Property Value | |
|---|---|
| Type | Description | 
| bool | |
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 | |
Markup
public string Markup { get; set; }Markup for HD voices specifically. This field may not be used with any other voices.
| Property Value | |
|---|---|
| Type | Description | 
| string | |
MultiSpeakerMarkup
public MultiSpeakerMarkup MultiSpeakerMarkup { get; set; }Multi-speaker markup for Gemini TTS. This field may not be used with any other voices.
| Property Value | |
|---|---|
| Type | Description | 
| MultiSpeakerMarkup | |
Prompt
public string Prompt { get; set; }This is system instruction supported only for controllable voice models.
| Property Value | |
|---|---|
| Type | Description | 
| string | |
Text
public string Text { get; set; }The raw text to be synthesized. It is recommended that each input contains complete, terminating sentences, which results in better prosody in the output audio.
| Property Value | |
|---|---|
| Type | Description | 
| string | |