@google-cloud/pubsub 4.1.1 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -193,7 +193,17 @@
193
193
  "allowedPersistenceRegions": {
194
194
  "rule": "repeated",
195
195
  "type": "string",
196
- "id": 1
196
+ "id": 1,
197
+ "options": {
198
+ "(google.api.field_behavior)": "OPTIONAL"
199
+ }
200
+ },
201
+ "enforceInTransit": {
202
+ "type": "bool",
203
+ "id": 2,
204
+ "options": {
205
+ "(google.api.field_behavior)": "OPTIONAL"
206
+ }
197
207
  }
198
208
  }
199
209
  },
@@ -209,15 +219,95 @@
209
219
  },
210
220
  "encoding": {
211
221
  "type": "Encoding",
212
- "id": 2
222
+ "id": 2,
223
+ "options": {
224
+ "(google.api.field_behavior)": "OPTIONAL"
225
+ }
213
226
  },
214
227
  "firstRevisionId": {
215
228
  "type": "string",
216
- "id": 3
229
+ "id": 3,
230
+ "options": {
231
+ "(google.api.field_behavior)": "OPTIONAL"
232
+ }
217
233
  },
218
234
  "lastRevisionId": {
219
235
  "type": "string",
220
- "id": 4
236
+ "id": 4,
237
+ "options": {
238
+ "(google.api.field_behavior)": "OPTIONAL"
239
+ }
240
+ }
241
+ }
242
+ },
243
+ "IngestionDataSourceSettings": {
244
+ "oneofs": {
245
+ "source": {
246
+ "oneof": [
247
+ "awsKinesis"
248
+ ]
249
+ }
250
+ },
251
+ "fields": {
252
+ "awsKinesis": {
253
+ "type": "AwsKinesis",
254
+ "id": 1,
255
+ "options": {
256
+ "(google.api.field_behavior)": "OPTIONAL"
257
+ }
258
+ }
259
+ },
260
+ "nested": {
261
+ "AwsKinesis": {
262
+ "fields": {
263
+ "state": {
264
+ "type": "State",
265
+ "id": 1,
266
+ "options": {
267
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
268
+ }
269
+ },
270
+ "streamArn": {
271
+ "type": "string",
272
+ "id": 2,
273
+ "options": {
274
+ "(google.api.field_behavior)": "REQUIRED"
275
+ }
276
+ },
277
+ "consumerArn": {
278
+ "type": "string",
279
+ "id": 3,
280
+ "options": {
281
+ "(google.api.field_behavior)": "REQUIRED"
282
+ }
283
+ },
284
+ "awsRoleArn": {
285
+ "type": "string",
286
+ "id": 4,
287
+ "options": {
288
+ "(google.api.field_behavior)": "REQUIRED"
289
+ }
290
+ },
291
+ "gcpServiceAccount": {
292
+ "type": "string",
293
+ "id": 5,
294
+ "options": {
295
+ "(google.api.field_behavior)": "REQUIRED"
296
+ }
297
+ }
298
+ },
299
+ "nested": {
300
+ "State": {
301
+ "values": {
302
+ "STATE_UNSPECIFIED": 0,
303
+ "ACTIVE": 1,
304
+ "KINESIS_PERMISSION_DENIED": 2,
305
+ "PUBLISH_PERMISSION_DENIED": 3,
306
+ "STREAM_NOT_FOUND": 4,
307
+ "CONSUMER_NOT_FOUND": 5
308
+ }
309
+ }
310
+ }
221
311
  }
222
312
  }
223
313
  },
@@ -237,27 +327,68 @@
237
327
  "labels": {
238
328
  "keyType": "string",
239
329
  "type": "string",
240
- "id": 2
330
+ "id": 2,
331
+ "options": {
332
+ "(google.api.field_behavior)": "OPTIONAL"
333
+ }
241
334
  },
242
335
  "messageStoragePolicy": {
243
336
  "type": "MessageStoragePolicy",
244
- "id": 3
337
+ "id": 3,
338
+ "options": {
339
+ "(google.api.field_behavior)": "OPTIONAL"
340
+ }
245
341
  },
246
342
  "kmsKeyName": {
247
343
  "type": "string",
248
- "id": 5
344
+ "id": 5,
345
+ "options": {
346
+ "(google.api.field_behavior)": "OPTIONAL"
347
+ }
249
348
  },
250
349
  "schemaSettings": {
251
350
  "type": "SchemaSettings",
252
- "id": 6
351
+ "id": 6,
352
+ "options": {
353
+ "(google.api.field_behavior)": "OPTIONAL"
354
+ }
253
355
  },
254
356
  "satisfiesPzs": {
255
357
  "type": "bool",
256
- "id": 7
358
+ "id": 7,
359
+ "options": {
360
+ "(google.api.field_behavior)": "OPTIONAL"
361
+ }
257
362
  },
258
363
  "messageRetentionDuration": {
259
364
  "type": "google.protobuf.Duration",
260
- "id": 8
365
+ "id": 8,
366
+ "options": {
367
+ "(google.api.field_behavior)": "OPTIONAL"
368
+ }
369
+ },
370
+ "state": {
371
+ "type": "State",
372
+ "id": 9,
373
+ "options": {
374
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
375
+ }
376
+ },
377
+ "ingestionDataSourceSettings": {
378
+ "type": "IngestionDataSourceSettings",
379
+ "id": 10,
380
+ "options": {
381
+ "(google.api.field_behavior)": "OPTIONAL"
382
+ }
383
+ }
384
+ },
385
+ "nested": {
386
+ "State": {
387
+ "values": {
388
+ "STATE_UNSPECIFIED": 0,
389
+ "ACTIVE": 1,
390
+ "INGESTION_RESOURCE_ERROR": 2
391
+ }
261
392
  }
262
393
  }
