404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.144.40.81: ~ $
<?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 2755
resources Folder 2755
AudioConfig.php File 13.02 KB 0755
AudioEncoding.php File 2.2 KB 0755
ListVoicesRequest.php File 3.7 KB 0755
ListVoicesResponse.php File 1.91 KB 0755
README.md File 821 B 0755
SsmlVoiceGender.php File 2.1 KB 0755
SynthesisInput.php File 3.03 KB 0755
SynthesizeSpeechRequest.php File 4.34 KB 0755
SynthesizeSpeechResponse.php File 2.62 KB 0755
TextToSpeechClient.php File 1.18 KB 0755
TextToSpeechGrpcClient.php File 2.33 KB 0755
Voice.php File 5.17 KB 0755
VoiceSelectionParams.php File 8.36 KB 0755