Dialogflow/src/V2/CreateIntentRequest.php
public function setIntentView($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\IntentView::class);
        $this->intent_view = $var;

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

        return $this;
    }
public function setIntentView ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Dialogflow \ V2 \ IntentView :: class ) ; $ this -> intent_view = $ var ; return $ this ; }
Optional. The resource view to apply to the returned intent.

Generated from protobuf field <code>.google.cloud.dialogflow.v2.IntentView intent_view = 4;</code>
@param int $var
@return $this
Optional . The resource view to apply to the returned intent .