@flyteorg/flyteidl 1.3.20 → 1.5.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.
@@ -8886,6 +8886,70 @@ export namespace flyteidl {
8886
8886
  public static verify(message: { [k: string]: any }): (string|null);
8887
8887
  }
8888
8888
 
8889
+ /** Properties of a FlyteURLs. */
8890
+ interface IFlyteURLs {
8891
+
8892
+ /** FlyteURLs inputs */
8893
+ inputs?: (string|null);
8894
+
8895
+ /** FlyteURLs outputs */
8896
+ outputs?: (string|null);
8897
+
8898
+ /** FlyteURLs deck */
8899
+ deck?: (string|null);
8900
+ }
8901
+
8902
+ /** Represents a FlyteURLs. */
8903
+ class FlyteURLs implements IFlyteURLs {
8904
+
8905
+ /**
8906
+ * Constructs a new FlyteURLs.
8907
+ * @param [properties] Properties to set
8908
+ */
8909
+ constructor(properties?: flyteidl.admin.IFlyteURLs);
8910
+
8911
+ /** FlyteURLs inputs. */
8912
+ public inputs: string;
8913
+
8914
+ /** FlyteURLs outputs. */
8915
+ public outputs: string;
8916
+
8917
+ /** FlyteURLs deck. */
8918
+ public deck: string;
8919
+
8920
+ /**
8921
+ * Creates a new FlyteURLs instance using the specified properties.
8922
+ * @param [properties] Properties to set
8923
+ * @returns FlyteURLs instance
8924
+ */
8925
+ public static create(properties?: flyteidl.admin.IFlyteURLs): flyteidl.admin.FlyteURLs;
8926
+
8927
+ /**
8928
+ * Encodes the specified FlyteURLs message. Does not implicitly {@link flyteidl.admin.FlyteURLs.verify|verify} messages.
8929
+ * @param message FlyteURLs message or plain object to encode
8930
+ * @param [writer] Writer to encode to
8931
+ * @returns Writer
8932
+ */
8933
+ public static encode(message: flyteidl.admin.IFlyteURLs, writer?: $protobuf.Writer): $protobuf.Writer;
8934
+
8935
+ /**
8936
+ * Decodes a FlyteURLs message from the specified reader or buffer.
8937
+ * @param reader Reader or buffer to decode from
8938
+ * @param [length] Message length if known beforehand
8939
+ * @returns FlyteURLs
8940
+ * @throws {Error} If the payload is not a reader or valid buffer
8941
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8942
+ */
8943
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.FlyteURLs;
8944
+
8945
+ /**
8946
+ * Verifies a FlyteURLs message.
8947
+ * @param message Plain object to verify
8948
+ * @returns `null` if valid, otherwise the reason why it is not
8949
+ */
8950
+ public static verify(message: { [k: string]: any }): (string|null);
8951
+ }
8952
+
8889
8953
  /** Properties of a DescriptionEntity. */
