Dialogflow/src/V2/CreateContextRequest.php
public function setContext($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\Context::class);
        $this->context = $var;

        return $this;
    }
public function setContext($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\Context::class);
        $this->context = $var;

        return $this;
    }
public function setContext ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dialogflow \ V2 \ Context :: class ) ; $ this -> context = $ var ; return $ this ; }
Required. The context to create.

Generated from protobuf field <code>.google.cloud.dialogflow.v2.Context context = 2;</code>
@param \Google\Cloud\Dialogflow\V2\Context $var
@return $this
Required . The context to create .