Quiz
- For which use case is the Protobuf text format not the right fit?
- Sending data over the network.
- Debugging request/response payloads.
- Writing configuration files.
- What does Protobuf text format help with?
- Making Protobuf data editable and readable by humans.
- Making writing data faster by removing extra characters.
- Writing self-documenting data.
- All the above.
- What is true about maps in Protobuf?
- They are a completely separate concept from repeated fields.
- They are, in fact, just repeated fields of MapFieldEntry.
- They are related to oneofs.
- Why would we prefer to use the identifier value of an enum instead of the numerical one?
- I would not. The numerical value is faster to write.
- I would, but only because we cannot use identifiers in the Protobuf Text Format.
- Because it is more descriptive and does not require the reader to check the proto file.