Speech/src/V1/StreamingRecognizeRequest.php
public function setStreamingConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Speech\V1\StreamingRecognitionConfig::class);
        $this->writeOneof(1, $var);

        return $this;
    }
public function setStreamingConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Speech\V1\StreamingRecognitionConfig::class);
        $this->writeOneof(1, $var);

        return $this;
    }
public function setStreamingConfig ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Speech \ V1 \ StreamingRecognitionConfig :: class ) ; $ this -> writeOneof ( 1 , $ var ) ; return $ this ; }
Provides information to the recognizer that specifies how to process the
request. The first `StreamingRecognizeRequest` message must contain a
`streaming_config`  message.

Generated from protobuf field <code>.google.cloud.speech.v1.StreamingRecognitionConfig streaming_config = 1;</code>
@param \Google\Cloud\Speech\V1\StreamingRecognitionConfig $var
@return $this
Provides information to the recognizer that specifies how to process the request . The first StreamingRecognizeRequest message must contain a streaming_config message .