8890
8954
  interface IDescriptionEntity {
8891
8955
 
@@ -13809,6 +13873,9 @@ export namespace flyteidl {
13809
13873
 
13810
13874
  /** NodeExecutionGetDataResponse dynamicWorkflow */
13811
13875
  dynamicWorkflow?: (flyteidl.admin.IDynamicWorkflowNodeMetadata|null);
13876
+
13877
+ /** NodeExecutionGetDataResponse flyteUrls */
13878
+ flyteUrls?: (flyteidl.admin.IFlyteURLs|null);
13812
13879
  }
13813
13880
 
13814
13881
  /** Represents a NodeExecutionGetDataResponse. */
@@ -13835,6 +13902,9 @@ export namespace flyteidl {
13835
13902
  /** NodeExecutionGetDataResponse dynamicWorkflow. */
13836
13903
  public dynamicWorkflow?: (flyteidl.admin.IDynamicWorkflowNodeMetadata|null);
13837
13904
 
13905
+ /** NodeExecutionGetDataResponse flyteUrls. */
13906
+ public flyteUrls?: (flyteidl.admin.IFlyteURLs|null);
13907
+
13838
13908
  /**
13839
13909
  * Creates a new NodeExecutionGetDataResponse instance using the specified properties.
13840
13910
  * @param [properties] Properties to set
@@ -16339,6 +16409,9 @@ export namespace flyteidl {
16339
16409
 
16340
16410
  /** TaskExecutionGetDataResponse fullOutputs */
16341
16411
  fullOutputs?: (flyteidl.core.ILiteralMap|null);
16412
+
16413
+ /** TaskExecutionGetDataResponse flyteUrls */
16414
+ flyteUrls?: (flyteidl.admin.IFlyteURLs|null);
16342
16415
  }
16343
16416
 
16344
16417
  /** Represents a TaskExecutionGetDataResponse. */
@@ -16362,6 +16435,9 @@ export namespace flyteidl {
16362
16435
  /** TaskExecutionGetDataResponse fullOutputs. */
16363
16436
  public fullOutputs?: (flyteidl.core.ILiteralMap|null);
16364
16437
 
16438
+ /** TaskExecutionGetDataResponse flyteUrls. */
16439
+ public flyteUrls?: (flyteidl.admin.IFlyteURLs|null);
16440
+
16365
16441
  /**
16366
16442
  * Creates a new TaskExecutionGetDataResponse instance using the specified properties.
16367
16443
  * @param [properties] Properties to set
@@ -19300,6 +19376,9 @@ export namespace flyteidl {
19300
19376
 
19301
19377
  /** CreateDownloadLinkResponse expiresAt */
19302
19378
  expiresAt?: (google.protobuf.ITimestamp|null);
19379
+
19380
+ /** CreateDownloadLinkResponse preSignedUrls */
19381
+ preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
19303
19382
  }
19304
19383
 
19305
19384
  /** Represents a CreateDownloadLinkResponse. */
@@ -19317,6 +19396,9 @@ export namespace flyteidl {
19317
19396
  /** CreateDownloadLinkResponse expiresAt. */
19318
19397
  public expiresAt?: (google.protobuf.ITimestamp|null);
19319
19398
 
19399
+ /** CreateDownloadLinkResponse preSignedUrls. */
19400
+ public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
19401
+
19320
19402
  /**
19321
19403
  * Creates a new CreateDownloadLinkResponse instance using the specified properties.
19322
19404
  * @param [properties] Properties to set
@@ -19350,6 +19432,177 @@ export namespace flyteidl {
19350
19432
  public static verify(message: { [k: string]: any }): (string|null);
19351
19433
  }
19352
19434
 
19435
+ /** Properties of a PreSignedURLs. */
19436
+ interface IPreSignedURLs {
19437
+
19438
+ /** PreSignedURLs signedUrl */
19439
+ signedUrl?: (string[]|null);
19440
+
19441
+ /** PreSignedURLs expiresAt */
19442
+ expiresAt?: (google.protobuf.ITimestamp|null);
19443
+ }
19444
+
19445
+ /** Represents a PreSignedURLs. */
19446
+ class PreSignedURLs implements IPreSignedURLs {
19447
+
19448
+ /**
19449
+ * Constructs a new PreSignedURLs.
19450
+ * @param [properties] Properties to set
19451
+ */
19452
+ constructor(properties?: flyteidl.service.IPreSignedURLs);
19453
+
19454
+ /** PreSignedURLs signedUrl. */
19455
+ public signedUrl: string[];
19456
+
19457
+ /** PreSignedURLs expiresAt. */
19458
+ public expiresAt?: (google.protobuf.ITimestamp|null);
19459
+
19460
+ /**
19461
+ * Creates a new PreSignedURLs instance using the specified properties.
19462
+ * @param [properties] Properties to set
19463
+ * @returns PreSignedURLs instance
19464
+ */
19465
+ public static create(properties?: flyteidl.service.IPreSignedURLs): flyteidl.service.PreSignedURLs;
19466
+
19467
+ /**
19468
+ * Encodes the specified PreSignedURLs message. Does not implicitly {@link flyteidl.service.PreSignedURLs.verify|verify} messages.
19469
+ * @param message PreSignedURLs message or plain object to encode
19470
+ * @param [writer] Writer to encode to
19471
+ * @returns Writer
19472
+ */
19473
+ public static encode(message: flyteidl.service.IPreSignedURLs, writer?: $protobuf.Writer): $protobuf.Writer;
19474
+
19475
+ /**
19476
+ * Decodes a PreSignedURLs message from the specified reader or buffer.
19477
+ * @param reader Reader or buffer to decode from
19478
+ * @param [length] Message length if known beforehand
19479
+ * @returns PreSignedURLs
19480
+ * @throws {Error} If the payload is not a reader or valid buffer
19481
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19482
+ */
19483
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PreSignedURLs;
19484
+
19485
+ /**
19486
+ * Verifies a PreSignedURLs message.
19487
+ * @param message Plain object to verify
19488
+ * @returns `null` if valid, otherwise the reason why it is not
19489
+ */
19490
+ public static verify(message: { [k: string]: any }): (string|null);
19491
+ }
19492
+
19493
+ /** Properties of a GetDataRequest. */
19494
+ interface IGetDataRequest {
19495
+
19496
+ /** GetDataRequest flyteUrl */
19497
+ flyteUrl?: (string|null);
19498
+ }
19499
+
19500
+ /** Represents a GetDataRequest. */
19501
+ class GetDataRequest implements IGetDataRequest {
19502
+
19503
+ /**
19504
+ * Constructs a new GetDataRequest.
19505
+ * @param [properties] Properties to set
19506
+ */
19507
+ constructor(properties?: flyteidl.service.IGetDataRequest);
19508
+
19509
+ /** GetDataRequest flyteUrl. */
19510
+ public flyteUrl: string;
19511
+
19512
+ /**
19513
+ * Creates a new GetDataRequest instance using the specified properties.
19514
+ * @param [properties] Properties to set
19515
+ * @returns GetDataRequest instance
19516
+ */
19517
+ public static create(properties?: flyteidl.service.IGetDataRequest): flyteidl.service.GetDataRequest;
19518
+
19519
+ /**
19520
+ * Encodes the specified GetDataRequest message. Does not implicitly {@link flyteidl.service.GetDataRequest.verify|verify} messages.
19521
+ * @param message GetDataRequest message or plain object to encode
19522
+ * @param [writer] Writer to encode to
19523
+ * @returns Writer
19524
+ */
19525
+ public static encode(message: flyteidl.service.IGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19526
+
19527
+ /**
19528
+ * Decodes a GetDataRequest message from the specified reader or buffer.
19529
+ * @param reader Reader or buffer to decode from
19530
+ * @param [length] Message length if known beforehand
19531
+ * @returns GetDataRequest
19532
+ * @throws {Error} If the payload is not a reader or valid buffer
19533
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19534
+ */
19535
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataRequest;
19536
+
19537
+ /**
19538
+ * Verifies a GetDataRequest message.
19539
+ * @param message Plain object to verify
19540
+ * @returns `null` if valid, otherwise the reason why it is not
19541
+ */
19542
+ public static verify(message: { [k: string]: any }): (string|null);
19543
+ }
19544
+
19545
+ /** Properties of a GetDataResponse. */
19546
+ interface IGetDataResponse {
19547
+
19548
+ /** GetDataResponse literalMap */
19549
+ literalMap?: (flyteidl.core.ILiteralMap|null);
19550
+
19551
+ /** GetDataResponse preSignedUrls */
19552
+ preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
19553
+ }
19554
+
19555
+ /** Represents a GetDataResponse. */
19556
+ class GetDataResponse implements IGetDataResponse {
19557
+
19558
+ /**
19559
+ * Constructs a new GetDataResponse.
19560
+ * @param [properties] Properties to set
19561
+ */
19562
+ constructor(properties?: flyteidl.service.IGetDataResponse);
19563
+
19564
+ /** GetDataResponse literalMap. */
19565
+ public literalMap?: (flyteidl.core.ILiteralMap|null);
19566
+
19567
+ /** GetDataResponse preSignedUrls. */
19568
+ public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
19569
+
19570
+ /** GetDataResponse data. */
19571
+ public data?: ("literalMap"|"preSignedUrls");
19572
+
19573
+ /**
19574
+ * Creates a new GetDataResponse instance using the specified properties.
19575
+ * @param [properties] Properties to set
19576
+ * @returns GetDataResponse instance
19577
+ */
19578
+ public static create(properties?: flyteidl.service.IGetDataResponse): flyteidl.service.GetDataResponse;
19579
+
19580
+ /**
19581
+ * Encodes the specified GetDataResponse message. Does not implicitly {@link flyteidl.service.GetDataResponse.verify|verify} messages.
19582
+ * @param message GetDataResponse message or plain object to encode
19583
+ * @param [writer] Writer to encode to
19584
+ * @returns Writer
19585
+ */
19586
+ public static encode(message: flyteidl.service.IGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19587
+
19588
+ /**
19589
+ * Decodes a GetDataResponse message from the specified reader or buffer.
19590
+ * @param reader Reader or buffer to decode from
19591
+ * @param [length] Message length if known beforehand
19592
+ * @returns GetDataResponse
19593
+ * @throws {Error} If the payload is not a reader or valid buffer
19594
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19595
+ */
19596
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataResponse;
19597
+
19598
+ /**
19599
+ * Verifies a GetDataResponse message.
19600
+ * @param message Plain object to verify
19601
+ * @returns `null` if valid, otherwise the reason why it is not
19602
+ */
19603
+ public static verify(message: { [k: string]: any }): (string|null);
19604
+ }
19605
+
19353
19606
  /** Represents a DataProxyService */
19354
19607
  class DataProxyService extends $protobuf.rpc.Service {
19355
19608
 
@@ -19411,6 +19664,20 @@ export namespace flyteidl {
19411
19664
  * @returns Promise
19412
19665
  */
19413
19666
  public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest): Promise<flyteidl.service.CreateDownloadLinkResponse>;
19667
+
19668
+ /**
19669
+ * Calls GetData.
19670
+ * @param request GetDataRequest message or plain object
19671
+ * @param callback Node-style callback called with the error, if any, and GetDataResponse
19672
+ */
19673
+ public getData(request: flyteidl.service.IGetDataRequest, callback: flyteidl.service.DataProxyService.GetDataCallback): void;
19674
+
19675
+ /**
19676
+ * Calls GetData.
19677
+ * @param request GetDataRequest message or plain object
19678
+ * @returns Promise
19679
+ */
19680
+ public getData(request: flyteidl.service.IGetDataRequest): Promise<flyteidl.service.GetDataResponse>;
19414
19681
  }
19415
19682
 
19416
19683
  namespace DataProxyService {
@@ -19435,6 +19702,13 @@ export namespace flyteidl {
19435
19702
  * @param [response] CreateDownloadLinkResponse
19436
19703
  */
19437
19704
  type CreateDownloadLinkCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLinkResponse) => void;
19705
+
19706
+ /**
19707
+ * Callback as used by {@link flyteidl.service.DataProxyService#getData}.
19708
+ * @param error Error, if any
19709
+ * @param [response] GetDataResponse
19710
+ */
19711
+ type GetDataCallback = (error: (Error|null), response?: flyteidl.service.GetDataResponse) => void;
19438
19712
  }
19439
19713
 
19440
19714
  /** Represents an ExternalPluginService */
@@ -21530,6 +21530,150 @@
21530
21530
  return RawOutputDataConfig;
21531
21531
  })();
21532
21532
 
21533
+ admin.FlyteURLs = (function() {
21534
+
21535
+ /**
21536
+ * Properties of a FlyteURLs.
21537
+ * @memberof flyteidl.admin
21538
+ * @interface IFlyteURLs
21539
+ * @property {string|null} [inputs] FlyteURLs inputs
21540
+ * @property {string|null} [outputs] FlyteURLs outputs
21541
+ * @property {string|null} [deck] FlyteURLs deck
21542
+ */
21543
+
21544
+ /**
21545
+ * Constructs a new FlyteURLs.
21546
+ * @memberof flyteidl.admin
21547
+ * @classdesc Represents a FlyteURLs.
21548
+ * @implements IFlyteURLs
21549
+ * @constructor
21550
+ * @param {flyteidl.admin.IFlyteURLs=} [properties] Properties to set
21551
+ */
21552
+ function FlyteURLs(properties) {
21553
+ if (properties)
21554
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
21555
+ if (properties[keys[i]] != null)
21556
+ this[keys[i]] = properties[keys[i]];
21557
+ }
21558
+
21559
+ /**
21560
+ * FlyteURLs inputs.
21561
+ * @member {string} inputs
21562
+ * @memberof flyteidl.admin.FlyteURLs
21563
+ * @instance
21564
+ */
21565
+ FlyteURLs.prototype.inputs = "";
21566
+
21567
+ /**
21568
+ * FlyteURLs outputs.
21569
+ * @member {string} outputs
21570
+ * @memberof flyteidl.admin.FlyteURLs
21571
+ * @instance
21572
+ */
21573
+ FlyteURLs.prototype.outputs = "";
21574
+
21575
+ /**
21576
+ * FlyteURLs deck.
21577
+ * @member {string} deck
21578
+ * @memberof flyteidl.admin.FlyteURLs
21579
+ * @instance
21580
+ */
21581
+ FlyteURLs.prototype.deck = "";
21582
+
21583
+ /**
21584
+ * Creates a new FlyteURLs instance using the specified properties.
21585
+ * @function create
21586
+ * @memberof flyteidl.admin.FlyteURLs
21587
+ * @static
21588
+ * @param {flyteidl.admin.IFlyteURLs=} [properties] Properties to set
21589
+ * @returns {flyteidl.admin.FlyteURLs} FlyteURLs instance
21590
+ */
21591
+ FlyteURLs.create = function create(properties) {
21592
+ return new FlyteURLs(properties);
21593
+ };
21594
+
21595
+ /**
21596
+ * Encodes the specified FlyteURLs message. Does not implicitly {@link flyteidl.admin.FlyteURLs.verify|verify} messages.
21597
+ * @function encode
21598
+ * @memberof flyteidl.admin.FlyteURLs
21599
+ * @static
21600
+ * @param {flyteidl.admin.IFlyteURLs} message FlyteURLs message or plain object to encode
21601
+ * @param {$protobuf.Writer} [writer] Writer to encode to
21602
+ * @returns {$protobuf.Writer} Writer
21603
+ */
21604
+ FlyteURLs.encode = function encode(message, writer) {
21605
+ if (!writer)
21606
+ writer = $Writer.create();
21607
+ if (message.inputs != null && message.hasOwnProperty("inputs"))
21608
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.inputs);
21609
+ if (message.outputs != null && message.hasOwnProperty("outputs"))
21610
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.outputs);
21611
+ if (message.deck != null && message.hasOwnProperty("deck"))
21612
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.deck);
21613
+ return writer;
21614
+ };
21615
+
21616
+ /**
21617
+ * Decodes a FlyteURLs message from the specified reader or buffer.
21618
+ * @function decode
21619
+ * @memberof flyteidl.admin.FlyteURLs
21620
+ * @static
21621
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
21622
+ * @param {number} [length] Message length if known beforehand
21623
+ * @returns {flyteidl.admin.FlyteURLs} FlyteURLs
21624
+ * @throws {Error} If the payload is not a reader or valid buffer
21625
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21626
+ */
21627
+ FlyteURLs.decode = function decode(reader, length) {
21628
+ if (!(reader instanceof $Reader))
21629
+ reader = $Reader.create(reader);
21630
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.FlyteURLs();
21631
+ while (reader.pos < end) {
21632
+ var tag = reader.uint32();
21633
+ switch (tag >>> 3) {
21634
+ case 1:
21635
+ message.inputs = reader.string();
21636
+ break;
21637
+ case 2:
21638
+ message.outputs = reader.string();
21639
+ break;
21640
+ case 3:
21641
+ message.deck = reader.string();
21642
+ break;
21643
+ default:
21644
+ reader.skipType(tag & 7);
21645
+ break;
21646
+ }
21647
+ }
21648
+ return message;
21649
+ };
21650
+
21651
+ /**
21652
+ * Verifies a FlyteURLs message.
21653
+ * @function verify
21654
+ * @memberof flyteidl.admin.FlyteURLs
21655
+ * @static
21656
+ * @param {Object.<string,*>} message Plain object to verify
21657
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
21658
+ */
21659
+ FlyteURLs.verify = function verify(message) {
21660
+ if (typeof message !== "object" || message === null)
21661
+ return "object expected";
21662
+ if (message.inputs != null && message.hasOwnProperty("inputs"))
21663
+ if (!$util.isString(message.inputs))
21664
+ return "inputs: string expected";
21665
+ if (message.outputs != null && message.hasOwnProperty("outputs"))
21666
+ if (!$util.isString(message.outputs))
21667
+ return "outputs: string expected";
21668
+ if (message.deck != null && message.hasOwnProperty("deck"))
21669
+ if (!$util.isString(message.deck))
21670
+ return "deck: string expected";
21671
+ return null;
21672
+ };
21673
+
21674
+ return FlyteURLs;
21675
+ })();
21676
+
21533
21677
  admin.DescriptionEntity = (function() {
21534
21678
 
21535
21679
  /**
@@ -33240,6 +33384,7 @@
33240
33384
  * @property {flyteidl.core.ILiteralMap|null} [fullInputs] NodeExecutionGetDataResponse fullInputs
33241
33385
  * @property {flyteidl.core.ILiteralMap|null} [fullOutputs] NodeExecutionGetDataResponse fullOutputs
33242
33386
  * @property {flyteidl.admin.IDynamicWorkflowNodeMetadata|null} [dynamicWorkflow] NodeExecutionGetDataResponse dynamicWorkflow
33387
+ * @property {flyteidl.admin.IFlyteURLs|null} [flyteUrls] NodeExecutionGetDataResponse flyteUrls
33243
33388
  */
33244
33389
 
33245
33390
  /**
@@ -33297,6 +33442,14 @@
33297
33442
  */
33298
33443
  NodeExecutionGetDataResponse.prototype.dynamicWorkflow = null;
33299
33444
 
33445
+ /**
33446
+ * NodeExecutionGetDataResponse flyteUrls.
33447
+ * @member {flyteidl.admin.IFlyteURLs|null|undefined} flyteUrls
33448
+ * @memberof flyteidl.admin.NodeExecutionGetDataResponse
33449
+ * @instance
33450
+ */
33451
+ NodeExecutionGetDataResponse.prototype.flyteUrls = null;
33452
+
33300
33453
  /**
33301
33454
  * Creates a new NodeExecutionGetDataResponse instance using the specified properties.
33302
33455
  * @function create
@@ -33331,6 +33484,8 @@
33331
33484
  $root.flyteidl.core.LiteralMap.encode(message.fullOutputs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
33332
33485
  if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow"))
33333
33486
  $root.flyteidl.admin.DynamicWorkflowNodeMetadata.encode(message.dynamicWorkflow, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
33487
+ if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls"))
33488
+ $root.flyteidl.admin.FlyteURLs.encode(message.flyteUrls, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
33334
33489
  return writer;
33335
33490
  };
33336
33491
 
@@ -33367,6 +33522,9 @@
33367
33522
  case 16:
33368
33523
  message.dynamicWorkflow = $root.flyteidl.admin.DynamicWorkflowNodeMetadata.decode(reader, reader.uint32());
33369
33524
  break;
33525
+ case 17:
33526
+ message.flyteUrls = $root.flyteidl.admin.FlyteURLs.decode(reader, reader.uint32());
33527
+ break;
33370
33528
  default:
33371
33529
  reader.skipType(tag & 7);
33372
33530
  break;
@@ -33411,6 +33569,11 @@
33411
33569
  if (error)
33412
33570
  return "dynamicWorkflow." + error;
33413
33571
  }
33572
+ if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) {
33573
+ var error = $root.flyteidl.admin.FlyteURLs.verify(message.flyteUrls);
33574
+ if (error)
33575
+ return "flyteUrls." + error;
33576
+ }
33414
33577
  return null;
33415
33578
  };
33416
33579
 
@@ -39085,6 +39248,7 @@
39085
39248
  * @property {flyteidl.admin.IUrlBlob|null} [outputs] TaskExecutionGetDataResponse outputs
39086
39249
  * @property {flyteidl.core.ILiteralMap|null} [fullInputs] TaskExecutionGetDataResponse fullInputs
39087
39250
  * @property {flyteidl.core.ILiteralMap|null} [fullOutputs] TaskExecutionGetDataResponse fullOutputs
39251
+ * @property {flyteidl.admin.IFlyteURLs|null} [flyteUrls] TaskExecutionGetDataResponse flyteUrls
39088
39252
  */
39089
39253
 
39090
39254
  /**
@@ -39134,6 +39298,14 @@
39134
39298
  */
39135
39299
  TaskExecutionGetDataResponse.prototype.fullOutputs = null;
39136
39300
 
39301
+ /**
39302
+ * TaskExecutionGetDataResponse flyteUrls.
39303
+ * @member {flyteidl.admin.IFlyteURLs|null|undefined} flyteUrls
39304
+ * @memberof flyteidl.admin.TaskExecutionGetDataResponse
39305
+ * @instance
39306
+ */
39307
+ TaskExecutionGetDataResponse.prototype.flyteUrls = null;
39308
+
39137
39309
  /**
39138
39310
  * Creates a new TaskExecutionGetDataResponse instance using the specified properties.
39139
39311
  * @function create
@@ -39166,6 +39338,8 @@
39166
39338
  $root.flyteidl.core.LiteralMap.encode(message.fullInputs, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
39167
39339
  if (message.fullOutputs != null && message.hasOwnProperty("fullOutputs"))
39168
39340
  $root.flyteidl.core.LiteralMap.encode(message.fullOutputs, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
39341
+ if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls"))
39342
+ $root.flyteidl.admin.FlyteURLs.encode(message.flyteUrls, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
39169
39343
  return writer;
39170
39344
  };
39171
39345
 
@@ -39199,6 +39373,9 @@
39199
39373
  case 4:
39200
39374
  message.fullOutputs = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32());
39201
39375
  break;
39376
+ case 5:
39377
+ message.flyteUrls = $root.flyteidl.admin.FlyteURLs.decode(reader, reader.uint32());
39378
+ break;
39202
39379
  default:
39203
39380
  reader.skipType(tag & 7);
39204
39381
  break;
@@ -39238,6 +39415,11 @@
39238
39415
  if (error)
39239
39416
  return "fullOutputs." + error;
39240
39417
  }
39418
+ if (message.flyteUrls != null && message.hasOwnProperty("flyteUrls")) {
39419
+ var error = $root.flyteidl.admin.FlyteURLs.verify(message.flyteUrls);
39420
+ if (error)
39421
+ return "flyteUrls." + error;
39422
+ }
39241
39423
  return null;
39242
39424
  };
39243
39425
 
@@ -45052,6 +45234,7 @@
45052
45234
  * @interface ICreateDownloadLinkResponse
45053
45235
  * @property {Array.<string>|null} [signedUrl] CreateDownloadLinkResponse signedUrl
45054
45236
  * @property {google.protobuf.ITimestamp|null} [expiresAt] CreateDownloadLinkResponse expiresAt
45237
+ * @property {flyteidl.service.IPreSignedURLs|null} [preSignedUrls] CreateDownloadLinkResponse preSignedUrls
45055
45238
  */
45056
45239
 
45057
45240
  /**
@@ -45086,6 +45269,14 @@
45086
45269
  */
45087
45270
  CreateDownloadLinkResponse.prototype.expiresAt = null;
45088
45271
 
45272
+ /**
45273
+ * CreateDownloadLinkResponse preSignedUrls.
45274
+ * @member {flyteidl.service.IPreSignedURLs|null|undefined} preSignedUrls
45275
+ * @memberof flyteidl.service.CreateDownloadLinkResponse
45276
+ * @instance
45277
+ */
45278
+ CreateDownloadLinkResponse.prototype.preSignedUrls = null;
45279
+
45089
45280
  /**
45090
45281
  * Creates a new CreateDownloadLinkResponse instance using the specified properties.
45091
45282
  * @function create
@@ -45115,6 +45306,8 @@
45115
45306
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.signedUrl[i]);
45116
45307
  if (message.expiresAt != null && message.hasOwnProperty("expiresAt"))
45117
45308
  $root.google.protobuf.Timestamp.encode(message.expiresAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
45309
+ if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls"))
45310
+ $root.flyteidl.service.PreSignedURLs.encode(message.preSignedUrls, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
45118
45311
  return writer;
45119
45312
  };
45120
45313
 
@@ -45144,6 +45337,9 @@
45144
45337
  case 2:
45145
45338
  message.expiresAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
45146
45339
  break;
45340
+ case 3:
45341
+ message.preSignedUrls = $root.flyteidl.service.PreSignedURLs.decode(reader, reader.uint32());
45342
+ break;
45147
45343
  default:
45148
45344
  reader.skipType(tag & 7);
45149
45345
  break;
@@ -45175,12 +45371,418 @@
45175
45371
  if (error)
45176
45372
  return "expiresAt." + error;
45177
45373
  }
45374
+ if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) {
45375
+ var error = $root.flyteidl.service.PreSignedURLs.verify(message.preSignedUrls);
45376
+ if (error)
45377
+ return "preSignedUrls." + error;
45378
+ }
45178
45379
  return null;
45179
45380
  };
45180
45381
 
45181
45382
  return CreateDownloadLinkResponse;
45182
45383
  })();
45183
45384
 
45385
+ service.PreSignedURLs = (function() {
45386
+
45387
+ /**
45388
+ * Properties of a PreSignedURLs.
45389
+ * @memberof flyteidl.service
45390
+ * @interface IPreSignedURLs
45391
+ * @property {Array.<string>|null} [signedUrl] PreSignedURLs signedUrl
45392
+ * @property {google.protobuf.ITimestamp|null} [expiresAt] PreSignedURLs expiresAt
45393
+ */
45394
+
45395
+ /**
45396
+ * Constructs a new PreSignedURLs.
45397
+ * @memberof flyteidl.service
45398
+ * @classdesc Represents a PreSignedURLs.
45399
+ * @implements IPreSignedURLs
45400
+ * @constructor
45401
+ * @param {flyteidl.service.IPreSignedURLs=} [properties] Properties to set
45402
+ */
45403
+ function PreSignedURLs(properties) {
45404
+ this.signedUrl = [];
45405
+ if (properties)
45406
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
45407
+ if (properties[keys[i]] != null)
45408
+ this[keys[i]] = properties[keys[i]];
45409
+ }
45410
+
45411
+ /**
45412
+ * PreSignedURLs signedUrl.
45413
+ * @member {Array.<string>} signedUrl
45414
+ * @memberof flyteidl.service.PreSignedURLs
45415
+ * @instance
45416
+ */
45417
+ PreSignedURLs.prototype.signedUrl = $util.emptyArray;
45418
+
45419
+ /**
45420
+ * PreSignedURLs expiresAt.
45421
+ * @member {google.protobuf.ITimestamp|null|undefined} expiresAt
45422
+ * @memberof flyteidl.service.PreSignedURLs
45423
+ * @instance
45424
+ */
45425
+ PreSignedURLs.prototype.expiresAt = null;
45426
+
45427
+ /**
45428
+ * Creates a new PreSignedURLs instance using the specified properties.
45429
+ * @function create
45430
+ * @memberof flyteidl.service.PreSignedURLs
45431
+ * @static
45432
+ * @param {flyteidl.service.IPreSignedURLs=} [properties] Properties to set
45433
+ * @returns {flyteidl.service.PreSignedURLs} PreSignedURLs instance
45434
+ */
45435
+ PreSignedURLs.create = function create(properties) {
45436
+ return new PreSignedURLs(properties);
45437
+ };
45438
+
45439
+ /**
45440
+ * Encodes the specified PreSignedURLs message. Does not implicitly {@link flyteidl.service.PreSignedURLs.verify|verify} messages.
45441
+ * @function encode
45442
+ * @memberof flyteidl.service.PreSignedURLs
45443
+ * @static
45444
+ * @param {flyteidl.service.IPreSignedURLs} message PreSignedURLs message or plain object to encode
45445
+ * @param {$protobuf.Writer} [writer] Writer to encode to
45446
+ * @returns {$protobuf.Writer} Writer
45447
+ */
45448
+ PreSignedURLs.encode = function encode(message, writer) {
45449
+ if (!writer)
45450
+ writer = $Writer.create();
45451
+ if (message.signedUrl != null && message.signedUrl.length)
45452
+ for (var i = 0; i < message.signedUrl.length; ++i)
45453
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.signedUrl[i]);
45454
+ if (message.expiresAt != null && message.hasOwnProperty("expiresAt"))
45455
+ $root.google.protobuf.Timestamp.encode(message.expiresAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
45456
+ return writer;
45457
+ };
45458
+
45459
+ /**
45460
+ * Decodes a PreSignedURLs message from the specified reader or buffer.
45461
+ * @function decode
45462
+ * @memberof flyteidl.service.PreSignedURLs
45463
+ * @static
45464
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
45465
+ * @param {number} [length] Message length if known beforehand
45466
+ * @returns {flyteidl.service.PreSignedURLs} PreSignedURLs
45467
+ * @throws {Error} If the payload is not a reader or valid buffer
45468
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
45469
+ */
45470
+ PreSignedURLs.decode = function decode(reader, length) {
45471
+ if (!(reader instanceof $Reader))
45472
+ reader = $Reader.create(reader);
45473
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.PreSignedURLs();
45474
+ while (reader.pos < end) {
45475
+ var tag = reader.uint32();
45476
+ switch (tag >>> 3) {
45477
+ case 1:
45478
+ if (!(message.signedUrl && message.signedUrl.length))
45479
+ message.signedUrl = [];
45480
+ message.signedUrl.push(reader.string());
45481
+ break;
45482
+ case 2:
45483
+ message.expiresAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
45484
+ break;
45485
+ default:
45486
+ reader.skipType(tag & 7);
45487
+ break;
45488
+ }
45489
+ }
45490
+ return message;
45491
+ };
45492
+
45493
+ /**
45494
+ * Verifies a PreSignedURLs message.
45495
+ * @function verify
45496
+ * @memberof flyteidl.service.PreSignedURLs
45497
+ * @static
45498
+ * @param {Object.<string,*>} message Plain object to verify
45499
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
45500
+ */
45501
+ PreSignedURLs.verify = function verify(message) {
45502
+ if (typeof message !== "object" || message === null)
45503
+ return "object expected";
45504
+ if (message.signedUrl != null && message.hasOwnProperty("signedUrl")) {
45505
+ if (!Array.isArray(message.signedUrl))
45506
+ return "signedUrl: array expected";
45507
+ for (var i = 0; i < message.signedUrl.length; ++i)
45508
+ if (!$util.isString(message.signedUrl[i]))
45509
+ return "signedUrl: string[] expected";
45510
+ }
45511
+ if (message.expiresAt != null && message.hasOwnProperty("expiresAt")) {
45512
+ var error = $root.google.protobuf.Timestamp.verify(message.expiresAt);
45513
+ if (error)
45514
+ return "expiresAt." + error;
45515
+ }
45516
+ return null;
45517
+ };
45518
+
45519
+ return PreSignedURLs;
45520
+ })();
45521
+
45522
+ service.GetDataRequest = (function() {
45523
+
45524
+ /**
45525
+ * Properties of a GetDataRequest.
45526
+ * @memberof flyteidl.service
45527
+ * @interface IGetDataRequest
45528
+ * @property {string|null} [flyteUrl] GetDataRequest flyteUrl
45529
+ */
45530
+
45531
+ /**
45532
+ * Constructs a new GetDataRequest.
45533
+ * @memberof flyteidl.service
45534
+ * @classdesc Represents a GetDataRequest.
45535
+ * @implements IGetDataRequest
45536
+ * @constructor
45537
+ * @param {flyteidl.service.IGetDataRequest=} [properties] Properties to set
45538
+ */
45539
+ function GetDataRequest(properties) {
45540
+ if (properties)
45541
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
45542
+ if (properties[keys[i]] != null)
45543
+ this[keys[i]] = properties[keys[i]];
45544
+ }
45545
+
45546
+ /**
45547
+ * GetDataRequest flyteUrl.
45548
+ * @member {string} flyteUrl
45549
+ * @memberof flyteidl.service.GetDataRequest
45550
+ * @instance
45551
+ */
45552
+ GetDataRequest.prototype.flyteUrl = "";
45553
+
45554
+ /**
45555
+ * Creates a new GetDataRequest instance using the specified properties.
45556
+ * @function create
45557
+ * @memberof flyteidl.service.GetDataRequest
45558
+ * @static
45559
+ * @param {flyteidl.service.IGetDataRequest=} [properties] Properties to set
45560
+ * @returns {flyteidl.service.GetDataRequest} GetDataRequest instance
45561
+ */
45562
+ GetDataRequest.create = function create(properties) {
45563
+ return new GetDataRequest(properties);
45564
+ };
45565
+
45566
+ /**
45567
+ * Encodes the specified GetDataRequest message. Does not implicitly {@link flyteidl.service.GetDataRequest.verify|verify} messages.
45568
+ * @function encode
45569
+ * @memberof flyteidl.service.GetDataRequest
45570
+ * @static
45571
+ * @param {flyteidl.service.IGetDataRequest} message GetDataRequest message or plain object to encode
45572
+ * @param {$protobuf.Writer} [writer] Writer to encode to
45573
+ * @returns {$protobuf.Writer} Writer
45574
+ */
45575
+ GetDataRequest.encode = function encode(message, writer) {
45576
+ if (!writer)
45577
+ writer = $Writer.create();
45578
+ if (message.flyteUrl != null && message.hasOwnProperty("flyteUrl"))
45579
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.flyteUrl);
45580
+ return writer;
45581
+ };
45582
+
45583
+ /**
45584
+ * Decodes a GetDataRequest message from the specified reader or buffer.
45585
+ * @function decode
45586
+ * @memberof flyteidl.service.GetDataRequest
45587
+ * @static
45588
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
45589
+ * @param {number} [length] Message length if known beforehand
45590
+ * @returns {flyteidl.service.GetDataRequest} GetDataRequest
45591
+ * @throws {Error} If the payload is not a reader or valid buffer
45592
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
45593
+ */
45594
+ GetDataRequest.decode = function decode(reader, length) {
45595
+ if (!(reader instanceof $Reader))
45596
+ reader = $Reader.create(reader);
45597
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.GetDataRequest();
45598
+ while (reader.pos < end) {
45599
+ var tag = reader.uint32();
45600
+ switch (tag >>> 3) {
45601
+ case 1:
45602
+ message.flyteUrl = reader.string();
45603
+ break;
45604
+ default:
45605
+ reader.skipType(tag & 7);
45606
+ break;
45607
+ }
45608
+ }
45609
+ return message;
45610
+ };
45611
+
45612
+ /**
45613
+ * Verifies a GetDataRequest message.
45614
+ * @function verify
45615
+ * @memberof flyteidl.service.GetDataRequest
45616
+ * @static
45617
+ * @param {Object.<string,*>} message Plain object to verify
45618
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
45619
+ */
45620
+ GetDataRequest.verify = function verify(message) {
45621
+ if (typeof message !== "object" || message === null)
45622
+ return "object expected";
45623
+ if (message.flyteUrl != null && message.hasOwnProperty("flyteUrl"))
45624
+ if (!$util.isString(message.flyteUrl))
45625
+ return "flyteUrl: string expected";
45626
+ return null;
45627
+ };
45628
+
45629
+ return GetDataRequest;
45630
+ })();
45631
+
45632
+ service.GetDataResponse = (function() {
45633
+
45634
+ /**
45635
+ * Properties of a GetDataResponse.
45636
+ * @memberof flyteidl.service
45637
+ * @interface IGetDataResponse
45638
+ * @property {flyteidl.core.ILiteralMap|null} [literalMap] GetDataResponse literalMap
45639
+ * @property {flyteidl.service.IPreSignedURLs|null} [preSignedUrls] GetDataResponse preSignedUrls
45640
+ */
45641
+
45642
+ /**
45643
+ * Constructs a new GetDataResponse.
45644
+ * @memberof flyteidl.service
45645
+ * @classdesc Represents a GetDataResponse.
45646
+ * @implements IGetDataResponse
45647
+ * @constructor
45648
+ * @param {flyteidl.service.IGetDataResponse=} [properties] Properties to set
45649
+ */
45650
+ function GetDataResponse(properties) {
45651
+ if (properties)
45652
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
45653
+ if (properties[keys[i]] != null)
45654
+ this[keys[i]] = properties[keys[i]];
45655
+ }
45656
+
45657
+ /**
45658
+ * GetDataResponse literalMap.
45659
+ * @member {flyteidl.core.ILiteralMap|null|undefined} literalMap
45660
+ * @memberof flyteidl.service.GetDataResponse
45661
+ * @instance
45662
+ */
45663
+ GetDataResponse.prototype.literalMap = null;
45664
+
45665
+ /**
45666
+ * GetDataResponse preSignedUrls.
45667
+ * @member {flyteidl.service.IPreSignedURLs|null|undefined} preSignedUrls
45668
+ * @memberof flyteidl.service.GetDataResponse
45669
+ * @instance
45670
+ */
45671
+ GetDataResponse.prototype.preSignedUrls = null;
45672
+
45673
+ // OneOf field names bound to virtual getters and setters
45674
+ var $oneOfFields;
45675
+
45676
+ /**
45677
+ * GetDataResponse data.
45678
+ * @member {"literalMap"|"preSignedUrls"|undefined} data
45679
+ * @memberof flyteidl.service.GetDataResponse
45680
+ * @instance
45681
+ */
45682
+ Object.defineProperty(GetDataResponse.prototype, "data", {
45683
+ get: $util.oneOfGetter($oneOfFields = ["literalMap", "preSignedUrls"]),
45684
+ set: $util.oneOfSetter($oneOfFields)
45685
+ });
45686
+
45687
+ /**
45688
+ * Creates a new GetDataResponse instance using the specified properties.
45689
+ * @function create
45690
+ * @memberof flyteidl.service.GetDataResponse
45691
+ * @static
45692
+ * @param {flyteidl.service.IGetDataResponse=} [properties] Properties to set
45693
+ * @returns {flyteidl.service.GetDataResponse} GetDataResponse instance
45694
+ */
45695
+ GetDataResponse.create = function create(properties) {
45696
+ return new GetDataResponse(properties);
45697
+ };
45698
+
45699
+ /**
45700
+ * Encodes the specified GetDataResponse message. Does not implicitly {@link flyteidl.service.GetDataResponse.verify|verify} messages.
45701
+ * @function encode
45702
+ * @memberof flyteidl.service.GetDataResponse
45703
+ * @static
45704
+ * @param {flyteidl.service.IGetDataResponse} message GetDataResponse message or plain object to encode
45705
+ * @param {$protobuf.Writer} [writer] Writer to encode to
45706
+ * @returns {$protobuf.Writer} Writer
45707
+ */
45708
+ GetDataResponse.encode = function encode(message, writer) {
45709
+ if (!writer)
45710
+ writer = $Writer.create();
45711
+ if (message.literalMap != null && message.hasOwnProperty("literalMap"))
45712
+ $root.flyteidl.core.LiteralMap.encode(message.literalMap, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
45713
+ if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls"))
45714
+ $root.flyteidl.service.PreSignedURLs.encode(message.preSignedUrls, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
45715
+ return writer;
45716
+ };
45717
+
45718
+ /**
45719
+ * Decodes a GetDataResponse message from the specified reader or buffer.
45720
+ * @function decode
45721
+ * @memberof flyteidl.service.GetDataResponse
45722
+ * @static
45723
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
45724
+ * @param {number} [length] Message length if known beforehand
45725
+ * @returns {flyteidl.service.GetDataResponse} GetDataResponse
45726
+ * @throws {Error} If the payload is not a reader or valid buffer
45727
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
45728
+ */
45729
+ GetDataResponse.decode = function decode(reader, length) {
45730
+ if (!(reader instanceof $Reader))
45731
+ reader = $Reader.create(reader);
45732
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.GetDataResponse();
45733
+ while (reader.pos < end) {
45734
+ var tag = reader.uint32();
45735
+ switch (tag >>> 3) {
45736
+ case 1:
45737
+ message.literalMap = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32());
45738
+ break;
45739
+ case 2:
45740
+ message.preSignedUrls = $root.flyteidl.service.PreSignedURLs.decode(reader, reader.uint32());
45741
+ break;
45742
+ default:
45743
+ reader.skipType(tag & 7);
45744
+ break;
45745
+ }
45746
+ }
45747
+ return message;
45748
+ };
45749
+
45750
+ /**
45751
+ * Verifies a GetDataResponse message.
45752
+ * @function verify
45753
+ * @memberof flyteidl.service.GetDataResponse
45754
+ * @static
45755
+ * @param {Object.<string,*>} message Plain object to verify
45756
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
45757
+ */
45758
+ GetDataResponse.verify = function verify(message) {
45759
+ if (typeof message !== "object" || message === null)
45760
+ return "object expected";
45761
+ var properties = {};
45762
+ if (message.literalMap != null && message.hasOwnProperty("literalMap")) {
45763
+ properties.data = 1;
45764
+ {
45765
+ var error = $root.flyteidl.core.LiteralMap.verify(message.literalMap);
45766
+ if (error)
45767
+ return "literalMap." + error;
45768
+ }
45769
+ }
45770
+ if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls")) {
45771
+ if (properties.data === 1)
45772
+ return "data: multiple values";
45773
+ properties.data = 1;
45774
+ {
45775
+ var error = $root.flyteidl.service.PreSignedURLs.verify(message.preSignedUrls);
45776
+ if (error)
45777
+ return "preSignedUrls." + error;
45778
+ }
45779
+ }
45780
+ return null;
45781
+ };
45782
+
45783
+ return GetDataResponse;
45784
+ })();
45785
+
45184
45786
  service.DataProxyService = (function() {
45185
45787
 
45186
45788
  /**
@@ -45312,6 +45914,39 @@
45312
45914
  * @variation 2
45313
45915
  */
45314
45916
 
45917
+ /**
45918
+ * Callback as used by {@link flyteidl.service.DataProxyService#getData}.
45919
+ * @memberof flyteidl.service.DataProxyService
45920
+ * @typedef GetDataCallback
45921
+ * @type {function}
45922
+ * @param {Error|null} error Error, if any
45923
+ * @param {flyteidl.service.GetDataResponse} [response] GetDataResponse
45924
+ */
45925
+
45926
+ /**
45927
+ * Calls GetData.
45928
+ * @function getData
45929
+ * @memberof flyteidl.service.DataProxyService
45930
+ * @instance
45931
+ * @param {flyteidl.service.IGetDataRequest} request GetDataRequest message or plain object
45932
+ * @param {flyteidl.service.DataProxyService.GetDataCallback} callback Node-style callback called with the error, if any, and GetDataResponse
45933
+ * @returns {undefined}
45934
+ * @variation 1
45935
+ */
45936
+ Object.defineProperty(DataProxyService.prototype.getData = function getData(request, callback) {
45937
+ return this.rpcCall(getData, $root.flyteidl.service.GetDataRequest, $root.flyteidl.service.GetDataResponse, request, callback);
45938
+ }, "name", { value: "GetData" });
45939
+
45940
+ /**
45941
+ * Calls GetData.
45942
+ * @function getData
45943
+ * @memberof flyteidl.service.DataProxyService
45944
+ * @instance
45945
+ * @param {flyteidl.service.IGetDataRequest} request GetDataRequest message or plain object
45946
+ * @returns {Promise<flyteidl.service.GetDataResponse>} Promise
45947
+ * @variation 2
45948
+ */
45949
+
45315
45950
  return DataProxyService;
45316
45951
  })();
