This repository was archived by the owner on Feb 24, 2026. It is now read-only.
Commit bcd7fc9
refactor: Json to proto message refactoring (#2085)
* refactor: Capitalize deep constants in JsonToProtoMessage and make them final
* refactor: Extract magic variables to constants
* refactor: Remove topLevel parameter from JsonToProtoMessage methods
* refactor: Remove unnecessary variables "message" from JsonToProtoMessage methods
* refactor: Remove unnecessary casts from JsonToProtoMessage methods and remove usage of soon deprecated (Java 9) Long constructor
* refactor: Remove unnecessary LOG field from JsonToProtoMessage
* refactor: Properly reference to static field INSTANCE in JsonToProtoMessage
* refactor: Use enhanced for in JsonToProtoMessage
* refactor: Use equalsIgnoreCase for JSON string boolean values in JsonToProtoMessage and use primitives for booleans
* refactor: Replace fail variable with failure extracted to method in JsonToProtoMessage repeated fields.
* refactor: Inline json scope variable and ignoreUnknownFields variable in JsonToProtoMessage
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>1 parent f3a65eb commit bcd7fc9
2 files changed
Lines changed: 59 additions & 79 deletions
File tree
- google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
0 commit comments