Y
Hacker News
new
|
ask
|
show
|
jobs
by
UnluckySelf
701 days ago
But you can distinguish between default and unset: all optional fields have has_ method associated with them:
https://protobuf.dev/reference/cpp/cpp-generated/#fields