Reference documentation and code samples for the Cloud Text-to-Speech V1 Client class StreamingSynthesizeRequest.
Request message for the StreamingSynthesize
method. Multiple StreamingSynthesizeRequest
messages are sent in one call.
The first message must contain a streaming_config
that
fully specifies the request configuration and must not contain input
. All
subsequent messages must only have input
set.
Generated from protobuf message google.cloud.texttospeech.v1.StreamingSynthesizeRequest
Namespace
Google \ Cloud \ TextToSpeech \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ streaming_config
StreamingSynthesizeConfig
StreamingSynthesizeConfig to be used in this streaming attempt. Only specified in the first message sent in a StreamingSynthesize
call.
↳ input
StreamingSynthesisInput
Input to synthesize. Specified in all messages but the first in a StreamingSynthesize
call.
getStreamingConfig
StreamingSynthesizeConfig to be used in this streaming attempt. Only
specified in the first message sent in a StreamingSynthesize
call.
hasStreamingConfig
setStreamingConfig
StreamingSynthesizeConfig to be used in this streaming attempt. Only
specified in the first message sent in a StreamingSynthesize
call.
$this
getInput
Input to synthesize. Specified in all messages but the first in a StreamingSynthesize
call.
hasInput
setInput
Input to synthesize. Specified in all messages but the first in a StreamingSynthesize
call.
$this
getStreamingRequest
string

