How to transfer p4runtime meter into to p4info meter?

MeterEntry in https://github.com/p4lang/p4runtime/blob/main/proto/p4/v1/p4runtime.proto
does not have meter type specified
but Meter in https://github.com/p4lang/p4runtime/blob/main/proto/p4/config/v1/p4info.proto
has the MeterSpec to define the meter type

so how to mapping a p4runtime DirectMeter/Indirect Meter entry to P4info DirectMeter/IndirectMeter entry?