Complete Guide to Protocol Buffers 3 [Java, Golang, Python]
4.7 (1,296 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
7,831 students enrolled

Complete Guide to Protocol Buffers 3 [Java, Golang, Python]

Google Protobuf with examples and exercises. Code in Java Go Python. Say Goodbye to JSON & XML. Pre-req to gRPC
Bestseller
4.7 (1,296 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
7,831 students enrolled
Current price: $12.99 Original price: $99.99 Discount: 87% off
6 days left at this price!
30-Day Money-Back Guarantee
This course includes
  • 3.5 hours on-demand video
  • 17 articles
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Write simple and complex .proto files
  • Practice Exercises to Confirm the Learnings
  • Leverage Imports and Packages appropriately
  • Generate Code using `protoc` in any language
  • Code in Java with Protocol Buffers
  • Understand how Data Evolution works for Protobuf
  • Learn about advanced Protocol Buffers concepts
Course content
Expand all 69 lectures 03:38:15
+ Code Download & VSCode Setup
2 lectures 00:41
Code Download
00:14
VSCode Setup (optional)
00:26
+ Protocol Buffers Basics I
9 lectures 20:29
Scalar Types
04:10
Tags
01:32
Repeated Fields
01:20
Comments
03:00
Default Values for Fields
00:56
Enumerations (Enums)
02:50
Practice Exercises I
00:17
Solution to Practice Exercises I
04:30
+ Protocol Buffers Basics II
6 lectures 13:18
Defining Multiple Messages in the Same File
01:59
Nesting Messages
02:28
Imports
02:33
Packages
02:09
Practice Exercise II
00:16
Solution to Practice Exercises II
03:53
+ Setting up Protoc Compiler
3 lectures 05:59
Setup Protoc Compiler
00:50
Use `protoc` to generate code in any language
04:58
Practice Using `protoc`
00:11
+ Java Programming with Protocol Buffers
9 lectures 45:41
Setup & Code Download in Java
00:13
Gradle Project Setup & Code Generation
12:05
Simple Message Creation in Java
11:47
Dealing with Enums in Java
04:41
Creating a Complex Message in Java
07:30
Java Options
03:39
Conversion to JSON in Java
05:09
Practice Exercise Java (self-guided)
00:11
What about Maven?
00:24
+ Golang Programming with Protocol Buffers
10 lectures 37:36
Setup & Code Download in Golang
00:18
Code generation in Golang
05:21
Simple Proto Struct in Golang
03:50
go_package option
01:55
Reading and Writing to Disk
09:07
Reading and Writing to JSON
06:38
Enum Proto Struct in Golang
04:12
Complex Proto Struct in Golang
04:58
Practice Exercise Golang (self-guided)
00:12
GoGo Protobuf as an Alternative
01:04
+ Python Programming with Protocol Buffers
6 lectures 33:05
Setup & Code Download in Python
00:16
Code generation in Python
07:11
Simple Proto Message in Python
09:11
Enum Proto Message in Python
06:23
Complex Proto Message in Python
09:53
Practice Exercise Python (self-guided)
00:11
+ Data Evolution with Protobuf
8 lectures 13:03
The need for updating the protocol
02:18
Rules for Data Evolution
01:24
Adding Fields
01:37
Renaming Fields
00:35
Removing Fields
02:09
Reserved Keyword
01:19
Beware of Defaults
02:00
Evolving Enum Fields
01:41
+ Protocol Buffers Advanced
8 lectures 32:05
Integer Types Deep Dive
03:58
Advanced Data Types (oneof, map, Timestamp and Duration)
04:05
Protocol Buffers Options
01:13
Naming Conventions
01:35
Uber style guiding
00:07
Services
03:23
Introduction to gRPC (from gRPC Course)
08:06
Protocol Buffers Internals
09:38
Requirements
  • Some programming background (Java, Python or Go for example)
  • Previous experience with other formats such as XML or JSON is preferred
Description

Protocol Buffers (protobuf) is a fundamental data serialization format that every Data Engineer should know about. It is leveraged by many top tech companies such as Google and enables micro-services to transfer data in a format that is safe and efficient. 

In this course, we are going to explore in depth, with hands-on lectures, all the aspects of Protocol Buffers 3. 

In just a few hours, you will know everything you need to know to create simple and complex .proto files, and write code in your Favourite Programming language such as Java, Python and Go. Protocol Buffers generates all the boilerplate code for you!

Stop using XML and JSON and start using a Data Format that will allow you to create the most efficient APIs. 

---------------------------------

Complete Guide to Protocol Buffers 3 is the best way to get a great overview of all the possibilities offered by Protocol Buffers

> Write simple and complex .proto files
> Practice Exercises to Confirm the learnings
> Leverage Imports and Packages appropriately
> Generate Code using `protoc`
> Code in Java with Protocol Buffers
> Learn about advanced Protocol Buffers concepts

Note: This course assumes you have some knowledge about Programming and JSON / XML

Instructor

Stephane Maarek is the instructor of this course. He is the author of highly successful courses such as Apache Kafka Series and AWS Series. He is passionate about micro-services and data. He has already taught to 40000+ students and received 12000+ reviews.

He shares all his Data knowledge on the platform, taking the time to explain every concept and provide students with both theoretical and practical dimensions. You are in good hands!

Section outline:

  • Protocol Buffers Course Introduction: Get an understand of the course objectives, how the course is structured, download the course code and get ready!

  • Protocol Buffers Basics I: Learn how to create your first messages using Scalar Types. Practice with 5 exercises

  • Protocol Buffers Basics II: Learn how to create complex messages, and organise your code in different files and packages. Practice with 4 exercises

  • Setting up Protoc Compiler: Setup the protoc compiler and learn how to generate code in any language

  • Java Programming with Protocol Buffers: Write your Protocol Buffers Data in Java

  • Golang Programming with Protocol Buffers: Write your Protocol Buffers Data in Golang

  • Data Evolution with Protobuf: Evolve your protocol buffers file in a safe way in order to add or remove fields without breaking previous code

  • Protocol Buffers Advanced: Advanced Types in Protocol Buffers as well as Options, Integer Types, and an introduction to RPC Services with gRPC

This Course Also Comes With:

✔ Lifetime Access to All Future Updates

✔ A responsive instructor in the Q&A Section

✔ Links to interesting articles, and lots of good code to base your next template onto

✔ Udemy Certificate of Completion Ready for Download

✔ A 30 Day "No Questions Asked" Money Back Guarantee!

This is the course that could change your data skills.  

Learning and getting hands-on on Protocol Buffers helps you to enhance your career opportunities and helps to boost your income. An investment in your career is an investment in yourself.  Don’t procrastinate. There is no time like the present to take charge of your career. Take your career to the next level by learning Protocol Buffers today!

Take the course now, completely risk free !

Who this course is for:
  • Developers who want to understand how to write .proto files and write code to create Protocol Buffer data
  • Architects who want to understand how Protocol Buffers works and be useful for their solution archicture