pub fn axis_to_proto(axis: PartitionAxis) -> PartitionAxis
Map a partition axis onto its wire enum value.