263
394
  },
@@ -265,12 +396,18 @@
265
396
  "fields": {
266
397
  "data": {
267
398
  "type": "bytes",
268
- "id": 1
399
+ "id": 1,
400
+ "options": {
401
+ "(google.api.field_behavior)": "OPTIONAL"
402
+ }
269
403
  },
270
404
  "attributes": {
271
405
  "keyType": "string",
272
406
  "type": "string",
273
- "id": 2
407
+ "id": 2,
408
+ "options": {
409
+ "(google.api.field_behavior)": "OPTIONAL"
410
+ }
274
411
  },
275
412
  "messageId": {
276
413
  "type": "string",
@@ -282,7 +419,10 @@
282
419
  },
283
420
  "orderingKey": {
284
421
  "type": "string",
285
- "id": 5
422
+ "id": 5,
423
+ "options": {
424
+ "(google.api.field_behavior)": "OPTIONAL"
425
+ }
286
426
  }
287
427
  }
288
428
  },
@@ -341,7 +481,10 @@
341
481
  "messageIds": {
342
482
  "rule": "repeated",
343
483
  "type": "string",
344
- "id": 1
484
+ "id": 1,
485
+ "options": {
486
+ "(google.api.field_behavior)": "OPTIONAL"
487
+ }
345
488
  }
346
489
  }
347
490
  },
@@ -357,11 +500,17 @@
357
500
  },
358
501
  "pageSize": {
359
502
  "type": "int32",
360
- "id": 2
503
+ "id": 2,
504
+ "options": {
505
+ "(google.api.field_behavior)": "OPTIONAL"
506
+ }
361
507
  },
362
508
  "pageToken": {
363
509
  "type": "string",
364
- "id": 3
510
+ "id": 3,
511
+ "options": {
512
+ "(google.api.field_behavior)": "OPTIONAL"
513
+ }
365
514
  }
366
515
  }
367
516
  },
@@ -370,11 +519,17 @@
370
519
  "topics": {
371
520
  "rule": "repeated",
372
521
  "type": "Topic",
373
- "id": 1
522
+ "id": 1,
523
+ "options": {
524
+ "(google.api.field_behavior)": "OPTIONAL"
525
+ }
374
526
  },
375
527
  "nextPageToken": {
376
528
  "type": "string",
377
- "id": 2
529
+ "id": 2,
530
+ "options": {
531
+ "(google.api.field_behavior)": "OPTIONAL"
532
+ }
378
533
  }
379
534
  }
380
535
  },
@@ -390,11 +545,17 @@
390
545
  },
391
546
  "pageSize": {
392
547
  "type": "int32",
393
- "id": 2
548
+ "id": 2,
549
+ "options": {
550
+ "(google.api.field_behavior)": "OPTIONAL"
551
+ }
394
552
  },
395
553
  "pageToken": {
396
554
  "type": "string",
397
- "id": 3
555
+ "id": 3,
556
+ "options": {
557
+ "(google.api.field_behavior)": "OPTIONAL"
558
+ }
398
559
  }
399
560
  }
400
561
  },
@@ -405,12 +566,16 @@
405
566
  "type": "string",
406
567
  "id": 1,
407
568
  "options": {
569
+ "(google.api.field_behavior)": "OPTIONAL",
408
570
  "(google.api.resource_reference).type": "pubsub.googleapis.com/Subscription"
409
571
  }
410
572
  },
411
573
  "nextPageToken": {
412
574
  "type": "string",
413
- "id": 2
575
+ "id": 2,
576
+ "options": {
577
+ "(google.api.field_behavior)": "OPTIONAL"
578
+ }
414
579
  }
415
580
  }
416
581
  },
@@ -426,11 +591,17 @@
426
591
  },
427
592
  "pageSize": {
428
593
  "type": "int32",
429
- "id": 2
594
+ "id": 2,
595
+ "options": {
596
+ "(google.api.field_behavior)": "OPTIONAL"
597
+ }
430
598
  },
431
599
  "pageToken": {
432
600
  "type": "string",
433
- "id": 3
601
+ "id": 3,
602
+ "options": {
603
+ "(google.api.field_behavior)": "OPTIONAL"
604
+ }
434
605
  }
435
606
  }
436
607
  },
@@ -439,11 +610,17 @@
439
610
  "snapshots": {
440
611
  "rule": "repeated",
441
612
  "type": "string",
442
- "id": 1
613
+ "id": 1,
614
+ "options": {
615
+ "(google.api.field_behavior)": "OPTIONAL"
616
+ }
443
617
  },
444
618
  "nextPageToken": {
445
619
  "type": "string",
446
- "id": 2
620
+ "id": 2,
621
+ "options": {
622
+ "(google.api.field_behavior)": "OPTIONAL"
623
+ }
447
624
  }
448
625
  }
449
626
  },
@@ -798,60 +975,102 @@
798
975
  },
799
976
  "pushConfig": {
800
977
  "type": "PushConfig",
801
- "id": 4
978
+ "id": 4,
979
+ "options": {
980
+ "(google.api.field_behavior)": "OPTIONAL"
981
+ }
802
982
  },
803
983
  "bigqueryConfig": {
804
984
  "type": "BigQueryConfig",
805
- "id": 18
985
+ "id": 18,
986
+ "options": {
987
+ "(google.api.field_behavior)": "OPTIONAL"
988
+ }
806
989
  },
