I'm not sure this is the right place to post bugs/inconsistencies but maybe it is.
In processing framework "labels" like LABEL_BODY_HAND_PRIMARY are public static int, so user can address them like PXCMGesture.GeoNode.LABEL_BODY_HAND_PRIMARY. But all gesture labels (LABEL_POSE_PEACE, LABEL_NAV_SWIPE_RIGHT, etc...) are just public int, so user have to
PXCMGesture.Gesture gdata=new PXCMGesture.Gesture();
and then use gdata.LABEL_NAV_SWIPE_RIGHT
and that is different from all other labels (and can't be used in Switch statement)