Protobuf - Constructs



Let us now look at a few basic data structures and data types which Google Protobuf provides. We will look at these data structures using an example of a Movie theater.

Note that for this structure while we will be using Java code, using them in Python code should also be equally simple and possible.

In the next few chapters, we will discuss the following Protobuf data types one by one −

  • Protobuf Class/Member
  • Protobuf Strings
  • Protobuf Numbers
  • Protobuf Boolean
  • Protobuf Enum
  • Protobuf List/Repeated
  • Protobuf Map
  • Protobuf Nested Class
Advertisements