roll: pigweed pw_protobuf: Force use of callbacks for oneof

pw_protobuf's message structures previously generated each of the
members of a oneof group as a separate struct member, allowing multiple
of them to be set to serialize semantically-invalid wire messages.

This replaces oneof struct member generation with a single callback for
the entire oneof group, allowing the user to encode/decode the desired
oneof field using the wire stream encoder and decoder.

Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/236592
Original-Revision: 53d4032b027055342c7321bef95e8a23e805c74c

Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: 064c7681ce438b..53d4032b027055
Roll-Count: 1
Roller-URL: https://ci.chromium.org/b/8734069246783155761
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I9e489f480faf8fe2a1b1170c85d4b13ca4e60eca
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/242060
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
1 file changed
tree: 337ed484b4c7f1c019449061d9ba465c49d880f0
  1. .github/
  2. .vscode/
  3. apps/
  4. device/
  5. modules/
  6. system/
  7. targets/
  8. tools/
  9. web_app/
  10. .bazelignore
  11. .bazelrc
  12. .bazelversion
  13. .buildifier.json
  14. .clang-format
  15. .clangd.shared
  16. .gitignore
  17. .pw_console.yaml
  18. AUTHORS
  19. BUILD.bazel
  20. CONTRIBUTING.md
  21. LICENSE
  22. MODULE.bazel
  23. MODULE.bazel.lock
  24. OWNERS
  25. pigweed.json
  26. README.md
README.md

Sense

git clone https://pigweed.googlesource.com/pigweed/showcase/sense

Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.

Please visit Sense: An interactive tour through Pigweed to get started.