@google-cloud/pubsub 4.8.0 → 4.10.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.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2025 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -463,6 +463,15 @@ export namespace google {
463
463
  /** IngestionDataSourceSettings cloudStorage */
464
464
  cloudStorage?: (google.pubsub.v1.IngestionDataSourceSettings.ICloudStorage|null);
465
465
 
466
+ /** IngestionDataSourceSettings azureEventHubs */
467
+ azureEventHubs?: (google.pubsub.v1.IngestionDataSourceSettings.IAzureEventHubs|null);
468
+
469
+ /** IngestionDataSourceSettings awsMsk */
470
+ awsMsk?: (google.pubsub.v1.IngestionDataSourceSettings.IAwsMsk|null);
471
+
472
+ /** IngestionDataSourceSettings confluentCloud */
473
+ confluentCloud?: (google.pubsub.v1.IngestionDataSourceSettings.IConfluentCloud|null);
474
+
466
475
  /** IngestionDataSourceSettings platformLogsSettings */
467
476
  platformLogsSettings?: (google.pubsub.v1.IPlatformLogsSettings|null);
468
477
  }
@@ -482,11 +491,20 @@ export namespace google {
482
491
  /** IngestionDataSourceSettings cloudStorage. */
483
492
  public cloudStorage?: (google.pubsub.v1.IngestionDataSourceSettings.ICloudStorage|null);
484
493
 
494
+ /** IngestionDataSourceSettings azureEventHubs. */
495
+ public azureEventHubs?: (google.pubsub.v1.IngestionDataSourceSettings.IAzureEventHubs|null);
496
+
497
+ /** IngestionDataSourceSettings awsMsk. */
498
+ public awsMsk?: (google.pubsub.v1.IngestionDataSourceSettings.IAwsMsk|null);
499
+
500
+ /** IngestionDataSourceSettings confluentCloud. */
501
+ public confluentCloud?: (google.pubsub.v1.IngestionDataSourceSettings.IConfluentCloud|null);
502
+
485
503
  /** IngestionDataSourceSettings platformLogsSettings. */
486
504
  public platformLogsSettings?: (google.pubsub.v1.IPlatformLogsSettings|null);
487
505
 
488
506
  /** IngestionDataSourceSettings source. */
489
- public source?: ("awsKinesis"|"cloudStorage");
507
+ public source?: ("awsKinesis"|"cloudStorage"|"azureEventHubs"|"awsMsk"|"confluentCloud");
490
508
 
491
509
  /**
492
510
  * Creates a new IngestionDataSourceSettings instance using the specified properties.
@@ -1129,115 +1147,1355 @@ export namespace google {
1129
1147
  public static getTypeUrl(typeUrlPrefix?: string): string;
1130
1148
  }
1131
1149
  }
1132
- }
1133
1150
 
1134
- /** Properties of a PlatformLogsSettings. */
1135
- interface IPlatformLogsSettings {
1151
+ /** Properties of an AzureEventHubs. */
1152
+ interface IAzureEventHubs {
1136
1153
 
1137
- /** PlatformLogsSettings severity */
1138
- severity?: (google.pubsub.v1.PlatformLogsSettings.Severity|keyof typeof google.pubsub.v1.PlatformLogsSettings.Severity|null);
1139
- }
1154
+ /** AzureEventHubs state */
1155
+ state?: (google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State|null);
1140
1156
 
1141
- /** Represents a PlatformLogsSettings. */
1142
- class PlatformLogsSettings implements IPlatformLogsSettings {
1157
+ /** AzureEventHubs resourceGroup */
1158
+ resourceGroup?: (string|null);
1143
1159
 
1144
- /**
1145
- * Constructs a new PlatformLogsSettings.
1146
- * @param [properties] Properties to set
1147
- */
1148
- constructor(properties?: google.pubsub.v1.IPlatformLogsSettings);
1160
+ /** AzureEventHubs namespace */
1161
+ namespace?: (string|null);
1149
1162
 
1150
- /** PlatformLogsSettings severity. */
1151
- public severity: (google.pubsub.v1.PlatformLogsSettings.Severity|keyof typeof google.pubsub.v1.PlatformLogsSettings.Severity);
1163
+ /** AzureEventHubs eventHub */
1164
+ eventHub?: (string|null);
1152
1165
 
1153
- /**
1154
- * Creates a new PlatformLogsSettings instance using the specified properties.
1155
- * @param [properties] Properties to set
1156
- * @returns PlatformLogsSettings instance
1157
- */
1158
- public static create(properties?: google.pubsub.v1.IPlatformLogsSettings): google.pubsub.v1.PlatformLogsSettings;
1166
+ /** AzureEventHubs clientId */
1167
+ clientId?: (string|null);
1159
1168
 
1160
- /**
1161
- * Encodes the specified PlatformLogsSettings message. Does not implicitly {@link google.pubsub.v1.PlatformLogsSettings.verify|verify} messages.
1162
- * @param message PlatformLogsSettings message or plain object to encode
1163
- * @param [writer] Writer to encode to
1164
- * @returns Writer
1165
- */
1166
- public static encode(message: google.pubsub.v1.IPlatformLogsSettings, writer?: $protobuf.Writer): $protobuf.Writer;
1169
+ /** AzureEventHubs tenantId */
1170
+ tenantId?: (string|null);
1167
1171
 
1168
- /**
1169
- * Encodes the specified PlatformLogsSettings message, length delimited. Does not implicitly {@link google.pubsub.v1.PlatformLogsSettings.verify|verify} messages.
1170
- * @param message PlatformLogsSettings message or plain object to encode
1171
- * @param [writer] Writer to encode to
1172
- * @returns Writer
1173
- */
1174
- public static encodeDelimited(message: google.pubsub.v1.IPlatformLogsSettings, writer?: $protobuf.Writer): $protobuf.Writer;
1172
+ /** AzureEventHubs subscriptionId */
1173
+ subscriptionId?: (string|null);
1175
1174
 
1176
- /**
1177
- * Decodes a PlatformLogsSettings message from the specified reader or buffer.
1178
- * @param reader Reader or buffer to decode from
1179
- * @param [length] Message length if known beforehand
1180
- * @returns PlatformLogsSettings
1181
- * @throws {Error} If the payload is not a reader or valid buffer
1182
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1183
- */
1184
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.PlatformLogsSettings;
1175
+ /** AzureEventHubs gcpServiceAccount */
1176
+ gcpServiceAccount?: (string|null);
1177
+ }
1185
1178
 
1186
- /**
1187
- * Decodes a PlatformLogsSettings message from the specified reader or buffer, length delimited.
1188
- * @param reader Reader or buffer to decode from
1189
- * @returns PlatformLogsSettings
1190
- * @throws {Error} If the payload is not a reader or valid buffer
1191
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
1192
- */
1193
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.PlatformLogsSettings;
1179
+ /** Represents an AzureEventHubs. */
1180
+ class AzureEventHubs implements IAzureEventHubs {
1194
1181
 
1195
- /**
1196
- * Verifies a PlatformLogsSettings message.
1197
- * @param message Plain object to verify
1198
- * @returns `null` if valid, otherwise the reason why it is not
1199
- */
1200
- public static verify(message: { [k: string]: any }): (string|null);
1182
+ /**
1183
+ * Constructs a new AzureEventHubs.
1184
+ * @param [properties] Properties to set
1185
+ */
1186
+ constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.IAzureEventHubs);
1201
1187
 
1202
- /**
1203
- * Creates a PlatformLogsSettings message from a plain object. Also converts values to their respective internal types.
1204
- * @param object Plain object
1205
- * @returns PlatformLogsSettings
1206
- */
1207
- public static fromObject(object: { [k: string]: any }): google.pubsub.v1.PlatformLogsSettings;
1188
+ /** AzureEventHubs state. */
1189
+ public state: (google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State);
1208
1190
 
1209
- /**
1210
- * Creates a plain object from a PlatformLogsSettings message. Also converts values to other types if specified.
1211
- * @param message PlatformLogsSettings
1212
- * @param [options] Conversion options
1213
- * @returns Plain object
1214
- */
1215
- public static toObject(message: google.pubsub.v1.PlatformLogsSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
1191
+ /** AzureEventHubs resourceGroup. */
1192
+ public resourceGroup: string;
1216
1193
 
1217
- /**
1218
- * Converts this PlatformLogsSettings to JSON.
1219
- * @returns JSON object
1220
- */
1221
- public toJSON(): { [k: string]: any };
1194
+ /** AzureEventHubs namespace. */
1195
+ public namespace: string;
1222
1196
 
1223
- /**
1224
- * Gets the default type url for PlatformLogsSettings
1225
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1226
- * @returns The default type url
1227
- */
1228
- public static getTypeUrl(typeUrlPrefix?: string): string;
1229
- }
1197
+ /** AzureEventHubs eventHub. */
1198
+ public eventHub: string;
1230
1199
 
1231
- namespace PlatformLogsSettings {
1200
+ /** AzureEventHubs clientId. */
1201
+ public clientId: string;
1232
1202
 
1233
- /** Severity enum. */
1234
- enum Severity {
1235
- SEVERITY_UNSPECIFIED = 0,
1236
- DISABLED = 1,
1237
- DEBUG = 2,
1238
- INFO = 3,
1239
- WARNING = 4,
1240
- ERROR = 5
1203
+ /** AzureEventHubs tenantId. */
1204
+ public tenantId: string;
1205
+
1206
+ /** AzureEventHubs subscriptionId. */
1207
+ public subscriptionId: string;
1208
+
1209
+ /** AzureEventHubs gcpServiceAccount. */
1210
+ public gcpServiceAccount: string;
1211
+
1212
+ /**
1213
+ * Creates a new AzureEventHubs instance using the specified properties.
1214
+ * @param [properties] Properties to set
1215
+ * @returns AzureEventHubs instance
1216
+ */
1217
+ public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.IAzureEventHubs): google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs;
1218
+
1219
+ /**
1220
+ * Encodes the specified AzureEventHubs message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.verify|verify} messages.
1221
+ * @param message AzureEventHubs message or plain object to encode
1222
+ * @param [writer] Writer to encode to
1223
+ * @returns Writer
1224
+ */
1225
+ public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.IAzureEventHubs, writer?: $protobuf.Writer): $protobuf.Writer;
1226
+
1227
+ /**
1228
+ * Encodes the specified AzureEventHubs message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.verify|verify} messages.
1229
+ * @param message AzureEventHubs message or plain object to encode
1230
+ * @param [writer] Writer to encode to
1231
+ * @returns Writer
1232
+ */
1233
+ public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.IAzureEventHubs, writer?: $protobuf.Writer): $protobuf.Writer;
1234
+
1235
+ /**
1236
+ * Decodes an AzureEventHubs message from the specified reader or buffer.
1237
+ * @param reader Reader or buffer to decode from
1238
+ * @param [length] Message length if known beforehand
1239
+ * @returns AzureEventHubs
1240
+ * @throws {Error} If the payload is not a reader or valid buffer
1241
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1242
+ */
1243
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs;
1244
+
1245
+ /**
1246
+ * Decodes an AzureEventHubs message from the specified reader or buffer, length delimited.
1247
+ * @param reader Reader or buffer to decode from
1248
+ * @returns AzureEventHubs
1249
+ * @throws {Error} If the payload is not a reader or valid buffer
1250
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1251
+ */
1252
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs;
1253
+
1254
+ /**
1255
+ * Verifies an AzureEventHubs message.
1256
+ * @param message Plain object to verify
1257
+ * @returns `null` if valid, otherwise the reason why it is not
1258
+ */
1259
+ public static verify(message: { [k: string]: any }): (string|null);
1260
+
1261
+ /**
1262
+ * Creates an AzureEventHubs message from a plain object. Also converts values to their respective internal types.
1263
+ * @param object Plain object
1264
+ * @returns AzureEventHubs
1265
+ */
1266
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs;
1267
+
1268
+ /**
1269
+ * Creates a plain object from an AzureEventHubs message. Also converts values to other types if specified.
1270
+ * @param message AzureEventHubs
1271
+ * @param [options] Conversion options
1272
+ * @returns Plain object
1273
+ */
1274
+ public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs, options?: $protobuf.IConversionOptions): { [k: string]: any };
1275
+
1276
+ /**
1277
+ * Converts this AzureEventHubs to JSON.
1278
+ * @returns JSON object
1279
+ */
1280
+ public toJSON(): { [k: string]: any };
1281
+
1282
+ /**
1283
+ * Gets the default type url for AzureEventHubs
1284
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1285
+ * @returns The default type url
1286
+ */
1287
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1288
+ }
1289
+
1290
+ namespace AzureEventHubs {
1291
+
1292
+ /** State enum. */
1293
+ enum State {
1294
+ STATE_UNSPECIFIED = 0,
1295
+ ACTIVE = 1,
1296
+ EVENT_HUBS_PERMISSION_DENIED = 2,
1297
+ PUBLISH_PERMISSION_DENIED = 3,
1298
+ NAMESPACE_NOT_FOUND = 4,
1299
+ EVENT_HUB_NOT_FOUND = 5,
1300
+ SUBSCRIPTION_NOT_FOUND = 6,
1301
+ RESOURCE_GROUP_NOT_FOUND = 7
1302
+ }
1303
+ }
1304
+
1305
+ /** Properties of an AwsMsk. */
1306
+ interface IAwsMsk {
1307
+
1308
+ /** AwsMsk state */
1309
+ state?: (google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.State|null);
1310
+
1311
+ /** AwsMsk clusterArn */
1312
+ clusterArn?: (string|null);
1313
+
1314
+ /** AwsMsk topic */
1315
+ topic?: (string|null);
1316
+
1317
+ /** AwsMsk awsRoleArn */
1318
+ awsRoleArn?: (string|null);
1319
+
1320
+ /** AwsMsk gcpServiceAccount */
1321
+ gcpServiceAccount?: (string|null);
1322
+ }
1323
+
1324
+ /** Represents an AwsMsk. */
1325
+ class AwsMsk implements IAwsMsk {
1326
+
1327
+ /**
1328
+ * Constructs a new AwsMsk.
1329
+ * @param [properties] Properties to set
1330
+ */
1331
+ constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.IAwsMsk);
1332
+
1333
+ /** AwsMsk state. */
1334
+ public state: (google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.State);
1335
+
1336
+ /** AwsMsk clusterArn. */
1337
+ public clusterArn: string;
1338
+
1339
+ /** AwsMsk topic. */
1340
+ public topic: string;
1341
+
1342
+ /** AwsMsk awsRoleArn. */
1343
+ public awsRoleArn: string;
1344
+
1345
+ /** AwsMsk gcpServiceAccount. */
1346
+ public gcpServiceAccount: string;
1347
+
1348
+ /**
1349
+ * Creates a new AwsMsk instance using the specified properties.
1350
+ * @param [properties] Properties to set
1351
+ * @returns AwsMsk instance
1352
+ */
1353
+ public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.IAwsMsk): google.pubsub.v1.IngestionDataSourceSettings.AwsMsk;
1354
+
1355
+ /**
1356
+ * Encodes the specified AwsMsk message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.verify|verify} messages.
1357
+ * @param message AwsMsk message or plain object to encode
1358
+ * @param [writer] Writer to encode to
1359
+ * @returns Writer
1360
+ */
1361
+ public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.IAwsMsk, writer?: $protobuf.Writer): $protobuf.Writer;
1362
+
1363
+ /**
1364
+ * Encodes the specified AwsMsk message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.AwsMsk.verify|verify} messages.
1365
+ * @param message AwsMsk message or plain object to encode
1366
+ * @param [writer] Writer to encode to
1367
+ * @returns Writer
1368
+ */
1369
+ public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.IAwsMsk, writer?: $protobuf.Writer): $protobuf.Writer;
1370
+
1371
+ /**
1372
+ * Decodes an AwsMsk message from the specified reader or buffer.
1373
+ * @param reader Reader or buffer to decode from
1374
+ * @param [length] Message length if known beforehand
1375
+ * @returns AwsMsk
1376
+ * @throws {Error} If the payload is not a reader or valid buffer
1377
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1378
+ */
1379
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.AwsMsk;
1380
+
1381
+ /**
1382
+ * Decodes an AwsMsk message from the specified reader or buffer, length delimited.
1383
+ * @param reader Reader or buffer to decode from
1384
+ * @returns AwsMsk
1385
+ * @throws {Error} If the payload is not a reader or valid buffer
1386
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1387
+ */
1388
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.AwsMsk;
1389
+
1390
+ /**
1391
+ * Verifies an AwsMsk message.
1392
+ * @param message Plain object to verify
1393
+ * @returns `null` if valid, otherwise the reason why it is not
1394
+ */
1395
+ public static verify(message: { [k: string]: any }): (string|null);
1396
+
1397
+ /**
1398
+ * Creates an AwsMsk message from a plain object. Also converts values to their respective internal types.
1399
+ * @param object Plain object
1400
+ * @returns AwsMsk
1401
+ */
1402
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.AwsMsk;
1403
+
1404
+ /**
1405
+ * Creates a plain object from an AwsMsk message. Also converts values to other types if specified.
1406
+ * @param message AwsMsk
1407
+ * @param [options] Conversion options
1408
+ * @returns Plain object
1409
+ */
1410
+ public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.AwsMsk, options?: $protobuf.IConversionOptions): { [k: string]: any };
1411
+
1412
+ /**
1413
+ * Converts this AwsMsk to JSON.
1414
+ * @returns JSON object
1415
+ */
1416
+ public toJSON(): { [k: string]: any };
1417
+
1418
+ /**
1419
+ * Gets the default type url for AwsMsk
1420
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1421
+ * @returns The default type url
1422
+ */
1423
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1424
+ }
1425
+
1426
+ namespace AwsMsk {
1427
+
1428
+ /** State enum. */
1429
+ enum State {
1430
+ STATE_UNSPECIFIED = 0,
1431
+ ACTIVE = 1,
1432
+ MSK_PERMISSION_DENIED = 2,
1433
+ PUBLISH_PERMISSION_DENIED = 3,
1434
+ CLUSTER_NOT_FOUND = 4,
1435
+ TOPIC_NOT_FOUND = 5
1436
+ }
1437
+ }
1438
+
1439
+ /** Properties of a ConfluentCloud. */
1440
+ interface IConfluentCloud {
1441
+
1442
+ /** ConfluentCloud state */
1443
+ state?: (google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.State|null);
1444
+
1445
+ /** ConfluentCloud bootstrapServer */
1446
+ bootstrapServer?: (string|null);
1447
+
1448
+ /** ConfluentCloud clusterId */
1449
+ clusterId?: (string|null);
1450
+
1451
+ /** ConfluentCloud topic */
1452
+ topic?: (string|null);
1453
+
1454
+ /** ConfluentCloud identityPoolId */
1455
+ identityPoolId?: (string|null);
1456
+
1457
+ /** ConfluentCloud gcpServiceAccount */
1458
+ gcpServiceAccount?: (string|null);
1459
+ }
1460
+
1461
+ /** Represents a ConfluentCloud. */
1462
+ class ConfluentCloud implements IConfluentCloud {
1463
+
1464
+ /**
1465
+ * Constructs a new ConfluentCloud.
1466
+ * @param [properties] Properties to set
1467
+ */
1468
+ constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.IConfluentCloud);
1469
+
1470
+ /** ConfluentCloud state. */
1471
+ public state: (google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.State);
1472
+
1473
+ /** ConfluentCloud bootstrapServer. */
1474
+ public bootstrapServer: string;
1475
+
1476
+ /** ConfluentCloud clusterId. */
1477
+ public clusterId: string;
1478
+
1479
+ /** ConfluentCloud topic. */
1480
+ public topic: string;
1481
+
1482
+ /** ConfluentCloud identityPoolId. */
1483
+ public identityPoolId: string;
1484
+
1485
+ /** ConfluentCloud gcpServiceAccount. */
1486
+ public gcpServiceAccount: string;
1487
+
1488
+ /**
1489
+ * Creates a new ConfluentCloud instance using the specified properties.
1490
+ * @param [properties] Properties to set
1491
+ * @returns ConfluentCloud instance
1492
+ */
1493
+ public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.IConfluentCloud): google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud;
1494
+
1495
+ /**
1496
+ * Encodes the specified ConfluentCloud message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.verify|verify} messages.
1497
+ * @param message ConfluentCloud message or plain object to encode
1498
+ * @param [writer] Writer to encode to
1499
+ * @returns Writer
1500
+ */
1501
+ public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.IConfluentCloud, writer?: $protobuf.Writer): $protobuf.Writer;
1502
+
1503
+ /**
1504
+ * Encodes the specified ConfluentCloud message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud.verify|verify} messages.
1505
+ * @param message ConfluentCloud message or plain object to encode
1506
+ * @param [writer] Writer to encode to
1507
+ * @returns Writer
1508
+ */
1509
+ public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.IConfluentCloud, writer?: $protobuf.Writer): $protobuf.Writer;
1510
+
1511
+ /**
1512
+ * Decodes a ConfluentCloud message from the specified reader or buffer.
1513
+ * @param reader Reader or buffer to decode from
1514
+ * @param [length] Message length if known beforehand
1515
+ * @returns ConfluentCloud
1516
+ * @throws {Error} If the payload is not a reader or valid buffer
1517
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1518
+ */
1519
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud;
1520
+
1521
+ /**
1522
+ * Decodes a ConfluentCloud message from the specified reader or buffer, length delimited.
1523
+ * @param reader Reader or buffer to decode from
1524
+ * @returns ConfluentCloud
1525
+ * @throws {Error} If the payload is not a reader or valid buffer
1526
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1527
+ */
1528
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud;
1529
+
1530
+ /**
1531
+ * Verifies a ConfluentCloud message.
1532
+ * @param message Plain object to verify
1533
+ * @returns `null` if valid, otherwise the reason why it is not
1534
+ */
1535
+ public static verify(message: { [k: string]: any }): (string|null);
1536
+
1537
+ /**
1538
+ * Creates a ConfluentCloud message from a plain object. Also converts values to their respective internal types.
1539
+ * @param object Plain object
1540
+ * @returns ConfluentCloud
1541
+ */
1542
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud;
1543
+
1544
+ /**
1545
+ * Creates a plain object from a ConfluentCloud message. Also converts values to other types if specified.
1546
+ * @param message ConfluentCloud
1547
+ * @param [options] Conversion options
1548
+ * @returns Plain object
1549
+ */
1550
+ public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.ConfluentCloud, options?: $protobuf.IConversionOptions): { [k: string]: any };
1551
+
1552
+ /**
1553
+ * Converts this ConfluentCloud to JSON.
1554
+ * @returns JSON object
1555
+ */
1556
+ public toJSON(): { [k: string]: any };
1557
+
1558
+ /**
1559
+ * Gets the default type url for ConfluentCloud
1560
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1561
+ * @returns The default type url
1562
+ */
1563
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1564
+ }
1565
+
1566
+ namespace ConfluentCloud {
1567
+
1568
+ /** State enum. */
1569
+ enum State {
1570
+ STATE_UNSPECIFIED = 0,
1571
+ ACTIVE = 1,
1572
+ CONFLUENT_CLOUD_PERMISSION_DENIED = 2,
1573
+ PUBLISH_PERMISSION_DENIED = 3,
1574
+ UNREACHABLE_BOOTSTRAP_SERVER = 4,
1575
+ CLUSTER_NOT_FOUND = 5,
1576
+ TOPIC_NOT_FOUND = 6
1577
+ }
1578
+ }
1579
+ }
1580
+
1581
+ /** Properties of a PlatformLogsSettings. */
1582
+ interface IPlatformLogsSettings {
1583
+
1584
+ /** PlatformLogsSettings severity */
1585
+ severity?: (google.pubsub.v1.PlatformLogsSettings.Severity|keyof typeof google.pubsub.v1.PlatformLogsSettings.Severity|null);
1586
+ }
1587
+
1588
+ /** Represents a PlatformLogsSettings. */
1589
+ class PlatformLogsSettings implements IPlatformLogsSettings {
1590
+
1591
+ /**
1592
+ * Constructs a new PlatformLogsSettings.
1593
+ * @param [properties] Properties to set
1594
+ */
1595
+ constructor(properties?: google.pubsub.v1.IPlatformLogsSettings);
1596
+
1597
+ /** PlatformLogsSettings severity. */
1598
+ public severity: (google.pubsub.v1.PlatformLogsSettings.Severity|keyof typeof google.pubsub.v1.PlatformLogsSettings.Severity);
1599
+
1600
+ /**
1601
+ * Creates a new PlatformLogsSettings instance using the specified properties.
1602
+ * @param [properties] Properties to set
1603
+ * @returns PlatformLogsSettings instance
1604
+ */
1605
+ public static create(properties?: google.pubsub.v1.IPlatformLogsSettings): google.pubsub.v1.PlatformLogsSettings;
1606
+
1607
+ /**
1608
+ * Encodes the specified PlatformLogsSettings message. Does not implicitly {@link google.pubsub.v1.PlatformLogsSettings.verify|verify} messages.
1609
+ * @param message PlatformLogsSettings message or plain object to encode
1610
+ * @param [writer] Writer to encode to
1611
+ * @returns Writer
1612
+ */
1613
+ public static encode(message: google.pubsub.v1.IPlatformLogsSettings, writer?: $protobuf.Writer): $protobuf.Writer;
1614
+
1615
+ /**
1616
+ * Encodes the specified PlatformLogsSettings message, length delimited. Does not implicitly {@link google.pubsub.v1.PlatformLogsSettings.verify|verify} messages.
1617
+ * @param message PlatformLogsSettings message or plain object to encode
1618
+ * @param [writer] Writer to encode to
1619
+ * @returns Writer
1620
+ */
1621
+ public static encodeDelimited(message: google.pubsub.v1.IPlatformLogsSettings, writer?: $protobuf.Writer): $protobuf.Writer;
1622
+
1623
+ /**
1624
+ * Decodes a PlatformLogsSettings message from the specified reader or buffer.
1625
+ * @param reader Reader or buffer to decode from
1626
+ * @param [length] Message length if known beforehand
1627
+ * @returns PlatformLogsSettings
1628
+ * @throws {Error} If the payload is not a reader or valid buffer
1629
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1630
+ */
1631
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.PlatformLogsSettings;
1632
+
1633
+ /**
1634
+ * Decodes a PlatformLogsSettings message from the specified reader or buffer, length delimited.
1635
+ * @param reader Reader or buffer to decode from
1636
+ * @returns PlatformLogsSettings
1637
+ * @throws {Error} If the payload is not a reader or valid buffer
1638
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1639
+ */
1640
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.PlatformLogsSettings;
1641
+
1642
+ /**
1643
+ * Verifies a PlatformLogsSettings message.
1644
+ * @param message Plain object to verify
1645
+ * @returns `null` if valid, otherwise the reason why it is not
1646
+ */
1647
+ public static verify(message: { [k: string]: any }): (string|null);
1648
+
1649
+ /**
1650
+ * Creates a PlatformLogsSettings message from a plain object. Also converts values to their respective internal types.
1651
+ * @param object Plain object
1652
+ * @returns PlatformLogsSettings
1653
+ */
1654
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.PlatformLogsSettings;
1655
+
1656
+ /**
1657
+ * Creates a plain object from a PlatformLogsSettings message. Also converts values to other types if specified.
1658
+ * @param message PlatformLogsSettings
1659
+ * @param [options] Conversion options
1660
+ * @returns Plain object
1661
+ */
1662
+ public static toObject(message: google.pubsub.v1.PlatformLogsSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
1663
+
1664
+ /**
1665
+ * Converts this PlatformLogsSettings to JSON.
1666
+ * @returns JSON object
1667
+ */
1668
+ public toJSON(): { [k: string]: any };
1669
+
1670
+ /**
1671
+ * Gets the default type url for PlatformLogsSettings
1672
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1673
+ * @returns The default type url
1674
+ */
1675
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1676
+ }
1677
+
1678
+ namespace PlatformLogsSettings {
1679
+
1680
+ /** Severity enum. */
1681
+ enum Severity {
1682
+ SEVERITY_UNSPECIFIED = 0,
1683
+ DISABLED = 1,
1684
+ DEBUG = 2,
1685
+ INFO = 3,
1686
+ WARNING = 4,
1687
+ ERROR = 5
1688
+ }
1689
+ }
1690
+
1691
+ /** Properties of an IngestionFailureEvent. */
1692
+ interface IIngestionFailureEvent {
1693
+
1694
+ /** IngestionFailureEvent topic */
1695
+ topic?: (string|null);
1696
+
1697
+ /** IngestionFailureEvent errorMessage */
1698
+ errorMessage?: (string|null);
1699
+
1700
+ /** IngestionFailureEvent cloudStorageFailure */
1701
+ cloudStorageFailure?: (google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure|null);
1702
+
1703
+ /** IngestionFailureEvent awsMskFailure */
1704
+ awsMskFailure?: (google.pubsub.v1.IngestionFailureEvent.IAwsMskFailureReason|null);
1705
+
1706
+ /** IngestionFailureEvent azureEventHubsFailure */
1707
+ azureEventHubsFailure?: (google.pubsub.v1.IngestionFailureEvent.IAzureEventHubsFailureReason|null);
1708
+
1709
+ /** IngestionFailureEvent confluentCloudFailure */
1710
+ confluentCloudFailure?: (google.pubsub.v1.IngestionFailureEvent.IConfluentCloudFailureReason|null);
1711
+ }
1712
+
1713
+ /** Represents an IngestionFailureEvent. */
1714
+ class IngestionFailureEvent implements IIngestionFailureEvent {
1715
+
1716
+ /**
1717
+ * Constructs a new IngestionFailureEvent.
1718
+ * @param [properties] Properties to set
1719
+ */
1720
+ constructor(properties?: google.pubsub.v1.IIngestionFailureEvent);
1721
+
1722
+ /** IngestionFailureEvent topic. */
1723
+ public topic: string;
1724
+
1725
+ /** IngestionFailureEvent errorMessage. */
1726
+ public errorMessage: string;
1727
+
1728
+ /** IngestionFailureEvent cloudStorageFailure. */
1729
+ public cloudStorageFailure?: (google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure|null);
1730
+
1731
+ /** IngestionFailureEvent awsMskFailure. */
1732
+ public awsMskFailure?: (google.pubsub.v1.IngestionFailureEvent.IAwsMskFailureReason|null);
1733
+
1734
+ /** IngestionFailureEvent azureEventHubsFailure. */
1735
+ public azureEventHubsFailure?: (google.pubsub.v1.IngestionFailureEvent.IAzureEventHubsFailureReason|null);
1736
+
1737
+ /** IngestionFailureEvent confluentCloudFailure. */
1738
+ public confluentCloudFailure?: (google.pubsub.v1.IngestionFailureEvent.IConfluentCloudFailureReason|null);
1739
+
1740
+ /** IngestionFailureEvent failure. */
1741
+ public failure?: ("cloudStorageFailure"|"awsMskFailure"|"azureEventHubsFailure"|"confluentCloudFailure");
1742
+
1743
+ /**
1744
+ * Creates a new IngestionFailureEvent instance using the specified properties.
1745
+ * @param [properties] Properties to set
1746
+ * @returns IngestionFailureEvent instance
1747
+ */
1748
+ public static create(properties?: google.pubsub.v1.IIngestionFailureEvent): google.pubsub.v1.IngestionFailureEvent;
1749
+
1750
+ /**
1751
+ * Encodes the specified IngestionFailureEvent message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.verify|verify} messages.
1752
+ * @param message IngestionFailureEvent message or plain object to encode
1753
+ * @param [writer] Writer to encode to
1754
+ * @returns Writer
1755
+ */
1756
+ public static encode(message: google.pubsub.v1.IIngestionFailureEvent, writer?: $protobuf.Writer): $protobuf.Writer;
1757
+
1758
+ /**
1759
+ * Encodes the specified IngestionFailureEvent message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.verify|verify} messages.
1760
+ * @param message IngestionFailureEvent message or plain object to encode
1761
+ * @param [writer] Writer to encode to
1762
+ * @returns Writer
1763
+ */
1764
+ public static encodeDelimited(message: google.pubsub.v1.IIngestionFailureEvent, writer?: $protobuf.Writer): $protobuf.Writer;
1765
+
1766
+ /**
1767
+ * Decodes an IngestionFailureEvent message from the specified reader or buffer.
1768
+ * @param reader Reader or buffer to decode from
1769
+ * @param [length] Message length if known beforehand
1770
+ * @returns IngestionFailureEvent
1771
+ * @throws {Error} If the payload is not a reader or valid buffer
1772
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1773
+ */
1774
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent;
1775
+
1776
+ /**
1777
+ * Decodes an IngestionFailureEvent message from the specified reader or buffer, length delimited.
1778
+ * @param reader Reader or buffer to decode from
1779
+ * @returns IngestionFailureEvent
1780
+ * @throws {Error} If the payload is not a reader or valid buffer
1781
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1782
+ */
1783
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent;
1784
+
1785
+ /**
1786
+ * Verifies an IngestionFailureEvent message.
1787
+ * @param message Plain object to verify
1788
+ * @returns `null` if valid, otherwise the reason why it is not
1789
+ */
1790
+ public static verify(message: { [k: string]: any }): (string|null);
1791
+
1792
+ /**
1793
+ * Creates an IngestionFailureEvent message from a plain object. Also converts values to their respective internal types.
1794
+ * @param object Plain object
1795
+ * @returns IngestionFailureEvent
1796
+ */
1797
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent;
1798
+
1799
+ /**
1800
+ * Creates a plain object from an IngestionFailureEvent message. Also converts values to other types if specified.
1801
+ * @param message IngestionFailureEvent
1802
+ * @param [options] Conversion options
1803
+ * @returns Plain object
1804
+ */
1805
+ public static toObject(message: google.pubsub.v1.IngestionFailureEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
1806
+
1807
+ /**
1808
+ * Converts this IngestionFailureEvent to JSON.
1809
+ * @returns JSON object
1810
+ */
1811
+ public toJSON(): { [k: string]: any };
1812
+
1813
+ /**
1814
+ * Gets the default type url for IngestionFailureEvent
1815
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1816
+ * @returns The default type url
1817
+ */
1818
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1819
+ }
1820
+
1821
+ namespace IngestionFailureEvent {
1822
+
1823
+ /** Properties of an ApiViolationReason. */
1824
+ interface IApiViolationReason {
1825
+ }
1826
+
1827
+ /** Represents an ApiViolationReason. */
1828
+ class ApiViolationReason implements IApiViolationReason {
1829
+
1830
+ /**
1831
+ * Constructs a new ApiViolationReason.
1832
+ * @param [properties] Properties to set
1833
+ */
1834
+ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.IApiViolationReason);
1835
+
1836
+ /**
1837
+ * Creates a new ApiViolationReason instance using the specified properties.
1838
+ * @param [properties] Properties to set
1839
+ * @returns ApiViolationReason instance
1840
+ */
1841
+ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.IApiViolationReason): google.pubsub.v1.IngestionFailureEvent.ApiViolationReason;
1842
+
1843
+ /**
1844
+ * Encodes the specified ApiViolationReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.verify|verify} messages.
1845
+ * @param message ApiViolationReason message or plain object to encode
1846
+ * @param [writer] Writer to encode to
1847
+ * @returns Writer
1848
+ */
1849
+ public static encode(message: google.pubsub.v1.IngestionFailureEvent.IApiViolationReason, writer?: $protobuf.Writer): $protobuf.Writer;
1850
+
1851
+ /**
1852
+ * Encodes the specified ApiViolationReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.ApiViolationReason.verify|verify} messages.
1853
+ * @param message ApiViolationReason message or plain object to encode
1854
+ * @param [writer] Writer to encode to
1855
+ * @returns Writer
1856
+ */
1857
+ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.IApiViolationReason, writer?: $protobuf.Writer): $protobuf.Writer;
1858
+
1859
+ /**
1860
+ * Decodes an ApiViolationReason message from the specified reader or buffer.
1861
+ * @param reader Reader or buffer to decode from
1862
+ * @param [length] Message length if known beforehand
1863
+ * @returns ApiViolationReason
1864
+ * @throws {Error} If the payload is not a reader or valid buffer
1865
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1866
+ */
1867
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.ApiViolationReason;
1868
+
1869
+ /**
1870
+ * Decodes an ApiViolationReason message from the specified reader or buffer, length delimited.
1871
+ * @param reader Reader or buffer to decode from
1872
+ * @returns ApiViolationReason
1873
+ * @throws {Error} If the payload is not a reader or valid buffer
1874
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1875
+ */
1876
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.ApiViolationReason;
1877
+
1878
+ /**
1879
+ * Verifies an ApiViolationReason message.
1880
+ * @param message Plain object to verify
1881
+ * @returns `null` if valid, otherwise the reason why it is not
1882
+ */
1883
+ public static verify(message: { [k: string]: any }): (string|null);
1884
+
1885
+ /**
1886
+ * Creates an ApiViolationReason message from a plain object. Also converts values to their respective internal types.
1887
+ * @param object Plain object
1888
+ * @returns ApiViolationReason
1889
+ */
1890
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.ApiViolationReason;
1891
+
1892
+ /**
1893
+ * Creates a plain object from an ApiViolationReason message. Also converts values to other types if specified.
1894
+ * @param message ApiViolationReason
1895
+ * @param [options] Conversion options
1896
+ * @returns Plain object
1897
+ */
1898
+ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.ApiViolationReason, options?: $protobuf.IConversionOptions): { [k: string]: any };
1899
+
1900
+ /**
1901
+ * Converts this ApiViolationReason to JSON.
1902
+ * @returns JSON object
1903
+ */
1904
+ public toJSON(): { [k: string]: any };
1905
+
1906
+ /**
1907
+ * Gets the default type url for ApiViolationReason
1908
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1909
+ * @returns The default type url
1910
+ */
1911
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1912
+ }
1913
+
1914
+ /** Properties of an AvroFailureReason. */
1915
+ interface IAvroFailureReason {
1916
+ }
1917
+
1918
+ /** Represents an AvroFailureReason. */
1919
+ class AvroFailureReason implements IAvroFailureReason {
1920
+
1921
+ /**
1922
+ * Constructs a new AvroFailureReason.
1923
+ * @param [properties] Properties to set
1924
+ */
1925
+ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason);
1926
+
1927
+ /**
1928
+ * Creates a new AvroFailureReason instance using the specified properties.
1929
+ * @param [properties] Properties to set
1930
+ * @returns AvroFailureReason instance
1931
+ */
1932
+ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason): google.pubsub.v1.IngestionFailureEvent.AvroFailureReason;
1933
+
1934
+ /**
1935
+ * Encodes the specified AvroFailureReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.verify|verify} messages.
1936
+ * @param message AvroFailureReason message or plain object to encode
1937
+ * @param [writer] Writer to encode to
1938
+ * @returns Writer
1939
+ */
1940
+ public static encode(message: google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason, writer?: $protobuf.Writer): $protobuf.Writer;
1941
+
1942
+ /**
1943
+ * Encodes the specified AvroFailureReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AvroFailureReason.verify|verify} messages.
1944
+ * @param message AvroFailureReason message or plain object to encode
1945
+ * @param [writer] Writer to encode to
1946
+ * @returns Writer
1947
+ */
1948
+ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason, writer?: $protobuf.Writer): $protobuf.Writer;
1949
+
1950
+ /**
1951
+ * Decodes an AvroFailureReason message from the specified reader or buffer.
1952
+ * @param reader Reader or buffer to decode from
1953
+ * @param [length] Message length if known beforehand
1954
+ * @returns AvroFailureReason
1955
+ * @throws {Error} If the payload is not a reader or valid buffer
1956
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1957
+ */
1958
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.AvroFailureReason;
1959
+
1960
+ /**
1961
+ * Decodes an AvroFailureReason message from the specified reader or buffer, length delimited.
1962
+ * @param reader Reader or buffer to decode from
1963
+ * @returns AvroFailureReason
1964
+ * @throws {Error} If the payload is not a reader or valid buffer
1965
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1966
+ */
1967
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.AvroFailureReason;
1968
+
1969
+ /**
1970
+ * Verifies an AvroFailureReason message.
1971
+ * @param message Plain object to verify
1972
+ * @returns `null` if valid, otherwise the reason why it is not
1973
+ */
1974
+ public static verify(message: { [k: string]: any }): (string|null);
1975
+
1976
+ /**
1977
+ * Creates an AvroFailureReason message from a plain object. Also converts values to their respective internal types.
1978
+ * @param object Plain object
1979
+ * @returns AvroFailureReason
1980
+ */
1981
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.AvroFailureReason;
1982
+
1983
+ /**
1984
+ * Creates a plain object from an AvroFailureReason message. Also converts values to other types if specified.
1985
+ * @param message AvroFailureReason
1986
+ * @param [options] Conversion options
1987
+ * @returns Plain object
1988
+ */
1989
+ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.AvroFailureReason, options?: $protobuf.IConversionOptions): { [k: string]: any };
1990
+
1991
+ /**
1992
+ * Converts this AvroFailureReason to JSON.
1993
+ * @returns JSON object
1994
+ */
1995
+ public toJSON(): { [k: string]: any };
1996
+
1997
+ /**
1998
+ * Gets the default type url for AvroFailureReason
1999
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2000
+ * @returns The default type url
2001
+ */
2002
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2003
+ }
2004
+
2005
+ /** Properties of a CloudStorageFailure. */
2006
+ interface ICloudStorageFailure {
2007
+
2008
+ /** CloudStorageFailure bucket */
2009
+ bucket?: (string|null);
2010
+
2011
+ /** CloudStorageFailure objectName */
2012
+ objectName?: (string|null);
2013
+
2014
+ /** CloudStorageFailure objectGeneration */
2015
+ objectGeneration?: (number|Long|string|null);
2016
+
2017
+ /** CloudStorageFailure avroFailureReason */
2018
+ avroFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason|null);
2019
+
2020
+ /** CloudStorageFailure apiViolationReason */
2021
+ apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2022
+ }
2023
+
2024
+ /** Represents a CloudStorageFailure. */
2025
+ class CloudStorageFailure implements ICloudStorageFailure {
2026
+
2027
+ /**
2028
+ * Constructs a new CloudStorageFailure.
2029
+ * @param [properties] Properties to set
2030
+ */
2031
+ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure);
2032
+
2033
+ /** CloudStorageFailure bucket. */
2034
+ public bucket: string;
2035
+
2036
+ /** CloudStorageFailure objectName. */
2037
+ public objectName: string;
2038
+
2039
+ /** CloudStorageFailure objectGeneration. */
2040
+ public objectGeneration: (number|Long|string);
2041
+
2042
+ /** CloudStorageFailure avroFailureReason. */
2043
+ public avroFailureReason?: (google.pubsub.v1.IngestionFailureEvent.IAvroFailureReason|null);
2044
+
2045
+ /** CloudStorageFailure apiViolationReason. */
2046
+ public apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2047
+
2048
+ /** CloudStorageFailure reason. */
2049
+ public reason?: ("avroFailureReason"|"apiViolationReason");
2050
+
2051
+ /**
2052
+ * Creates a new CloudStorageFailure instance using the specified properties.
2053
+ * @param [properties] Properties to set
2054
+ * @returns CloudStorageFailure instance
2055
+ */
2056
+ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure): google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure;
2057
+
2058
+ /**
2059
+ * Encodes the specified CloudStorageFailure message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.verify|verify} messages.
2060
+ * @param message CloudStorageFailure message or plain object to encode
2061
+ * @param [writer] Writer to encode to
2062
+ * @returns Writer
2063
+ */
2064
+ public static encode(message: google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure, writer?: $protobuf.Writer): $protobuf.Writer;
2065
+
2066
+ /**
2067
+ * Encodes the specified CloudStorageFailure message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure.verify|verify} messages.
2068
+ * @param message CloudStorageFailure message or plain object to encode
2069
+ * @param [writer] Writer to encode to
2070
+ * @returns Writer
2071
+ */
2072
+ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure, writer?: $protobuf.Writer): $protobuf.Writer;
2073
+
2074
+ /**
2075
+ * Decodes a CloudStorageFailure message from the specified reader or buffer.
2076
+ * @param reader Reader or buffer to decode from
2077
+ * @param [length] Message length if known beforehand
2078
+ * @returns CloudStorageFailure
2079
+ * @throws {Error} If the payload is not a reader or valid buffer
2080
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2081
+ */
2082
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure;
2083
+
2084
+ /**
2085
+ * Decodes a CloudStorageFailure message from the specified reader or buffer, length delimited.
2086
+ * @param reader Reader or buffer to decode from
2087
+ * @returns CloudStorageFailure
2088
+ * @throws {Error} If the payload is not a reader or valid buffer
2089
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2090
+ */
2091
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure;
2092
+
2093
+ /**
2094
+ * Verifies a CloudStorageFailure message.
2095
+ * @param message Plain object to verify
2096
+ * @returns `null` if valid, otherwise the reason why it is not
2097
+ */
2098
+ public static verify(message: { [k: string]: any }): (string|null);
2099
+
2100
+ /**
2101
+ * Creates a CloudStorageFailure message from a plain object. Also converts values to their respective internal types.
2102
+ * @param object Plain object
2103
+ * @returns CloudStorageFailure
2104
+ */
2105
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure;
2106
+
2107
+ /**
2108
+ * Creates a plain object from a CloudStorageFailure message. Also converts values to other types if specified.
2109
+ * @param message CloudStorageFailure
2110
+ * @param [options] Conversion options
2111
+ * @returns Plain object
2112
+ */
2113
+ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.CloudStorageFailure, options?: $protobuf.IConversionOptions): { [k: string]: any };
2114
+
2115
+ /**
2116
+ * Converts this CloudStorageFailure to JSON.
2117
+ * @returns JSON object
2118
+ */
2119
+ public toJSON(): { [k: string]: any };
2120
+
2121
+ /**
2122
+ * Gets the default type url for CloudStorageFailure
2123
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2124
+ * @returns The default type url
2125
+ */
2126
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2127
+ }
2128
+
2129
+ /** Properties of an AwsMskFailureReason. */
2130
+ interface IAwsMskFailureReason {
2131
+
2132
+ /** AwsMskFailureReason clusterArn */
2133
+ clusterArn?: (string|null);
2134
+
2135
+ /** AwsMskFailureReason kafkaTopic */
2136
+ kafkaTopic?: (string|null);
2137
+
2138
+ /** AwsMskFailureReason partitionId */
2139
+ partitionId?: (number|Long|string|null);
2140
+
2141
+ /** AwsMskFailureReason offset */
2142
+ offset?: (number|Long|string|null);
2143
+
2144
+ /** AwsMskFailureReason apiViolationReason */
2145
+ apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2146
+ }
2147
+
2148
+ /** Represents an AwsMskFailureReason. */
2149
+ class AwsMskFailureReason implements IAwsMskFailureReason {
2150
+
2151
+ /**
2152
+ * Constructs a new AwsMskFailureReason.
2153
+ * @param [properties] Properties to set
2154
+ */
2155
+ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.IAwsMskFailureReason);
2156
+
2157
+ /** AwsMskFailureReason clusterArn. */
2158
+ public clusterArn: string;
2159
+
2160
+ /** AwsMskFailureReason kafkaTopic. */
2161
+ public kafkaTopic: string;
2162
+
2163
+ /** AwsMskFailureReason partitionId. */
2164
+ public partitionId: (number|Long|string);
2165
+
2166
+ /** AwsMskFailureReason offset. */
2167
+ public offset: (number|Long|string);
2168
+
2169
+ /** AwsMskFailureReason apiViolationReason. */
2170
+ public apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2171
+
2172
+ /** AwsMskFailureReason reason. */
2173
+ public reason?: "apiViolationReason";
2174
+
2175
+ /**
2176
+ * Creates a new AwsMskFailureReason instance using the specified properties.
2177
+ * @param [properties] Properties to set
2178
+ * @returns AwsMskFailureReason instance
2179
+ */
2180
+ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.IAwsMskFailureReason): google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason;
2181
+
2182
+ /**
2183
+ * Encodes the specified AwsMskFailureReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason.verify|verify} messages.
2184
+ * @param message AwsMskFailureReason message or plain object to encode
2185
+ * @param [writer] Writer to encode to
2186
+ * @returns Writer
2187
+ */
2188
+ public static encode(message: google.pubsub.v1.IngestionFailureEvent.IAwsMskFailureReason, writer?: $protobuf.Writer): $protobuf.Writer;
2189
+
2190
+ /**
2191
+ * Encodes the specified AwsMskFailureReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason.verify|verify} messages.
2192
+ * @param message AwsMskFailureReason message or plain object to encode
2193
+ * @param [writer] Writer to encode to
2194
+ * @returns Writer
2195
+ */
2196
+ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.IAwsMskFailureReason, writer?: $protobuf.Writer): $protobuf.Writer;
2197
+
2198
+ /**
2199
+ * Decodes an AwsMskFailureReason message from the specified reader or buffer.
2200
+ * @param reader Reader or buffer to decode from
2201
+ * @param [length] Message length if known beforehand
2202
+ * @returns AwsMskFailureReason
2203
+ * @throws {Error} If the payload is not a reader or valid buffer
2204
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2205
+ */
2206
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason;
2207
+
2208
+ /**
2209
+ * Decodes an AwsMskFailureReason message from the specified reader or buffer, length delimited.
2210
+ * @param reader Reader or buffer to decode from
2211
+ * @returns AwsMskFailureReason
2212
+ * @throws {Error} If the payload is not a reader or valid buffer
2213
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2214
+ */
2215
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason;
2216
+
2217
+ /**
2218
+ * Verifies an AwsMskFailureReason message.
2219
+ * @param message Plain object to verify
2220
+ * @returns `null` if valid, otherwise the reason why it is not
2221
+ */
2222
+ public static verify(message: { [k: string]: any }): (string|null);
2223
+
2224
+ /**
2225
+ * Creates an AwsMskFailureReason message from a plain object. Also converts values to their respective internal types.
2226
+ * @param object Plain object
2227
+ * @returns AwsMskFailureReason
2228
+ */
2229
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason;
2230
+
2231
+ /**
2232
+ * Creates a plain object from an AwsMskFailureReason message. Also converts values to other types if specified.
2233
+ * @param message AwsMskFailureReason
2234
+ * @param [options] Conversion options
2235
+ * @returns Plain object
2236
+ */
2237
+ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.AwsMskFailureReason, options?: $protobuf.IConversionOptions): { [k: string]: any };
2238
+
2239
+ /**
2240
+ * Converts this AwsMskFailureReason to JSON.
2241
+ * @returns JSON object
2242
+ */
2243
+ public toJSON(): { [k: string]: any };
2244
+
2245
+ /**
2246
+ * Gets the default type url for AwsMskFailureReason
2247
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2248
+ * @returns The default type url
2249
+ */
2250
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2251
+ }
2252
+
2253
+ /** Properties of an AzureEventHubsFailureReason. */
2254
+ interface IAzureEventHubsFailureReason {
2255
+
2256
+ /** AzureEventHubsFailureReason namespace */
2257
+ namespace?: (string|null);
2258
+
2259
+ /** AzureEventHubsFailureReason eventHub */
2260
+ eventHub?: (string|null);
2261
+
2262
+ /** AzureEventHubsFailureReason partitionId */
2263
+ partitionId?: (number|Long|string|null);
2264
+
2265
+ /** AzureEventHubsFailureReason offset */
2266
+ offset?: (number|Long|string|null);
2267
+
2268
+ /** AzureEventHubsFailureReason apiViolationReason */
2269
+ apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2270
+ }
2271
+
2272
+ /** Represents an AzureEventHubsFailureReason. */
2273
+ class AzureEventHubsFailureReason implements IAzureEventHubsFailureReason {
2274
+
2275
+ /**
2276
+ * Constructs a new AzureEventHubsFailureReason.
2277
+ * @param [properties] Properties to set
2278
+ */
2279
+ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.IAzureEventHubsFailureReason);
2280
+
2281
+ /** AzureEventHubsFailureReason namespace. */
2282
+ public namespace: string;
2283
+
2284
+ /** AzureEventHubsFailureReason eventHub. */
2285
+ public eventHub: string;
2286
+
2287
+ /** AzureEventHubsFailureReason partitionId. */
2288
+ public partitionId: (number|Long|string);
2289
+
2290
+ /** AzureEventHubsFailureReason offset. */
2291
+ public offset: (number|Long|string);
2292
+
2293
+ /** AzureEventHubsFailureReason apiViolationReason. */
2294
+ public apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2295
+
2296
+ /** AzureEventHubsFailureReason reason. */
2297
+ public reason?: "apiViolationReason";
2298
+
2299
+ /**
2300
+ * Creates a new AzureEventHubsFailureReason instance using the specified properties.
2301
+ * @param [properties] Properties to set
2302
+ * @returns AzureEventHubsFailureReason instance
2303
+ */
2304
+ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.IAzureEventHubsFailureReason): google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason;
2305
+
2306
+ /**
2307
+ * Encodes the specified AzureEventHubsFailureReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason.verify|verify} messages.
2308
+ * @param message AzureEventHubsFailureReason message or plain object to encode
2309
+ * @param [writer] Writer to encode to
2310
+ * @returns Writer
2311
+ */
2312
+ public static encode(message: google.pubsub.v1.IngestionFailureEvent.IAzureEventHubsFailureReason, writer?: $protobuf.Writer): $protobuf.Writer;
2313
+
2314
+ /**
2315
+ * Encodes the specified AzureEventHubsFailureReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason.verify|verify} messages.
2316
+ * @param message AzureEventHubsFailureReason message or plain object to encode
2317
+ * @param [writer] Writer to encode to
2318
+ * @returns Writer
2319
+ */
2320
+ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.IAzureEventHubsFailureReason, writer?: $protobuf.Writer): $protobuf.Writer;
2321
+
2322
+ /**
2323
+ * Decodes an AzureEventHubsFailureReason message from the specified reader or buffer.
2324
+ * @param reader Reader or buffer to decode from
2325
+ * @param [length] Message length if known beforehand
2326
+ * @returns AzureEventHubsFailureReason
2327
+ * @throws {Error} If the payload is not a reader or valid buffer
2328
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2329
+ */
2330
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason;
2331
+
2332
+ /**
2333
+ * Decodes an AzureEventHubsFailureReason message from the specified reader or buffer, length delimited.
2334
+ * @param reader Reader or buffer to decode from
2335
+ * @returns AzureEventHubsFailureReason
2336
+ * @throws {Error} If the payload is not a reader or valid buffer
2337
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2338
+ */
2339
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason;
2340
+
2341
+ /**
2342
+ * Verifies an AzureEventHubsFailureReason message.
2343
+ * @param message Plain object to verify
2344
+ * @returns `null` if valid, otherwise the reason why it is not
2345
+ */
2346
+ public static verify(message: { [k: string]: any }): (string|null);
2347
+
2348
+ /**
2349
+ * Creates an AzureEventHubsFailureReason message from a plain object. Also converts values to their respective internal types.
2350
+ * @param object Plain object
2351
+ * @returns AzureEventHubsFailureReason
2352
+ */
2353
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason;
2354
+
2355
+ /**
2356
+ * Creates a plain object from an AzureEventHubsFailureReason message. Also converts values to other types if specified.
2357
+ * @param message AzureEventHubsFailureReason
2358
+ * @param [options] Conversion options
2359
+ * @returns Plain object
2360
+ */
2361
+ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.AzureEventHubsFailureReason, options?: $protobuf.IConversionOptions): { [k: string]: any };
2362
+
2363
+ /**
2364
+ * Converts this AzureEventHubsFailureReason to JSON.
2365
+ * @returns JSON object
2366
+ */
2367
+ public toJSON(): { [k: string]: any };
2368
+
2369
+ /**
2370
+ * Gets the default type url for AzureEventHubsFailureReason
2371
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2372
+ * @returns The default type url
2373
+ */
2374
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2375
+ }
2376
+
2377
+ /** Properties of a ConfluentCloudFailureReason. */
2378
+ interface IConfluentCloudFailureReason {
2379
+
2380
+ /** ConfluentCloudFailureReason clusterId */
2381
+ clusterId?: (string|null);
2382
+
2383
+ /** ConfluentCloudFailureReason kafkaTopic */
2384
+ kafkaTopic?: (string|null);
2385
+
2386
+ /** ConfluentCloudFailureReason partitionId */
2387
+ partitionId?: (number|Long|string|null);
2388
+
2389
+ /** ConfluentCloudFailureReason offset */
2390
+ offset?: (number|Long|string|null);
2391
+
2392
+ /** ConfluentCloudFailureReason apiViolationReason */
2393
+ apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2394
+ }
2395
+
2396
+ /** Represents a ConfluentCloudFailureReason. */
2397
+ class ConfluentCloudFailureReason implements IConfluentCloudFailureReason {
2398
+
2399
+ /**
2400
+ * Constructs a new ConfluentCloudFailureReason.
2401
+ * @param [properties] Properties to set
2402
+ */
2403
+ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.IConfluentCloudFailureReason);
2404
+
2405
+ /** ConfluentCloudFailureReason clusterId. */
2406
+ public clusterId: string;
2407
+
2408
+ /** ConfluentCloudFailureReason kafkaTopic. */
2409
+ public kafkaTopic: string;
2410
+
2411
+ /** ConfluentCloudFailureReason partitionId. */
2412
+ public partitionId: (number|Long|string);
2413
+
2414
+ /** ConfluentCloudFailureReason offset. */
2415
+ public offset: (number|Long|string);
2416
+
2417
+ /** ConfluentCloudFailureReason apiViolationReason. */
2418
+ public apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2419
+
2420
+ /** ConfluentCloudFailureReason reason. */
2421
+ public reason?: "apiViolationReason";
2422
+
2423
+ /**
2424
+ * Creates a new ConfluentCloudFailureReason instance using the specified properties.
2425
+ * @param [properties] Properties to set
2426
+ * @returns ConfluentCloudFailureReason instance
2427
+ */
2428
+ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.IConfluentCloudFailureReason): google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason;
2429
+
2430
+ /**
2431
+ * Encodes the specified ConfluentCloudFailureReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason.verify|verify} messages.
2432
+ * @param message ConfluentCloudFailureReason message or plain object to encode
2433
+ * @param [writer] Writer to encode to
2434
+ * @returns Writer
2435
+ */
2436
+ public static encode(message: google.pubsub.v1.IngestionFailureEvent.IConfluentCloudFailureReason, writer?: $protobuf.Writer): $protobuf.Writer;
2437
+
2438
+ /**
2439
+ * Encodes the specified ConfluentCloudFailureReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason.verify|verify} messages.
2440
+ * @param message ConfluentCloudFailureReason message or plain object to encode
2441
+ * @param [writer] Writer to encode to
2442
+ * @returns Writer
2443
+ */
2444
+ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.IConfluentCloudFailureReason, writer?: $protobuf.Writer): $protobuf.Writer;
2445
+
2446
+ /**
2447
+ * Decodes a ConfluentCloudFailureReason message from the specified reader or buffer.
2448
+ * @param reader Reader or buffer to decode from
2449
+ * @param [length] Message length if known beforehand
2450
+ * @returns ConfluentCloudFailureReason
2451
+ * @throws {Error} If the payload is not a reader or valid buffer
2452
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2453
+ */
2454
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason;
2455
+
2456
+ /**
2457
+ * Decodes a ConfluentCloudFailureReason message from the specified reader or buffer, length delimited.
2458
+ * @param reader Reader or buffer to decode from
2459
+ * @returns ConfluentCloudFailureReason
2460
+ * @throws {Error} If the payload is not a reader or valid buffer
2461
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2462
+ */
2463
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason;
2464
+
2465
+ /**
2466
+ * Verifies a ConfluentCloudFailureReason message.
2467
+ * @param message Plain object to verify
2468
+ * @returns `null` if valid, otherwise the reason why it is not
2469
+ */
2470
+ public static verify(message: { [k: string]: any }): (string|null);
2471
+
2472
+ /**
2473
+ * Creates a ConfluentCloudFailureReason message from a plain object. Also converts values to their respective internal types.
2474
+ * @param object Plain object
2475
+ * @returns ConfluentCloudFailureReason
2476
+ */
2477
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason;
2478
+
2479
+ /**
2480
+ * Creates a plain object from a ConfluentCloudFailureReason message. Also converts values to other types if specified.
2481
+ * @param message ConfluentCloudFailureReason
2482
+ * @param [options] Conversion options
2483
+ * @returns Plain object
2484
+ */
2485
+ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.ConfluentCloudFailureReason, options?: $protobuf.IConversionOptions): { [k: string]: any };
2486
+
2487
+ /**
2488
+ * Converts this ConfluentCloudFailureReason to JSON.
2489
+ * @returns JSON object
2490
+ */
2491
+ public toJSON(): { [k: string]: any };
2492
+
2493
+ /**
2494
+ * Gets the default type url for ConfluentCloudFailureReason
2495
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2496
+ * @returns The default type url
2497
+ */
2498
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1241
2499
  }
1242
2500
  }
1243
2501