We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Protobuf 3.15 (Feb 18, 2021) introduced optional messages to know if a message value was set or not.
Example from: https://stackoverflow.com/a/62566052/12619313
syntax = "proto3"; message Foo { int32 bar = 1; optional int32 baz = 2; }
A has_baz()/hasBaz() method is generated for the optional field above, just as it was in proto2.
has_baz()
hasBaz()
This is useful for example if you want to display imported 3d OpenStreetMap data that only sometimes contains height data.
message Vec3 { float x = 1; optional float y = 2; // Godot UP float z = 3; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Protobuf 3.15 (Feb 18, 2021) introduced optional messages to know if a message value was set or not.
Example from: https://stackoverflow.com/a/62566052/12619313
This is useful for example if you want to display imported 3d OpenStreetMap data that only sometimes contains height data.
The text was updated successfully, but these errors were encountered: