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

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

        return $this;
    }
public function setInteractionType ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Speech \ V1p1beta1 \ RecognitionMetadata_InteractionType :: class ) ; $ this -> interaction_type = $ var ; return $ this ; }
The use case most closely describing the audio content to be recognized.

Generated from protobuf field <code>.google.cloud.speech.v1p1beta1.RecognitionMetadata.InteractionType interaction_type = 1;</code>
@param int $var
@return $this
The use case most closely describing the audio content to be recognized .