Refactor protos to add package and license lines (#696)

Follow official protobuf style guide:

1. License header (if applicable)
2. File overview
3. Syntax
4. Package
5. Imports (sorted)
6. File options
7. Everything else

Internally we want a `package` line in every proto, and it's easier to
do add `package` lines to protos than to add them as exceptions.

License headers added the old files based on creation date.

protos in google/protobuf are not updated as they are copied from
protoc.

The proto file `unittest_nested_any.proto` was added #568. Since it's
not copied from protoc I moved it to test/protos.

Fixes #692
31 files changed
tree: cf2bd8832cbda3c3039a92d93762e4a51882043c
  1. .github/
  2. api_benchmark/
  3. protobuf/
  4. protobuf_benchmarks/
  5. protoc_plugin/
  6. query_benchmark/
  7. tool/
  8. .gitignore
  9. AUTHORS
  10. LICENSE
  11. mono_repo.yaml
  12. README.md
README.md

CI status

Protobuf support for Dart

Protocol Buffers (protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.

This repository is home to packages related to protobuf for Dart.

PackageDescriptionPublished Version
protobufA support library for the generated codepub package
protoc_pluginA Dart back-end for the protoc compilerpub package
api_benchmarkBenchmarking for various API calls
query_benchmarkBenchmark for encoding and decoding of a “real-world” protobuf