UWidgetComponent cannot set GeometryMode

I have a class MyActor , which has a UWidgetComponent attached to it and I want to set the GeometryModeand the CylinderArcAngle to some value.

According to the API documentation, there exist a UWidgetComponent::SetGeometryMode() as well as the UWidgetComponent::SetCylinderArcAngle() method. However looking at the actual C++ implementation these methods have been removed. GeometryMode, as well as the CylinderArcAngle are protected members of UWidgetComponent and can therefore not be accessed from my actor.

My question is now how can I set these values in C++?