BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
.
/
app.imagivibe.com
/
vendor
/
google
/
cloud-text-to-speech
/
src
/
V1
📤 Upload
📝 New File
📁 New Folder
Close
Editing: StreamingSynthesizeResponse.php
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/texttospeech/v1/cloud_tts.proto namespace Google\Cloud\TextToSpeech\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * `StreamingSynthesizeResponse` is the only message returned to the * client by `StreamingSynthesize` method. A series of zero or more * `StreamingSynthesizeResponse` messages are streamed back to the client. * * Generated from protobuf message <code>google.cloud.texttospeech.v1.StreamingSynthesizeResponse</code> */ class StreamingSynthesizeResponse extends \Google\Protobuf\Internal\Message { /** * The audio data bytes encoded as specified in the request. This is * headerless LINEAR16 audio with a sample rate of 24000. * * Generated from protobuf field <code>bytes audio_content = 1;</code> */ private $audio_content = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $audio_content * The audio data bytes encoded as specified in the request. This is * headerless LINEAR16 audio with a sample rate of 24000. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Cloud\Texttospeech\V1\CloudTts::initOnce(); parent::__construct($data); } /** * The audio data bytes encoded as specified in the request. This is * headerless LINEAR16 audio with a sample rate of 24000. * * Generated from protobuf field <code>bytes audio_content = 1;</code> * @return string */ public function getAudioContent() { return $this->audio_content; } /** * The audio data bytes encoded as specified in the request. This is * headerless LINEAR16 audio with a sample rate of 24000. * * Generated from protobuf field <code>bytes audio_content = 1;</code> * @param string $var * @return $this */ public function setAudioContent($var) { GPBUtil::checkString($var, False); $this->audio_content = $var; return $this; } }
Save
Cancel