807
990
  "cloudStorageConfig": {
808
991
  "type": "CloudStorageConfig",
809
- "id": 22
992
+ "id": 22,
993
+ "options": {
994
+ "(google.api.field_behavior)": "OPTIONAL"
995
+ }
810
996
  },
811
997
  "ackDeadlineSeconds": {
812
998
  "type": "int32",
813
- "id": 5
999
+ "id": 5,
1000
+ "options": {
1001
+ "(google.api.field_behavior)": "OPTIONAL"
1002
+ }
814
1003
  },
815
1004
  "retainAckedMessages": {
816
1005
  "type": "bool",
817
- "id": 7
1006
+ "id": 7,
1007
+ "options": {
1008
+ "(google.api.field_behavior)": "OPTIONAL"
1009
+ }
818
1010
  },
819
1011
  "messageRetentionDuration": {
820
1012
  "type": "google.protobuf.Duration",
821
- "id": 8
1013
+ "id": 8,
1014
+ "options": {
1015
+ "(google.api.field_behavior)": "OPTIONAL"
1016
+ }
822
1017
  },
823
1018
  "labels": {
824
1019
  "keyType": "string",
825
1020
  "type": "string",
826
- "id": 9
1021
+ "id": 9,
1022
+ "options": {
1023
+ "(google.api.field_behavior)": "OPTIONAL"
1024
+ }
827
1025
  },
828
1026
  "enableMessageOrdering": {
829
1027
  "type": "bool",
830
- "id": 10
1028
+ "id": 10,
1029
+ "options": {
1030
+ "(google.api.field_behavior)": "OPTIONAL"
1031
+ }
831
1032
  },
832
1033
  "expirationPolicy": {
833
1034
  "type": "ExpirationPolicy",
834
- "id": 11
1035
+ "id": 11,
1036
+ "options": {
1037
+ "(google.api.field_behavior)": "OPTIONAL"
1038
+ }
835
1039
  },
836
1040
  "filter": {
837
1041
  "type": "string",
838
- "id": 12
1042
+ "id": 12,
1043
+ "options": {
1044
+ "(google.api.field_behavior)": "OPTIONAL"
1045
+ }
839
1046
  },
840
1047
  "deadLetterPolicy": {
841
1048
  "type": "DeadLetterPolicy",
842
- "id": 13
1049
+ "id": 13,
1050
+ "options": {
1051
+ "(google.api.field_behavior)": "OPTIONAL"
1052
+ }
843
1053
  },
844
1054
  "retryPolicy": {
845
1055
  "type": "RetryPolicy",
846
- "id": 14
1056
+ "id": 14,
1057
+ "options": {
1058
+ "(google.api.field_behavior)": "OPTIONAL"
1059
+ }
847
1060
  },
848
1061
  "detached": {
849
1062
  "type": "bool",
850
- "id": 15
1063
+ "id": 15,
1064
+ "options": {
1065
+ "(google.api.field_behavior)": "OPTIONAL"
1066
+ }
851
1067
  },
852
1068
  "enableExactlyOnceDelivery": {
853
1069
  "type": "bool",
854
- "id": 16
1070
+ "id": 16,
1071
+ "options": {
1072
+ "(google.api.field_behavior)": "OPTIONAL"
1073
+ }
855
1074
  },
856
1075
  "topicMessageRetentionDuration": {
857
1076
  "type": "google.protobuf.Duration",
@@ -882,11 +1101,17 @@
882
1101
  "fields": {
883
1102
  "minimumBackoff": {
884
1103
  "type": "google.protobuf.Duration",
885
- "id": 1
1104
+ "id": 1,
1105
+ "options": {
1106
+ "(google.api.field_behavior)": "OPTIONAL"
1107
+ }
886
1108
  },
887
1109
  "maximumBackoff": {
888
1110
  "type": "google.protobuf.Duration",
889
- "id": 2
1111
+ "id": 2,
1112
+ "options": {
1113
+ "(google.api.field_behavior)": "OPTIONAL"
1114
+ }
890
1115
  }
891
1116
  }
892
1117
  },
@@ -894,11 +1119,17 @@
894
1119
  "fields": {
895
1120
  "deadLetterTopic": {
896
1121
  "type": "string",
897
- "id": 1
1122
+ "id": 1,
1123
+ "options": {
1124
+ "(google.api.field_behavior)": "OPTIONAL"
1125
+ }
898
1126
  },
899
1127
  "maxDeliveryAttempts": {
900
1128
  "type": "int32",
901
- "id": 2
1129
+ "id": 2,
1130
+ "options": {
1131
+ "(google.api.field_behavior)": "OPTIONAL"
1132
+ }
902
1133
  }
903
1134
  }
904
1135
  },
@@ -906,7 +1137,10 @@
906
1137
  "fields": {
907
1138
  "ttl": {
908
1139
  "type": "google.protobuf.Duration",
909
- "id": 1
1140
+ "id": 1,
1141
+ "options": {
1142
+ "(google.api.field_behavior)": "OPTIONAL"
1143
+ }
910
1144
  }
911
1145
  }
912
1146
  },
