Speech/src/V1p1beta1/RecognitionMetadata.php
public function setMicrophoneDistance($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Speech\V1p1beta1\RecognitionMetadata_MicrophoneDistance::class);
        $this->microphone_distance = $var;

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

        return $this;
    }
public function setMicrophoneDistance ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Speech \ V1p1beta1 \ RecognitionMetadata_MicrophoneDistance :: class ) ; $ this -> microphone_distance = $ var ; return $ this ; }
The audio type that most closely describes the audio being recognized.

Generated from protobuf field <code>.google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance microphone_distance = 4;</code>
@param int $var
@return $this
The audio type that most closely describes the audio being recognized .