@google-cloud/pubsub 4.9.0 → 4.11.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.
- package/CHANGELOG.md +26 -0
- package/README.md +3 -0
- package/build/protos/google/pubsub/v1/pubsub.proto +252 -0
- package/build/protos/protos.d.ts +840 -3
- package/build/protos/protos.js +3179 -738
- package/build/protos/protos.json +372 -2
- package/build/src/publisher/index.js +2 -2
- package/build/src/publisher/index.js.map +1 -1
- package/build/src/telemetry-tracing.js +6 -2
- package/build/src/telemetry-tracing.js.map +1 -1
- package/build/src/v1/index.js +1 -1
- package/build/src/v1/publisher_client.js +1 -1
- package/build/src/v1/schema_service_client.js +1 -1
- package/build/src/v1/subscriber_client.js +1 -1
- package/package.json +3 -3
package/build/protos/protos.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
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,6 +1147,435 @@ export namespace google {
|
|
|
1129
1147
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1130
1148
|
}
|
|
1131
1149
|
}
|
|
1150
|
+
|
|
1151
|
+
/** Properties of an AzureEventHubs. */
|
|
1152
|
+
interface IAzureEventHubs {
|
|
1153
|
+
|
|
1154
|
+
/** AzureEventHubs state */
|
|
1155
|
+
state?: (google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State|null);
|
|
1156
|
+
|
|
1157
|
+
/** AzureEventHubs resourceGroup */
|
|
1158
|
+
resourceGroup?: (string|null);
|
|
1159
|
+
|
|
1160
|
+
/** AzureEventHubs namespace */
|
|
1161
|
+
namespace?: (string|null);
|
|
1162
|
+
|
|
1163
|
+
/** AzureEventHubs eventHub */
|
|
1164
|
+
eventHub?: (string|null);
|
|
1165
|
+
|
|
1166
|
+
/** AzureEventHubs clientId */
|
|
1167
|
+
clientId?: (string|null);
|
|
1168
|
+
|
|
1169
|
+
/** AzureEventHubs tenantId */
|
|
1170
|
+
tenantId?: (string|null);
|
|
1171
|
+
|
|
1172
|
+
/** AzureEventHubs subscriptionId */
|
|
1173
|
+
subscriptionId?: (string|null);
|
|
1174
|
+
|
|
1175
|
+
/** AzureEventHubs gcpServiceAccount */
|
|
1176
|
+
gcpServiceAccount?: (string|null);
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
/** Represents an AzureEventHubs. */
|
|
1180
|
+
class AzureEventHubs implements IAzureEventHubs {
|
|
1181
|
+
|
|
1182
|
+
/**
|
|
1183
|
+
* Constructs a new AzureEventHubs.
|
|
1184
|
+
* @param [properties] Properties to set
|
|
1185
|
+
*/
|
|
1186
|
+
constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.IAzureEventHubs);
|
|
1187
|
+
|
|
1188
|
+
/** AzureEventHubs state. */
|
|
1189
|
+
public state: (google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.AzureEventHubs.State);
|
|
1190
|
+
|
|
1191
|
+
/** AzureEventHubs resourceGroup. */
|
|
1192
|
+
public resourceGroup: string;
|
|
1193
|
+
|
|
1194
|
+
/** AzureEventHubs namespace. */
|
|
1195
|
+
public namespace: string;
|
|
1196
|
+
|
|
1197
|
+
/** AzureEventHubs eventHub. */
|
|
1198
|
+
public eventHub: string;
|
|
1199
|
+
|
|
1200
|
+
/** AzureEventHubs clientId. */
|
|
1201
|
+
public clientId: string;
|
|
1202
|
+
|
|
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
|
+
}
|
|
1132
1579
|
}
|
|
1133
1580
|
|
|
1134
1581
|
/** Properties of a PlatformLogsSettings. */
|
|
@@ -1252,6 +1699,15 @@ export namespace google {
|
|
|
1252
1699
|
|
|
1253
1700
|
/** IngestionFailureEvent cloudStorageFailure */
|
|
1254
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);
|
|
1255
1711
|
}
|
|
1256
1712
|
|
|
1257
1713
|
/** Represents an IngestionFailureEvent. */
|
|
@@ -1272,8 +1728,17 @@ export namespace google {
|
|
|
1272
1728
|
/** IngestionFailureEvent cloudStorageFailure. */
|
|
1273
1729
|
public cloudStorageFailure?: (google.pubsub.v1.IngestionFailureEvent.ICloudStorageFailure|null);
|
|
1274
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
|
+
|
|
1275
1740
|
/** IngestionFailureEvent failure. */
|
|
1276
|
-
public failure?: "cloudStorageFailure";
|
|
1741
|
+
public failure?: ("cloudStorageFailure"|"awsMskFailure"|"azureEventHubsFailure"|"confluentCloudFailure");
|
|
1277
1742
|
|
|
1278
1743
|
/**
|
|
1279
1744
|
* Creates a new IngestionFailureEvent instance using the specified properties.
|
|
@@ -1660,6 +2125,378 @@ export namespace google {
|
|
|
1660
2125
|
*/
|
|
1661
2126
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1662
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;
|
|
2499
|
+
}
|
|
1663
2500
|
}
|
|
1664
2501
|
|
|
1665
2502
|
/** Properties of a Topic. */
|