@@ -927,24 +1161,39 @@
927
1161
  "fields": {
928
1162
  "pushEndpoint": {
929
1163
  "type": "string",
930
- "id": 1
1164
+ "id": 1,
1165
+ "options": {
1166
+ "(google.api.field_behavior)": "OPTIONAL"
1167
+ }
931
1168
  },
932
1169
  "attributes": {
933
1170
  "keyType": "string",
934
1171
  "type": "string",
935
- "id": 2
1172
+ "id": 2,
1173
+ "options": {
1174
+ "(google.api.field_behavior)": "OPTIONAL"
1175
+ }
936
1176
  },
937
1177
  "oidcToken": {
938
1178
  "type": "OidcToken",
939
- "id": 3
1179
+ "id": 3,
1180
+ "options": {
1181
+ "(google.api.field_behavior)": "OPTIONAL"
1182
+ }
940
1183
  },
941
1184
  "pubsubWrapper": {
942
1185
  "type": "PubsubWrapper",
943
- "id": 4
1186
+ "id": 4,
1187
+ "options": {
1188
+ "(google.api.field_behavior)": "OPTIONAL"
1189
+ }
944
1190
  },
945
1191
  "noWrapper": {
946
1192
  "type": "NoWrapper",
947
- "id": 5
1193
+ "id": 5,
1194
+ "options": {
1195
+ "(google.api.field_behavior)": "OPTIONAL"
1196
+ }
948
1197
  }
949
1198
  },
950
1199
  "nested": {
@@ -952,11 +1201,17 @@
952
1201
  "fields": {
953
1202
  "serviceAccountEmail": {
954
1203
  "type": "string",
955
- "id": 1
1204
+ "id": 1,
1205
+ "options": {
1206
+ "(google.api.field_behavior)": "OPTIONAL"
1207
+ }
956
1208
  },
957
1209
  "audience": {
958
1210
  "type": "string",
959
- "id": 2
1211
+ "id": 2,
1212
+ "options": {
1213
+ "(google.api.field_behavior)": "OPTIONAL"
1214
+ }
960
1215
  }
961
1216
  }
962
1217
  },
@@ -967,7 +1222,10 @@
967
1222
  "fields": {
968
1223
  "writeMetadata": {
969
1224
  "type": "bool",
970
- "id": 1
1225
+ "id": 1,
1226
+ "options": {
1227
+ "(google.api.field_behavior)": "OPTIONAL"
1228
+ }
971
1229
  }
972
1230
  }
973
1231
  }
@@ -977,7 +1235,10 @@
977
1235
  "fields": {
978
1236
  "table": {
979
1237
  "type": "string",
980
- "id": 1
1238
+ "id": 1,
1239
+ "options": {
1240
+ "(google.api.field_behavior)": "OPTIONAL"
1241
+ }
981
1242
  },
982
1243
  "useTopicSchema": {
983
1244
  "type": "bool",
@@ -988,11 +1249,17 @@
988
1249
  },
989
1250
  "writeMetadata": {
990
1251
  "type": "bool",
991
- "id": 3
1252
+ "id": 3,
1253
+ "options": {
1254
+ "(google.api.field_behavior)": "OPTIONAL"
1255
+ }
992
1256
  },
993
1257
  "dropUnknownFields": {
994
1258
  "type": "bool",
995
- "id": 4
1259
+ "id": 4,
1260
+ "options": {
1261
+ "(google.api.field_behavior)": "OPTIONAL"
1262
+ }
996
1263
  },
997
1264
  "state": {
998
1265
  "type": "State",
@@ -1016,7 +1283,8 @@
1016
1283
  "ACTIVE": 1,
1017
1284
  "PERMISSION_DENIED": 2,
1018
1285
  "NOT_FOUND": 3,
1019
- "SCHEMA_MISMATCH": 4
1286
+ "SCHEMA_MISMATCH": 4,
1287
+ "IN_TRANSIT_LOCATION_RESTRICTION": 5
1020
1288
  }
1021
1289
  }
1022
1290
  }
@@ -1040,27 +1308,45 @@
1040
1308
  },
1041
1309
  "filenamePrefix": {
1042
1310
  "type": "string",
1043
- "id": 2
1311
+ "id": 2,
1312
+ "options": {
1313
+ "(google.api.field_behavior)": "OPTIONAL"
1314
+ }
1044
1315
  },
1045
1316
  "filenameSuffix": {
1046
1317
  "type": "string",
1047
- "id": 3
1318
+ "id": 3,
1319
+ "options": {
1320
+ "(google.api.field_behavior)": "OPTIONAL"
1321
+ }
1048
1322
  },
1049
1323
  "textConfig": {
1050
1324
  "type": "TextConfig",
1051
- "id": 4
1325
+ "id": 4,
1326
+ "options": {
1327
+ "(google.api.field_behavior)": "OPTIONAL"
1328
+ }
1052
1329
  },
1053
1330
  "avroConfig": {
1054
1331
  "type": "AvroConfig",
1055
- "id": 5
1332
+ "id": 5,
1333
+ "options": {
1334
+ "(google.api.field_behavior)": "OPTIONAL"
1335
+ }
1056
1336
  },
1057
1337
  "maxDuration": {
1058
1338
  "type": "google.protobuf.Duration",
1059
- "id": 6
1339
+ "id": 6,
1340
+ "options": {
1341
+ "(google.api.field_behavior)": "OPTIONAL"
1342
+ }
1060
1343
  },
1061
1344
  "maxBytes": {
1062
1345
  "type": "int64",
1063
- "id": 7
1346
+ "id": 7,
1347
+ "options": {
1348
+ "(google.api.field_behavior)": "OPTIONAL"
1349
+ }
1064
1350
  },
1065
1351
  "state": {
1066
1352
  "type": "State",
@@ -1078,7 +1364,10 @@
1078
1364
  "fields": {
1079
1365
  "writeMetadata": {
1080
1366
  "type": "bool",
1081
- "id": 1
1367
+ "id": 1,
1368
+ "options": {
1369
+ "(google.api.field_behavior)": "OPTIONAL"
1370
+ }
1082
1371
  }
1083
1372
  }
1084
1373
  },
@@ -1087,7 +1376,8 @@
1087
1376
  "STATE_UNSPECIFIED": 0,
