<?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; /** * The message returned to the client by the `ListVoices` method. * * Generated from protobuf message <code>google.cloud.texttospeech.v1.ListVoicesResponse</code> */ class ListVoicesResponse extends \Google\Protobuf\Internal\Message { /** * The list of voices. * * Generated from protobuf field <code>repeated .google.cloud.texttospeech.v1.Voice voices = 1;</code> */ private $voices; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Google\Cloud\TextToSpeech\V1\Voice[]|\Google\Protobuf\Internal\RepeatedField $voices * The list of voices. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Cloud\Texttospeech\V1\CloudTts::initOnce(); parent::__construct($data); } /** * The list of voices. * * Generated from protobuf field <code>repeated .google.cloud.texttospeech.v1.Voice voices = 1;</code> * @return \Google\Protobuf\Internal\RepeatedField */ public function getVoices() { return $this->voices; } /** * The list of voices. * * Generated from protobuf field <code>repeated .google.cloud.texttospeech.v1.Voice voices = 1;</code> * @param \Google\Cloud\TextToSpeech\V1\Voice[]|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setVoices($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\TextToSpeech\V1\Voice::class); $this->voices = $arr; return $this; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Gapic | Folder | 0755 |
|
|
resources | Folder | 0755 |
|
|
AudioConfig.php | File | 13.02 KB | 0644 |
|
AudioEncoding.php | File | 2.2 KB | 0644 |
|
ListVoicesRequest.php | File | 3.7 KB | 0644 |
|
ListVoicesResponse.php | File | 1.91 KB | 0644 |
|
README.md | File | 821 B | 0644 |
|
SsmlVoiceGender.php | File | 2.1 KB | 0644 |
|
SynthesisInput.php | File | 3.03 KB | 0644 |
|
SynthesizeSpeechRequest.php | File | 4.34 KB | 0644 |
|
SynthesizeSpeechResponse.php | File | 2.62 KB | 0644 |
|
TextToSpeechClient.php | File | 1.18 KB | 0644 |
|
TextToSpeechGrpcClient.php | File | 2.33 KB | 0644 |
|
Voice.php | File | 5.17 KB | 0644 |
|
VoiceSelectionParams.php | File | 8.36 KB | 0644 |
|