TextToSpeech/src/V1/SynthesizeSpeechRequest.php
public function setInput($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\TextToSpeech\V1\SynthesisInput::class);
        $this->input = $var;

        return $this;
    }
public function setInput($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\TextToSpeech\V1\SynthesisInput::class);
        $this->input = $var;

        return $this;
    }
public function setInput ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ TextToSpeech \ V1 \ SynthesisInput :: class ) ; $ this -> input = $ var ; return $ this ; }
Required. The Synthesizer requires either plain text or SSML as input.

Generated from protobuf field <code>.google.cloud.texttospeech.v1.SynthesisInput input = 1;</code>
@param \Google\Cloud\TextToSpeech\V1\SynthesisInput $var
@return $this
Required . The Synthesizer requires either plain text or SSML as input .