Dialogflow/src/V2/OutputAudioConfig.php
public function setAudioEncoding($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\OutputAudioEncoding::class);
        $this->audio_encoding = $var;

        return $this;
    }
public function setAudioEncoding($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\OutputAudioEncoding::class);
        $this->audio_encoding = $var;

        return $this;
    }
public function setAudioEncoding ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Dialogflow \ V2 \ OutputAudioEncoding :: class ) ; $ this -> audio_encoding = $ var ; return $ this ; }
Required. Audio encoding of the synthesized audio content.

Generated from protobuf field <code>.google.cloud.dialogflow.v2.OutputAudioEncoding audio_encoding = 1;</code>
@param int $var
@return $this
Required . Audio encoding of the synthesized audio content .