public function setView($var)
    {
        GPBUtil::checkEnum($var, \Google\Iam\Admin\V1\RoleView::class);
        $this->view = $var;

        return $this;
    }
public function setView($var)
    {
        GPBUtil::checkEnum($var, \Google\Iam\Admin\V1\RoleView::class);
        $this->view = $var;

        return $this;
    }
public function setView ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Iam \ Admin \ V1 \ RoleView :: class ) ; $ this -> view = $ var ; return $ this ; }
Optional view for the returned Role objects.

Generated from protobuf field <code>.google.iam.admin.v1.RoleView view = 4;</code>
@param int $var
@return $this
Optional view for the returned Role objects .