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: StreamingSynthesisInput.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; /** * Input to be synthesized. * * Generated from protobuf message <code>google.cloud.texttospeech.v1.StreamingSynthesisInput</code> */ class StreamingSynthesisInput extends \Google\Protobuf\Internal\Message { protected $input_source; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $text * 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. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Cloud\Texttospeech\V1\CloudTts::initOnce(); parent::__construct($data); } /** * 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. * * Generated from protobuf field <code>string text = 1;</code> * @return string */ public function getText() { return $this->readOneof(1); } public function hasText() { return $this->hasOneof(1); } /** * 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. * * Generated from protobuf field <code>string text = 1;</code> * @param string $var * @return $this */ public function setText($var) { GPBUtil::checkString($var, True); $this->writeOneof(1, $var); return $this; } /** * @return string */ public function getInputSource() { return $this->whichOneof("input_source"); } }
Save
Cancel