45317
45952
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "1.3.20",
3
+ "version": "1.5.0",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -301,3 +301,10 @@ message RawOutputDataConfig {
301
301
  // e.g. s3://bucket/key or s3://bucket/
302
302
  string output_location_prefix = 1;
303
303
  }
304
+
305
+ // These URLs are returned as part of node and task execution data requests.
306
+ message FlyteURLs {
307
+ string inputs = 1;
308
+ string outputs = 2;
309
+ string deck = 3;
310
+ }
@@ -227,4 +227,7 @@ message NodeExecutionGetDataResponse {
227
227
 
228
228
  // Optional Workflow closure for a dynamically generated workflow, in the case this node yields a dynamic workflow we return its structure here.
229
229
  DynamicWorkflowNodeMetadata dynamic_workflow = 16;
230
+
231
+ FlyteURLs flyte_urls = 17;
232
+
230
233
  }
@@ -161,4 +161,8 @@ message TaskExecutionGetDataResponse {
161
161
 
162
162
  // Full_outputs will only be populated if they are under a configured size threshold.
163
163
  core.LiteralMap full_outputs = 4;
164
+
165
+ // flyte tiny url to fetch a core.LiteralMap of task execution's IO
166
+ // Deck will be empty for task
167
+ FlyteURLs flyte_urls = 5;
164
168
  }