1088
1377
  "ACTIVE": 1,
1089
1378
  "PERMISSION_DENIED": 2,
1090
- "NOT_FOUND": 3
1379
+ "NOT_FOUND": 3,
1380
+ "IN_TRANSIT_LOCATION_RESTRICTION": 4
1091
1381
  }
1092
1382
  }
1093
1383
  }
@@ -1096,15 +1386,24 @@
1096
1386
  "fields": {
1097
1387
  "ackId": {
1098
1388
  "type": "string",
1099
- "id": 1
1389
+ "id": 1,
1390
+ "options": {
1391
+ "(google.api.field_behavior)": "OPTIONAL"
1392
+ }
1100
1393
  },
1101
1394
  "message": {
1102
1395
  "type": "PubsubMessage",
1103
- "id": 2
1396
+ "id": 2,
1397
+ "options": {
1398
+ "(google.api.field_behavior)": "OPTIONAL"
1399
+ }
1104
1400
  },
1105
1401
  "deliveryAttempt": {
1106
1402
  "type": "int32",
1107
- "id": 3
1403
+ "id": 3,
1404
+ "options": {
1405
+ "(google.api.field_behavior)": "OPTIONAL"
1406
+ }
1108
1407
  }
1109
1408
  }
1110
1409
  },
@@ -1150,11 +1449,17 @@
1150
1449
  },
1151
1450
  "pageSize": {
1152
1451
  "type": "int32",
1153
- "id": 2
1452
+ "id": 2,
1453
+ "options": {
1454
+ "(google.api.field_behavior)": "OPTIONAL"
1455
+ }
1154
1456
  },
1155
1457
  "pageToken": {
1156
1458
  "type": "string",
1157
- "id": 3
1459
+ "id": 3,
1460
+ "options": {
1461
+ "(google.api.field_behavior)": "OPTIONAL"
1462
+ }
1158
1463
  }
1159
1464
  }
1160
1465
  },
@@ -1163,11 +1468,17 @@
1163
1468
  "subscriptions": {
1164
1469
  "rule": "repeated",
1165
1470
  "type": "Subscription",
1166
- "id": 1
1471
+ "id": 1,
1472
+ "options": {
1473
+ "(google.api.field_behavior)": "OPTIONAL"
1474
+ }
1167
1475
  },
1168
1476
  "nextPageToken": {
1169
1477
  "type": "string",
1170
- "id": 2
1478
+ "id": 2,
1479
+ "options": {
1480
+ "(google.api.field_behavior)": "OPTIONAL"
1481
+ }
1171
1482
  }
1172
1483
  }
1173
1484
  },
@@ -1234,7 +1545,10 @@
1234
1545
  "receivedMessages": {
1235
1546
  "rule": "repeated",
1236
1547
  "type": "ReceivedMessage",
1237
- "id": 1
1548
+ "id": 1,
1549
+ "options": {
1550
+ "(google.api.field_behavior)": "OPTIONAL"
1551
+ }
1238
1552
  }
1239
1553
  }
1240
1554
  },
@@ -1298,17 +1612,26 @@
1298
1612
  "ackIds": {
1299
1613
  "rule": "repeated",
1300
1614
  "type": "string",
1301
- "id": 2
1615
+ "id": 2,
1616
+ "options": {
1617
+ "(google.api.field_behavior)": "OPTIONAL"
1618
+ }
1302
1619
  },
1303
1620
  "modifyDeadlineSeconds": {
1304
1621
  "rule": "repeated",
1305
1622
  "type": "int32",
1306
- "id": 3
1623
+ "id": 3,
1624
+ "options": {
1625
+ "(google.api.field_behavior)": "OPTIONAL"
1626
+ }
1307
1627
  },
1308
1628
  "modifyDeadlineAckIds": {
1309
1629
  "rule": "repeated",
1310
1630
  "type": "string",
1311
- "id": 4
1631
+ "id": 4,
1632
+ "options": {
1633
+ "(google.api.field_behavior)": "OPTIONAL"
1634
+ }
1312
1635
  },
1313
1636
  "streamAckDeadlineSeconds": {
1314
1637
  "type": "int32",
@@ -1319,15 +1642,24 @@
1319
1642
  },
1320
1643
  "clientId": {
1321
1644
  "type": "string",
1322
- "id": 6
1645
+ "id": 6,
1646
+ "options": {
1647
+ "(google.api.field_behavior)": "OPTIONAL"
1648
+ }
1323
1649
  },
1324
1650
  "maxOutstandingMessages": {
1325
1651
  "type": "int64",
1326
- "id": 7
1652
+ "id": 7,
1653
+ "options": {
1654
+ "(google.api.field_behavior)": "OPTIONAL"
1655
+ }
1327
1656
  },
1328
1657
  "maxOutstandingBytes": {
1329
1658
  "type": "int64",
1330
- "id": 8
1659
+ "id": 8,
1660
+ "options": {
1661
+ "(google.api.field_behavior)": "OPTIONAL"
1662
+ }
1331
1663
  }
1332
1664
  }
1333
1665
  },
@@ -1336,19 +1668,31 @@
1336
1668
  "receivedMessages": {
1337
1669
  "rule": "repeated",
1338
1670
  "type": "ReceivedMessage",
1339
- "id": 1
1671
+ "id": 1,
1672
+ "options": {
1673
+ "(google.api.field_behavior)": "OPTIONAL"
1674
+ }
1340
1675
  },
1341
1676
  "acknowledgeConfirmation": {
1342
1677
  "type": "AcknowledgeConfirmation",
1343
- "id": 5
1678
+ "id": 5,
1679
+ "options": {
1680
+ "(google.api.field_behavior)": "OPTIONAL"
1681
+ }
1344
1682
  },
