The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
| Version | Location | Description | Submitted by | Date submitted |
|---|---|---|---|---|
| x | Hi, |
Anonymous | Aug 24, 2020 | |
| Other Digital Version | Example 2-5 message Product |
On the field definitions, price is not defined, but latter on the clients price is one of the field set (on the example code in github price is defined on the proto file) |
Adrian Gonzalez | Jul 19, 2023 |
| Chapter 2, section : Defining Messages Example code snippets |
Code snippets from example 2-1 and 2-2 should have been interchanged. |
Ashish Karhade | Jul 27, 2023 | |
| O'Reilly learning platform | Page Ch2, Generating client/server stubs Irvine |
The instructions for processing the .proto file are: |
Ken Hommel | Apr 24, 2024 |
| O'Reilly learning platform | Page Ch2, Generating client/server stubs Instructions for installing protoc Golang plug-in |
The given instructions for fetching the Go protoc plug-in are deprecated: |
Ken Hommel | Apr 24, 2024 |
| O'Reilly learning platform | Page Ch2, Generating client/server stubs protoc command line, 18% into the chapter |
The given command does not work. Besides the typo (reported previously), running the given "protoc" command produced various errors. With "--go_out=plugins=ecommerce", the error is: |
Ken Hommel | Apr 24, 2024 |
| Printed | Page Page 23 Example 2.5 |
The chapter and example do not discuss "option java_multiple_files" and its important to note that the examples coming after for example p33 and p34 depend on "option java_multiple_files=false;" in the .proto file. Looking at the Product and ProductID classes (they are final) I see they can't be subclassed but you also can't use ProductInfoOuterClass.Product (as in the book)... |
Mark Eastwood | Aug 19, 2025 |
| Printed, PDF, ePub | Page Chapter 2 Throughout the chapter |
A lot of people are reporting issues with the sample code. I made a few changes, posted them on github, and documented those changes on my blog. |
Steven | Jan 12, 2026 |
| Printed | Page 1 2 |
URL "https://oleil.ly/q6N1P" does not work. |
Anonymous | Mar 20, 2022 |