@@ -19,8 +19,6 @@ import "flyteidl/admin/task_execution.proto";
19
19
  import "flyteidl/admin/version.proto";
20
20
  import "flyteidl/admin/common.proto";
21
21
  import "flyteidl/admin/description_entity.proto";
22
- import "flyteidl/core/identifier.proto";
23
- import "flyteidl/core/metrics.proto";
24
22
  // import "protoc-gen-swagger/options/annotations.proto";
25
23
 
26
24
  // The following defines an RPC service that is also served over HTTP via grpc-gateway.
@@ -8,6 +8,8 @@ import "google/api/annotations.proto";
8
8
  import "google/protobuf/duration.proto";
9
9
  import "google/protobuf/timestamp.proto";
10
10
  import "flyteidl/core/identifier.proto";
11
+ import "flyteidl/core/literals.proto";
12
+
11
13
 
12
14
  message CreateUploadLocationResponse {
13
15
  // SignedUrl specifies the url to use to upload content to (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
@@ -95,6 +97,18 @@ message CreateDownloadLinkRequest {
95
97
 
96
98
  // CreateDownloadLinkResponse defines the response for the generated links
97
99
  message CreateDownloadLinkResponse {
100
+ // SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
101
+ repeated string signed_url = 1 [deprecated = true];
102
+
103
+ // ExpiresAt defines when will the signed URL expire.
104
+ google.protobuf.Timestamp expires_at = 2 [deprecated = true];
105
+
106
+ // New wrapper object containing the signed urls and expiration time
107
+ PreSignedURLs pre_signed_urls = 3;
108
+ }
109
+
110
+ // Wrapper object since the message is shared across this and the GetDataResponse
111
+ message PreSignedURLs {
98
112
  // SignedUrl specifies the url to use to download content from (e.g. https://my-bucket.s3.amazonaws.com/randomstring/suffix.tar?X-...)
99
113
  repeated string signed_url = 1;
100
114
 
@@ -102,6 +116,25 @@ message CreateDownloadLinkResponse {
102
116
  google.protobuf.Timestamp expires_at = 2;
103
117
  }
104
118
 
119
+ // General request artifact to retrieve data from a Flyte artifact url.
120
+ message GetDataRequest {
121
+ // A unique identifier in the form of flyte://<something> that uniquely, for a given Flyte
122
+ // backend, identifies a Flyte artifact ([i]nput, [o]utput, flyte [d]eck, etc.).
123
+ // e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
124
+ // flyte://v1/proj/development/execid/n2/i (for node execution input)
125
+ string flyte_url = 1;
126
+ }
127
+
128
+ message GetDataResponse {
129
+ oneof data {
130
+ // literal map data will be returned
131
+ core.LiteralMap literal_map = 1;
132
+
133
+ // Flyte deck html will be returned as a signed url users can download
134
+ PreSignedURLs pre_signed_urls = 2;
135
+ }
136
+ }
137
+
105
138
  // DataProxyService defines an RPC Service that allows access to user-data in a controlled manner.
106
139
  service DataProxyService {
107
140
  // CreateUploadLocation creates a signed url to upload artifacts to for a given project/domain.
@@ -136,4 +169,11 @@ service DataProxyService {
136
169
  // description: "Creates a read-only http location that is accessible for tasks at runtime."
137
170
  // };
138
171
  }
172
+
173
+ rpc GetData (GetDataRequest) returns (GetDataResponse) {
174
+ // Takes an address like flyte://v1/proj/development/execid/n2/0/i and return the actual data
175
+ option (google.api.http) = {
176
+ get: "/api/v1/data"
177
+ };
178
+ }
139
179
  }