Dialogflow/src/V2/CreateSessionEntityTypeRequest.php
public function setSessionEntityType($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\SessionEntityType::class);
        $this->session_entity_type = $var;

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

        return $this;
    }
public function setSessionEntityType ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dialogflow \ V2 \ SessionEntityType :: class ) ; $ this -> session_entity_type = $ var ; return $ this ; }
Required. The session entity type to create.

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