Protobuf: Binary and ProtoJSON Schema Evolution

Protobuf: Binary and ProtoJSON Schema Evolution

Choose one answer. All questions are included, with explanations after checking. No time limit. Training target: 24/30. Thirty diagnostic cases on proto3 schema changes: field identity, unknown-field relays, ProtoJSON names, numeric widening, presence, oneof, enums and collection shape. Distinguish parse success from preserved data and application compatibility. Not a complete Protobuf or gRPC course. Runtime-specific cases name Python; examples were checked with protobuf 7.36.2. Sources: https://protobuf.dev/programming-guides/proto3/ https://protobuf.dev/programming-guides/json/ https://protobuf.dev/programming-guides/field_presence/
1 of 30
A proto3 relay knows only int32 id = 1 and has parsed a binary message containing a newer string note = 2. It must copy the message before forwarding binary. Which copy preserves the unknown note with the current Python protobuf runtime?