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: SynthesizeLongAudioMetadata.php
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/texttospeech/v1/cloud_tts_lrs.proto namespace Google\Cloud\TextToSpeech\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Metadata for response returned by the `SynthesizeLongAudio` method. * * Generated from protobuf message <code>google.cloud.texttospeech.v1.SynthesizeLongAudioMetadata</code> */ class SynthesizeLongAudioMetadata extends \Google\Protobuf\Internal\Message { /** * Time when the request was received. * * Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 1;</code> */ private $start_time = null; /** * Deprecated. Do not use. * * Generated from protobuf field <code>.google.protobuf.Timestamp last_update_time = 2 [deprecated = true];</code> * @deprecated */ protected $last_update_time = null; /** * The progress of the most recent processing update in percentage, ie. 70.0%. * * Generated from protobuf field <code>double progress_percentage = 3;</code> */ private $progress_percentage = 0.0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Google\Protobuf\Timestamp $start_time * Time when the request was received. * @type \Google\Protobuf\Timestamp $last_update_time * Deprecated. Do not use. * @type float $progress_percentage * The progress of the most recent processing update in percentage, ie. 70.0%. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Cloud\Texttospeech\V1\CloudTtsLrs::initOnce(); parent::__construct($data); } /** * Time when the request was received. * * Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 1;</code> * @return \Google\Protobuf\Timestamp|null */ public function getStartTime() { return $this->start_time; } public function hasStartTime() { return isset($this->start_time); } public function clearStartTime() { unset($this->start_time); } /** * Time when the request was received. * * Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 1;</code> * @param \Google\Protobuf\Timestamp $var * @return $this */ public function setStartTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->start_time = $var; return $this; } /** * Deprecated. Do not use. * * Generated from protobuf field <code>.google.protobuf.Timestamp last_update_time = 2 [deprecated = true];</code> * @return \Google\Protobuf\Timestamp|null * @deprecated */ public function getLastUpdateTime() { @trigger_error('last_update_time is deprecated.', E_USER_DEPRECATED); return $this->last_update_time; } public function hasLastUpdateTime() { @trigger_error('last_update_time is deprecated.', E_USER_DEPRECATED); return isset($this->last_update_time); } public function clearLastUpdateTime() { @trigger_error('last_update_time is deprecated.', E_USER_DEPRECATED); unset($this->last_update_time); } /** * Deprecated. Do not use. * * Generated from protobuf field <code>.google.protobuf.Timestamp last_update_time = 2 [deprecated = true];</code> * @param \Google\Protobuf\Timestamp $var * @return $this * @deprecated */ public function setLastUpdateTime($var) { @trigger_error('last_update_time is deprecated.', E_USER_DEPRECATED); GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->last_update_time = $var; return $this; } /** * The progress of the most recent processing update in percentage, ie. 70.0%. * * Generated from protobuf field <code>double progress_percentage = 3;</code> * @return float */ public function getProgressPercentage() { return $this->progress_percentage; } /** * The progress of the most recent processing update in percentage, ie. 70.0%. * * Generated from protobuf field <code>double progress_percentage = 3;</code> * @param float $var * @return $this */ public function setProgressPercentage($var) { GPBUtil::checkDouble($var); $this->progress_percentage = $var; return $this; } }
Save
Cancel