*Required* The audio data to be recognized.

Generated from protobuf field <code>.google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2;</code>
@param \Google\Cloud\Speech\V1p1beta1\RecognitionAudio $var
@return $this
507477
public function setAudio($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Speech\V1p1beta1\RecognitionAudio::class);
        $this->audio = $var;

        return $this;
    }
177549
public function setAudioConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\TextToSpeech\V1\AudioConfig::class);
        $this->audio_config = $var;

        return $this;
    }
127817
public function setMatchMode($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\Agent_MatchMode::class);
        $this->match_mode = $var;

        return $this;
    }
626165
public function setWebDetection($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Vision\V1\WebDetection::class);
        $this->web_detection = $var;

        return $this;
    }
109500
public function setTag($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Language\V1beta2\PartOfSpeech_Tag::class);
        $this->tag = $var;

        return $this;
    }
1099224
public function setForm($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Language\V1beta2\PartOfSpeech_Form::class);
        $this->form = $var;

        return $this;
    }
193038
public function setMood($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Language\V1\PartOfSpeech_Mood::class);
        $this->mood = $var;

        return $this;
    }
260625
public function setDevices($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Iot\V1\Device::class);
        $this->devices = $arr;

        return $this;
    }
26510
public function setFeatures($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\VideoIntelligence\V1\Feature::class);
        $this->features = $arr;

        return $this;
    }
1263680
public function setEndpointerType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Speech\V1beta1\StreamingRecognizeResponse_EndpointerType::class);
        $this->endpointer_type = $var;

        return $this;
    }
1353462
public function setMicrophoneDistance($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Speech\V1p1beta1\RecognitionMetadata_MicrophoneDistance::class);
        $this->microphone_distance = $var;

        return $this;
    }
1221960
public function setSsmlGender($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\TextToSpeech\V1\SsmlVoiceGender::class);
        $this->ssml_gender = $var;

        return $this;
    }
643153
public function setHeadwearLikelihood($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Vision\V1\Likelihood::class);
        $this->headwear_likelihood = $var;

        return $this;
    }
624884
public function setOneofs($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->oneofs = $arr;

        return $this;
    }
534635
public function setContext($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\Context::class);
        $this->context = $var;

        return $this;
    }
319906
public function setEncodingType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Language\V1\EncodingType::class);
        $this->encoding_type = $var;

        return $this;
    }
1372422
public function setDescription($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Debugger\V2\FormatMessage::class);
        $this->description = $var;

        return $this;
    }