404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.116.41.193: ~ $
<?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 top-level message sent by the client for the `ListVoices` method.
 *
 * Generated from protobuf message <code>google.cloud.texttospeech.v1.ListVoicesRequest</code>
 */
class ListVoicesRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Optional (but recommended)
     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
     * specified, the ListVoices call will only return voices that can be used to
     * synthesize this language_code. E.g. when specifying "en-NZ", you will get
     * supported "en-*" voices; when specifying "no", you will get supported
     * "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
     * will also get supported "cmn-*" voices; specifying "zh-hk" will also get
     * supported "yue-*" voices.
     *
     * Generated from protobuf field <code>string language_code = 1;</code>
     */
    private $language_code = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $language_code
     *           Optional (but recommended)
     *           [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
     *           specified, the ListVoices call will only return voices that can be used to
     *           synthesize this language_code. E.g. when specifying "en-NZ", you will get
     *           supported "en-*" voices; when specifying "no", you will get supported
     *           "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
     *           will also get supported "cmn-*" voices; specifying "zh-hk" will also get
     *           supported "yue-*" voices.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Texttospeech\V1\CloudTts::initOnce();
        parent::__construct($data);
    }

    /**
     * Optional (but recommended)
     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
     * specified, the ListVoices call will only return voices that can be used to
     * synthesize this language_code. E.g. when specifying "en-NZ", you will get
     * supported "en-*" voices; when specifying "no", you will get supported
     * "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
     * will also get supported "cmn-*" voices; specifying "zh-hk" will also get
     * supported "yue-*" voices.
     *
     * Generated from protobuf field <code>string language_code = 1;</code>
     * @return string
     */
    public function getLanguageCode()
    {
        return $this->language_code;
    }

    /**
     * Optional (but recommended)
     * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If
     * specified, the ListVoices call will only return voices that can be used to
     * synthesize this language_code. E.g. when specifying "en-NZ", you will get
     * supported "en-*" voices; when specifying "no", you will get supported
     * "no-*" (Norwegian) and "nb-*" (Norwegian Bokmal) voices; specifying "zh"
     * will also get supported "cmn-*" voices; specifying "zh-hk" will also get
     * supported "yue-*" voices.
     *
     * Generated from protobuf field <code>string language_code = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setLanguageCode($var)
    {
        GPBUtil::checkString($var, True);
        $this->language_code = $var;

        return $this;
    }

}


Filemanager

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