1345
1683
  "modifyAckDeadlineConfirmation": {
1346
1684
  "type": "ModifyAckDeadlineConfirmation",
1347
- "id": 3
1685
+ "id": 3,
1686
+ "options": {
1687
+ "(google.api.field_behavior)": "OPTIONAL"
1688
+ }
1348
1689
  },
1349
1690
  "subscriptionProperties": {
1350
1691
  "type": "SubscriptionProperties",
1351
- "id": 4
1692
+ "id": 4,
1693
+ "options": {
1694
+ "(google.api.field_behavior)": "OPTIONAL"
1695
+ }
1352
1696
  }
1353
1697
  },
1354
1698
  "nested": {
@@ -1357,22 +1701,34 @@
1357
1701
  "ackIds": {
1358
1702
  "rule": "repeated",
1359
1703
  "type": "string",
1360
- "id": 1
1704
+ "id": 1,
1705
+ "options": {
1706
+ "(google.api.field_behavior)": "OPTIONAL"
1707
+ }
1361
1708
  },
1362
1709
  "invalidAckIds": {
1363
1710
  "rule": "repeated",
1364
1711
  "type": "string",
1365
- "id": 2
1712
+ "id": 2,
1713
+ "options": {
1714
+ "(google.api.field_behavior)": "OPTIONAL"
1715
+ }
1366
1716
  },
1367
1717
  "unorderedAckIds": {
1368
1718
  "rule": "repeated",
1369
1719
  "type": "string",
1370
- "id": 3
1720
+ "id": 3,
1721
+ "options": {
1722
+ "(google.api.field_behavior)": "OPTIONAL"
1723
+ }
1371
1724
  },
1372
1725
  "temporaryFailedAckIds": {
1373
1726
  "rule": "repeated",
1374
1727
  "type": "string",
1375
- "id": 4
1728
+ "id": 4,
1729
+ "options": {
1730
+ "(google.api.field_behavior)": "OPTIONAL"
1731
+ }
1376
1732
  }
1377
1733
  }
1378
1734
  },
@@ -1381,17 +1737,26 @@
1381
1737
  "ackIds": {
1382
1738
  "rule": "repeated",
1383
1739
  "type": "string",
1384
- "id": 1
1740
+ "id": 1,
1741
+ "options": {
1742
+ "(google.api.field_behavior)": "OPTIONAL"
1743
+ }
1385
1744
  },
1386
1745
  "invalidAckIds": {
1387
1746
  "rule": "repeated",
1388
1747
  "type": "string",
1389
- "id": 2
1748
+ "id": 2,
1749
+ "options": {
1750
+ "(google.api.field_behavior)": "OPTIONAL"
1751
+ }
1390
1752
  },
1391
1753
  "temporaryFailedAckIds": {
1392
1754
  "rule": "repeated",
1393
1755
  "type": "string",
1394
- "id": 3
1756
+ "id": 3,
1757
+ "options": {
1758
+ "(google.api.field_behavior)": "OPTIONAL"
1759
+ }
1395
1760
  }
1396
1761
  }
1397
1762
  },
@@ -1399,11 +1764,17 @@
1399
1764
  "fields": {
1400
1765
  "exactlyOnceDeliveryEnabled": {
1401
1766
  "type": "bool",
1402
- "id": 1
1767
+ "id": 1,
1768
+ "options": {
1769
+ "(google.api.field_behavior)": "OPTIONAL"
1770
+ }
1403
1771
  },
1404
1772
  "messageOrderingEnabled": {
1405
1773
  "type": "bool",
1406
- "id": 2
1774
+ "id": 2,
1775
+ "options": {
1776
+ "(google.api.field_behavior)": "OPTIONAL"
1777
+ }
1407
1778
  }
1408
1779
  }
1409
1780
  }
@@ -1430,7 +1801,10 @@
1430
1801
  "labels": {
1431
1802
  "keyType": "string",
1432
1803
  "type": "string",
1433
- "id": 3
1804
+ "id": 3,
1805
+ "options": {
1806
+ "(google.api.field_behavior)": "OPTIONAL"
1807
+ }
1434
1808
  }
1435
1809
  }
1436
1810
  },
@@ -1460,23 +1834,33 @@
1460
1834
  "fields": {
1461
1835
  "name": {
1462
1836
  "type": "string",
1463
- "id": 1
1837
+ "id": 1,
1838
+ "options": {
1839
+ "(google.api.field_behavior)": "OPTIONAL"
1840
+ }
1464
1841
  },
1465
1842
  "topic": {
1466
1843
  "type": "string",
1467
1844
  "id": 2,
1468
1845
  "options": {
1846
+ "(google.api.field_behavior)": "OPTIONAL",
1469
1847
  "(google.api.resource_reference).type": "pubsub.googleapis.com/Topic"
1470
1848
  }
1471
1849
  },
1472
1850
  "expireTime": {
1473
1851
  "type": "google.protobuf.Timestamp",
1474
- "id": 3
1852
+ "id": 3,
1853
+ "options": {
1854
+ "(google.api.field_behavior)": "OPTIONAL"
1855
+ }
1475
1856
  },
1476
1857
  "labels": {
1477
1858
  "keyType": "string",
1478
1859
  "type": "string",
1479
- "id": 4
1860
+ "id": 4,
1861
+ "options": {
1862
+ "(google.api.field_behavior)": "OPTIONAL"
1863
+ }
1480
1864
  }
1481
1865
  }
1482
1866
  },
