O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Complete Introduction to Protocol Buffers 3

Video Description

Learn Google Protobuf with examples and exercises. Write code in Java. Say goodbye to JSON and XML

About This Video

  • Learning and getting hands-on on Protocol Buffers helps you to enhance your career opportunities and helps to boost your income.
  • The author shares all his Data knowledge on the platform, taking the time to explain every concept and provide students with both theoretical and practical dimensions.

In Detail

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 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 languages such as Java, Python and Go. Protocol Buffers generates all the boilerplate code for you! 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!

Downloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Chapter 1 : Course Introduction
    1. The need for Protocol Buffers 00:05:24
    2. How are Protocol Buffers used? 00:02:31
    3. Course Structure 00:03:07
  2. Chapter 2 : Protocol Buffers Basics I
    1. First Message 00:01:54
    2. Scalar Types 00:04:11
    3. Tags 00:01:32
    4. Repeated Fields 00:01:21
    5. Comments 00:03:01
    6. Default Values for Fields 00:00:56
    7. Enumerations (Enums) 00:02:51
    8. Solution to Practice Exercises I 00:04:30
  3. Chapter 3 : Protocol Buffers Basics II
    1. Defining Multiple Messages in the Same File 00:01:59
    2. Nesting Messages 00:02:28
    3. Imports 00:02:33
    4. Packages 00:02:09
    5. Solution to Practice Exercises IIZ 00:03:53
  4. Chapter 4 : Setting up Protoc Compiler
    1. Use `protoc` to generate code in any language 00:04:59
  5. Chapter 5 : Java Programming with Protocol Buffers
    1. Gradle Project Setup & Code Generation 00:12:06
    2. Simple Message Creation in Java 00:11:48
    3. Dealing with Enums in Java 00:04:42
    4. Creating a Complex Message in Java 00:07:31
    5. Java Options 00:02:40
    6. Conversion to JSON in Java 00:05:09
  6. Chapter 6 : Golang Programming with Protocol Buffers
    1. Code generation in Golang 00:05:21
    2. Simple Proto Struct in Golang 00:03:50
    3. go_package option 00:01:56
    4. Reading and Writing to Disk 00:09:07
    5. Reading and Writing to JSON 00:06:39
    6. Enum Proto Struct in Golang 00:04:12
    7. Complex Proto Struct in Golang 00:04:58
  7. Chapter 7 : Data Evolution with Protobuf
    1. The need for updating the protocol 00:02:19
    2. Rules for Data Evolution 00:01:25
    3. Adding Fields 00:01:38
    4. Renaming Fields 00:00:35
    5. Removing Fields 00:02:10
    6. Reserved Keyword 00:01:19
    7. Beware of Defaults 00:02:01
    8. Evolving Enum Fields 00:01:41
  8. Chapter 8 : Protocol Buffers Advanced
    1. Integer Types Deep Dive 00:03:58
    2. Advanced Data Types (oneof, map, Timestamp and Duration) 00:04:05
    3. Protocol Buffers Options 00:01:14
    4. Naming Conventions 00:01:35
    5. Services 00:03:24
    6. Introduction to gRPC 00:08:07
    7. Protocol Buffers Internals 00:08:50
  9. Chapter 9 : Next Steps
    1. What's next & Congratulations! 00:00:53