Top "Proto3" questions

Protocol Buffers - Google's data interchange format

Why required and optional is removed in Protocol Buffers 3

I'm recently using gRPC with proto3, and I've noticed that required and optional has been removed in new syntax. Would …

protocol-buffers grpc proto3
Check if a field has been set in protocol buffer 3

I am migrating a java application from protocol buffers 2 to protocol buffer 3. In proto 2 to check if a field is …

java protocol-buffers proto3
Why are there no custom default values in proto3?

The proto2 version of Protocol Buffers allows to specify default values for message elements: optional double scaling_factor = 3 [default = 1.0]; Why …

protocol-buffers proto3
golang protobuf remove omitempty tag from generated json tags

I am using google grpc with a json proxy. for some reason i need to remove the omitempty tags from …

go grpc protocol-buffers proto3
Protocol buffer3 and json

Protocol buffer v3 claims, that library is json friendly (https://developers.google.com/protocol-buffers/docs/proto3#json), but I cannot …

c++ json protocol-buffers proto3
Determine which 'oneof' proto3 field is set in C#

For the following Protocol Buffer message (proto3) how to I determine which type is set? There does not seem to …

c# protocol-buffers proto3
Exception handling in gRPC

I have a server written in Java and client written in PHP. How can client catch exception from server if …

protocol-buffers grpc proto3 grpc-java
How to mark rpc as deprecated

If I have a service like this: service MyService { rpc GetThings(GetThingsRequest) returns (GetThingsResponse); } How would I mark GetThings as …

protocol-buffers proto3
Protobuf backward compatibility and proto3 vs proto2

One of selling points of Protobuf was backward compatibility, i.e. developers can evolve format, and older clients can still …

protocol-buffers compatibility backwards-compatibility proto3
gRPC / Protobuf interface versioning

Let's say we use gRCP/Protobuf to connect many application. Those application are developped and released at their own team, …

protocol-buffers versioning grpc proto3