@@ -1504,11 +1888,17 @@
1504
1888
  },
1505
1889
  "pageSize": {
1506
1890
  "type": "int32",
1507
- "id": 2
1891
+ "id": 2,
1892
+ "options": {
1893
+ "(google.api.field_behavior)": "OPTIONAL"
1894
+ }
1508
1895
  },
1509
1896
  "pageToken": {
1510
1897
  "type": "string",
1511
- "id": 3
1898
+ "id": 3,
1899
+ "options": {
1900
+ "(google.api.field_behavior)": "OPTIONAL"
1901
+ }
1512
1902
  }
1513
1903
  }
1514
1904
  },
@@ -1517,11 +1907,17 @@
1517
1907
  "snapshots": {
1518
1908
  "rule": "repeated",
1519
1909
  "type": "Snapshot",
1520
- "id": 1
1910
+ "id": 1,
1911
+ "options": {
1912
+ "(google.api.field_behavior)": "OPTIONAL"
1913
+ }
1521
1914
  },
1522
1915
  "nextPageToken": {
1523
1916
  "type": "string",
1524
- "id": 2
1917
+ "id": 2,
1918
+ "options": {
1919
+ "(google.api.field_behavior)": "OPTIONAL"
1920
+ }
1525
1921
  }
1526
1922
  }
1527
1923
  },
@@ -1557,12 +1953,16 @@
1557
1953
  },
1558
1954
  "time": {
1559
1955
  "type": "google.protobuf.Timestamp",
1560
- "id": 2
1956
+ "id": 2,
1957
+ "options": {
1958
+ "(google.api.field_behavior)": "OPTIONAL"
1959
+ }
1561
1960
  },
1562
1961
  "snapshot": {
1563
1962
  "type": "string",
1564
1963
  "id": 3,
1565
1964
  "options": {
1965
+ "(google.api.field_behavior)": "OPTIONAL",
1566
1966
  "(google.api.resource_reference).type": "pubsub.googleapis.com/Snapshot"
1567
1967
  }
1568
1968
  }
@@ -2407,6 +2807,11 @@
2407
2807
  "longRunning": {
2408
2808
  "type": "LongRunning",
2409
2809
  "id": 2
2810
+ },
2811
+ "autoPopulatedFields": {
2812
+ "rule": "repeated",
2813
+ "type": "string",
2814
+ "id": 3
2410
2815
  }
2411
2816
  },
2412
2817
  "nested": {
@@ -2478,7 +2883,8 @@
2478
2883
  "INPUT_ONLY": 4,
2479
2884
  "IMMUTABLE": 5,
2480
2885
  "UNORDERED_LIST": 6,
2481
- "NON_EMPTY_DEFAULT": 7
2886
+ "NON_EMPTY_DEFAULT": 7,
2887
+ "IDENTIFIER": 8
2482
2888
  }
2483
2889
  },
2484
2890
  "resourceReference": {
@@ -2580,6 +2986,21 @@
2580
2986
  }
2581
2987
  }
2582
2988
  },
2989
+ "Edition": {
2990
+ "values": {
2991
+ "EDITION_UNKNOWN": 0,
2992
+ "EDITION_PROTO2": 998,
2993
+ "EDITION_PROTO3": 999,
2994
+ "EDITION_2023": 1000,
2995
+ "EDITION_2024": 1001,
2996
+ "EDITION_1_TEST_ONLY": 1,
2997
+ "EDITION_2_TEST_ONLY": 2,
2998
+ "EDITION_99997_TEST_ONLY": 99997,
2999
+ "EDITION_99998_TEST_ONLY": 99998,
3000
+ "EDITION_99999_TEST_ONLY": 99999,
3001
+ "EDITION_MAX": 2147483647
3002
+ }
3003
+ },
2583
3004
  "FileDescriptorProto": {
2584
3005
  "fields": {
2585
3006
  "name": {
@@ -2644,8 +3065,8 @@
2644
3065
  "id": 12
2645
3066
  },
2646
3067
  "edition": {
2647
- "type": "string",
2648
- "id": 13
3068
+ "type": "Edition",
3069
+ "id": 14
2649
3070
  }
2650
3071
  }
2651
3072
  },
@@ -2754,7 +3175,8 @@
2754
3175
  "type": "VerificationState",
2755
3176
  "id": 3,
2756
3177
  "options": {
2757
- "default": "UNVERIFIED"
3178
+ "default": "UNVERIFIED",
3179
+ "retention": "RETENTION_SOURCE"
2758
3180
  }
2759
3181
  }
2760
3182
  },
@@ -2876,8 +3298,8 @@
2876
3298
  "Label": {
2877
3299
  "values": {
2878
3300
  "LABEL_OPTIONAL": 1,
2879
- "LABEL_REQUIRED": 2,
2880
- "LABEL_REPEATED": 3
3301
+ "LABEL_REPEATED": 3,
3302
+ "LABEL_REQUIRED": 2
2881
3303
  }
2882
3304
  }
2883
3305
  }
@@ -3065,13 +3487,6 @@
3065
3487
  "default": false
3066
3488
  }
3067
3489
  },
3068
- "phpGenericServices": {
3069
- "type": "bool",
3070
- "id": 42,
3071
- "options": {
3072
- "default": false
3073
- }
3074
- },
3075
3490
  "deprecated": {
3076
3491
  "type": "bool",
3077
3492
  "id": 23,
@@ -3131,6 +3546,10 @@
3131
3546
  ]
3132
3547
  ],
