This repository was archived by the owner on May 14, 2026. It is now read-only.
Commit e456a80
authored
[ggj][codegen] feat: add Batching init to ServiceStubSettings.Builder ctor (#253)
* feat: add factory var decl in ServiceStubSettings codegen
* fix: prevent duplicate MethodDefinition annotations
* feat: add descriptor fields to ServiceStubSettings codegen
* feat: add starter Builder to ServiceStubSettings codegen
* feat: add settings.builder decls to ServiceStubSettings codegen
* feat: add first nested ctors to ServiceStubSettings codegen
* feat: add GapicServiceConfig DS and processing
* feat: integrate GapicServiceConfig into GapicContext, Parser, Composer
* feat: initial param block, RetrySettingsComposer, test
* fix!: refactor GapicRetrySettings
* fix: recognize 1. or .1 double patterns
* feat: support BlockStatement in ClassDef stmts
* feat: add params block to ServiceStubSettings codegen
* feat: add codes def to ServiceStubSettings codegen
* feat: add initDefaults() to ServiceStubSettings codegen
* feat: add LRO to ServiceStubSettings.Builder.initDefaults
* feat: add third ServiceStubSettings.Builder(settings) ctor
* feat: add createDefault() to ServiceStubSettings
* feat: add ServiceStubSettings.applyToAllUnaryMethods method
* feat: add ServiceStubSettings.unaryMethodSettingsBuilders()
* feat: add ServiceStubSettings.build()
* feat: add settingsBuilder getters in ServiceStubSettings
* feat: add gapic.yaml batching parsing
* feat: integrate batching with retry settings parsing
* fix: remove unused test proto imports
* fix: handle singleton resname patterns, name_field, add logging test
* fix: pass in logging grpc service config
* fix: pass in logging grpc service config
* test: add pubsub proto serviceStubSettings test
* feat: add BatchingCallSettings to ServiceStubSettings fields
* feat: add Batching init to ServiceStubSettings.Builder ctor1 parent dba91a1 commit e456a80
2 files changed
Lines changed: 75 additions & 22 deletions
File tree
- src
- main/java/com/google/api/generator/gapic/composer
- test/java/com/google/api/generator/gapic/composer
Lines changed: 65 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
1172 | 1173 | | |
1173 | 1174 | | |
1174 | 1175 | | |
1175 | | - | |
| 1176 | + | |
| 1177 | + | |
1176 | 1178 | | |
1177 | 1179 | | |
1178 | 1180 | | |
| |||
1234 | 1236 | | |
1235 | 1237 | | |
1236 | 1238 | | |
| 1239 | + | |
1237 | 1240 | | |
1238 | 1241 | | |
1239 | 1242 | | |
| |||
1298 | 1301 | | |
1299 | 1302 | | |
1300 | 1303 | | |
| 1304 | + | |
1301 | 1305 | | |
1302 | 1306 | | |
1303 | 1307 | | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
1304 | 1315 | | |
1305 | | - | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
1306 | 1365 | | |
1307 | 1366 | | |
1308 | | - | |
1309 | | - | |
1310 | | - | |
1311 | | - | |
1312 | | - | |
1313 | | - | |
1314 | | - | |
1315 | | - | |
1316 | | - | |
1317 | | - | |
| 1367 | + | |
1318 | 1368 | | |
1319 | 1369 | | |
1320 | | - | |
1321 | | - | |
1322 | | - | |
1323 | | - | |
1324 | | - | |
1325 | | - | |
| 1370 | + | |
1326 | 1371 | | |
1327 | | - | |
| 1372 | + | |
1328 | 1373 | | |
1329 | 1374 | | |
1330 | 1375 | | |
1331 | 1376 | | |
1332 | | - | |
| 1377 | + | |
1333 | 1378 | | |
1334 | 1379 | | |
1335 | 1380 | | |
| |||
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
| 684 | + | |
684 | 685 | | |
685 | 686 | | |
686 | 687 | | |
| |||
691 | 692 | | |
692 | 693 | | |
693 | 694 | | |
| 695 | + | |
694 | 696 | | |
695 | 697 | | |
696 | 698 | | |
| |||
1131 | 1133 | | |
1132 | 1134 | | |
1133 | 1135 | | |
1134 | | - | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
1135 | 1139 | | |
1136 | 1140 | | |
1137 | 1141 | | |
| |||
1270 | 1274 | | |
1271 | 1275 | | |
1272 | 1276 | | |
| 1277 | + | |
1273 | 1278 | | |
1274 | 1279 | | |
1275 | 1280 | | |
| |||
1280 | 1285 | | |
1281 | 1286 | | |
1282 | 1287 | | |
| 1288 | + | |
1283 | 1289 | | |
1284 | 1290 | | |
1285 | 1291 | | |
| |||
1783 | 1789 | | |
1784 | 1790 | | |
1785 | 1791 | | |
1786 | | - | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
1787 | 1795 | | |
1788 | 1796 | | |
1789 | 1797 | | |
| |||
0 commit comments