Proto commits in google/gson

These 25 commits are when the Protocol Buffers files have changed:

Commit:3621e51
Author:Andrew Szeto
Committer:GitHub

Allow reading `json_name` field option for proto serialization (#2701) * Change the parameters for the `getCustSerializedName(FieldDescriptor)` method In the other commits in this PR, I plan to introduce branching logic inside of the customization of the serialized name for fields. This change is a pure refactor that serves to isolate the business logic into a separate commit so as to make it easier to understand. * Allow reading `json_name` field option for proto serialization * Add tests for reading `json_name` field option * Add some metadata to Javadoc according to contributing guidelines * Remove @author annotation in Javadoc * Update branch based on PR feedback on GitHub * Update copyright year on test file

The documentation is generated from this commit.

Commit:49ddab9
Author:Marcono1234
Committer:GitHub

Add CodeQL GitHub code scanning workflow (#2076) * Add CodeQL GitHub code scanning workflow * Only compile main sources for code scanning * Move test .proto files to test sources `annotations.proto` also seems to be only relevant for tests because the test explicitly registers them as extensions. By default the Proto adapter does not consider them. * Address some code scanning findings * Fix some more findings

Commit:cc505e1
Author:Marcono1234
Committer:GitHub

Convert codegen, metrics and proto to Maven submodules (#2008) * Convert codegen, metrics and proto to Maven submodules * Fix import order

Commit:f0aa111
Author:Ori Schwartz
Committer:inder123

Java protobuf uses lower camel for all field names. When using reflection to find the generic type of repeated fields, can't use the user specified formats for field name conversion. (#1119)

Commit:b395da2
Author:Emmanuel Cron

Better javadoc

Commit:339c783
Author:Emmanuel Cron

Updated the ProtoTypeAdapter to a version that works smoothly and supports field name/value customization. - Lets you customize the proto field name serialization per field - Lets you use different cases for serialization (e.g. you could use UpperCamelCase for your proto field names and willing to serialize them using LowerHyphen) - Lets you choose to serialize enum values with their value (0, 1, 2, ...) instead of their name.

Commit:2b1c614
Author:inder123

[maven-release-plugin] copy for tag gson-2.3.1

This commit does not contain any .proto files.

Commit:0eaa8d1
Author:inder123

[maven-release-plugin] copy for tag gson-2.3

This commit does not contain any .proto files.

Commit:ca40a33
Author:joel.leitch@gmail.com

[maven-release-plugin] copy for tag gson-2.2.4

This commit does not contain any .proto files.

Commit:d260faf
Author:inder123

[maven-release-plugin] copy for tag gson-2.2.3

This commit does not contain any .proto files.

Commit:c506fa7
Author:inder123

[maven-release-plugin] copy for tag gson-2.2.2

This commit does not contain any .proto files.

Commit:08bbb9c
Author:inder123

[maven-release-plugin] copy for tag gson-2.2.1

This commit does not contain any .proto files.

Commit:8eaf0c2
Author:inder123

[maven-release-plugin] copy for tag gson-2.2

This commit does not contain any .proto files.

Commit:30245b8
Author:inder123

[maven-release-plugin] copy for tag gson-2.1

This commit does not contain any .proto files.

Commit:22ee563
Author:joel.leitch@gmail.com

[maven-release-plugin] copy for tag gson-2.0

This commit does not contain any .proto files.

Commit:16e1ab8
Author:limpbizkit

GSON 1.7.2 is equal to GSON 1.7.1 with a fix for issue 354 (as r854).

This commit does not contain any .proto files.

Commit:01c9b20
Author:inder123

[maven-release-plugin] copy for tag gson-1.7.1

This commit does not contain any .proto files.

Commit:7bc308c
Author:joel.leitch

Release 1.7

This commit does not contain any .proto files.

Commit:a33f40b
Author:limpbizkit

Release 1.6

This commit does not contain any .proto files.

Commit:2d73673
Author:Inderjeet Singh

Added additional functional tests involving complex protocol buffers, and protos with repeated fields. Moved all the functional tests under a functional package.

Commit:8cd2bcd
Author:inder123

Added additional functional tests involving complex protocol buffers, and protos with repeated fields. Moved all the functional tests under a functional package.

Commit:546b195
Author:inder123

Added a type adapter for serializing and deserializing protobufs

Commit:6feb325
Author:Inderjeet Singh

Added a type adapter for serializing and deserializing protobufs

Commit:9b0e7f8
Author:Inderjeet Singh

initial check-in for implementing support for protocol buffers in Gson

Commit:e9b6753
Author:inder123

initial check-in for implementing support for protocol buffers in Gson