Google Cloud Text-to-Speech v1 API - Class StreamingSynthesisInput (3.8.0)

public sealed class StreamingSynthesisInput : IMessage<StreamingSynthesisInput>, IEquatable<StreamingSynthesisInput>, IDeepCloneable<StreamingSynthesisInput>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Text-to-Speech v1 API class StreamingSynthesisInput.

Input to be synthesized.

Inheritance

object > StreamingSynthesisInput

Namespace

Google.Cloud.TextToSpeech.V1

Assembly

Google.Cloud.TextToSpeech.V1.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
StreamingSynthesisInput InputSourceOneofCase

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月06日 UTC.