@flyteorg/flyteidl 0.21.14 → 0.21.18

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.
@@ -5207,6 +5207,247 @@ export const flyteidl = $root.flyteidl = (() => {
5207
5207
  return Schema;
5208
5208
  })();
5209
5209
 
5210
+ core.StructuredDatasetMetadata = (function() {
5211
+
5212
+ /**
5213
+ * Properties of a StructuredDatasetMetadata.
5214
+ * @memberof flyteidl.core
5215
+ * @interface IStructuredDatasetMetadata
5216
+ * @property {flyteidl.core.IStructuredDatasetType|null} [structuredDatasetType] StructuredDatasetMetadata structuredDatasetType
5217
+ */
5218
+
5219
+ /**
5220
+ * Constructs a new StructuredDatasetMetadata.
5221
+ * @memberof flyteidl.core
5222
+ * @classdesc Represents a StructuredDatasetMetadata.
5223
+ * @implements IStructuredDatasetMetadata
5224
+ * @constructor
5225
+ * @param {flyteidl.core.IStructuredDatasetMetadata=} [properties] Properties to set
5226
+ */
5227
+ function StructuredDatasetMetadata(properties) {
5228
+ if (properties)
5229
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
5230
+ if (properties[keys[i]] != null)
5231
+ this[keys[i]] = properties[keys[i]];
5232
+ }
5233
+
5234
+ /**
5235
+ * StructuredDatasetMetadata structuredDatasetType.
5236
+ * @member {flyteidl.core.IStructuredDatasetType|null|undefined} structuredDatasetType
5237
+ * @memberof flyteidl.core.StructuredDatasetMetadata
5238
+ * @instance
5239
+ */
5240
+ StructuredDatasetMetadata.prototype.structuredDatasetType = null;
5241
+
5242
+ /**
5243
+ * Creates a new StructuredDatasetMetadata instance using the specified properties.
5244
+ * @function create
5245
+ * @memberof flyteidl.core.StructuredDatasetMetadata
5246
+ * @static
5247
+ * @param {flyteidl.core.IStructuredDatasetMetadata=} [properties] Properties to set
5248
+ * @returns {flyteidl.core.StructuredDatasetMetadata} StructuredDatasetMetadata instance
5249
+ */
5250
+ StructuredDatasetMetadata.create = function create(properties) {
5251
+ return new StructuredDatasetMetadata(properties);
5252
+ };
5253
+
5254
+ /**
5255
+ * Encodes the specified StructuredDatasetMetadata message. Does not implicitly {@link flyteidl.core.StructuredDatasetMetadata.verify|verify} messages.
5256
+ * @function encode
5257
+ * @memberof flyteidl.core.StructuredDatasetMetadata
5258
+ * @static
5259
+ * @param {flyteidl.core.IStructuredDatasetMetadata} message StructuredDatasetMetadata message or plain object to encode
5260
+ * @param {$protobuf.Writer} [writer] Writer to encode to
5261
+ * @returns {$protobuf.Writer} Writer
5262
+ */
5263
+ StructuredDatasetMetadata.encode = function encode(message, writer) {
5264
+ if (!writer)
5265
+ writer = $Writer.create();
5266
+ if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType"))
5267
+ $root.flyteidl.core.StructuredDatasetType.encode(message.structuredDatasetType, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
5268
+ return writer;
5269
+ };
5270
+
5271
+ /**
5272
+ * Decodes a StructuredDatasetMetadata message from the specified reader or buffer.
5273
+ * @function decode
5274
+ * @memberof flyteidl.core.StructuredDatasetMetadata
5275
+ * @static
5276
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
5277
+ * @param {number} [length] Message length if known beforehand
5278
+ * @returns {flyteidl.core.StructuredDatasetMetadata} StructuredDatasetMetadata
5279
+ * @throws {Error} If the payload is not a reader or valid buffer
5280
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5281
+ */
5282
+ StructuredDatasetMetadata.decode = function decode(reader, length) {
5283
+ if (!(reader instanceof $Reader))
5284
+ reader = $Reader.create(reader);
5285
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.StructuredDatasetMetadata();
5286
+ while (reader.pos < end) {
5287
+ let tag = reader.uint32();
5288
+ switch (tag >>> 3) {
5289
+ case 1:
5290
+ message.structuredDatasetType = $root.flyteidl.core.StructuredDatasetType.decode(reader, reader.uint32());
5291
+ break;
5292
+ default:
5293
+ reader.skipType(tag & 7);
5294
+ break;
5295
+ }
5296
+ }
5297
+ return message;
5298
+ };
5299
+
5300
+ /**
5301
+ * Verifies a StructuredDatasetMetadata message.
5302
+ * @function verify
5303
+ * @memberof flyteidl.core.StructuredDatasetMetadata
5304
+ * @static
5305
+ * @param {Object.<string,*>} message Plain object to verify
5306
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
5307
+ */
5308
+ StructuredDatasetMetadata.verify = function verify(message) {
5309
+ if (typeof message !== "object" || message === null)
5310
+ return "object expected";
5311
+ if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType")) {
5312
+ let error = $root.flyteidl.core.StructuredDatasetType.verify(message.structuredDatasetType);
5313
+ if (error)
5314
+ return "structuredDatasetType." + error;
5315
+ }
5316
+ return null;
5317
+ };
5318
+
5319
+ return StructuredDatasetMetadata;
5320
+ })();
5321
+
5322
+ core.StructuredDataset = (function() {
5323
+
5324
+ /**
5325
+ * Properties of a StructuredDataset.
5326
+ * @memberof flyteidl.core
5327
+ * @interface IStructuredDataset
5328
+ * @property {string|null} [uri] StructuredDataset uri
5329
+ * @property {flyteidl.core.IStructuredDatasetMetadata|null} [metadata] StructuredDataset metadata
5330
+ */
5331
+
5332
+ /**
5333
+ * Constructs a new StructuredDataset.
5334
+ * @memberof flyteidl.core
5335
+ * @classdesc Represents a StructuredDataset.
5336
+ * @implements IStructuredDataset
5337
+ * @constructor
5338
+ * @param {flyteidl.core.IStructuredDataset=} [properties] Properties to set
5339
+ */
5340
+ function StructuredDataset(properties) {
5341
+ if (properties)
5342
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
5343
+ if (properties[keys[i]] != null)
5344
+ this[keys[i]] = properties[keys[i]];
5345
+ }
5346
+
5347
+ /**
5348
+ * StructuredDataset uri.
5349
+ * @member {string} uri
5350
+ * @memberof flyteidl.core.StructuredDataset
5351
+ * @instance
5352
+ */
5353
+ StructuredDataset.prototype.uri = "";
5354
+
5355
+ /**
5356
+ * StructuredDataset metadata.
5357
+ * @member {flyteidl.core.IStructuredDatasetMetadata|null|undefined} metadata
5358
+ * @memberof flyteidl.core.StructuredDataset
5359
+ * @instance
5360
+ */
5361
+ StructuredDataset.prototype.metadata = null;
5362
+
5363
+ /**
5364
+ * Creates a new StructuredDataset instance using the specified properties.
5365
+ * @function create
5366
+ * @memberof flyteidl.core.StructuredDataset
5367
+ * @static
5368
+ * @param {flyteidl.core.IStructuredDataset=} [properties] Properties to set
5369
+ * @returns {flyteidl.core.StructuredDataset} StructuredDataset instance
5370
+ */
5371
+ StructuredDataset.create = function create(properties) {
5372
+ return new StructuredDataset(properties);
5373
+ };
5374
+
5375
+ /**
5376
+ * Encodes the specified StructuredDataset message. Does not implicitly {@link flyteidl.core.StructuredDataset.verify|verify} messages.
5377
+ * @function encode
5378
+ * @memberof flyteidl.core.StructuredDataset
5379
+ * @static
5380
+ * @param {flyteidl.core.IStructuredDataset} message StructuredDataset message or plain object to encode
5381
+ * @param {$protobuf.Writer} [writer] Writer to encode to
5382
+ * @returns {$protobuf.Writer} Writer
5383
+ */
5384
+ StructuredDataset.encode = function encode(message, writer) {
5385
+ if (!writer)
5386
+ writer = $Writer.create();
5387
+ if (message.uri != null && message.hasOwnProperty("uri"))
5388
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.uri);
5389
+ if (message.metadata != null && message.hasOwnProperty("metadata"))
5390
+ $root.flyteidl.core.StructuredDatasetMetadata.encode(message.metadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
5391
+ return writer;
5392
+ };
5393
+
5394
+ /**
5395
+ * Decodes a StructuredDataset message from the specified reader or buffer.
5396
+ * @function decode
5397
+ * @memberof flyteidl.core.StructuredDataset
5398
+ * @static
5399
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
5400
+ * @param {number} [length] Message length if known beforehand
5401
+ * @returns {flyteidl.core.StructuredDataset} StructuredDataset
5402
+ * @throws {Error} If the payload is not a reader or valid buffer
5403
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5404
+ */
5405
+ StructuredDataset.decode = function decode(reader, length) {
5406
+ if (!(reader instanceof $Reader))
5407
+ reader = $Reader.create(reader);
5408
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.StructuredDataset();
5409
+ while (reader.pos < end) {
5410
+ let tag = reader.uint32();
5411
+ switch (tag >>> 3) {
5412
+ case 1:
5413
+ message.uri = reader.string();
5414
+ break;
5415
+ case 2:
5416
+ message.metadata = $root.flyteidl.core.StructuredDatasetMetadata.decode(reader, reader.uint32());
5417
+ break;
5418
+ default:
5419
+ reader.skipType(tag & 7);
5420
+ break;
5421
+ }
5422
+ }
5423
+ return message;
5424
+ };
5425
+
5426
+ /**
5427
+ * Verifies a StructuredDataset message.
5428
+ * @function verify
5429
+ * @memberof flyteidl.core.StructuredDataset
5430
+ * @static
5431
+ * @param {Object.<string,*>} message Plain object to verify
5432
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
5433
+ */
5434
+ StructuredDataset.verify = function verify(message) {
5435
+ if (typeof message !== "object" || message === null)
5436
+ return "object expected";
5437
+ if (message.uri != null && message.hasOwnProperty("uri"))
5438
+ if (!$util.isString(message.uri))
5439
+ return "uri: string expected";
5440
+ if (message.metadata != null && message.hasOwnProperty("metadata")) {
5441
+ let error = $root.flyteidl.core.StructuredDatasetMetadata.verify(message.metadata);
5442
+ if (error)
5443
+ return "metadata." + error;
5444
+ }
5445
+ return null;
5446
+ };
5447
+
5448
+ return StructuredDataset;
5449
+ })();
5450
+
5210
5451
  core.Scalar = (function() {
5211
5452
 
5212
5453
  /**
@@ -5220,6 +5461,7 @@ export const flyteidl = $root.flyteidl = (() => {
5220
5461
  * @property {flyteidl.core.IVoid|null} [noneType] Scalar noneType
5221
5462
  * @property {flyteidl.core.IError|null} [error] Scalar error
5222
5463
  * @property {google.protobuf.IStruct|null} [generic] Scalar generic
5464
+ * @property {flyteidl.core.IStructuredDataset|null} [structuredDataset] Scalar structuredDataset
5223
5465
  */
5224
5466
 
5225
5467
  /**
@@ -5293,17 +5535,25 @@ export const flyteidl = $root.flyteidl = (() => {
5293
5535
  */
5294
5536
  Scalar.prototype.generic = null;
5295
5537
 
5538
+ /**
5539
+ * Scalar structuredDataset.
5540
+ * @member {flyteidl.core.IStructuredDataset|null|undefined} structuredDataset
5541
+ * @memberof flyteidl.core.Scalar
5542
+ * @instance
5543
+ */
5544
+ Scalar.prototype.structuredDataset = null;
5545
+
5296
5546
  // OneOf field names bound to virtual getters and setters
5297
5547
  let $oneOfFields;
5298
5548
 
5299
5549
  /**
5300
5550
  * Scalar value.
5301
- * @member {"primitive"|"blob"|"binary"|"schema"|"noneType"|"error"|"generic"|undefined} value
5551
+ * @member {"primitive"|"blob"|"binary"|"schema"|"noneType"|"error"|"generic"|"structuredDataset"|undefined} value
5302
5552
  * @memberof flyteidl.core.Scalar
5303
5553
  * @instance
5304
5554
  */
5305
5555
  Object.defineProperty(Scalar.prototype, "value", {
5306
- get: $util.oneOfGetter($oneOfFields = ["primitive", "blob", "binary", "schema", "noneType", "error", "generic"]),
5556
+ get: $util.oneOfGetter($oneOfFields = ["primitive", "blob", "binary", "schema", "noneType", "error", "generic", "structuredDataset"]),
5307
5557
  set: $util.oneOfSetter($oneOfFields)
5308
5558
  });
5309
5559
 
@@ -5345,6 +5595,8 @@ export const flyteidl = $root.flyteidl = (() => {
5345
5595
  $root.flyteidl.core.Error.encode(message.error, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
5346
5596
  if (message.generic != null && message.hasOwnProperty("generic"))
5347
5597
  $root.google.protobuf.Struct.encode(message.generic, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
5598
+ if (message.structuredDataset != null && message.hasOwnProperty("structuredDataset"))
5599
+ $root.flyteidl.core.StructuredDataset.encode(message.structuredDataset, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
5348
5600
  return writer;
5349
5601
  };
5350
5602
 
@@ -5387,6 +5639,9 @@ export const flyteidl = $root.flyteidl = (() => {
5387
5639
  case 7:
5388
5640
  message.generic = $root.google.protobuf.Struct.decode(reader, reader.uint32());
5389
5641
  break;
5642
+ case 8:
5643
+ message.structuredDataset = $root.flyteidl.core.StructuredDataset.decode(reader, reader.uint32());
5644
+ break;
5390
5645
  default:
5391
5646
  reader.skipType(tag & 7);
5392
5647
  break;
@@ -5475,6 +5730,16 @@ export const flyteidl = $root.flyteidl = (() => {
5475
5730
  return "generic." + error;
5476
5731
  }
5477
5732
  }
5733
+ if (message.structuredDataset != null && message.hasOwnProperty("structuredDataset")) {
5734
+ if (properties.value === 1)
5735
+ return "value: multiple values";
5736
+ properties.value = 1;
5737
+ {
5738
+ let error = $root.flyteidl.core.StructuredDataset.verify(message.structuredDataset);
5739
+ if (error)
5740
+ return "structuredDataset." + error;
5741
+ }
5742
+ }
5478
5743
  return null;
5479
5744
  };
5480
5745
 
@@ -7027,6 +7292,306 @@ export const flyteidl = $root.flyteidl = (() => {
7027
7292
  return SchemaType;
7028
7293
  })();
7029
7294
 
7295
+ core.StructuredDatasetType = (function() {
7296
+
7297
+ /**
7298
+ * Properties of a StructuredDatasetType.
7299
+ * @memberof flyteidl.core
7300
+ * @interface IStructuredDatasetType
7301
+ * @property {Array.<flyteidl.core.StructuredDatasetType.IDatasetColumn>|null} [columns] StructuredDatasetType columns
7302
+ * @property {string|null} [format] StructuredDatasetType format
7303
+ * @property {string|null} [externalSchemaType] StructuredDatasetType externalSchemaType
7304
+ * @property {Uint8Array|null} [externalSchemaBytes] StructuredDatasetType externalSchemaBytes
7305
+ */
7306
+
7307
+ /**
7308
+ * Constructs a new StructuredDatasetType.
7309
+ * @memberof flyteidl.core
7310
+ * @classdesc Represents a StructuredDatasetType.
7311
+ * @implements IStructuredDatasetType
7312
+ * @constructor
7313
+ * @param {flyteidl.core.IStructuredDatasetType=} [properties] Properties to set
7314
+ */
7315
+ function StructuredDatasetType(properties) {
7316
+ this.columns = [];
7317
+ if (properties)
7318
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
7319
+ if (properties[keys[i]] != null)
7320
+ this[keys[i]] = properties[keys[i]];
7321
+ }
7322
+
7323
+ /**
7324
+ * StructuredDatasetType columns.
7325
+ * @member {Array.<flyteidl.core.StructuredDatasetType.IDatasetColumn>} columns
7326
+ * @memberof flyteidl.core.StructuredDatasetType
7327
+ * @instance
7328
+ */
7329
+ StructuredDatasetType.prototype.columns = $util.emptyArray;
7330
+
7331
+ /**
7332
+ * StructuredDatasetType format.
7333
+ * @member {string} format
7334
+ * @memberof flyteidl.core.StructuredDatasetType
7335
+ * @instance
7336
+ */
7337
+ StructuredDatasetType.prototype.format = "";
7338
+
7339
+ /**
7340
+ * StructuredDatasetType externalSchemaType.
7341
+ * @member {string} externalSchemaType
7342
+ * @memberof flyteidl.core.StructuredDatasetType
7343
+ * @instance
7344
+ */
7345
+ StructuredDatasetType.prototype.externalSchemaType = "";
7346
+
7347
+ /**
7348
+ * StructuredDatasetType externalSchemaBytes.
7349
+ * @member {Uint8Array} externalSchemaBytes
7350
+ * @memberof flyteidl.core.StructuredDatasetType
7351
+ * @instance
7352
+ */
7353
+ StructuredDatasetType.prototype.externalSchemaBytes = $util.newBuffer([]);
7354
+
7355
+ /**
7356
+ * Creates a new StructuredDatasetType instance using the specified properties.
7357
+ * @function create
7358
+ * @memberof flyteidl.core.StructuredDatasetType
7359
+ * @static
7360
+ * @param {flyteidl.core.IStructuredDatasetType=} [properties] Properties to set
7361
+ * @returns {flyteidl.core.StructuredDatasetType} StructuredDatasetType instance
7362
+ */
7363
+ StructuredDatasetType.create = function create(properties) {
7364
+ return new StructuredDatasetType(properties);
7365
+ };
7366
+
7367
+ /**
7368
+ * Encodes the specified StructuredDatasetType message. Does not implicitly {@link flyteidl.core.StructuredDatasetType.verify|verify} messages.
7369
+ * @function encode
7370
+ * @memberof flyteidl.core.StructuredDatasetType
7371
+ * @static
7372
+ * @param {flyteidl.core.IStructuredDatasetType} message StructuredDatasetType message or plain object to encode
7373
+ * @param {$protobuf.Writer} [writer] Writer to encode to
7374
+ * @returns {$protobuf.Writer} Writer
7375
+ */
7376
+ StructuredDatasetType.encode = function encode(message, writer) {
7377
+ if (!writer)
7378
+ writer = $Writer.create();
7379
+ if (message.columns != null && message.columns.length)
7380
+ for (let i = 0; i < message.columns.length; ++i)
7381
+ $root.flyteidl.core.StructuredDatasetType.DatasetColumn.encode(message.columns[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
7382
+ if (message.format != null && message.hasOwnProperty("format"))
7383
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.format);
7384
+ if (message.externalSchemaType != null && message.hasOwnProperty("externalSchemaType"))
7385
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.externalSchemaType);
7386
+ if (message.externalSchemaBytes != null && message.hasOwnProperty("externalSchemaBytes"))
7387
+ writer.uint32(/* id 4, wireType 2 =*/34).bytes(message.externalSchemaBytes);
7388
+ return writer;
7389
+ };
7390
+
7391
+ /**
7392
+ * Decodes a StructuredDatasetType message from the specified reader or buffer.
7393
+ * @function decode
7394
+ * @memberof flyteidl.core.StructuredDatasetType
7395
+ * @static
7396
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
7397
+ * @param {number} [length] Message length if known beforehand
7398
+ * @returns {flyteidl.core.StructuredDatasetType} StructuredDatasetType
7399
+ * @throws {Error} If the payload is not a reader or valid buffer
7400
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7401
+ */
7402
+ StructuredDatasetType.decode = function decode(reader, length) {
7403
+ if (!(reader instanceof $Reader))
7404
+ reader = $Reader.create(reader);
7405
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.StructuredDatasetType();
7406
+ while (reader.pos < end) {
7407
+ let tag = reader.uint32();
7408
+ switch (tag >>> 3) {
7409
+ case 1:
7410
+ if (!(message.columns && message.columns.length))
7411
+ message.columns = [];
7412
+ message.columns.push($root.flyteidl.core.StructuredDatasetType.DatasetColumn.decode(reader, reader.uint32()));
7413
+ break;
7414
+ case 2:
7415
+ message.format = reader.string();
7416
+ break;
7417
+ case 3:
7418
+ message.externalSchemaType = reader.string();
7419
+ break;
7420
+ case 4:
7421
+ message.externalSchemaBytes = reader.bytes();
7422
+ break;
7423
+ default:
7424
+ reader.skipType(tag & 7);
7425
+ break;
7426
+ }
7427
+ }
7428
+ return message;
7429
+ };
7430
+
7431
+ /**
7432
+ * Verifies a StructuredDatasetType message.
7433
+ * @function verify
7434
+ * @memberof flyteidl.core.StructuredDatasetType
7435
+ * @static
7436
+ * @param {Object.<string,*>} message Plain object to verify
7437
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
7438
+ */
7439
+ StructuredDatasetType.verify = function verify(message) {
7440
+ if (typeof message !== "object" || message === null)
7441
+ return "object expected";
7442
+ if (message.columns != null && message.hasOwnProperty("columns")) {
7443
+ if (!Array.isArray(message.columns))
7444
+ return "columns: array expected";
7445
+ for (let i = 0; i < message.columns.length; ++i) {
7446
+ let error = $root.flyteidl.core.StructuredDatasetType.DatasetColumn.verify(message.columns[i]);
7447
+ if (error)
7448
+ return "columns." + error;
7449
+ }
7450
+ }
7451
+ if (message.format != null && message.hasOwnProperty("format"))
7452
+ if (!$util.isString(message.format))
7453
+ return "format: string expected";
7454
+ if (message.externalSchemaType != null && message.hasOwnProperty("externalSchemaType"))
7455
+ if (!$util.isString(message.externalSchemaType))
7456
+ return "externalSchemaType: string expected";
7457
+ if (message.externalSchemaBytes != null && message.hasOwnProperty("externalSchemaBytes"))
7458
+ if (!(message.externalSchemaBytes && typeof message.externalSchemaBytes.length === "number" || $util.isString(message.externalSchemaBytes)))
7459
+ return "externalSchemaBytes: buffer expected";
7460
+ return null;
7461
+ };
7462
+
7463
+ StructuredDatasetType.DatasetColumn = (function() {
7464
+
7465
+ /**
7466
+ * Properties of a DatasetColumn.
7467
+ * @memberof flyteidl.core.StructuredDatasetType
7468
+ * @interface IDatasetColumn
7469
+ * @property {string|null} [name] DatasetColumn name
7470
+ * @property {flyteidl.core.ILiteralType|null} [literalType] DatasetColumn literalType
7471
+ */
7472
+
7473
+ /**
7474
+ * Constructs a new DatasetColumn.
7475
+ * @memberof flyteidl.core.StructuredDatasetType
7476
+ * @classdesc Represents a DatasetColumn.
7477
+ * @implements IDatasetColumn
7478
+ * @constructor
7479
+ * @param {flyteidl.core.StructuredDatasetType.IDatasetColumn=} [properties] Properties to set
7480
+ */
7481
+ function DatasetColumn(properties) {
7482
+ if (properties)
7483
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
7484
+ if (properties[keys[i]] != null)
7485
+ this[keys[i]] = properties[keys[i]];
7486
+ }
7487
+
7488
+ /**
7489
+ * DatasetColumn name.
7490
+ * @member {string} name
7491
+ * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn
7492
+ * @instance
7493
+ */
7494
+ DatasetColumn.prototype.name = "";
7495
+
7496
+ /**
7497
+ * DatasetColumn literalType.
7498
+ * @member {flyteidl.core.ILiteralType|null|undefined} literalType
7499
+ * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn
7500
+ * @instance
7501
+ */
7502
+ DatasetColumn.prototype.literalType = null;
7503
+
7504
+ /**
7505
+ * Creates a new DatasetColumn instance using the specified properties.
7506
+ * @function create
7507
+ * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn
7508
+ * @static
7509
+ * @param {flyteidl.core.StructuredDatasetType.IDatasetColumn=} [properties] Properties to set
7510
+ * @returns {flyteidl.core.StructuredDatasetType.DatasetColumn} DatasetColumn instance
7511
+ */
7512
+ DatasetColumn.create = function create(properties) {
7513
+ return new DatasetColumn(properties);
7514
+ };
7515
+
7516
+ /**
7517
+ * Encodes the specified DatasetColumn message. Does not implicitly {@link flyteidl.core.StructuredDatasetType.DatasetColumn.verify|verify} messages.
7518
+ * @function encode
7519
+ * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn
7520
+ * @static
7521
+ * @param {flyteidl.core.StructuredDatasetType.IDatasetColumn} message DatasetColumn message or plain object to encode
7522
+ * @param {$protobuf.Writer} [writer] Writer to encode to
7523
+ * @returns {$protobuf.Writer} Writer
7524
+ */
7525
+ DatasetColumn.encode = function encode(message, writer) {
7526
+ if (!writer)
7527
+ writer = $Writer.create();
7528
+ if (message.name != null && message.hasOwnProperty("name"))
7529
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
7530
+ if (message.literalType != null && message.hasOwnProperty("literalType"))
7531
+ $root.flyteidl.core.LiteralType.encode(message.literalType, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
7532
+ return writer;
7533
+ };
7534
+
7535
+ /**
7536
+ * Decodes a DatasetColumn message from the specified reader or buffer.
7537
+ * @function decode
7538
+ * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn
7539
+ * @static
7540
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
7541
+ * @param {number} [length] Message length if known beforehand
7542
+ * @returns {flyteidl.core.StructuredDatasetType.DatasetColumn} DatasetColumn
7543
+ * @throws {Error} If the payload is not a reader or valid buffer
7544
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7545
+ */
7546
+ DatasetColumn.decode = function decode(reader, length) {
7547
+ if (!(reader instanceof $Reader))
7548
+ reader = $Reader.create(reader);
7549
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.StructuredDatasetType.DatasetColumn();
7550
+ while (reader.pos < end) {
7551
+ let tag = reader.uint32();
7552
+ switch (tag >>> 3) {
7553
+ case 1:
7554
+ message.name = reader.string();
7555
+ break;
7556
+ case 2:
7557
+ message.literalType = $root.flyteidl.core.LiteralType.decode(reader, reader.uint32());
7558
+ break;
7559
+ default:
7560
+ reader.skipType(tag & 7);
7561
+ break;
7562
+ }
7563
+ }
7564
+ return message;
7565
+ };
7566
+
7567
+ /**
7568
+ * Verifies a DatasetColumn message.
7569
+ * @function verify
7570
+ * @memberof flyteidl.core.StructuredDatasetType.DatasetColumn
7571
+ * @static
7572
+ * @param {Object.<string,*>} message Plain object to verify
7573
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
7574
+ */
7575
+ DatasetColumn.verify = function verify(message) {
7576
+ if (typeof message !== "object" || message === null)
7577
+ return "object expected";
7578
+ if (message.name != null && message.hasOwnProperty("name"))
7579
+ if (!$util.isString(message.name))
7580
+ return "name: string expected";
7581
+ if (message.literalType != null && message.hasOwnProperty("literalType")) {
7582
+ let error = $root.flyteidl.core.LiteralType.verify(message.literalType);
7583
+ if (error)
7584
+ return "literalType." + error;
7585
+ }
7586
+ return null;
7587
+ };
7588
+
7589
+ return DatasetColumn;
7590
+ })();
7591
+
7592
+ return StructuredDatasetType;
7593
+ })();
7594
+
7030
7595
  core.BlobType = (function() {
7031
7596
 
7032
7597
  /**
@@ -7303,6 +7868,7 @@ export const flyteidl = $root.flyteidl = (() => {
7303
7868
  * @property {flyteidl.core.ILiteralType|null} [mapValueType] LiteralType mapValueType
7304
7869
  * @property {flyteidl.core.IBlobType|null} [blob] LiteralType blob
7305
7870
  * @property {flyteidl.core.IEnumType|null} [enumType] LiteralType enumType
7871
+ * @property {flyteidl.core.IStructuredDatasetType|null} [structuredDatasetType] LiteralType structuredDatasetType
7306
7872
  * @property {google.protobuf.IStruct|null} [metadata] LiteralType metadata
7307
7873
  */
7308
7874
 
@@ -7369,6 +7935,14 @@ export const flyteidl = $root.flyteidl = (() => {
7369
7935
  */
7370
7936
  LiteralType.prototype.enumType = null;
7371
7937
 
7938
+ /**
7939
+ * LiteralType structuredDatasetType.
7940
+ * @member {flyteidl.core.IStructuredDatasetType|null|undefined} structuredDatasetType
7941
+ * @memberof flyteidl.core.LiteralType
7942
+ * @instance
7943
+ */
7944
+ LiteralType.prototype.structuredDatasetType = null;
7945
+
7372
7946
  /**
7373
7947
  * LiteralType metadata.
7374
7948
  * @member {google.protobuf.IStruct|null|undefined} metadata
@@ -7382,12 +7956,12 @@ export const flyteidl = $root.flyteidl = (() => {
7382
7956
 
7383
7957
  /**
7384
7958
  * LiteralType type.
7385
- * @member {"simple"|"schema"|"collectionType"|"mapValueType"|"blob"|"enumType"|undefined} type
7959
+ * @member {"simple"|"schema"|"collectionType"|"mapValueType"|"blob"|"enumType"|"structuredDatasetType"|undefined} type
7386
7960
  * @memberof flyteidl.core.LiteralType
7387
7961
  * @instance
7388
7962
  */
7389
7963
  Object.defineProperty(LiteralType.prototype, "type", {
7390
- get: $util.oneOfGetter($oneOfFields = ["simple", "schema", "collectionType", "mapValueType", "blob", "enumType"]),
7964
+ get: $util.oneOfGetter($oneOfFields = ["simple", "schema", "collectionType", "mapValueType", "blob", "enumType", "structuredDatasetType"]),
7391
7965
  set: $util.oneOfSetter($oneOfFields)
7392
7966
  });
7393
7967
 
@@ -7429,6 +8003,8 @@ export const flyteidl = $root.flyteidl = (() => {
7429
8003
  $root.google.protobuf.Struct.encode(message.metadata, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
7430
8004
  if (message.enumType != null && message.hasOwnProperty("enumType"))
7431
8005
  $root.flyteidl.core.EnumType.encode(message.enumType, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
8006
+ if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType"))
8007
+ $root.flyteidl.core.StructuredDatasetType.encode(message.structuredDatasetType, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
7432
8008
  return writer;
7433
8009
  };
7434
8010
 
@@ -7468,6 +8044,9 @@ export const flyteidl = $root.flyteidl = (() => {
7468
8044
  case 7:
7469
8045
  message.enumType = $root.flyteidl.core.EnumType.decode(reader, reader.uint32());
7470
8046
  break;
8047
+ case 8:
8048
+ message.structuredDatasetType = $root.flyteidl.core.StructuredDatasetType.decode(reader, reader.uint32());
8049
+ break;
7471
8050
  case 6:
7472
8051
  message.metadata = $root.google.protobuf.Struct.decode(reader, reader.uint32());
7473
8052
  break;
@@ -7559,6 +8138,16 @@ export const flyteidl = $root.flyteidl = (() => {
7559
8138
  return "enumType." + error;
7560
8139
  }
7561
8140
  }
8141
+ if (message.structuredDatasetType != null && message.hasOwnProperty("structuredDatasetType")) {
8142
+ if (properties.type === 1)
8143
+ return "type: multiple values";
8144
+ properties.type = 1;
8145
+ {
8146
+ let error = $root.flyteidl.core.StructuredDatasetType.verify(message.structuredDatasetType);
8147
+ if (error)
8148
+ return "structuredDatasetType." + error;
8149
+ }
8150
+ }
7562
8151
  if (message.metadata != null && message.hasOwnProperty("metadata")) {
7563
8152
  let error = $root.google.protobuf.Struct.verify(message.metadata);
7564
8153
  if (error)
@@ -7927,6 +8516,7 @@ export const flyteidl = $root.flyteidl = (() => {
7927
8516
  * @property {number} FAILED=6 FAILED value
7928
8517
  * @property {number} ABORTED=7 ABORTED value
7929
8518
  * @property {number} TIMED_OUT=8 TIMED_OUT value
8519
+ * @property {number} ABORTING=9 ABORTING value
7930
8520
  */
7931
8521
  WorkflowExecution.Phase = (function() {
7932
8522
  const valuesById = {}, values = Object.create(valuesById);
@@ -7939,6 +8529,7 @@ export const flyteidl = $root.flyteidl = (() => {
7939
8529
  values[valuesById[6] = "FAILED"] = 6;
7940
8530
  values[valuesById[7] = "ABORTED"] = 7;
7941
8531
  values[valuesById[8] = "TIMED_OUT"] = 8;
8532
+ values[valuesById[9] = "ABORTING"] = 9;
7942
8533
  return values;
7943
8534
  })();
7944
8535
 
@@ -13532,6 +14123,7 @@ export const flyteidl = $root.flyteidl = (() => {
13532
14123
  case 6:
13533
14124
  case 7:
13534
14125
  case 8:
14126
+ case 9:
13535
14127
  break;
13536
14128
  }
13537
14129
  if (message.occurredAt != null && message.hasOwnProperty("occurredAt")) {
@@ -18042,6 +18634,7 @@ export const flyteidl = $root.flyteidl = (() => {
18042
18634
  case 6:
18043
18635
  case 7:
18044
18636
  case 8:
18637
+ case 9:
18045
18638
  break;
18046
18639
  }
18047
18640
  }
@@ -18797,6 +19390,116 @@ export const flyteidl = $root.flyteidl = (() => {
18797
19390
  return EventErrorAlreadyInTerminalState;
18798
19391
  })();
18799
19392
 
19393
+ admin.EventErrorIncompatibleCluster = (function() {
19394
+
19395
+ /**
19396
+ * Properties of an EventErrorIncompatibleCluster.
19397
+ * @memberof flyteidl.admin
19398
+ * @interface IEventErrorIncompatibleCluster
19399
+ * @property {string|null} [cluster] EventErrorIncompatibleCluster cluster
19400
+ */
19401
+
19402
+ /**
19403
+ * Constructs a new EventErrorIncompatibleCluster.
19404
+ * @memberof flyteidl.admin
19405
+ * @classdesc Represents an EventErrorIncompatibleCluster.
19406
+ * @implements IEventErrorIncompatibleCluster
19407
+ * @constructor
19408
+ * @param {flyteidl.admin.IEventErrorIncompatibleCluster=} [properties] Properties to set
19409
+ */
19410
+ function EventErrorIncompatibleCluster(properties) {
19411
+ if (properties)
19412
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
19413
+ if (properties[keys[i]] != null)
19414
+ this[keys[i]] = properties[keys[i]];
19415
+ }
19416
+
19417
+ /**
19418
+ * EventErrorIncompatibleCluster cluster.
19419
+ * @member {string} cluster
19420
+ * @memberof flyteidl.admin.EventErrorIncompatibleCluster
19421
+ * @instance
19422
+ */
19423
+ EventErrorIncompatibleCluster.prototype.cluster = "";
19424
+
19425
+ /**
19426
+ * Creates a new EventErrorIncompatibleCluster instance using the specified properties.
19427
+ * @function create
19428
+ * @memberof flyteidl.admin.EventErrorIncompatibleCluster
19429
+ * @static
19430
+ * @param {flyteidl.admin.IEventErrorIncompatibleCluster=} [properties] Properties to set
19431
+ * @returns {flyteidl.admin.EventErrorIncompatibleCluster} EventErrorIncompatibleCluster instance
19432
+ */
19433
+ EventErrorIncompatibleCluster.create = function create(properties) {
19434
+ return new EventErrorIncompatibleCluster(properties);
19435
+ };
19436
+
19437
+ /**
19438
+ * Encodes the specified EventErrorIncompatibleCluster message. Does not implicitly {@link flyteidl.admin.EventErrorIncompatibleCluster.verify|verify} messages.
19439
+ * @function encode
19440
+ * @memberof flyteidl.admin.EventErrorIncompatibleCluster
19441
+ * @static
19442
+ * @param {flyteidl.admin.IEventErrorIncompatibleCluster} message EventErrorIncompatibleCluster message or plain object to encode
19443
+ * @param {$protobuf.Writer} [writer] Writer to encode to
19444
+ * @returns {$protobuf.Writer} Writer
19445
+ */
19446
+ EventErrorIncompatibleCluster.encode = function encode(message, writer) {
19447
+ if (!writer)
19448
+ writer = $Writer.create();
19449
+ if (message.cluster != null && message.hasOwnProperty("cluster"))
19450
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.cluster);
19451
+ return writer;
19452
+ };
19453
+
19454
+ /**
19455
+ * Decodes an EventErrorIncompatibleCluster message from the specified reader or buffer.
19456
+ * @function decode
19457
+ * @memberof flyteidl.admin.EventErrorIncompatibleCluster
19458
+ * @static
19459
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
19460
+ * @param {number} [length] Message length if known beforehand
19461
+ * @returns {flyteidl.admin.EventErrorIncompatibleCluster} EventErrorIncompatibleCluster
19462
+ * @throws {Error} If the payload is not a reader or valid buffer
19463
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19464
+ */
19465
+ EventErrorIncompatibleCluster.decode = function decode(reader, length) {
19466
+ if (!(reader instanceof $Reader))
19467
+ reader = $Reader.create(reader);
19468
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.EventErrorIncompatibleCluster();
19469
+ while (reader.pos < end) {
19470
+ let tag = reader.uint32();
19471
+ switch (tag >>> 3) {
19472
+ case 1:
19473
+ message.cluster = reader.string();
19474
+ break;
19475
+ default:
19476
+ reader.skipType(tag & 7);
19477
+ break;
19478
+ }
19479
+ }
19480
+ return message;
19481
+ };
19482
+
19483
+ /**
19484
+ * Verifies an EventErrorIncompatibleCluster message.
19485
+ * @function verify
19486
+ * @memberof flyteidl.admin.EventErrorIncompatibleCluster
19487
+ * @static
19488
+ * @param {Object.<string,*>} message Plain object to verify
19489
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
19490
+ */
19491
+ EventErrorIncompatibleCluster.verify = function verify(message) {
19492
+ if (typeof message !== "object" || message === null)
19493
+ return "object expected";
19494
+ if (message.cluster != null && message.hasOwnProperty("cluster"))
19495
+ if (!$util.isString(message.cluster))
19496
+ return "cluster: string expected";
19497
+ return null;
19498
+ };
19499
+
19500
+ return EventErrorIncompatibleCluster;
19501
+ })();
19502
+
18800
19503
  admin.EventFailureReason = (function() {
18801
19504
 
18802
19505
  /**
@@ -18804,6 +19507,7 @@ export const flyteidl = $root.flyteidl = (() => {
18804
19507
  * @memberof flyteidl.admin
18805
19508
  * @interface IEventFailureReason
18806
19509
  * @property {flyteidl.admin.IEventErrorAlreadyInTerminalState|null} [alreadyInTerminalState] EventFailureReason alreadyInTerminalState
19510
+ * @property {flyteidl.admin.IEventErrorIncompatibleCluster|null} [incompatibleCluster] EventFailureReason incompatibleCluster
18807
19511
  */
18808
19512
 
18809
19513
  /**
@@ -18829,17 +19533,25 @@ export const flyteidl = $root.flyteidl = (() => {
18829
19533
  */
18830
19534
  EventFailureReason.prototype.alreadyInTerminalState = null;
18831
19535
 
19536
+ /**
19537
+ * EventFailureReason incompatibleCluster.
19538
+ * @member {flyteidl.admin.IEventErrorIncompatibleCluster|null|undefined} incompatibleCluster
19539
+ * @memberof flyteidl.admin.EventFailureReason
19540
+ * @instance
19541
+ */
19542
+ EventFailureReason.prototype.incompatibleCluster = null;
19543
+
18832
19544
  // OneOf field names bound to virtual getters and setters
18833
19545
  let $oneOfFields;
18834
19546
 
18835
19547
  /**
18836
19548
  * EventFailureReason reason.
18837
- * @member {"alreadyInTerminalState"|undefined} reason
19549
+ * @member {"alreadyInTerminalState"|"incompatibleCluster"|undefined} reason
18838
19550
  * @memberof flyteidl.admin.EventFailureReason
18839
19551
  * @instance
18840
19552
  */
18841
19553
  Object.defineProperty(EventFailureReason.prototype, "reason", {
18842
- get: $util.oneOfGetter($oneOfFields = ["alreadyInTerminalState"]),
19554
+ get: $util.oneOfGetter($oneOfFields = ["alreadyInTerminalState", "incompatibleCluster"]),
18843
19555
  set: $util.oneOfSetter($oneOfFields)
18844
19556
  });
18845
19557
 
@@ -18869,6 +19581,8 @@ export const flyteidl = $root.flyteidl = (() => {
18869
19581
  writer = $Writer.create();
18870
19582
  if (message.alreadyInTerminalState != null && message.hasOwnProperty("alreadyInTerminalState"))
18871
19583
  $root.flyteidl.admin.EventErrorAlreadyInTerminalState.encode(message.alreadyInTerminalState, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
19584
+ if (message.incompatibleCluster != null && message.hasOwnProperty("incompatibleCluster"))
19585
+ $root.flyteidl.admin.EventErrorIncompatibleCluster.encode(message.incompatibleCluster, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
18872
19586
  return writer;
18873
19587
  };
18874
19588
 
@@ -18893,6 +19607,9 @@ export const flyteidl = $root.flyteidl = (() => {
18893
19607
  case 1:
18894
19608
  message.alreadyInTerminalState = $root.flyteidl.admin.EventErrorAlreadyInTerminalState.decode(reader, reader.uint32());
18895
19609
  break;
19610
+ case 2:
19611
+ message.incompatibleCluster = $root.flyteidl.admin.EventErrorIncompatibleCluster.decode(reader, reader.uint32());
19612
+ break;
18896
19613
  default:
18897
19614
  reader.skipType(tag & 7);
18898
19615
  break;
@@ -18921,6 +19638,16 @@ export const flyteidl = $root.flyteidl = (() => {
18921
19638
  return "alreadyInTerminalState." + error;
18922
19639
  }
18923
19640
  }
19641
+ if (message.incompatibleCluster != null && message.hasOwnProperty("incompatibleCluster")) {
19642
+ if (properties.reason === 1)
19643
+ return "reason: multiple values";
19644
+ properties.reason = 1;
19645
+ {
19646
+ let error = $root.flyteidl.admin.EventErrorIncompatibleCluster.verify(message.incompatibleCluster);
19647
+ if (error)
19648
+ return "incompatibleCluster." + error;
19649
+ }
19650
+ }
18924
19651
  return null;
18925
19652
  };
18926
19653
 
@@ -21192,6 +21919,7 @@ export const flyteidl = $root.flyteidl = (() => {
21192
21919
  case 6:
21193
21920
  case 7:
21194
21921
  case 8:
21922
+ case 9:
21195
21923
  break;
21196
21924
  }
21197
21925
  if (message.startedAt != null && message.hasOwnProperty("startedAt")) {