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: StreamingSynthesizeConfig.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; /** * Provides configuration information for the StreamingSynthesize request. * * Generated from protobuf message <code>google.cloud.texttospeech.v1.StreamingSynthesizeConfig</code> */ class StreamingSynthesizeConfig extends \Google\Protobuf\Internal\Message { /** * Required. The desired voice of the synthesized audio. * * Generated from protobuf field <code>.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];</code> */ private $voice = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Google\Cloud\TextToSpeech\V1\VoiceSelectionParams $voice * Required. The desired voice of the synthesized audio. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Cloud\Texttospeech\V1\CloudTts::initOnce(); parent::__construct($data); } /** * Required. The desired voice of the synthesized audio. * * Generated from protobuf field <code>.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];</code> * @return \Google\Cloud\TextToSpeech\V1\VoiceSelectionParams|null */ public function getVoice() { return $this->voice; } public function hasVoice() { return isset($this->voice); } public function clearVoice() { unset($this->voice); } /** * Required. The desired voice of the synthesized audio. * * Generated from protobuf field <code>.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];</code> * @param \Google\Cloud\TextToSpeech\V1\VoiceSelectionParams $var * @return $this */ public function setVoice($var) { GPBUtil::checkMessage($var, \Google\Cloud\TextToSpeech\V1\VoiceSelectionParams::class); $this->voice = $var; return $this; } }
Save
Cancel