3133
3548
  "reserved": [
3549
+ [
3550
+ 42,
3551
+ 42
3552
+ ],
3134
3553
  [
3135
3554
  38,
3136
3555
  38
@@ -3356,8 +3775,8 @@
3356
3775
  "EditionDefault": {
3357
3776
  "fields": {
3358
3777
  "edition": {
3359
- "type": "string",
3360
- "id": 1
3778
+ "type": "Edition",
3779
+ "id": 3
3361
3780
  },
3362
3781
  "value": {
3363
3782
  "type": "string",
@@ -3587,7 +4006,7 @@
3587
4006
  "options": {
3588
4007
  "retention": "RETENTION_RUNTIME",
3589
4008
  "targets": "TARGET_TYPE_FILE",
3590
- "edition_defaults.edition": "2023",
4009
+ "edition_defaults.edition": "EDITION_2023",
3591
4010
  "edition_defaults.value": "EXPLICIT"
3592
4011
  }
3593
4012
  },
@@ -3597,7 +4016,7 @@
3597
4016
  "options": {
3598
4017
  "retention": "RETENTION_RUNTIME",
3599
4018
  "targets": "TARGET_TYPE_FILE",
3600
- "edition_defaults.edition": "2023",
4019
+ "edition_defaults.edition": "EDITION_PROTO3",
3601
4020
  "edition_defaults.value": "OPEN"
3602
4021
  }
3603
4022
  },
@@ -3607,18 +4026,18 @@
3607
4026
  "options": {
3608
4027
  "retention": "RETENTION_RUNTIME",
3609
4028
  "targets": "TARGET_TYPE_FILE",
3610
- "edition_defaults.edition": "2023",
4029
+ "edition_defaults.edition": "EDITION_PROTO3",
3611
4030
  "edition_defaults.value": "PACKED"
3612
4031
  }
3613
4032
  },
3614
- "stringFieldValidation": {
3615
- "type": "StringFieldValidation",
4033
+ "utf8Validation": {
4034
+ "type": "Utf8Validation",
3616
4035
  "id": 4,
3617
4036
  "options": {
3618
4037
  "retention": "RETENTION_RUNTIME",
3619
4038
  "targets": "TARGET_TYPE_FILE",
3620
- "edition_defaults.edition": "2023",
3621
- "edition_defaults.value": "MANDATORY"
4039
+ "edition_defaults.edition": "EDITION_PROTO3",
4040
+ "edition_defaults.value": "VERIFY"
3622
4041
  }
3623
4042
  },
3624
4043
  "messageEncoding": {
@@ -3627,7 +4046,7 @@
3627
4046
  "options": {
3628
4047
  "retention": "RETENTION_RUNTIME",
3629
4048
  "targets": "TARGET_TYPE_FILE",
3630
- "edition_defaults.edition": "2023",
4049
+ "edition_defaults.edition": "EDITION_PROTO2",
3631
4050
  "edition_defaults.value": "LENGTH_PREFIXED"
3632
4051
  }
3633
4052
  },
@@ -3637,16 +4056,9 @@
3637
4056
  "options": {
3638
4057
  "retention": "RETENTION_RUNTIME",
3639
4058
  "targets": "TARGET_TYPE_FILE",
3640
- "edition_defaults.edition": "2023",
4059
+ "edition_defaults.edition": "EDITION_PROTO3",
3641
4060
  "edition_defaults.value": "ALLOW"
3642
4061
  }
3643
- },
3644
- "rawFeatures": {
3645
- "type": "FeatureSet",
3646
- "id": 999,
3647
- "options": {
3648
- "targets": "TARGET_TYPE_UNKNOWN"
3649
- }
3650
4062
  }
3651
4063
  },
3652
4064
  "extensions": [
@@ -3663,6 +4075,12 @@
3663
4075
  9999
3664
4076
  ]
3665
4077
  ],
4078
+ "reserved": [
4079
+ [
4080
+ 999,
4081
+ 999
4082
+ ]
4083
+ ],
3666
4084
  "nested": {
3667
4085
  "FieldPresence": {
3668
4086
  "values": {
@@ -3686,11 +4104,10 @@
3686
4104
  "EXPANDED": 2
3687
4105
  }
3688
4106
  },
3689
- "StringFieldValidation": {
4107
+ "Utf8Validation": {
3690
4108
  "values": {
3691
- "STRING_FIELD_VALIDATION_UNKNOWN": 0,
3692
- "MANDATORY": 1,
3693
- "HINT": 2,
4109
+ "UTF8_VALIDATION_UNKNOWN": 0,
4110
+ "VERIFY": 2,
3694
4111
  "NONE": 3
3695
4112
  }
3696
4113
  },
@@ -3710,6 +4127,37 @@
3710
4127
  }
3711
4128
  }
3712
4129
  },
4130
+ "FeatureSetDefaults": {
4131
+ "fields": {
4132
+ "defaults": {
4133
+ "rule": "repeated",
4134
+ "type": "FeatureSetEditionDefault",
4135
+ "id": 1
4136
+ },
4137
+ "minimumEdition": {
4138
+ "type": "Edition",
4139
+ "id": 4
4140
+ },
4141
+ "maximumEdition": {
4142
+ "type": "Edition",
4143
+ "id": 5
4144
+ }
4145
+ },
4146
+ "nested": {
4147
+ "FeatureSetEditionDefault": {
4148
+ "fields": {
4149
+ "edition": {
4150
+ "type": "Edition",
4151
+ "id": 3
4152
+ },
4153
+ "features": {
4154
+ "type": "FeatureSet",
4155
+ "id": 2
4156
+ }
4157
+ }
4158
+ }
4159
+ }
4160
+ },
3713
4161
  "SourceCodeInfo": {
3714
4162
  "fields": {
3715
4163
  "location": {