Skip to content

HarshadRanganathan/protobuf-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

protobuf-examples

Pre-requisites

protoc

Code Generation

Run below commands to generate protobuf code in various languages based on the proto files defined inside messages directory.

Note: source/python & source/java directories should be created.

$ protoc --python_out=source/python  messages/*.proto
$ protoc --java_out=source/java  messages/*.proto

References

  • Protocol Buffers Udemy course by Stephane Maarek