@flyteorg/flyteidl 1.5.19 → 1.5.20

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.
@@ -1886,9 +1886,6 @@ export namespace flyteidl {
1886
1886
 
1887
1887
  /** TaskNodeOverrides resources */
1888
1888
  resources?: (flyteidl.core.IResources|null);
1889
-
1890
- /** TaskNodeOverrides resourceMetadata */
1891
- resourceMetadata?: (flyteidl.core.IResourceMetadata|null);
1892
1889
  }
1893
1890
 
1894
1891
  /** Represents a TaskNodeOverrides. */
@@ -1903,9 +1900,6 @@ export namespace flyteidl {
1903
1900
  /** TaskNodeOverrides resources. */
1904
1901
  public resources?: (flyteidl.core.IResources|null);
1905
1902
 
1906
- /** TaskNodeOverrides resourceMetadata. */
1907
- public resourceMetadata?: (flyteidl.core.IResourceMetadata|null);
1908
-
1909
1903
  /**
1910
1904
  * Creates a new TaskNodeOverrides instance using the specified properties.
1911
1905
  * @param [properties] Properties to set
@@ -5230,128 +5224,6 @@ export namespace flyteidl {
5230
5224
  }
5231
5225
  }
5232
5226
 
5233
- /** Properties of a GPUAccelerator. */
5234
- interface IGPUAccelerator {
5235
-
5236
- /** GPUAccelerator device */
5237
- device?: (string|null);
5238
-
5239
- /** GPUAccelerator unpartitioned */
5240
- unpartitioned?: (boolean|null);
5241
-
5242
- /** GPUAccelerator partitionSize */
5243
- partitionSize?: (string|null);
5244
- }
5245
-
5246
- /** Represents a GPUAccelerator. */
5247
- class GPUAccelerator implements IGPUAccelerator {
5248
-
5249
- /**
5250
- * Constructs a new GPUAccelerator.
5251
- * @param [properties] Properties to set
5252
- */
5253
- constructor(properties?: flyteidl.core.IGPUAccelerator);
5254
-
5255
- /** GPUAccelerator device. */
5256
- public device: string;
5257
-
5258
- /** GPUAccelerator unpartitioned. */
5259
- public unpartitioned: boolean;
5260
-
5261
- /** GPUAccelerator partitionSize. */
5262
- public partitionSize: string;
5263
-
5264
- /** GPUAccelerator partitionSizeValue. */
5265
- public partitionSizeValue?: ("unpartitioned"|"partitionSize");
5266
-
5267
- /**
5268
- * Creates a new GPUAccelerator instance using the specified properties.
5269
- * @param [properties] Properties to set
5270
- * @returns GPUAccelerator instance
5271
- */
5272
- public static create(properties?: flyteidl.core.IGPUAccelerator): flyteidl.core.GPUAccelerator;
5273
-
5274
- /**
5275
- * Encodes the specified GPUAccelerator message. Does not implicitly {@link flyteidl.core.GPUAccelerator.verify|verify} messages.
5276
- * @param message GPUAccelerator message or plain object to encode
5277
- * @param [writer] Writer to encode to
5278
- * @returns Writer
5279
- */
5280
- public static encode(message: flyteidl.core.IGPUAccelerator, writer?: $protobuf.Writer): $protobuf.Writer;
5281
-
5282
- /**
5283
- * Decodes a GPUAccelerator message from the specified reader or buffer.
5284
- * @param reader Reader or buffer to decode from
5285
- * @param [length] Message length if known beforehand
5286
- * @returns GPUAccelerator
5287
- * @throws {Error} If the payload is not a reader or valid buffer
5288
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5289
- */
5290
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.GPUAccelerator;
5291
-
5292
- /**
5293
- * Verifies a GPUAccelerator message.
5294
- * @param message Plain object to verify
5295
- * @returns `null` if valid, otherwise the reason why it is not
5296
- */
5297
- public static verify(message: { [k: string]: any }): (string|null);
5298
- }
5299
-
5300
- /** Properties of a ResourceMetadata. */
5301
- interface IResourceMetadata {
5302
-
5303
- /** ResourceMetadata gpuAccelerator */
5304
- gpuAccelerator?: (flyteidl.core.IGPUAccelerator|null);
5305
- }
5306
-
5307
- /** Represents a ResourceMetadata. */
5308
- class ResourceMetadata implements IResourceMetadata {
5309
-
5310
- /**
5311
- * Constructs a new ResourceMetadata.
5312
- * @param [properties] Properties to set
5313
- */
5314
- constructor(properties?: flyteidl.core.IResourceMetadata);
5315
-
5316
- /** ResourceMetadata gpuAccelerator. */
5317
- public gpuAccelerator?: (flyteidl.core.IGPUAccelerator|null);
5318
-
5319
- /** ResourceMetadata acceleratorValue. */
5320
- public acceleratorValue?: "gpuAccelerator";
5321
-
5322
- /**
5323
- * Creates a new ResourceMetadata instance using the specified properties.
5324
- * @param [properties] Properties to set
5325
- * @returns ResourceMetadata instance
5326
- */
5327
- public static create(properties?: flyteidl.core.IResourceMetadata): flyteidl.core.ResourceMetadata;
5328
-
5329
- /**
5330
- * Encodes the specified ResourceMetadata message. Does not implicitly {@link flyteidl.core.ResourceMetadata.verify|verify} messages.
5331
- * @param message ResourceMetadata message or plain object to encode
5332
- * @param [writer] Writer to encode to
5333
- * @returns Writer
5334
- */
5335
- public static encode(message: flyteidl.core.IResourceMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
5336
-
5337
- /**
5338
- * Decodes a ResourceMetadata message from the specified reader or buffer.
5339
- * @param reader Reader or buffer to decode from
5340
- * @param [length] Message length if known beforehand
5341
- * @returns ResourceMetadata
5342
- * @throws {Error} If the payload is not a reader or valid buffer
5343
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
5344
- */
5345
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ResourceMetadata;
5346
-
5347
- /**
5348
- * Verifies a ResourceMetadata message.
5349
- * @param message Plain object to verify
5350
- * @returns `null` if valid, otherwise the reason why it is not
5351
- */
5352
- public static verify(message: { [k: string]: any }): (string|null);
5353
- }
5354
-
5355
5227
  /** Properties of a TaskMetadata. */
5356
5228
  interface ITaskMetadata {
5357
5229
 
@@ -5387,9 +5259,6 @@ export namespace flyteidl {
5387
5259
 
5388
5260
  /** TaskMetadata podTemplateName */
5389
5261
  podTemplateName?: (string|null);
5390
-
5391
- /** TaskMetadata resourceMetadata */
5392
- resourceMetadata?: (flyteidl.core.IResourceMetadata|null);
5393
5262
  }
5394
5263
 
5395
5264
  /** Represents a TaskMetadata. */
@@ -5434,9 +5303,6 @@ export namespace flyteidl {
5434
5303
  /** TaskMetadata podTemplateName. */
5435
5304
  public podTemplateName: string;
5436
5305
 
5437
- /** TaskMetadata resourceMetadata. */
5438
- public resourceMetadata?: (flyteidl.core.IResourceMetadata|null);
5439
-
5440
5306
  /** TaskMetadata interruptibleValue. */
5441
5307
  public interruptibleValue?: "interruptible";
5442
5308
 
@@ -4570,7 +4570,6 @@
4570
4570
  * @memberof flyteidl.core
4571
4571
  * @interface ITaskNodeOverrides
4572
4572
  * @property {flyteidl.core.IResources|null} [resources] TaskNodeOverrides resources
4573
- * @property {flyteidl.core.IResourceMetadata|null} [resourceMetadata] TaskNodeOverrides resourceMetadata
4574
4573
  */
4575
4574
 
4576
4575
  /**
@@ -4596,14 +4595,6 @@
4596
4595
  */
4597
4596
  TaskNodeOverrides.prototype.resources = null;
4598
4597
 
4599
- /**
4600
- * TaskNodeOverrides resourceMetadata.
4601
- * @member {flyteidl.core.IResourceMetadata|null|undefined} resourceMetadata
4602
- * @memberof flyteidl.core.TaskNodeOverrides
4603
- * @instance
4604
- */
4605
- TaskNodeOverrides.prototype.resourceMetadata = null;
4606
-
4607
4598
  /**
4608
4599
  * Creates a new TaskNodeOverrides instance using the specified properties.
4609
4600
  * @function create
@@ -4630,8 +4621,6 @@
4630
4621
  writer = $Writer.create();
4631
4622
  if (message.resources != null && message.hasOwnProperty("resources"))
4632
4623
  $root.flyteidl.core.Resources.encode(message.resources, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
4633
- if (message.resourceMetadata != null && message.hasOwnProperty("resourceMetadata"))
4634
- $root.flyteidl.core.ResourceMetadata.encode(message.resourceMetadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
4635
4624
  return writer;
4636
4625
  };
4637
4626
 
@@ -4656,9 +4645,6 @@
4656
4645
  case 1:
4657
4646
  message.resources = $root.flyteidl.core.Resources.decode(reader, reader.uint32());
4658
4647
  break;
4659
- case 2:
4660
- message.resourceMetadata = $root.flyteidl.core.ResourceMetadata.decode(reader, reader.uint32());
4661
- break;
4662
4648
  default:
4663
4649
  reader.skipType(tag & 7);
4664
4650
  break;
@@ -4683,11 +4669,6 @@
4683
4669
  if (error)
4684
4670
  return "resources." + error;
4685
4671
  }
4686
- if (message.resourceMetadata != null && message.hasOwnProperty("resourceMetadata")) {
4687
- var error = $root.flyteidl.core.ResourceMetadata.verify(message.resourceMetadata);
4688
- if (error)
4689
- return "resourceMetadata." + error;
4690
- }
4691
4672
  return null;
4692
4673
  };
4693
4674
 
@@ -12458,301 +12439,6 @@
12458
12439
  return RuntimeMetadata;
12459
12440
  })();
12460
12441
 
12461
- core.GPUAccelerator = (function() {
12462
-
12463
- /**
12464
- * Properties of a GPUAccelerator.
12465
- * @memberof flyteidl.core
12466
- * @interface IGPUAccelerator
12467
- * @property {string|null} [device] GPUAccelerator device
12468
- * @property {boolean|null} [unpartitioned] GPUAccelerator unpartitioned
12469
- * @property {string|null} [partitionSize] GPUAccelerator partitionSize
12470
- */
12471
-
12472
- /**
12473
- * Constructs a new GPUAccelerator.
12474
- * @memberof flyteidl.core
12475
- * @classdesc Represents a GPUAccelerator.
12476
- * @implements IGPUAccelerator
12477
- * @constructor
12478
- * @param {flyteidl.core.IGPUAccelerator=} [properties] Properties to set
12479
- */
12480
- function GPUAccelerator(properties) {
12481
- if (properties)
12482
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
12483
- if (properties[keys[i]] != null)
12484
- this[keys[i]] = properties[keys[i]];
12485
- }
12486
-
12487
- /**
12488
- * GPUAccelerator device.
12489
- * @member {string} device
12490
- * @memberof flyteidl.core.GPUAccelerator
12491
- * @instance
12492
- */
12493
- GPUAccelerator.prototype.device = "";
12494
-
12495
- /**
12496
- * GPUAccelerator unpartitioned.
12497
- * @member {boolean} unpartitioned
12498
- * @memberof flyteidl.core.GPUAccelerator
12499
- * @instance
12500
- */
12501
- GPUAccelerator.prototype.unpartitioned = false;
12502
-
12503
- /**
12504
- * GPUAccelerator partitionSize.
12505
- * @member {string} partitionSize
12506
- * @memberof flyteidl.core.GPUAccelerator
12507
- * @instance
12508
- */
12509
- GPUAccelerator.prototype.partitionSize = "";
12510
-
12511
- // OneOf field names bound to virtual getters and setters
12512
- var $oneOfFields;
12513
-
12514
- /**
12515
- * GPUAccelerator partitionSizeValue.
12516
- * @member {"unpartitioned"|"partitionSize"|undefined} partitionSizeValue
12517
- * @memberof flyteidl.core.GPUAccelerator
12518
- * @instance
12519
- */
12520
- Object.defineProperty(GPUAccelerator.prototype, "partitionSizeValue", {
12521
- get: $util.oneOfGetter($oneOfFields = ["unpartitioned", "partitionSize"]),
12522
- set: $util.oneOfSetter($oneOfFields)
12523
- });
12524
-
12525
- /**
12526
- * Creates a new GPUAccelerator instance using the specified properties.
12527
- * @function create
12528
- * @memberof flyteidl.core.GPUAccelerator
12529
- * @static
12530
- * @param {flyteidl.core.IGPUAccelerator=} [properties] Properties to set
12531
- * @returns {flyteidl.core.GPUAccelerator} GPUAccelerator instance
12532
- */
12533
- GPUAccelerator.create = function create(properties) {
12534
- return new GPUAccelerator(properties);
12535
- };
12536
-
12537
- /**
12538
- * Encodes the specified GPUAccelerator message. Does not implicitly {@link flyteidl.core.GPUAccelerator.verify|verify} messages.
12539
- * @function encode
12540
- * @memberof flyteidl.core.GPUAccelerator
12541
- * @static
12542
- * @param {flyteidl.core.IGPUAccelerator} message GPUAccelerator message or plain object to encode
12543
- * @param {$protobuf.Writer} [writer] Writer to encode to
12544
- * @returns {$protobuf.Writer} Writer
12545
- */
12546
- GPUAccelerator.encode = function encode(message, writer) {
12547
- if (!writer)
12548
- writer = $Writer.create();
12549
- if (message.device != null && message.hasOwnProperty("device"))
12550
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.device);
12551
- if (message.unpartitioned != null && message.hasOwnProperty("unpartitioned"))
12552
- writer.uint32(/* id 2, wireType 0 =*/16).bool(message.unpartitioned);
12553
- if (message.partitionSize != null && message.hasOwnProperty("partitionSize"))
12554
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.partitionSize);
12555
- return writer;
12556
- };
12557
-
12558
- /**
12559
- * Decodes a GPUAccelerator message from the specified reader or buffer.
12560
- * @function decode
12561
- * @memberof flyteidl.core.GPUAccelerator
12562
- * @static
12563
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
12564
- * @param {number} [length] Message length if known beforehand
12565
- * @returns {flyteidl.core.GPUAccelerator} GPUAccelerator
12566
- * @throws {Error} If the payload is not a reader or valid buffer
12567
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
12568
- */
12569
- GPUAccelerator.decode = function decode(reader, length) {
12570
- if (!(reader instanceof $Reader))
12571
- reader = $Reader.create(reader);
12572
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.GPUAccelerator();
12573
- while (reader.pos < end) {
12574
- var tag = reader.uint32();
12575
- switch (tag >>> 3) {
12576
- case 1:
12577
- message.device = reader.string();
12578
- break;
12579
- case 2:
12580
- message.unpartitioned = reader.bool();
12581
- break;
12582
- case 3:
12583
- message.partitionSize = reader.string();
12584
- break;
12585
- default:
12586
- reader.skipType(tag & 7);
12587
- break;
12588
- }
12589
- }
12590
- return message;
12591
- };
12592
-
12593
- /**
12594
- * Verifies a GPUAccelerator message.
12595
- * @function verify
12596
- * @memberof flyteidl.core.GPUAccelerator
12597
- * @static
12598
- * @param {Object.<string,*>} message Plain object to verify
12599
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
12600
- */
12601
- GPUAccelerator.verify = function verify(message) {
12602
- if (typeof message !== "object" || message === null)
12603
- return "object expected";
12604
- var properties = {};
12605
- if (message.device != null && message.hasOwnProperty("device"))
12606
- if (!$util.isString(message.device))
12607
- return "device: string expected";
12608
- if (message.unpartitioned != null && message.hasOwnProperty("unpartitioned")) {
12609
- properties.partitionSizeValue = 1;
12610
- if (typeof message.unpartitioned !== "boolean")
12611
- return "unpartitioned: boolean expected";
12612
- }
12613
- if (message.partitionSize != null && message.hasOwnProperty("partitionSize")) {
12614
- if (properties.partitionSizeValue === 1)
12615
- return "partitionSizeValue: multiple values";
12616
- properties.partitionSizeValue = 1;
12617
- if (!$util.isString(message.partitionSize))
12618
- return "partitionSize: string expected";
12619
- }
12620
- return null;
12621
- };
12622
-
12623
- return GPUAccelerator;
12624
- })();
12625
-
12626
- core.ResourceMetadata = (function() {
12627
-
12628
- /**
12629
- * Properties of a ResourceMetadata.
12630
- * @memberof flyteidl.core
12631
- * @interface IResourceMetadata
12632
- * @property {flyteidl.core.IGPUAccelerator|null} [gpuAccelerator] ResourceMetadata gpuAccelerator
12633
- */
12634
-
12635
- /**
12636
- * Constructs a new ResourceMetadata.
12637
- * @memberof flyteidl.core
12638
- * @classdesc Represents a ResourceMetadata.
12639
- * @implements IResourceMetadata
12640
- * @constructor
12641
- * @param {flyteidl.core.IResourceMetadata=} [properties] Properties to set
12642
- */
12643
- function ResourceMetadata(properties) {
12644
- if (properties)
12645
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
12646
- if (properties[keys[i]] != null)
12647
- this[keys[i]] = properties[keys[i]];
12648
- }
12649
-
12650
- /**
12651
- * ResourceMetadata gpuAccelerator.
12652
- * @member {flyteidl.core.IGPUAccelerator|null|undefined} gpuAccelerator
12653
- * @memberof flyteidl.core.ResourceMetadata
12654
- * @instance
12655
- */
12656
- ResourceMetadata.prototype.gpuAccelerator = null;
12657
-
12658
- // OneOf field names bound to virtual getters and setters
12659
- var $oneOfFields;
12660
-
12661
- /**
12662
- * ResourceMetadata acceleratorValue.
12663
- * @member {"gpuAccelerator"|undefined} acceleratorValue
12664
- * @memberof flyteidl.core.ResourceMetadata
12665
- * @instance
12666
- */
12667
- Object.defineProperty(ResourceMetadata.prototype, "acceleratorValue", {
12668
- get: $util.oneOfGetter($oneOfFields = ["gpuAccelerator"]),
12669
- set: $util.oneOfSetter($oneOfFields)
12670
- });
12671
-
12672
- /**
12673
- * Creates a new ResourceMetadata instance using the specified properties.
12674
- * @function create
12675
- * @memberof flyteidl.core.ResourceMetadata
12676
- * @static
12677
- * @param {flyteidl.core.IResourceMetadata=} [properties] Properties to set
12678
- * @returns {flyteidl.core.ResourceMetadata} ResourceMetadata instance
12679
- */
12680
- ResourceMetadata.create = function create(properties) {
12681
- return new ResourceMetadata(properties);
12682
- };
12683
-
12684
- /**
12685
- * Encodes the specified ResourceMetadata message. Does not implicitly {@link flyteidl.core.ResourceMetadata.verify|verify} messages.
12686
- * @function encode
12687
- * @memberof flyteidl.core.ResourceMetadata
12688
- * @static
12689
- * @param {flyteidl.core.IResourceMetadata} message ResourceMetadata message or plain object to encode
12690
- * @param {$protobuf.Writer} [writer] Writer to encode to
12691
- * @returns {$protobuf.Writer} Writer
12692
- */
12693
- ResourceMetadata.encode = function encode(message, writer) {
12694
- if (!writer)
12695
- writer = $Writer.create();
12696
- if (message.gpuAccelerator != null && message.hasOwnProperty("gpuAccelerator"))
12697
- $root.flyteidl.core.GPUAccelerator.encode(message.gpuAccelerator, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
12698
- return writer;
12699
- };
12700
-
12701
- /**
12702
- * Decodes a ResourceMetadata message from the specified reader or buffer.
12703
- * @function decode
12704
- * @memberof flyteidl.core.ResourceMetadata
12705
- * @static
12706
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
12707
- * @param {number} [length] Message length if known beforehand
12708
- * @returns {flyteidl.core.ResourceMetadata} ResourceMetadata
12709
- * @throws {Error} If the payload is not a reader or valid buffer
12710
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
12711
- */
12712
- ResourceMetadata.decode = function decode(reader, length) {
12713
- if (!(reader instanceof $Reader))
12714
- reader = $Reader.create(reader);
12715
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.core.ResourceMetadata();
12716
- while (reader.pos < end) {
12717
- var tag = reader.uint32();
12718
- switch (tag >>> 3) {
12719
- case 1:
12720
- message.gpuAccelerator = $root.flyteidl.core.GPUAccelerator.decode(reader, reader.uint32());
12721
- break;
12722
- default:
12723
- reader.skipType(tag & 7);
12724
- break;
12725
- }
12726
- }
12727
- return message;
12728
- };
12729
-
12730
- /**
12731
- * Verifies a ResourceMetadata message.
12732
- * @function verify
12733
- * @memberof flyteidl.core.ResourceMetadata
12734
- * @static
12735
- * @param {Object.<string,*>} message Plain object to verify
12736
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
12737
- */
12738
- ResourceMetadata.verify = function verify(message) {
12739
- if (typeof message !== "object" || message === null)
12740
- return "object expected";
12741
- var properties = {};
12742
- if (message.gpuAccelerator != null && message.hasOwnProperty("gpuAccelerator")) {
12743
- properties.acceleratorValue = 1;
12744
- {
12745
- var error = $root.flyteidl.core.GPUAccelerator.verify(message.gpuAccelerator);
12746
- if (error)
12747
- return "gpuAccelerator." + error;
12748
- }
12749
- }
12750
- return null;
12751
- };
12752
-
12753
- return ResourceMetadata;
12754
- })();
12755
-
12756
12442
  core.TaskMetadata = (function() {
12757
12443
 
12758
12444
  /**
@@ -12770,7 +12456,6 @@
12770
12456
  * @property {boolean|null} [generatesDeck] TaskMetadata generatesDeck
12771
12457
  * @property {Object.<string,string>|null} [tags] TaskMetadata tags
12772
12458
  * @property {string|null} [podTemplateName] TaskMetadata podTemplateName
12773
- * @property {flyteidl.core.IResourceMetadata|null} [resourceMetadata] TaskMetadata resourceMetadata
12774
12459
  */
12775
12460
 
12776
12461
  /**
@@ -12877,14 +12562,6 @@
12877
12562
  */
12878
12563
  TaskMetadata.prototype.podTemplateName = "";
12879
12564
 
12880
- /**
12881
- * TaskMetadata resourceMetadata.
12882
- * @member {flyteidl.core.IResourceMetadata|null|undefined} resourceMetadata
12883
- * @memberof flyteidl.core.TaskMetadata
12884
- * @instance
12885
- */
12886
- TaskMetadata.prototype.resourceMetadata = null;
12887
-
12888
12565
  // OneOf field names bound to virtual getters and setters
12889
12566
  var $oneOfFields;
12890
12567
 
@@ -12946,8 +12623,6 @@
12946
12623
  writer.uint32(/* id 11, wireType 2 =*/90).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.tags[keys[i]]).ldelim();
12947
12624
  if (message.podTemplateName != null && message.hasOwnProperty("podTemplateName"))
12948
12625
  writer.uint32(/* id 12, wireType 2 =*/98).string(message.podTemplateName);
12949
- if (message.resourceMetadata != null && message.hasOwnProperty("resourceMetadata"))
12950
- $root.flyteidl.core.ResourceMetadata.encode(message.resourceMetadata, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
12951
12626
  return writer;
12952
12627
  };
12953
12628
 
@@ -13007,9 +12682,6 @@
13007
12682
  case 12:
13008
12683
  message.podTemplateName = reader.string();
13009
12684
  break;
13010
- case 13:
13011
- message.resourceMetadata = $root.flyteidl.core.ResourceMetadata.decode(reader, reader.uint32());
13012
- break;
13013
12685
  default:
13014
12686
  reader.skipType(tag & 7);
13015
12687
  break;
@@ -13076,11 +12748,6 @@
13076
12748
  if (message.podTemplateName != null && message.hasOwnProperty("podTemplateName"))
13077
12749
  if (!$util.isString(message.podTemplateName))
13078
12750
  return "podTemplateName: string expected";
13079
- if (message.resourceMetadata != null && message.hasOwnProperty("resourceMetadata")) {
13080
- var error = $root.flyteidl.core.ResourceMetadata.verify(message.resourceMetadata);
13081
- if (error)
13082
- return "resourceMetadata." + error;
13083
- }
13084
12751
  return null;
13085
12752
  };
13086
12753
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "1.5.19",
3
+ "version": "1.5.20",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -61,22 +61,6 @@ message RuntimeMetadata {
61
61
  string flavor = 3;
62
62
  }
63
63
 
64
- // Metadata associated with the GPU accelerator to allocate to a task
65
- message GPUAccelerator {
66
- string device = 1;
67
- oneof partition_size_value {
68
- bool unpartitioned = 2;
69
- string partition_size = 3;
70
- }
71
- }
72
-
73
- // Additional metadata associated with resources to allocate to a task
74
- message ResourceMetadata {
75
- oneof accelerator_value {
76
- GPUAccelerator gpu_accelerator = 1;
77
- }
78
- }
79
-
80
64
  // Task Metadata
81
65
  message TaskMetadata {
82
66
  // Indicates whether the system should attempt to lookup this task's output to avoid duplication of work.
@@ -122,9 +106,6 @@ message TaskMetadata {
122
106
  // task creates a k8s Pod. If this value is set, the specified PodTemplate will be used instead of, but applied
123
107
  // identically as, the default PodTemplate configured in FlytePropeller.
124
108
  string pod_template_name = 12;
125
-
126
- // Additional metadata associated with resources to allocate to this task
127
- ResourceMetadata resource_metadata = 13;
128
109
  }
129
110
 
130
111
  // A Task structure that uniquely identifies a task in the system
@@ -279,7 +279,4 @@ message WorkflowTemplate {
279
279
  message TaskNodeOverrides {
280
280
  // A customizable interface to convey resources requested for a task container.
281
281
  Resources resources = 1;
282
-
283
- // Additional metadata associated with resources to allocate to this task
284
- core.ResourceMetadata resource_metadata = 2;
285
282
  }