@flyteorg/flyteidl 1.5.9 → 1.5.11

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.
@@ -7497,6 +7497,403 @@ export namespace flyteidl {
7497
7497
  /** Namespace admin. */
7498
7498
  namespace admin {
7499
7499
 
7500
+ /** State enum. */
7501
+ enum State {
7502
+ RETRYABLE_FAILURE = 0,
7503
+ PERMANENT_FAILURE = 1,
7504
+ PENDING = 2,
7505
+ RUNNING = 3,
7506
+ SUCCEEDED = 4
7507
+ }
7508
+
7509
+ /** Properties of a CreateTaskRequest. */
7510
+ interface ICreateTaskRequest {
7511
+
7512
+ /** CreateTaskRequest inputs */
7513
+ inputs?: (flyteidl.core.ILiteralMap|null);
7514
+
7515
+ /** CreateTaskRequest template */
7516
+ template?: (flyteidl.core.ITaskTemplate|null);
7517
+
7518
+ /** CreateTaskRequest outputPrefix */
7519
+ outputPrefix?: (string|null);
7520
+ }
7521
+
7522
+ /** Represents a CreateTaskRequest. */
7523
+ class CreateTaskRequest implements ICreateTaskRequest {
7524
+
7525
+ /**
7526
+ * Constructs a new CreateTaskRequest.
7527
+ * @param [properties] Properties to set
7528
+ */
7529
+ constructor(properties?: flyteidl.admin.ICreateTaskRequest);
7530
+
7531
+ /** CreateTaskRequest inputs. */
7532
+ public inputs?: (flyteidl.core.ILiteralMap|null);
7533
+
7534
+ /** CreateTaskRequest template. */
7535
+ public template?: (flyteidl.core.ITaskTemplate|null);
7536
+
7537
+ /** CreateTaskRequest outputPrefix. */
7538
+ public outputPrefix: string;
7539
+
7540
+ /**
7541
+ * Creates a new CreateTaskRequest instance using the specified properties.
7542
+ * @param [properties] Properties to set
7543
+ * @returns CreateTaskRequest instance
7544
+ */
7545
+ public static create(properties?: flyteidl.admin.ICreateTaskRequest): flyteidl.admin.CreateTaskRequest;
7546
+
7547
+ /**
7548
+ * Encodes the specified CreateTaskRequest message. Does not implicitly {@link flyteidl.admin.CreateTaskRequest.verify|verify} messages.
7549
+ * @param message CreateTaskRequest message or plain object to encode
7550
+ * @param [writer] Writer to encode to
7551
+ * @returns Writer
7552
+ */
7553
+ public static encode(message: flyteidl.admin.ICreateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7554
+
7555
+ /**
7556
+ * Decodes a CreateTaskRequest message from the specified reader or buffer.
7557
+ * @param reader Reader or buffer to decode from
7558
+ * @param [length] Message length if known beforehand
7559
+ * @returns CreateTaskRequest
7560
+ * @throws {Error} If the payload is not a reader or valid buffer
7561
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7562
+ */
7563
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CreateTaskRequest;
7564
+
7565
+ /**
7566
+ * Verifies a CreateTaskRequest message.
7567
+ * @param message Plain object to verify
7568
+ * @returns `null` if valid, otherwise the reason why it is not
7569
+ */
7570
+ public static verify(message: { [k: string]: any }): (string|null);
7571
+ }
7572
+
7573
+ /** Properties of a CreateTaskResponse. */
7574
+ interface ICreateTaskResponse {
7575
+
7576
+ /** CreateTaskResponse resourceMeta */
7577
+ resourceMeta?: (Uint8Array|null);
7578
+ }
7579
+
7580
+ /** Represents a CreateTaskResponse. */
7581
+ class CreateTaskResponse implements ICreateTaskResponse {
7582
+
7583
+ /**
7584
+ * Constructs a new CreateTaskResponse.
7585
+ * @param [properties] Properties to set
7586
+ */
7587
+ constructor(properties?: flyteidl.admin.ICreateTaskResponse);
7588
+
7589
+ /** CreateTaskResponse resourceMeta. */
7590
+ public resourceMeta: Uint8Array;
7591
+
7592
+ /**
7593
+ * Creates a new CreateTaskResponse instance using the specified properties.
7594
+ * @param [properties] Properties to set
7595
+ * @returns CreateTaskResponse instance
7596
+ */
7597
+ public static create(properties?: flyteidl.admin.ICreateTaskResponse): flyteidl.admin.CreateTaskResponse;
7598
+
7599
+ /**
7600
+ * Encodes the specified CreateTaskResponse message. Does not implicitly {@link flyteidl.admin.CreateTaskResponse.verify|verify} messages.
7601
+ * @param message CreateTaskResponse message or plain object to encode
7602
+ * @param [writer] Writer to encode to
7603
+ * @returns Writer
7604
+ */
7605
+ public static encode(message: flyteidl.admin.ICreateTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer;
7606
+
7607
+ /**
7608
+ * Decodes a CreateTaskResponse message from the specified reader or buffer.
7609
+ * @param reader Reader or buffer to decode from
7610
+ * @param [length] Message length if known beforehand
7611
+ * @returns CreateTaskResponse
7612
+ * @throws {Error} If the payload is not a reader or valid buffer
7613
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7614
+ */
7615
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.CreateTaskResponse;
7616
+
7617
+ /**
7618
+ * Verifies a CreateTaskResponse message.
7619
+ * @param message Plain object to verify
7620
+ * @returns `null` if valid, otherwise the reason why it is not
7621
+ */
7622
+ public static verify(message: { [k: string]: any }): (string|null);
7623
+ }
7624
+
7625
+ /** Properties of a GetTaskRequest. */
7626
+ interface IGetTaskRequest {
7627
+
7628
+ /** GetTaskRequest taskType */
7629
+ taskType?: (string|null);
7630
+
7631
+ /** GetTaskRequest resourceMeta */
7632
+ resourceMeta?: (Uint8Array|null);
7633
+ }
7634
+
7635
+ /** Represents a GetTaskRequest. */
7636
+ class GetTaskRequest implements IGetTaskRequest {
7637
+
7638
+ /**
7639
+ * Constructs a new GetTaskRequest.
7640
+ * @param [properties] Properties to set
7641
+ */
7642
+ constructor(properties?: flyteidl.admin.IGetTaskRequest);
7643
+
7644
+ /** GetTaskRequest taskType. */
7645
+ public taskType: string;
7646
+
7647
+ /** GetTaskRequest resourceMeta. */
7648
+ public resourceMeta: Uint8Array;
7649
+
7650
+ /**
7651
+ * Creates a new GetTaskRequest instance using the specified properties.
7652
+ * @param [properties] Properties to set
7653
+ * @returns GetTaskRequest instance
7654
+ */
7655
+ public static create(properties?: flyteidl.admin.IGetTaskRequest): flyteidl.admin.GetTaskRequest;
7656
+
7657
+ /**
7658
+ * Encodes the specified GetTaskRequest message. Does not implicitly {@link flyteidl.admin.GetTaskRequest.verify|verify} messages.
7659
+ * @param message GetTaskRequest message or plain object to encode
7660
+ * @param [writer] Writer to encode to
7661
+ * @returns Writer
7662
+ */
7663
+ public static encode(message: flyteidl.admin.IGetTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7664
+
7665
+ /**
7666
+ * Decodes a GetTaskRequest message from the specified reader or buffer.
7667
+ * @param reader Reader or buffer to decode from
7668
+ * @param [length] Message length if known beforehand
7669
+ * @returns GetTaskRequest
7670
+ * @throws {Error} If the payload is not a reader or valid buffer
7671
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7672
+ */
7673
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskRequest;
7674
+
7675
+ /**
7676
+ * Verifies a GetTaskRequest message.
7677
+ * @param message Plain object to verify
7678
+ * @returns `null` if valid, otherwise the reason why it is not
7679
+ */
7680
+ public static verify(message: { [k: string]: any }): (string|null);
7681
+ }
7682
+
7683
+ /** Properties of a GetTaskResponse. */
7684
+ interface IGetTaskResponse {
7685
+
7686
+ /** GetTaskResponse resource */
7687
+ resource?: (flyteidl.admin.IResource|null);
7688
+ }
7689
+
7690
+ /** Represents a GetTaskResponse. */
7691
+ class GetTaskResponse implements IGetTaskResponse {
7692
+
7693
+ /**
7694
+ * Constructs a new GetTaskResponse.
7695
+ * @param [properties] Properties to set
7696
+ */
7697
+ constructor(properties?: flyteidl.admin.IGetTaskResponse);
7698
+
7699
+ /** GetTaskResponse resource. */
7700
+ public resource?: (flyteidl.admin.IResource|null);
7701
+
7702
+ /**
7703
+ * Creates a new GetTaskResponse instance using the specified properties.
7704
+ * @param [properties] Properties to set
7705
+ * @returns GetTaskResponse instance
7706
+ */
7707
+ public static create(properties?: flyteidl.admin.IGetTaskResponse): flyteidl.admin.GetTaskResponse;
7708
+
7709
+ /**
7710
+ * Encodes the specified GetTaskResponse message. Does not implicitly {@link flyteidl.admin.GetTaskResponse.verify|verify} messages.
7711
+ * @param message GetTaskResponse message or plain object to encode
7712
+ * @param [writer] Writer to encode to
7713
+ * @returns Writer
7714
+ */
7715
+ public static encode(message: flyteidl.admin.IGetTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer;
7716
+
7717
+ /**
7718
+ * Decodes a GetTaskResponse message from the specified reader or buffer.
7719
+ * @param reader Reader or buffer to decode from
7720
+ * @param [length] Message length if known beforehand
7721
+ * @returns GetTaskResponse
7722
+ * @throws {Error} If the payload is not a reader or valid buffer
7723
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7724
+ */
7725
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GetTaskResponse;
7726
+
7727
+ /**
7728
+ * Verifies a GetTaskResponse message.
7729
+ * @param message Plain object to verify
7730
+ * @returns `null` if valid, otherwise the reason why it is not
7731
+ */
7732
+ public static verify(message: { [k: string]: any }): (string|null);
7733
+ }
7734
+
7735
+ /** Properties of a Resource. */
7736
+ interface IResource {
7737
+
7738
+ /** Resource state */
7739
+ state?: (flyteidl.admin.State|null);
7740
+
7741
+ /** Resource outputs */
7742
+ outputs?: (flyteidl.core.ILiteralMap|null);
7743
+ }
7744
+
7745
+ /** Represents a Resource. */
7746
+ class Resource implements IResource {
7747
+
7748
+ /**
7749
+ * Constructs a new Resource.
7750
+ * @param [properties] Properties to set
7751
+ */
7752
+ constructor(properties?: flyteidl.admin.IResource);
7753
+
7754
+ /** Resource state. */
7755
+ public state: flyteidl.admin.State;
7756
+
7757
+ /** Resource outputs. */
7758
+ public outputs?: (flyteidl.core.ILiteralMap|null);
7759
+
7760
+ /**
7761
+ * Creates a new Resource instance using the specified properties.
7762
+ * @param [properties] Properties to set
7763
+ * @returns Resource instance
7764
+ */
7765
+ public static create(properties?: flyteidl.admin.IResource): flyteidl.admin.Resource;
7766
+
7767
+ /**
7768
+ * Encodes the specified Resource message. Does not implicitly {@link flyteidl.admin.Resource.verify|verify} messages.
7769
+ * @param message Resource message or plain object to encode
7770
+ * @param [writer] Writer to encode to
7771
+ * @returns Writer
7772
+ */
7773
+ public static encode(message: flyteidl.admin.IResource, writer?: $protobuf.Writer): $protobuf.Writer;
7774
+
7775
+ /**
7776
+ * Decodes a Resource message from the specified reader or buffer.
7777
+ * @param reader Reader or buffer to decode from
7778
+ * @param [length] Message length if known beforehand
7779
+ * @returns Resource
7780
+ * @throws {Error} If the payload is not a reader or valid buffer
7781
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7782
+ */
7783
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Resource;
7784
+
7785
+ /**
7786
+ * Verifies a Resource message.
7787
+ * @param message Plain object to verify
7788
+ * @returns `null` if valid, otherwise the reason why it is not
7789
+ */
7790
+ public static verify(message: { [k: string]: any }): (string|null);
7791
+ }
7792
+
7793
+ /** Properties of a DeleteTaskRequest. */
7794
+ interface IDeleteTaskRequest {
7795
+
7796
+ /** DeleteTaskRequest taskType */
7797
+ taskType?: (string|null);
7798
+
7799
+ /** DeleteTaskRequest resourceMeta */
7800
+ resourceMeta?: (Uint8Array|null);
7801
+ }
7802
+
7803
+ /** Represents a DeleteTaskRequest. */
7804
+ class DeleteTaskRequest implements IDeleteTaskRequest {
7805
+
7806
+ /**
7807
+ * Constructs a new DeleteTaskRequest.
7808
+ * @param [properties] Properties to set
7809
+ */
7810
+ constructor(properties?: flyteidl.admin.IDeleteTaskRequest);
7811
+
7812
+ /** DeleteTaskRequest taskType. */
7813
+ public taskType: string;
7814
+
7815
+ /** DeleteTaskRequest resourceMeta. */
7816
+ public resourceMeta: Uint8Array;
7817
+
7818
+ /**
7819
+ * Creates a new DeleteTaskRequest instance using the specified properties.
7820
+ * @param [properties] Properties to set
7821
+ * @returns DeleteTaskRequest instance
7822
+ */
7823
+ public static create(properties?: flyteidl.admin.IDeleteTaskRequest): flyteidl.admin.DeleteTaskRequest;
7824
+
7825
+ /**
7826
+ * Encodes the specified DeleteTaskRequest message. Does not implicitly {@link flyteidl.admin.DeleteTaskRequest.verify|verify} messages.
7827
+ * @param message DeleteTaskRequest message or plain object to encode
7828
+ * @param [writer] Writer to encode to
7829
+ * @returns Writer
7830
+ */
7831
+ public static encode(message: flyteidl.admin.IDeleteTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7832
+
7833
+ /**
7834
+ * Decodes a DeleteTaskRequest message from the specified reader or buffer.
7835
+ * @param reader Reader or buffer to decode from
7836
+ * @param [length] Message length if known beforehand
7837
+ * @returns DeleteTaskRequest
7838
+ * @throws {Error} If the payload is not a reader or valid buffer
7839
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7840
+ */
7841
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DeleteTaskRequest;
7842
+
7843
+ /**
7844
+ * Verifies a DeleteTaskRequest message.
7845
+ * @param message Plain object to verify
7846
+ * @returns `null` if valid, otherwise the reason why it is not
7847
+ */
7848
+ public static verify(message: { [k: string]: any }): (string|null);
7849
+ }
7850
+
7851
+ /** Properties of a DeleteTaskResponse. */
7852
+ interface IDeleteTaskResponse {
7853
+ }
7854
+
7855
+ /** Represents a DeleteTaskResponse. */
7856
+ class DeleteTaskResponse implements IDeleteTaskResponse {
7857
+
7858
+ /**
7859
+ * Constructs a new DeleteTaskResponse.
7860
+ * @param [properties] Properties to set
7861
+ */
7862
+ constructor(properties?: flyteidl.admin.IDeleteTaskResponse);
7863
+
7864
+ /**
7865
+ * Creates a new DeleteTaskResponse instance using the specified properties.
7866
+ * @param [properties] Properties to set
7867
+ * @returns DeleteTaskResponse instance
7868
+ */
7869
+ public static create(properties?: flyteidl.admin.IDeleteTaskResponse): flyteidl.admin.DeleteTaskResponse;
7870
+
7871
+ /**
7872
+ * Encodes the specified DeleteTaskResponse message. Does not implicitly {@link flyteidl.admin.DeleteTaskResponse.verify|verify} messages.
7873
+ * @param message DeleteTaskResponse message or plain object to encode
7874
+ * @param [writer] Writer to encode to
7875
+ * @returns Writer
7876
+ */
7877
+ public static encode(message: flyteidl.admin.IDeleteTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer;
7878
+
7879
+ /**
7880
+ * Decodes a DeleteTaskResponse message from the specified reader or buffer.
7881
+ * @param reader Reader or buffer to decode from
7882
+ * @param [length] Message length if known beforehand
7883
+ * @returns DeleteTaskResponse
7884
+ * @throws {Error} If the payload is not a reader or valid buffer
7885
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7886
+ */
7887
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DeleteTaskResponse;
7888
+
7889
+ /**
7890
+ * Verifies a DeleteTaskResponse message.
7891
+ * @param message Plain object to verify
7892
+ * @returns `null` if valid, otherwise the reason why it is not
7893
+ */
7894
+ public static verify(message: { [k: string]: any }): (string|null);
7895
+ }
7896
+
7500
7897
  /** Properties of a ClusterAssignment. */
7501
7898
  interface IClusterAssignment {
7502
7899
 
@@ -18775,11 +19172,11 @@ export namespace flyteidl {
18775
19172
  type GetExecutionMetricsCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowExecutionGetMetricsResponse) => void;
18776
19173
  }
18777
19174
 
18778
- /** Represents an AgentService */
18779
- class AgentService extends $protobuf.rpc.Service {
19175
+ /** Represents an AsyncAgentService */
19176
+ class AsyncAgentService extends $protobuf.rpc.Service {
18780
19177
 
18781
19178
  /**
18782
- * Constructs a new AgentService service.
19179
+ * Constructs a new AsyncAgentService service.
18783
19180
  * @param rpcImpl RPC implementation
18784
19181
  * @param [requestDelimited=false] Whether requests are length-delimited
18785
19182
  * @param [responseDelimited=false] Whether responses are length-delimited
@@ -18787,1448 +19184,1541 @@ export namespace flyteidl {
18787
19184
  constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
18788
19185
 
18789
19186
  /**
18790
- * Creates new AgentService service using the specified rpc implementation.
19187
+ * Creates new AsyncAgentService service using the specified rpc implementation.
18791
19188
  * @param rpcImpl RPC implementation
18792
19189
  * @param [requestDelimited=false] Whether requests are length-delimited
18793
19190
  * @param [responseDelimited=false] Whether responses are length-delimited
18794
19191
  * @returns RPC service. Useful where requests and/or responses are streamed.
18795
19192
  */
18796
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AgentService;
19193
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AsyncAgentService;
18797
19194
 
18798
19195
  /**
18799
19196
  * Calls CreateTask.
18800
- * @param request TaskCreateRequest message or plain object
18801
- * @param callback Node-style callback called with the error, if any, and TaskCreateResponse
19197
+ * @param request CreateTaskRequest message or plain object
19198
+ * @param callback Node-style callback called with the error, if any, and CreateTaskResponse
18802
19199
  */
18803
- public createTask(request: flyteidl.service.ITaskCreateRequest, callback: flyteidl.service.AgentService.CreateTaskCallback): void;
19200
+ public createTask(request: flyteidl.admin.ICreateTaskRequest, callback: flyteidl.service.AsyncAgentService.CreateTaskCallback): void;
18804
19201
 
18805
19202
  /**
18806
19203
  * Calls CreateTask.
18807
- * @param request TaskCreateRequest message or plain object
19204
+ * @param request CreateTaskRequest message or plain object
18808
19205
  * @returns Promise
18809
19206
  */
18810
- public createTask(request: flyteidl.service.ITaskCreateRequest): Promise<flyteidl.service.TaskCreateResponse>;
19207
+ public createTask(request: flyteidl.admin.ICreateTaskRequest): Promise<flyteidl.admin.CreateTaskResponse>;
18811
19208
 
18812
19209
  /**
18813
19210
  * Calls GetTask.
18814
- * @param request TaskGetRequest message or plain object
18815
- * @param callback Node-style callback called with the error, if any, and TaskGetResponse
19211
+ * @param request GetTaskRequest message or plain object
19212
+ * @param callback Node-style callback called with the error, if any, and GetTaskResponse
18816
19213
  */
18817
- public getTask(request: flyteidl.service.ITaskGetRequest, callback: flyteidl.service.AgentService.GetTaskCallback): void;
19214
+ public getTask(request: flyteidl.admin.IGetTaskRequest, callback: flyteidl.service.AsyncAgentService.GetTaskCallback): void;
18818
19215
 
18819
19216
  /**
18820
19217
  * Calls GetTask.
18821
- * @param request TaskGetRequest message or plain object
19218
+ * @param request GetTaskRequest message or plain object
18822
19219
  * @returns Promise
18823
19220
  */
18824
- public getTask(request: flyteidl.service.ITaskGetRequest): Promise<flyteidl.service.TaskGetResponse>;
19221
+ public getTask(request: flyteidl.admin.IGetTaskRequest): Promise<flyteidl.admin.GetTaskResponse>;
18825
19222
 
18826
19223
  /**
18827
19224
  * Calls DeleteTask.
18828
- * @param request TaskDeleteRequest message or plain object
18829
- * @param callback Node-style callback called with the error, if any, and TaskDeleteResponse
19225
+ * @param request DeleteTaskRequest message or plain object
19226
+ * @param callback Node-style callback called with the error, if any, and DeleteTaskResponse
18830
19227
  */
18831
- public deleteTask(request: flyteidl.service.ITaskDeleteRequest, callback: flyteidl.service.AgentService.DeleteTaskCallback): void;
19228
+ public deleteTask(request: flyteidl.admin.IDeleteTaskRequest, callback: flyteidl.service.AsyncAgentService.DeleteTaskCallback): void;
18832
19229
 
18833
19230
  /**
18834
19231
  * Calls DeleteTask.
18835
- * @param request TaskDeleteRequest message or plain object
19232
+ * @param request DeleteTaskRequest message or plain object
18836
19233
  * @returns Promise
18837
19234
  */
18838
- public deleteTask(request: flyteidl.service.ITaskDeleteRequest): Promise<flyteidl.service.TaskDeleteResponse>;
19235
+ public deleteTask(request: flyteidl.admin.IDeleteTaskRequest): Promise<flyteidl.admin.DeleteTaskResponse>;
18839
19236
  }
18840
19237
 
18841
- namespace AgentService {
19238
+ namespace AsyncAgentService {
18842
19239
 
18843
19240
  /**
18844
- * Callback as used by {@link flyteidl.service.AgentService#createTask}.
19241
+ * Callback as used by {@link flyteidl.service.AsyncAgentService#createTask}.
18845
19242
  * @param error Error, if any
18846
- * @param [response] TaskCreateResponse
19243
+ * @param [response] CreateTaskResponse
18847
19244
  */
18848
- type CreateTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskCreateResponse) => void;
19245
+ type CreateTaskCallback = (error: (Error|null), response?: flyteidl.admin.CreateTaskResponse) => void;
18849
19246
 
18850
19247
  /**
18851
- * Callback as used by {@link flyteidl.service.AgentService#getTask}.
19248
+ * Callback as used by {@link flyteidl.service.AsyncAgentService#getTask}.
18852
19249
  * @param error Error, if any
18853
- * @param [response] TaskGetResponse
19250
+ * @param [response] GetTaskResponse
18854
19251
  */
18855
- type GetTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskGetResponse) => void;
19252
+ type GetTaskCallback = (error: (Error|null), response?: flyteidl.admin.GetTaskResponse) => void;
18856
19253
 
18857
19254
  /**
18858
- * Callback as used by {@link flyteidl.service.AgentService#deleteTask}.
19255
+ * Callback as used by {@link flyteidl.service.AsyncAgentService#deleteTask}.
18859
19256
  * @param error Error, if any
18860
- * @param [response] TaskDeleteResponse
19257
+ * @param [response] DeleteTaskResponse
18861
19258
  */
18862
- type DeleteTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskDeleteResponse) => void;
18863
- }
18864
-
18865
- /** State enum. */
18866
- enum State {
18867
- RETRYABLE_FAILURE = 0,
18868
- PERMANENT_FAILURE = 1,
18869
- PENDING = 2,
18870
- RUNNING = 3,
18871
- SUCCEEDED = 4
19259
+ type DeleteTaskCallback = (error: (Error|null), response?: flyteidl.admin.DeleteTaskResponse) => void;
18872
19260
  }
18873
19261
 
18874
- /** Properties of a TaskCreateRequest. */
18875
- interface ITaskCreateRequest {
18876
-
18877
- /** TaskCreateRequest inputs */
18878
- inputs?: (flyteidl.core.ILiteralMap|null);
18879
-
18880
- /** TaskCreateRequest template */
18881
- template?: (flyteidl.core.ITaskTemplate|null);
18882
-
18883
- /** TaskCreateRequest outputPrefix */
18884
- outputPrefix?: (string|null);
19262
+ /** Properties of a OAuth2MetadataRequest. */
19263
+ interface IOAuth2MetadataRequest {
18885
19264
  }
18886
19265
 
18887
- /** Represents a TaskCreateRequest. */
18888
- class TaskCreateRequest implements ITaskCreateRequest {
19266
+ /** Represents a OAuth2MetadataRequest. */
19267
+ class OAuth2MetadataRequest implements IOAuth2MetadataRequest {
18889
19268
 
18890
19269
  /**
18891
- * Constructs a new TaskCreateRequest.
19270
+ * Constructs a new OAuth2MetadataRequest.
18892
19271
  * @param [properties] Properties to set
18893
19272
  */
18894
- constructor(properties?: flyteidl.service.ITaskCreateRequest);
18895
-
18896
- /** TaskCreateRequest inputs. */
18897
- public inputs?: (flyteidl.core.ILiteralMap|null);
18898
-
18899
- /** TaskCreateRequest template. */
18900
- public template?: (flyteidl.core.ITaskTemplate|null);
18901
-
18902
- /** TaskCreateRequest outputPrefix. */
18903
- public outputPrefix: string;
19273
+ constructor(properties?: flyteidl.service.IOAuth2MetadataRequest);
18904
19274
 
18905
19275
  /**
18906
- * Creates a new TaskCreateRequest instance using the specified properties.
19276
+ * Creates a new OAuth2MetadataRequest instance using the specified properties.
18907
19277
  * @param [properties] Properties to set
18908
- * @returns TaskCreateRequest instance
19278
+ * @returns OAuth2MetadataRequest instance
18909
19279
  */
18910
- public static create(properties?: flyteidl.service.ITaskCreateRequest): flyteidl.service.TaskCreateRequest;
19280
+ public static create(properties?: flyteidl.service.IOAuth2MetadataRequest): flyteidl.service.OAuth2MetadataRequest;
18911
19281
 
18912
19282
  /**
18913
- * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.service.TaskCreateRequest.verify|verify} messages.
18914
- * @param message TaskCreateRequest message or plain object to encode
19283
+ * Encodes the specified OAuth2MetadataRequest message. Does not implicitly {@link flyteidl.service.OAuth2MetadataRequest.verify|verify} messages.
19284
+ * @param message OAuth2MetadataRequest message or plain object to encode
18915
19285
  * @param [writer] Writer to encode to
18916
19286
  * @returns Writer
18917
19287
  */
18918
- public static encode(message: flyteidl.service.ITaskCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19288
+ public static encode(message: flyteidl.service.IOAuth2MetadataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
18919
19289
 
18920
19290
  /**
18921
- * Decodes a TaskCreateRequest message from the specified reader or buffer.
19291
+ * Decodes a OAuth2MetadataRequest message from the specified reader or buffer.
18922
19292
  * @param reader Reader or buffer to decode from
18923
19293
  * @param [length] Message length if known beforehand
18924
- * @returns TaskCreateRequest
19294
+ * @returns OAuth2MetadataRequest
18925
19295
  * @throws {Error} If the payload is not a reader or valid buffer
18926
19296
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
18927
19297
  */
18928
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskCreateRequest;
19298
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.OAuth2MetadataRequest;
18929
19299
 
18930
19300
  /**
18931
- * Verifies a TaskCreateRequest message.
19301
+ * Verifies a OAuth2MetadataRequest message.
18932
19302
  * @param message Plain object to verify
18933
19303
  * @returns `null` if valid, otherwise the reason why it is not
18934
19304
  */
18935
19305
  public static verify(message: { [k: string]: any }): (string|null);
18936
19306
  }
18937
19307
 
18938
- /** Properties of a TaskCreateResponse. */
18939
- interface ITaskCreateResponse {
18940
-
18941
- /** TaskCreateResponse jobId */
18942
- jobId?: (string|null);
18943
- }
19308
+ /** Properties of a OAuth2MetadataResponse. */
19309
+ interface IOAuth2MetadataResponse {
18944
19310
 
18945
- /** Represents a TaskCreateResponse. */
18946
- class TaskCreateResponse implements ITaskCreateResponse {
19311
+ /** OAuth2MetadataResponse issuer */
19312
+ issuer?: (string|null);
18947
19313
 
18948
- /**
18949
- * Constructs a new TaskCreateResponse.
18950
- * @param [properties] Properties to set
18951
- */
18952
- constructor(properties?: flyteidl.service.ITaskCreateResponse);
19314
+ /** OAuth2MetadataResponse authorizationEndpoint */
19315
+ authorizationEndpoint?: (string|null);
18953
19316
 
18954
- /** TaskCreateResponse jobId. */
18955
- public jobId: string;
19317
+ /** OAuth2MetadataResponse tokenEndpoint */
19318
+ tokenEndpoint?: (string|null);
18956
19319
 
18957
- /**
18958
- * Creates a new TaskCreateResponse instance using the specified properties.
18959
- * @param [properties] Properties to set
18960
- * @returns TaskCreateResponse instance
18961
- */
18962
- public static create(properties?: flyteidl.service.ITaskCreateResponse): flyteidl.service.TaskCreateResponse;
19320
+ /** OAuth2MetadataResponse responseTypesSupported */
19321
+ responseTypesSupported?: (string[]|null);
18963
19322
 
18964
- /**
18965
- * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.service.TaskCreateResponse.verify|verify} messages.
18966
- * @param message TaskCreateResponse message or plain object to encode
18967
- * @param [writer] Writer to encode to
18968
- * @returns Writer
18969
- */
18970
- public static encode(message: flyteidl.service.ITaskCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19323
+ /** OAuth2MetadataResponse scopesSupported */
19324
+ scopesSupported?: (string[]|null);
18971
19325
 
18972
- /**
18973
- * Decodes a TaskCreateResponse message from the specified reader or buffer.
18974
- * @param reader Reader or buffer to decode from
18975
- * @param [length] Message length if known beforehand
18976
- * @returns TaskCreateResponse
18977
- * @throws {Error} If the payload is not a reader or valid buffer
18978
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
18979
- */
18980
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskCreateResponse;
19326
+ /** OAuth2MetadataResponse tokenEndpointAuthMethodsSupported */
19327
+ tokenEndpointAuthMethodsSupported?: (string[]|null);
18981
19328
 
18982
- /**
18983
- * Verifies a TaskCreateResponse message.
18984
- * @param message Plain object to verify
18985
- * @returns `null` if valid, otherwise the reason why it is not
18986
- */
18987
- public static verify(message: { [k: string]: any }): (string|null);
18988
- }
19329
+ /** OAuth2MetadataResponse jwksUri */
19330
+ jwksUri?: (string|null);
18989
19331
 
18990
- /** Properties of a TaskGetRequest. */
18991
- interface ITaskGetRequest {
19332
+ /** OAuth2MetadataResponse codeChallengeMethodsSupported */
19333
+ codeChallengeMethodsSupported?: (string[]|null);
18992
19334
 
18993
- /** TaskGetRequest taskType */
18994
- taskType?: (string|null);
19335
+ /** OAuth2MetadataResponse grantTypesSupported */
19336
+ grantTypesSupported?: (string[]|null);
18995
19337
 
18996
- /** TaskGetRequest jobId */
18997
- jobId?: (string|null);
19338
+ /** OAuth2MetadataResponse deviceAuthorizationEndpoint */
19339
+ deviceAuthorizationEndpoint?: (string|null);
18998
19340
  }
18999
19341
 
19000
- /** Represents a TaskGetRequest. */
19001
- class TaskGetRequest implements ITaskGetRequest {
19342
+ /** Represents a OAuth2MetadataResponse. */
19343
+ class OAuth2MetadataResponse implements IOAuth2MetadataResponse {
19002
19344
 
19003
19345
  /**
19004
- * Constructs a new TaskGetRequest.
19346
+ * Constructs a new OAuth2MetadataResponse.
19005
19347
  * @param [properties] Properties to set
19006
19348
  */
19007
- constructor(properties?: flyteidl.service.ITaskGetRequest);
19349
+ constructor(properties?: flyteidl.service.IOAuth2MetadataResponse);
19008
19350
 
19009
- /** TaskGetRequest taskType. */
19010
- public taskType: string;
19351
+ /** OAuth2MetadataResponse issuer. */
19352
+ public issuer: string;
19011
19353
 
19012
- /** TaskGetRequest jobId. */
19013
- public jobId: string;
19354
+ /** OAuth2MetadataResponse authorizationEndpoint. */
19355
+ public authorizationEndpoint: string;
19356
+
19357
+ /** OAuth2MetadataResponse tokenEndpoint. */
19358
+ public tokenEndpoint: string;
19359
+
19360
+ /** OAuth2MetadataResponse responseTypesSupported. */
19361
+ public responseTypesSupported: string[];
19362
+
19363
+ /** OAuth2MetadataResponse scopesSupported. */
19364
+ public scopesSupported: string[];
19365
+
19366
+ /** OAuth2MetadataResponse tokenEndpointAuthMethodsSupported. */
19367
+ public tokenEndpointAuthMethodsSupported: string[];
19368
+
19369
+ /** OAuth2MetadataResponse jwksUri. */
19370
+ public jwksUri: string;
19371
+
19372
+ /** OAuth2MetadataResponse codeChallengeMethodsSupported. */
19373
+ public codeChallengeMethodsSupported: string[];
19374
+
19375
+ /** OAuth2MetadataResponse grantTypesSupported. */
19376
+ public grantTypesSupported: string[];
19377
+
19378
+ /** OAuth2MetadataResponse deviceAuthorizationEndpoint. */
19379
+ public deviceAuthorizationEndpoint: string;
19014
19380
 
19015
19381
  /**
19016
- * Creates a new TaskGetRequest instance using the specified properties.
19382
+ * Creates a new OAuth2MetadataResponse instance using the specified properties.
19017
19383
  * @param [properties] Properties to set
19018
- * @returns TaskGetRequest instance
19384
+ * @returns OAuth2MetadataResponse instance
19019
19385
  */
19020
- public static create(properties?: flyteidl.service.ITaskGetRequest): flyteidl.service.TaskGetRequest;
19386
+ public static create(properties?: flyteidl.service.IOAuth2MetadataResponse): flyteidl.service.OAuth2MetadataResponse;
19021
19387
 
19022
19388
  /**
19023
- * Encodes the specified TaskGetRequest message. Does not implicitly {@link flyteidl.service.TaskGetRequest.verify|verify} messages.
19024
- * @param message TaskGetRequest message or plain object to encode
19389
+ * Encodes the specified OAuth2MetadataResponse message. Does not implicitly {@link flyteidl.service.OAuth2MetadataResponse.verify|verify} messages.
19390
+ * @param message OAuth2MetadataResponse message or plain object to encode
19025
19391
  * @param [writer] Writer to encode to
19026
19392
  * @returns Writer
19027
19393
  */
19028
- public static encode(message: flyteidl.service.ITaskGetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19394
+ public static encode(message: flyteidl.service.IOAuth2MetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19029
19395
 
19030
19396
  /**
19031
- * Decodes a TaskGetRequest message from the specified reader or buffer.
19397
+ * Decodes a OAuth2MetadataResponse message from the specified reader or buffer.
19032
19398
  * @param reader Reader or buffer to decode from
19033
19399
  * @param [length] Message length if known beforehand
19034
- * @returns TaskGetRequest
19400
+ * @returns OAuth2MetadataResponse
19035
19401
  * @throws {Error} If the payload is not a reader or valid buffer
19036
19402
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19037
19403
  */
19038
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskGetRequest;
19404
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.OAuth2MetadataResponse;
19039
19405
 
19040
19406
  /**
19041
- * Verifies a TaskGetRequest message.
19407
+ * Verifies a OAuth2MetadataResponse message.
19042
19408
  * @param message Plain object to verify
19043
19409
  * @returns `null` if valid, otherwise the reason why it is not
19044
19410
  */
19045
19411
  public static verify(message: { [k: string]: any }): (string|null);
19046
19412
  }
19047
19413
 
19048
- /** Properties of a TaskGetResponse. */
19049
- interface ITaskGetResponse {
19050
-
19051
- /** TaskGetResponse state */
19052
- state?: (flyteidl.service.State|null);
19053
-
19054
- /** TaskGetResponse outputs */
19055
- outputs?: (flyteidl.core.ILiteralMap|null);
19414
+ /** Properties of a PublicClientAuthConfigRequest. */
19415
+ interface IPublicClientAuthConfigRequest {
19056
19416
  }
19057
19417
 
19058
- /** Represents a TaskGetResponse. */
19059
- class TaskGetResponse implements ITaskGetResponse {
19418
+ /** Represents a PublicClientAuthConfigRequest. */
19419
+ class PublicClientAuthConfigRequest implements IPublicClientAuthConfigRequest {
19060
19420
 
19061
19421
  /**
19062
- * Constructs a new TaskGetResponse.
19422
+ * Constructs a new PublicClientAuthConfigRequest.
19063
19423
  * @param [properties] Properties to set
19064
19424
  */
19065
- constructor(properties?: flyteidl.service.ITaskGetResponse);
19066
-
19067
- /** TaskGetResponse state. */
19068
- public state: flyteidl.service.State;
19069
-
19070
- /** TaskGetResponse outputs. */
19071
- public outputs?: (flyteidl.core.ILiteralMap|null);
19425
+ constructor(properties?: flyteidl.service.IPublicClientAuthConfigRequest);
19072
19426
 
19073
19427
  /**
19074
- * Creates a new TaskGetResponse instance using the specified properties.
19428
+ * Creates a new PublicClientAuthConfigRequest instance using the specified properties.
19075
19429
  * @param [properties] Properties to set
19076
- * @returns TaskGetResponse instance
19430
+ * @returns PublicClientAuthConfigRequest instance
19077
19431
  */
19078
- public static create(properties?: flyteidl.service.ITaskGetResponse): flyteidl.service.TaskGetResponse;
19432
+ public static create(properties?: flyteidl.service.IPublicClientAuthConfigRequest): flyteidl.service.PublicClientAuthConfigRequest;
19079
19433
 
19080
19434
  /**
19081
- * Encodes the specified TaskGetResponse message. Does not implicitly {@link flyteidl.service.TaskGetResponse.verify|verify} messages.
19082
- * @param message TaskGetResponse message or plain object to encode
19435
+ * Encodes the specified PublicClientAuthConfigRequest message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigRequest.verify|verify} messages.
19436
+ * @param message PublicClientAuthConfigRequest message or plain object to encode
19083
19437
  * @param [writer] Writer to encode to
19084
19438
  * @returns Writer
19085
19439
  */
19086
- public static encode(message: flyteidl.service.ITaskGetResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19440
+ public static encode(message: flyteidl.service.IPublicClientAuthConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19087
19441
 
19088
19442
  /**
19089
- * Decodes a TaskGetResponse message from the specified reader or buffer.
19443
+ * Decodes a PublicClientAuthConfigRequest message from the specified reader or buffer.
19090
19444
  * @param reader Reader or buffer to decode from
19091
19445
  * @param [length] Message length if known beforehand
19092
- * @returns TaskGetResponse
19446
+ * @returns PublicClientAuthConfigRequest
19093
19447
  * @throws {Error} If the payload is not a reader or valid buffer
19094
19448
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19095
19449
  */
19096
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskGetResponse;
19450
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PublicClientAuthConfigRequest;
19097
19451
 
19098
19452
  /**
19099
- * Verifies a TaskGetResponse message.
19453
+ * Verifies a PublicClientAuthConfigRequest message.
19100
19454
  * @param message Plain object to verify
19101
19455
  * @returns `null` if valid, otherwise the reason why it is not
19102
19456
  */
19103
19457
  public static verify(message: { [k: string]: any }): (string|null);
19104
19458
  }
19105
19459
 
19106
- /** Properties of a TaskDeleteRequest. */
19107
- interface ITaskDeleteRequest {
19460
+ /** Properties of a PublicClientAuthConfigResponse. */
19461
+ interface IPublicClientAuthConfigResponse {
19108
19462
 
19109
- /** TaskDeleteRequest taskType */
19110
- taskType?: (string|null);
19463
+ /** PublicClientAuthConfigResponse clientId */
19464
+ clientId?: (string|null);
19111
19465
 
19112
- /** TaskDeleteRequest jobId */
19113
- jobId?: (string|null);
19466
+ /** PublicClientAuthConfigResponse redirectUri */
19467
+ redirectUri?: (string|null);
19468
+
19469
+ /** PublicClientAuthConfigResponse scopes */
19470
+ scopes?: (string[]|null);
19471
+
19472
+ /** PublicClientAuthConfigResponse authorizationMetadataKey */
19473
+ authorizationMetadataKey?: (string|null);
19474
+
19475
+ /** PublicClientAuthConfigResponse serviceHttpEndpoint */
19476
+ serviceHttpEndpoint?: (string|null);
19477
+
19478
+ /** PublicClientAuthConfigResponse audience */
19479
+ audience?: (string|null);
19114
19480
  }
19115
19481
 
19116
- /** Represents a TaskDeleteRequest. */
19117
- class TaskDeleteRequest implements ITaskDeleteRequest {
19482
+ /** Represents a PublicClientAuthConfigResponse. */
19483
+ class PublicClientAuthConfigResponse implements IPublicClientAuthConfigResponse {
19118
19484
 
19119
19485
  /**
19120
- * Constructs a new TaskDeleteRequest.
19486
+ * Constructs a new PublicClientAuthConfigResponse.
19121
19487
  * @param [properties] Properties to set
19122
19488
  */
19123
- constructor(properties?: flyteidl.service.ITaskDeleteRequest);
19489
+ constructor(properties?: flyteidl.service.IPublicClientAuthConfigResponse);
19124
19490
 
19125
- /** TaskDeleteRequest taskType. */
19126
- public taskType: string;
19491
+ /** PublicClientAuthConfigResponse clientId. */
19492
+ public clientId: string;
19127
19493
 
19128
- /** TaskDeleteRequest jobId. */
19129
- public jobId: string;
19494
+ /** PublicClientAuthConfigResponse redirectUri. */
19495
+ public redirectUri: string;
19496
+
19497
+ /** PublicClientAuthConfigResponse scopes. */
19498
+ public scopes: string[];
19499
+
19500
+ /** PublicClientAuthConfigResponse authorizationMetadataKey. */
19501
+ public authorizationMetadataKey: string;
19502
+
19503
+ /** PublicClientAuthConfigResponse serviceHttpEndpoint. */
19504
+ public serviceHttpEndpoint: string;
19505
+
19506
+ /** PublicClientAuthConfigResponse audience. */
19507
+ public audience: string;
19130
19508
 
19131
19509
  /**
19132
- * Creates a new TaskDeleteRequest instance using the specified properties.
19510
+ * Creates a new PublicClientAuthConfigResponse instance using the specified properties.
19133
19511
  * @param [properties] Properties to set
19134
- * @returns TaskDeleteRequest instance
19512
+ * @returns PublicClientAuthConfigResponse instance
19135
19513
  */
19136
- public static create(properties?: flyteidl.service.ITaskDeleteRequest): flyteidl.service.TaskDeleteRequest;
19514
+ public static create(properties?: flyteidl.service.IPublicClientAuthConfigResponse): flyteidl.service.PublicClientAuthConfigResponse;
19137
19515
 
19138
19516
  /**
19139
- * Encodes the specified TaskDeleteRequest message. Does not implicitly {@link flyteidl.service.TaskDeleteRequest.verify|verify} messages.
19140
- * @param message TaskDeleteRequest message or plain object to encode
19517
+ * Encodes the specified PublicClientAuthConfigResponse message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigResponse.verify|verify} messages.
19518
+ * @param message PublicClientAuthConfigResponse message or plain object to encode
19141
19519
  * @param [writer] Writer to encode to
19142
19520
  * @returns Writer
19143
19521
  */
19144
- public static encode(message: flyteidl.service.ITaskDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19522
+ public static encode(message: flyteidl.service.IPublicClientAuthConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19145
19523
 
19146
19524
  /**
19147
- * Decodes a TaskDeleteRequest message from the specified reader or buffer.
19525
+ * Decodes a PublicClientAuthConfigResponse message from the specified reader or buffer.
19148
19526
  * @param reader Reader or buffer to decode from
19149
19527
  * @param [length] Message length if known beforehand
19150
- * @returns TaskDeleteRequest
19528
+ * @returns PublicClientAuthConfigResponse
19151
19529
  * @throws {Error} If the payload is not a reader or valid buffer
19152
19530
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19153
19531
  */
19154
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskDeleteRequest;
19532
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PublicClientAuthConfigResponse;
19155
19533
 
19156
19534
  /**
19157
- * Verifies a TaskDeleteRequest message.
19535
+ * Verifies a PublicClientAuthConfigResponse message.
19158
19536
  * @param message Plain object to verify
19159
19537
  * @returns `null` if valid, otherwise the reason why it is not
19160
19538
  */
19161
19539
  public static verify(message: { [k: string]: any }): (string|null);
19162
19540
  }
19163
19541
 
19164
- /** Properties of a TaskDeleteResponse. */
19165
- interface ITaskDeleteResponse {
19166
- }
19542
+ /** Represents an AuthMetadataService */
19543
+ class AuthMetadataService extends $protobuf.rpc.Service {
19167
19544
 
19168
- /** Represents a TaskDeleteResponse. */
19169
- class TaskDeleteResponse implements ITaskDeleteResponse {
19545
+ /**
19546
+ * Constructs a new AuthMetadataService service.
19547
+ * @param rpcImpl RPC implementation
19548
+ * @param [requestDelimited=false] Whether requests are length-delimited
19549
+ * @param [responseDelimited=false] Whether responses are length-delimited
19550
+ */
19551
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
19170
19552
 
19171
19553
  /**
19172
- * Constructs a new TaskDeleteResponse.
19173
- * @param [properties] Properties to set
19554
+ * Creates new AuthMetadataService service using the specified rpc implementation.
19555
+ * @param rpcImpl RPC implementation
19556
+ * @param [requestDelimited=false] Whether requests are length-delimited
19557
+ * @param [responseDelimited=false] Whether responses are length-delimited
19558
+ * @returns RPC service. Useful where requests and/or responses are streamed.
19174
19559
  */
19175
- constructor(properties?: flyteidl.service.ITaskDeleteResponse);
19560
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AuthMetadataService;
19176
19561
 
19177
19562
  /**
19178
- * Creates a new TaskDeleteResponse instance using the specified properties.
19179
- * @param [properties] Properties to set
19180
- * @returns TaskDeleteResponse instance
19563
+ * Calls GetOAuth2Metadata.
19564
+ * @param request OAuth2MetadataRequest message or plain object
19565
+ * @param callback Node-style callback called with the error, if any, and OAuth2MetadataResponse
19181
19566
  */
19182
- public static create(properties?: flyteidl.service.ITaskDeleteResponse): flyteidl.service.TaskDeleteResponse;
19567
+ public getOAuth2Metadata(request: flyteidl.service.IOAuth2MetadataRequest, callback: flyteidl.service.AuthMetadataService.GetOAuth2MetadataCallback): void;
19183
19568
 
19184
19569
  /**
19185
- * Encodes the specified TaskDeleteResponse message. Does not implicitly {@link flyteidl.service.TaskDeleteResponse.verify|verify} messages.
19186
- * @param message TaskDeleteResponse message or plain object to encode
19187
- * @param [writer] Writer to encode to
19188
- * @returns Writer
19570
+ * Calls GetOAuth2Metadata.
19571
+ * @param request OAuth2MetadataRequest message or plain object
19572
+ * @returns Promise
19189
19573
  */
19190
- public static encode(message: flyteidl.service.ITaskDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19574
+ public getOAuth2Metadata(request: flyteidl.service.IOAuth2MetadataRequest): Promise<flyteidl.service.OAuth2MetadataResponse>;
19191
19575
 
19192
19576
  /**
19193
- * Decodes a TaskDeleteResponse message from the specified reader or buffer.
19194
- * @param reader Reader or buffer to decode from
19195
- * @param [length] Message length if known beforehand
19196
- * @returns TaskDeleteResponse
19197
- * @throws {Error} If the payload is not a reader or valid buffer
19198
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
19577
+ * Calls GetPublicClientConfig.
19578
+ * @param request PublicClientAuthConfigRequest message or plain object
19579
+ * @param callback Node-style callback called with the error, if any, and PublicClientAuthConfigResponse
19199
19580
  */
19200
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskDeleteResponse;
19581
+ public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest, callback: flyteidl.service.AuthMetadataService.GetPublicClientConfigCallback): void;
19201
19582
 
19202
19583
  /**
19203
- * Verifies a TaskDeleteResponse message.
19204
- * @param message Plain object to verify
19205
- * @returns `null` if valid, otherwise the reason why it is not
19584
+ * Calls GetPublicClientConfig.
19585
+ * @param request PublicClientAuthConfigRequest message or plain object
19586
+ * @returns Promise
19206
19587
  */
19207
- public static verify(message: { [k: string]: any }): (string|null);
19588
+ public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest): Promise<flyteidl.service.PublicClientAuthConfigResponse>;
19208
19589
  }
19209
19590
 
19210
- /** Properties of a OAuth2MetadataRequest. */
19211
- interface IOAuth2MetadataRequest {
19591
+ namespace AuthMetadataService {
19592
+
19593
+ /**
19594
+ * Callback as used by {@link flyteidl.service.AuthMetadataService#getOAuth2Metadata}.
19595
+ * @param error Error, if any
19596
+ * @param [response] OAuth2MetadataResponse
19597
+ */
19598
+ type GetOAuth2MetadataCallback = (error: (Error|null), response?: flyteidl.service.OAuth2MetadataResponse) => void;
19599
+
19600
+ /**
19601
+ * Callback as used by {@link flyteidl.service.AuthMetadataService#getPublicClientConfig}.
19602
+ * @param error Error, if any
19603
+ * @param [response] PublicClientAuthConfigResponse
19604
+ */
19605
+ type GetPublicClientConfigCallback = (error: (Error|null), response?: flyteidl.service.PublicClientAuthConfigResponse) => void;
19212
19606
  }
19213
19607
 
19214
- /** Represents a OAuth2MetadataRequest. */
19215
- class OAuth2MetadataRequest implements IOAuth2MetadataRequest {
19608
+ /** Properties of a CreateUploadLocationResponse. */
19609
+ interface ICreateUploadLocationResponse {
19610
+
19611
+ /** CreateUploadLocationResponse signedUrl */
19612
+ signedUrl?: (string|null);
19613
+
19614
+ /** CreateUploadLocationResponse nativeUrl */
19615
+ nativeUrl?: (string|null);
19616
+
19617
+ /** CreateUploadLocationResponse expiresAt */
19618
+ expiresAt?: (google.protobuf.ITimestamp|null);
19619
+ }
19620
+
19621
+ /** Represents a CreateUploadLocationResponse. */
19622
+ class CreateUploadLocationResponse implements ICreateUploadLocationResponse {
19216
19623
 
19217
19624
  /**
19218
- * Constructs a new OAuth2MetadataRequest.
19625
+ * Constructs a new CreateUploadLocationResponse.
19219
19626
  * @param [properties] Properties to set
19220
19627
  */
19221
- constructor(properties?: flyteidl.service.IOAuth2MetadataRequest);
19628
+ constructor(properties?: flyteidl.service.ICreateUploadLocationResponse);
19629
+
19630
+ /** CreateUploadLocationResponse signedUrl. */
19631
+ public signedUrl: string;
19632
+
19633
+ /** CreateUploadLocationResponse nativeUrl. */
19634
+ public nativeUrl: string;
19635
+
19636
+ /** CreateUploadLocationResponse expiresAt. */
19637
+ public expiresAt?: (google.protobuf.ITimestamp|null);
19222
19638
 
19223
19639
  /**
19224
- * Creates a new OAuth2MetadataRequest instance using the specified properties.
19640
+ * Creates a new CreateUploadLocationResponse instance using the specified properties.
19225
19641
  * @param [properties] Properties to set
19226
- * @returns OAuth2MetadataRequest instance
19642
+ * @returns CreateUploadLocationResponse instance
19227
19643
  */
19228
- public static create(properties?: flyteidl.service.IOAuth2MetadataRequest): flyteidl.service.OAuth2MetadataRequest;
19644
+ public static create(properties?: flyteidl.service.ICreateUploadLocationResponse): flyteidl.service.CreateUploadLocationResponse;
19229
19645
 
19230
19646
  /**
19231
- * Encodes the specified OAuth2MetadataRequest message. Does not implicitly {@link flyteidl.service.OAuth2MetadataRequest.verify|verify} messages.
19232
- * @param message OAuth2MetadataRequest message or plain object to encode
19647
+ * Encodes the specified CreateUploadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateUploadLocationResponse.verify|verify} messages.
19648
+ * @param message CreateUploadLocationResponse message or plain object to encode
19233
19649
  * @param [writer] Writer to encode to
19234
19650
  * @returns Writer
19235
19651
  */
19236
- public static encode(message: flyteidl.service.IOAuth2MetadataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19652
+ public static encode(message: flyteidl.service.ICreateUploadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19237
19653
 
19238
19654
  /**
19239
- * Decodes a OAuth2MetadataRequest message from the specified reader or buffer.
19655
+ * Decodes a CreateUploadLocationResponse message from the specified reader or buffer.
19240
19656
  * @param reader Reader or buffer to decode from
19241
19657
  * @param [length] Message length if known beforehand
19242
- * @returns OAuth2MetadataRequest
19658
+ * @returns CreateUploadLocationResponse
19243
19659
  * @throws {Error} If the payload is not a reader or valid buffer
19244
19660
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19245
19661
  */
19246
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.OAuth2MetadataRequest;
19662
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateUploadLocationResponse;
19247
19663
 
19248
19664
  /**
19249
- * Verifies a OAuth2MetadataRequest message.
19665
+ * Verifies a CreateUploadLocationResponse message.
19250
19666
  * @param message Plain object to verify
19251
19667
  * @returns `null` if valid, otherwise the reason why it is not
19252
19668
  */
19253
19669
  public static verify(message: { [k: string]: any }): (string|null);
19254
19670
  }
19255
19671
 
19256
- /** Properties of a OAuth2MetadataResponse. */
19257
- interface IOAuth2MetadataResponse {
19258
-
19259
- /** OAuth2MetadataResponse issuer */
19260
- issuer?: (string|null);
19261
-
19262
- /** OAuth2MetadataResponse authorizationEndpoint */
19263
- authorizationEndpoint?: (string|null);
19264
-
19265
- /** OAuth2MetadataResponse tokenEndpoint */
19266
- tokenEndpoint?: (string|null);
19267
-
19268
- /** OAuth2MetadataResponse responseTypesSupported */
19269
- responseTypesSupported?: (string[]|null);
19672
+ /** Properties of a CreateUploadLocationRequest. */
19673
+ interface ICreateUploadLocationRequest {
19270
19674
 
19271
- /** OAuth2MetadataResponse scopesSupported */
19272
- scopesSupported?: (string[]|null);
19675
+ /** CreateUploadLocationRequest project */
19676
+ project?: (string|null);
19273
19677
 
19274
- /** OAuth2MetadataResponse tokenEndpointAuthMethodsSupported */
19275
- tokenEndpointAuthMethodsSupported?: (string[]|null);
19678
+ /** CreateUploadLocationRequest domain */
19679
+ domain?: (string|null);
19276
19680
 
19277
- /** OAuth2MetadataResponse jwksUri */
19278
- jwksUri?: (string|null);
19681
+ /** CreateUploadLocationRequest filename */
19682
+ filename?: (string|null);
19279
19683
 
19280
- /** OAuth2MetadataResponse codeChallengeMethodsSupported */
19281
- codeChallengeMethodsSupported?: (string[]|null);
19684
+ /** CreateUploadLocationRequest expiresIn */
19685
+ expiresIn?: (google.protobuf.IDuration|null);
19282
19686
 
19283
- /** OAuth2MetadataResponse grantTypesSupported */
19284
- grantTypesSupported?: (string[]|null);
19687
+ /** CreateUploadLocationRequest contentMd5 */
19688
+ contentMd5?: (Uint8Array|null);
19285
19689
 
19286
- /** OAuth2MetadataResponse deviceAuthorizationEndpoint */
19287
- deviceAuthorizationEndpoint?: (string|null);
19690
+ /** CreateUploadLocationRequest filenameRoot */
19691
+ filenameRoot?: (string|null);
19288
19692
  }
19289
19693
 
19290
- /** Represents a OAuth2MetadataResponse. */
19291
- class OAuth2MetadataResponse implements IOAuth2MetadataResponse {
19694
+ /** Represents a CreateUploadLocationRequest. */
19695
+ class CreateUploadLocationRequest implements ICreateUploadLocationRequest {
19292
19696
 
19293
19697
  /**
19294
- * Constructs a new OAuth2MetadataResponse.
19698
+ * Constructs a new CreateUploadLocationRequest.
19295
19699
  * @param [properties] Properties to set
19296
19700
  */
19297
- constructor(properties?: flyteidl.service.IOAuth2MetadataResponse);
19701
+ constructor(properties?: flyteidl.service.ICreateUploadLocationRequest);
19298
19702
 
19299
- /** OAuth2MetadataResponse issuer. */
19300
- public issuer: string;
19703
+ /** CreateUploadLocationRequest project. */
19704
+ public project: string;
19301
19705
 
19302
- /** OAuth2MetadataResponse authorizationEndpoint. */
19303
- public authorizationEndpoint: string;
19706
+ /** CreateUploadLocationRequest domain. */
19707
+ public domain: string;
19304
19708
 
19305
- /** OAuth2MetadataResponse tokenEndpoint. */
19306
- public tokenEndpoint: string;
19709
+ /** CreateUploadLocationRequest filename. */
19710
+ public filename: string;
19307
19711
 
19308
- /** OAuth2MetadataResponse responseTypesSupported. */
19309
- public responseTypesSupported: string[];
19712
+ /** CreateUploadLocationRequest expiresIn. */
19713
+ public expiresIn?: (google.protobuf.IDuration|null);
19310
19714
 
19311
- /** OAuth2MetadataResponse scopesSupported. */
19312
- public scopesSupported: string[];
19313
-
19314
- /** OAuth2MetadataResponse tokenEndpointAuthMethodsSupported. */
19315
- public tokenEndpointAuthMethodsSupported: string[];
19316
-
19317
- /** OAuth2MetadataResponse jwksUri. */
19318
- public jwksUri: string;
19319
-
19320
- /** OAuth2MetadataResponse codeChallengeMethodsSupported. */
19321
- public codeChallengeMethodsSupported: string[];
19322
-
19323
- /** OAuth2MetadataResponse grantTypesSupported. */
19324
- public grantTypesSupported: string[];
19715
+ /** CreateUploadLocationRequest contentMd5. */
19716
+ public contentMd5: Uint8Array;
19325
19717
 
19326
- /** OAuth2MetadataResponse deviceAuthorizationEndpoint. */
19327
- public deviceAuthorizationEndpoint: string;
19718
+ /** CreateUploadLocationRequest filenameRoot. */
19719
+ public filenameRoot: string;
19328
19720
 
19329
19721
  /**
19330
- * Creates a new OAuth2MetadataResponse instance using the specified properties.
19722
+ * Creates a new CreateUploadLocationRequest instance using the specified properties.
19331
19723
  * @param [properties] Properties to set
19332
- * @returns OAuth2MetadataResponse instance
19724
+ * @returns CreateUploadLocationRequest instance
19333
19725
  */
19334
- public static create(properties?: flyteidl.service.IOAuth2MetadataResponse): flyteidl.service.OAuth2MetadataResponse;
19726
+ public static create(properties?: flyteidl.service.ICreateUploadLocationRequest): flyteidl.service.CreateUploadLocationRequest;
19335
19727
 
19336
19728
  /**
19337
- * Encodes the specified OAuth2MetadataResponse message. Does not implicitly {@link flyteidl.service.OAuth2MetadataResponse.verify|verify} messages.
19338
- * @param message OAuth2MetadataResponse message or plain object to encode
19729
+ * Encodes the specified CreateUploadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateUploadLocationRequest.verify|verify} messages.
19730
+ * @param message CreateUploadLocationRequest message or plain object to encode
19339
19731
  * @param [writer] Writer to encode to
19340
19732
  * @returns Writer
19341
19733
  */
19342
- public static encode(message: flyteidl.service.IOAuth2MetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19734
+ public static encode(message: flyteidl.service.ICreateUploadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19343
19735
 
19344
19736
  /**
19345
- * Decodes a OAuth2MetadataResponse message from the specified reader or buffer.
19737
+ * Decodes a CreateUploadLocationRequest message from the specified reader or buffer.
19346
19738
  * @param reader Reader or buffer to decode from
19347
19739
  * @param [length] Message length if known beforehand
19348
- * @returns OAuth2MetadataResponse
19740
+ * @returns CreateUploadLocationRequest
19349
19741
  * @throws {Error} If the payload is not a reader or valid buffer
19350
19742
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19351
19743
  */
19352
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.OAuth2MetadataResponse;
19744
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateUploadLocationRequest;
19353
19745
 
19354
19746
  /**
19355
- * Verifies a OAuth2MetadataResponse message.
19747
+ * Verifies a CreateUploadLocationRequest message.
19356
19748
  * @param message Plain object to verify
19357
19749
  * @returns `null` if valid, otherwise the reason why it is not
19358
19750
  */
19359
19751
  public static verify(message: { [k: string]: any }): (string|null);
19360
19752
  }
19361
19753
 
19362
- /** Properties of a PublicClientAuthConfigRequest. */
19363
- interface IPublicClientAuthConfigRequest {
19754
+ /** Properties of a CreateDownloadLocationRequest. */
19755
+ interface ICreateDownloadLocationRequest {
19756
+
19757
+ /** CreateDownloadLocationRequest nativeUrl */
19758
+ nativeUrl?: (string|null);
19759
+
19760
+ /** CreateDownloadLocationRequest expiresIn */
19761
+ expiresIn?: (google.protobuf.IDuration|null);
19364
19762
  }
19365
19763
 
19366
- /** Represents a PublicClientAuthConfigRequest. */
19367
- class PublicClientAuthConfigRequest implements IPublicClientAuthConfigRequest {
19764
+ /** Represents a CreateDownloadLocationRequest. */
19765
+ class CreateDownloadLocationRequest implements ICreateDownloadLocationRequest {
19368
19766
 
19369
19767
  /**
19370
- * Constructs a new PublicClientAuthConfigRequest.
19768
+ * Constructs a new CreateDownloadLocationRequest.
19371
19769
  * @param [properties] Properties to set
19372
19770
  */
19373
- constructor(properties?: flyteidl.service.IPublicClientAuthConfigRequest);
19771
+ constructor(properties?: flyteidl.service.ICreateDownloadLocationRequest);
19772
+
19773
+ /** CreateDownloadLocationRequest nativeUrl. */
19774
+ public nativeUrl: string;
19775
+
19776
+ /** CreateDownloadLocationRequest expiresIn. */
19777
+ public expiresIn?: (google.protobuf.IDuration|null);
19374
19778
 
19375
19779
  /**
19376
- * Creates a new PublicClientAuthConfigRequest instance using the specified properties.
19780
+ * Creates a new CreateDownloadLocationRequest instance using the specified properties.
19377
19781
  * @param [properties] Properties to set
19378
- * @returns PublicClientAuthConfigRequest instance
19782
+ * @returns CreateDownloadLocationRequest instance
19379
19783
  */
19380
- public static create(properties?: flyteidl.service.IPublicClientAuthConfigRequest): flyteidl.service.PublicClientAuthConfigRequest;
19784
+ public static create(properties?: flyteidl.service.ICreateDownloadLocationRequest): flyteidl.service.CreateDownloadLocationRequest;
19381
19785
 
19382
19786
  /**
19383
- * Encodes the specified PublicClientAuthConfigRequest message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigRequest.verify|verify} messages.
19384
- * @param message PublicClientAuthConfigRequest message or plain object to encode
19787
+ * Encodes the specified CreateDownloadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationRequest.verify|verify} messages.
19788
+ * @param message CreateDownloadLocationRequest message or plain object to encode
19385
19789
  * @param [writer] Writer to encode to
19386
19790
  * @returns Writer
19387
19791
  */
19388
- public static encode(message: flyteidl.service.IPublicClientAuthConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19792
+ public static encode(message: flyteidl.service.ICreateDownloadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19389
19793
 
19390
19794
  /**
19391
- * Decodes a PublicClientAuthConfigRequest message from the specified reader or buffer.
19795
+ * Decodes a CreateDownloadLocationRequest message from the specified reader or buffer.
19392
19796
  * @param reader Reader or buffer to decode from
19393
19797
  * @param [length] Message length if known beforehand
19394
- * @returns PublicClientAuthConfigRequest
19798
+ * @returns CreateDownloadLocationRequest
19395
19799
  * @throws {Error} If the payload is not a reader or valid buffer
19396
19800
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19397
19801
  */
19398
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PublicClientAuthConfigRequest;
19802
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLocationRequest;
19399
19803
 
19400
19804
  /**
19401
- * Verifies a PublicClientAuthConfigRequest message.
19805
+ * Verifies a CreateDownloadLocationRequest message.
19402
19806
  * @param message Plain object to verify
19403
19807
  * @returns `null` if valid, otherwise the reason why it is not
19404
19808
  */
19405
19809
  public static verify(message: { [k: string]: any }): (string|null);
19406
19810
  }
19407
19811
 
19408
- /** Properties of a PublicClientAuthConfigResponse. */
19409
- interface IPublicClientAuthConfigResponse {
19410
-
19411
- /** PublicClientAuthConfigResponse clientId */
19412
- clientId?: (string|null);
19413
-
19414
- /** PublicClientAuthConfigResponse redirectUri */
19415
- redirectUri?: (string|null);
19416
-
19417
- /** PublicClientAuthConfigResponse scopes */
19418
- scopes?: (string[]|null);
19419
-
19420
- /** PublicClientAuthConfigResponse authorizationMetadataKey */
19421
- authorizationMetadataKey?: (string|null);
19812
+ /** Properties of a CreateDownloadLocationResponse. */
19813
+ interface ICreateDownloadLocationResponse {
19422
19814
 
19423
- /** PublicClientAuthConfigResponse serviceHttpEndpoint */
19424
- serviceHttpEndpoint?: (string|null);
19815
+ /** CreateDownloadLocationResponse signedUrl */
19816
+ signedUrl?: (string|null);
19425
19817
 
19426
- /** PublicClientAuthConfigResponse audience */
19427
- audience?: (string|null);
19818
+ /** CreateDownloadLocationResponse expiresAt */
19819
+ expiresAt?: (google.protobuf.ITimestamp|null);
19428
19820
  }
19429
19821
 
19430
- /** Represents a PublicClientAuthConfigResponse. */
19431
- class PublicClientAuthConfigResponse implements IPublicClientAuthConfigResponse {
19822
+ /** Represents a CreateDownloadLocationResponse. */
19823
+ class CreateDownloadLocationResponse implements ICreateDownloadLocationResponse {
19432
19824
 
19433
19825
  /**
19434
- * Constructs a new PublicClientAuthConfigResponse.
19826
+ * Constructs a new CreateDownloadLocationResponse.
19435
19827
  * @param [properties] Properties to set
19436
19828
  */
19437
- constructor(properties?: flyteidl.service.IPublicClientAuthConfigResponse);
19438
-
19439
- /** PublicClientAuthConfigResponse clientId. */
19440
- public clientId: string;
19441
-
19442
- /** PublicClientAuthConfigResponse redirectUri. */
19443
- public redirectUri: string;
19444
-
19445
- /** PublicClientAuthConfigResponse scopes. */
19446
- public scopes: string[];
19447
-
19448
- /** PublicClientAuthConfigResponse authorizationMetadataKey. */
19449
- public authorizationMetadataKey: string;
19829
+ constructor(properties?: flyteidl.service.ICreateDownloadLocationResponse);
19450
19830
 
19451
- /** PublicClientAuthConfigResponse serviceHttpEndpoint. */
19452
- public serviceHttpEndpoint: string;
19831
+ /** CreateDownloadLocationResponse signedUrl. */
19832
+ public signedUrl: string;
19453
19833
 
19454
- /** PublicClientAuthConfigResponse audience. */
19455
- public audience: string;
19834
+ /** CreateDownloadLocationResponse expiresAt. */
19835
+ public expiresAt?: (google.protobuf.ITimestamp|null);
19456
19836
 
19457
19837
  /**
19458
- * Creates a new PublicClientAuthConfigResponse instance using the specified properties.
19838
+ * Creates a new CreateDownloadLocationResponse instance using the specified properties.
19459
19839
  * @param [properties] Properties to set
19460
- * @returns PublicClientAuthConfigResponse instance
19840
+ * @returns CreateDownloadLocationResponse instance
19461
19841
  */
19462
- public static create(properties?: flyteidl.service.IPublicClientAuthConfigResponse): flyteidl.service.PublicClientAuthConfigResponse;
19842
+ public static create(properties?: flyteidl.service.ICreateDownloadLocationResponse): flyteidl.service.CreateDownloadLocationResponse;
19463
19843
 
19464
19844
  /**
19465
- * Encodes the specified PublicClientAuthConfigResponse message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigResponse.verify|verify} messages.
19466
- * @param message PublicClientAuthConfigResponse message or plain object to encode
19845
+ * Encodes the specified CreateDownloadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationResponse.verify|verify} messages.
19846
+ * @param message CreateDownloadLocationResponse message or plain object to encode
19467
19847
  * @param [writer] Writer to encode to
19468
19848
  * @returns Writer
19469
19849
  */
19470
- public static encode(message: flyteidl.service.IPublicClientAuthConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19850
+ public static encode(message: flyteidl.service.ICreateDownloadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19471
19851
 
19472
19852
  /**
19473
- * Decodes a PublicClientAuthConfigResponse message from the specified reader or buffer.
19853
+ * Decodes a CreateDownloadLocationResponse message from the specified reader or buffer.
19474
19854
  * @param reader Reader or buffer to decode from
19475
19855
  * @param [length] Message length if known beforehand
19476
- * @returns PublicClientAuthConfigResponse
19856
+ * @returns CreateDownloadLocationResponse
19477
19857
  * @throws {Error} If the payload is not a reader or valid buffer
19478
19858
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19479
19859
  */
19480
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PublicClientAuthConfigResponse;
19860
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLocationResponse;
19481
19861
 
19482
19862
  /**
19483
- * Verifies a PublicClientAuthConfigResponse message.
19863
+ * Verifies a CreateDownloadLocationResponse message.
19484
19864
  * @param message Plain object to verify
19485
19865
  * @returns `null` if valid, otherwise the reason why it is not
19486
19866
  */
19487
19867
  public static verify(message: { [k: string]: any }): (string|null);
19488
19868
  }
19489
19869
 
19490
- /** Represents an AuthMetadataService */
19491
- class AuthMetadataService extends $protobuf.rpc.Service {
19870
+ /** ArtifactType enum. */
19871
+ enum ArtifactType {
19872
+ ARTIFACT_TYPE_UNDEFINED = 0,
19873
+ ARTIFACT_TYPE_DECK = 1
19874
+ }
19492
19875
 
19493
- /**
19494
- * Constructs a new AuthMetadataService service.
19495
- * @param rpcImpl RPC implementation
19496
- * @param [requestDelimited=false] Whether requests are length-delimited
19497
- * @param [responseDelimited=false] Whether responses are length-delimited
19498
- */
19499
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
19876
+ /** Properties of a CreateDownloadLinkRequest. */
19877
+ interface ICreateDownloadLinkRequest {
19500
19878
 
19501
- /**
19502
- * Creates new AuthMetadataService service using the specified rpc implementation.
19503
- * @param rpcImpl RPC implementation
19504
- * @param [requestDelimited=false] Whether requests are length-delimited
19505
- * @param [responseDelimited=false] Whether responses are length-delimited
19506
- * @returns RPC service. Useful where requests and/or responses are streamed.
19507
- */
19508
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AuthMetadataService;
19879
+ /** CreateDownloadLinkRequest artifactType */
19880
+ artifactType?: (flyteidl.service.ArtifactType|null);
19509
19881
 
19510
- /**
19511
- * Calls GetOAuth2Metadata.
19512
- * @param request OAuth2MetadataRequest message or plain object
19513
- * @param callback Node-style callback called with the error, if any, and OAuth2MetadataResponse
19514
- */
19515
- public getOAuth2Metadata(request: flyteidl.service.IOAuth2MetadataRequest, callback: flyteidl.service.AuthMetadataService.GetOAuth2MetadataCallback): void;
19882
+ /** CreateDownloadLinkRequest expiresIn */
19883
+ expiresIn?: (google.protobuf.IDuration|null);
19884
+
19885
+ /** CreateDownloadLinkRequest nodeExecutionId */
19886
+ nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null);
19887
+ }
19888
+
19889
+ /** Represents a CreateDownloadLinkRequest. */
19890
+ class CreateDownloadLinkRequest implements ICreateDownloadLinkRequest {
19516
19891
 
19517
19892
  /**
19518
- * Calls GetOAuth2Metadata.
19519
- * @param request OAuth2MetadataRequest message or plain object
19520
- * @returns Promise
19893
+ * Constructs a new CreateDownloadLinkRequest.
19894
+ * @param [properties] Properties to set
19521
19895
  */
19522
- public getOAuth2Metadata(request: flyteidl.service.IOAuth2MetadataRequest): Promise<flyteidl.service.OAuth2MetadataResponse>;
19896
+ constructor(properties?: flyteidl.service.ICreateDownloadLinkRequest);
19897
+
19898
+ /** CreateDownloadLinkRequest artifactType. */
19899
+ public artifactType: flyteidl.service.ArtifactType;
19900
+
19901
+ /** CreateDownloadLinkRequest expiresIn. */
19902
+ public expiresIn?: (google.protobuf.IDuration|null);
19903
+
19904
+ /** CreateDownloadLinkRequest nodeExecutionId. */
19905
+ public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null);
19906
+
19907
+ /** CreateDownloadLinkRequest source. */
19908
+ public source?: "nodeExecutionId";
19523
19909
 
19524
19910
  /**
19525
- * Calls GetPublicClientConfig.
19526
- * @param request PublicClientAuthConfigRequest message or plain object
19527
- * @param callback Node-style callback called with the error, if any, and PublicClientAuthConfigResponse
19911
+ * Creates a new CreateDownloadLinkRequest instance using the specified properties.
19912
+ * @param [properties] Properties to set
19913
+ * @returns CreateDownloadLinkRequest instance
19528
19914
  */
19529
- public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest, callback: flyteidl.service.AuthMetadataService.GetPublicClientConfigCallback): void;
19915
+ public static create(properties?: flyteidl.service.ICreateDownloadLinkRequest): flyteidl.service.CreateDownloadLinkRequest;
19530
19916
 
19531
19917
  /**
19532
- * Calls GetPublicClientConfig.
19533
- * @param request PublicClientAuthConfigRequest message or plain object
19534
- * @returns Promise
19918
+ * Encodes the specified CreateDownloadLinkRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkRequest.verify|verify} messages.
19919
+ * @param message CreateDownloadLinkRequest message or plain object to encode
19920
+ * @param [writer] Writer to encode to
19921
+ * @returns Writer
19535
19922
  */
19536
- public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest): Promise<flyteidl.service.PublicClientAuthConfigResponse>;
19537
- }
19538
-
19539
- namespace AuthMetadataService {
19923
+ public static encode(message: flyteidl.service.ICreateDownloadLinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19540
19924
 
19541
19925
  /**
19542
- * Callback as used by {@link flyteidl.service.AuthMetadataService#getOAuth2Metadata}.
19543
- * @param error Error, if any
19544
- * @param [response] OAuth2MetadataResponse
19926
+ * Decodes a CreateDownloadLinkRequest message from the specified reader or buffer.
19927
+ * @param reader Reader or buffer to decode from
19928
+ * @param [length] Message length if known beforehand
19929
+ * @returns CreateDownloadLinkRequest
19930
+ * @throws {Error} If the payload is not a reader or valid buffer
19931
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19545
19932
  */
19546
- type GetOAuth2MetadataCallback = (error: (Error|null), response?: flyteidl.service.OAuth2MetadataResponse) => void;
19933
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLinkRequest;
19547
19934
 
19548
19935
  /**
19549
- * Callback as used by {@link flyteidl.service.AuthMetadataService#getPublicClientConfig}.
19550
- * @param error Error, if any
19551
- * @param [response] PublicClientAuthConfigResponse
19936
+ * Verifies a CreateDownloadLinkRequest message.
19937
+ * @param message Plain object to verify
19938
+ * @returns `null` if valid, otherwise the reason why it is not
19552
19939
  */
19553
- type GetPublicClientConfigCallback = (error: (Error|null), response?: flyteidl.service.PublicClientAuthConfigResponse) => void;
19940
+ public static verify(message: { [k: string]: any }): (string|null);
19554
19941
  }
19555
19942
 
19556
- /** Properties of a CreateUploadLocationResponse. */
19557
- interface ICreateUploadLocationResponse {
19943
+ /** Properties of a CreateDownloadLinkResponse. */
19944
+ interface ICreateDownloadLinkResponse {
19558
19945
 
19559
- /** CreateUploadLocationResponse signedUrl */
19560
- signedUrl?: (string|null);
19561
-
19562
- /** CreateUploadLocationResponse nativeUrl */
19563
- nativeUrl?: (string|null);
19946
+ /** CreateDownloadLinkResponse signedUrl */
19947
+ signedUrl?: (string[]|null);
19564
19948
 
19565
- /** CreateUploadLocationResponse expiresAt */
19949
+ /** CreateDownloadLinkResponse expiresAt */
19566
19950
  expiresAt?: (google.protobuf.ITimestamp|null);
19951
+
19952
+ /** CreateDownloadLinkResponse preSignedUrls */
19953
+ preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
19567
19954
  }
19568
19955
 
19569
- /** Represents a CreateUploadLocationResponse. */
19570
- class CreateUploadLocationResponse implements ICreateUploadLocationResponse {
19956
+ /** Represents a CreateDownloadLinkResponse. */
19957
+ class CreateDownloadLinkResponse implements ICreateDownloadLinkResponse {
19571
19958
 
19572
19959
  /**
19573
- * Constructs a new CreateUploadLocationResponse.
19960
+ * Constructs a new CreateDownloadLinkResponse.
19574
19961
  * @param [properties] Properties to set
19575
19962
  */
19576
- constructor(properties?: flyteidl.service.ICreateUploadLocationResponse);
19577
-
19578
- /** CreateUploadLocationResponse signedUrl. */
19579
- public signedUrl: string;
19963
+ constructor(properties?: flyteidl.service.ICreateDownloadLinkResponse);
19580
19964
 
19581
- /** CreateUploadLocationResponse nativeUrl. */
19582
- public nativeUrl: string;
19965
+ /** CreateDownloadLinkResponse signedUrl. */
19966
+ public signedUrl: string[];
19583
19967
 
19584
- /** CreateUploadLocationResponse expiresAt. */
19968
+ /** CreateDownloadLinkResponse expiresAt. */
19585
19969
  public expiresAt?: (google.protobuf.ITimestamp|null);
19586
19970
 
19971
+ /** CreateDownloadLinkResponse preSignedUrls. */
19972
+ public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
19973
+
19587
19974
  /**
19588
- * Creates a new CreateUploadLocationResponse instance using the specified properties.
19975
+ * Creates a new CreateDownloadLinkResponse instance using the specified properties.
19589
19976
  * @param [properties] Properties to set
19590
- * @returns CreateUploadLocationResponse instance
19977
+ * @returns CreateDownloadLinkResponse instance
19591
19978
  */
19592
- public static create(properties?: flyteidl.service.ICreateUploadLocationResponse): flyteidl.service.CreateUploadLocationResponse;
19979
+ public static create(properties?: flyteidl.service.ICreateDownloadLinkResponse): flyteidl.service.CreateDownloadLinkResponse;
19593
19980
 
19594
19981
  /**
19595
- * Encodes the specified CreateUploadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateUploadLocationResponse.verify|verify} messages.
19596
- * @param message CreateUploadLocationResponse message or plain object to encode
19982
+ * Encodes the specified CreateDownloadLinkResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkResponse.verify|verify} messages.
19983
+ * @param message CreateDownloadLinkResponse message or plain object to encode
19597
19984
  * @param [writer] Writer to encode to
19598
19985
  * @returns Writer
19599
19986
  */
19600
- public static encode(message: flyteidl.service.ICreateUploadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19987
+ public static encode(message: flyteidl.service.ICreateDownloadLinkResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19601
19988
 
19602
19989
  /**
19603
- * Decodes a CreateUploadLocationResponse message from the specified reader or buffer.
19990
+ * Decodes a CreateDownloadLinkResponse message from the specified reader or buffer.
19604
19991
  * @param reader Reader or buffer to decode from
19605
19992
  * @param [length] Message length if known beforehand
19606
- * @returns CreateUploadLocationResponse
19993
+ * @returns CreateDownloadLinkResponse
19607
19994
  * @throws {Error} If the payload is not a reader or valid buffer
19608
19995
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19609
19996
  */
19610
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateUploadLocationResponse;
19997
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLinkResponse;
19611
19998
 
19612
19999
  /**
19613
- * Verifies a CreateUploadLocationResponse message.
20000
+ * Verifies a CreateDownloadLinkResponse message.
19614
20001
  * @param message Plain object to verify
19615
20002
  * @returns `null` if valid, otherwise the reason why it is not
19616
20003
  */
19617
20004
  public static verify(message: { [k: string]: any }): (string|null);
19618
20005
  }
19619
20006
 
19620
- /** Properties of a CreateUploadLocationRequest. */
19621
- interface ICreateUploadLocationRequest {
19622
-
19623
- /** CreateUploadLocationRequest project */
19624
- project?: (string|null);
19625
-
19626
- /** CreateUploadLocationRequest domain */
19627
- domain?: (string|null);
19628
-
19629
- /** CreateUploadLocationRequest filename */
19630
- filename?: (string|null);
20007
+ /** Properties of a PreSignedURLs. */
20008
+ interface IPreSignedURLs {
19631
20009
 
19632
- /** CreateUploadLocationRequest expiresIn */
19633
- expiresIn?: (google.protobuf.IDuration|null);
20010
+ /** PreSignedURLs signedUrl */
20011
+ signedUrl?: (string[]|null);
19634
20012
 
19635
- /** CreateUploadLocationRequest contentMd5 */
19636
- contentMd5?: (Uint8Array|null);
20013
+ /** PreSignedURLs expiresAt */
20014
+ expiresAt?: (google.protobuf.ITimestamp|null);
19637
20015
  }
19638
20016
 
19639
- /** Represents a CreateUploadLocationRequest. */
19640
- class CreateUploadLocationRequest implements ICreateUploadLocationRequest {
20017
+ /** Represents a PreSignedURLs. */
20018
+ class PreSignedURLs implements IPreSignedURLs {
19641
20019
 
19642
20020
  /**
19643
- * Constructs a new CreateUploadLocationRequest.
20021
+ * Constructs a new PreSignedURLs.
19644
20022
  * @param [properties] Properties to set
19645
20023
  */
19646
- constructor(properties?: flyteidl.service.ICreateUploadLocationRequest);
19647
-
19648
- /** CreateUploadLocationRequest project. */
19649
- public project: string;
19650
-
19651
- /** CreateUploadLocationRequest domain. */
19652
- public domain: string;
19653
-
19654
- /** CreateUploadLocationRequest filename. */
19655
- public filename: string;
20024
+ constructor(properties?: flyteidl.service.IPreSignedURLs);
19656
20025
 
19657
- /** CreateUploadLocationRequest expiresIn. */
19658
- public expiresIn?: (google.protobuf.IDuration|null);
20026
+ /** PreSignedURLs signedUrl. */
20027
+ public signedUrl: string[];
19659
20028
 
19660
- /** CreateUploadLocationRequest contentMd5. */
19661
- public contentMd5: Uint8Array;
20029
+ /** PreSignedURLs expiresAt. */
20030
+ public expiresAt?: (google.protobuf.ITimestamp|null);
19662
20031
 
19663
20032
  /**
19664
- * Creates a new CreateUploadLocationRequest instance using the specified properties.
20033
+ * Creates a new PreSignedURLs instance using the specified properties.
19665
20034
  * @param [properties] Properties to set
19666
- * @returns CreateUploadLocationRequest instance
20035
+ * @returns PreSignedURLs instance
19667
20036
  */
19668
- public static create(properties?: flyteidl.service.ICreateUploadLocationRequest): flyteidl.service.CreateUploadLocationRequest;
20037
+ public static create(properties?: flyteidl.service.IPreSignedURLs): flyteidl.service.PreSignedURLs;
19669
20038
 
19670
20039
  /**
19671
- * Encodes the specified CreateUploadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateUploadLocationRequest.verify|verify} messages.
19672
- * @param message CreateUploadLocationRequest message or plain object to encode
20040
+ * Encodes the specified PreSignedURLs message. Does not implicitly {@link flyteidl.service.PreSignedURLs.verify|verify} messages.
20041
+ * @param message PreSignedURLs message or plain object to encode
19673
20042
  * @param [writer] Writer to encode to
19674
20043
  * @returns Writer
19675
20044
  */
19676
- public static encode(message: flyteidl.service.ICreateUploadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20045
+ public static encode(message: flyteidl.service.IPreSignedURLs, writer?: $protobuf.Writer): $protobuf.Writer;
19677
20046
 
19678
20047
  /**
19679
- * Decodes a CreateUploadLocationRequest message from the specified reader or buffer.
20048
+ * Decodes a PreSignedURLs message from the specified reader or buffer.
19680
20049
  * @param reader Reader or buffer to decode from
19681
20050
  * @param [length] Message length if known beforehand
19682
- * @returns CreateUploadLocationRequest
20051
+ * @returns PreSignedURLs
19683
20052
  * @throws {Error} If the payload is not a reader or valid buffer
19684
20053
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19685
20054
  */
19686
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateUploadLocationRequest;
20055
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PreSignedURLs;
19687
20056
 
19688
20057
  /**
19689
- * Verifies a CreateUploadLocationRequest message.
20058
+ * Verifies a PreSignedURLs message.
19690
20059
  * @param message Plain object to verify
19691
20060
  * @returns `null` if valid, otherwise the reason why it is not
19692
20061
  */
19693
20062
  public static verify(message: { [k: string]: any }): (string|null);
19694
20063
  }
19695
20064
 
19696
- /** Properties of a CreateDownloadLocationRequest. */
19697
- interface ICreateDownloadLocationRequest {
19698
-
19699
- /** CreateDownloadLocationRequest nativeUrl */
19700
- nativeUrl?: (string|null);
20065
+ /** Properties of a GetDataRequest. */
20066
+ interface IGetDataRequest {
19701
20067
 
19702
- /** CreateDownloadLocationRequest expiresIn */
19703
- expiresIn?: (google.protobuf.IDuration|null);
20068
+ /** GetDataRequest flyteUrl */
20069
+ flyteUrl?: (string|null);
19704
20070
  }
19705
20071
 
19706
- /** Represents a CreateDownloadLocationRequest. */
19707
- class CreateDownloadLocationRequest implements ICreateDownloadLocationRequest {
20072
+ /** Represents a GetDataRequest. */
20073
+ class GetDataRequest implements IGetDataRequest {
19708
20074
 
19709
20075
  /**
19710
- * Constructs a new CreateDownloadLocationRequest.
20076
+ * Constructs a new GetDataRequest.
19711
20077
  * @param [properties] Properties to set
19712
20078
  */
19713
- constructor(properties?: flyteidl.service.ICreateDownloadLocationRequest);
19714
-
19715
- /** CreateDownloadLocationRequest nativeUrl. */
19716
- public nativeUrl: string;
20079
+ constructor(properties?: flyteidl.service.IGetDataRequest);
19717
20080
 
19718
- /** CreateDownloadLocationRequest expiresIn. */
19719
- public expiresIn?: (google.protobuf.IDuration|null);
20081
+ /** GetDataRequest flyteUrl. */
20082
+ public flyteUrl: string;
19720
20083
 
19721
20084
  /**
19722
- * Creates a new CreateDownloadLocationRequest instance using the specified properties.
20085
+ * Creates a new GetDataRequest instance using the specified properties.
19723
20086
  * @param [properties] Properties to set
19724
- * @returns CreateDownloadLocationRequest instance
20087
+ * @returns GetDataRequest instance
19725
20088
  */
19726
- public static create(properties?: flyteidl.service.ICreateDownloadLocationRequest): flyteidl.service.CreateDownloadLocationRequest;
20089
+ public static create(properties?: flyteidl.service.IGetDataRequest): flyteidl.service.GetDataRequest;
19727
20090
 
19728
20091
  /**
19729
- * Encodes the specified CreateDownloadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationRequest.verify|verify} messages.
19730
- * @param message CreateDownloadLocationRequest message or plain object to encode
20092
+ * Encodes the specified GetDataRequest message. Does not implicitly {@link flyteidl.service.GetDataRequest.verify|verify} messages.
20093
+ * @param message GetDataRequest message or plain object to encode
19731
20094
  * @param [writer] Writer to encode to
19732
20095
  * @returns Writer
19733
20096
  */
19734
- public static encode(message: flyteidl.service.ICreateDownloadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20097
+ public static encode(message: flyteidl.service.IGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19735
20098
 
19736
20099
  /**
19737
- * Decodes a CreateDownloadLocationRequest message from the specified reader or buffer.
20100
+ * Decodes a GetDataRequest message from the specified reader or buffer.
19738
20101
  * @param reader Reader or buffer to decode from
19739
20102
  * @param [length] Message length if known beforehand
19740
- * @returns CreateDownloadLocationRequest
20103
+ * @returns GetDataRequest
19741
20104
  * @throws {Error} If the payload is not a reader or valid buffer
19742
20105
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19743
20106
  */
19744
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLocationRequest;
20107
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataRequest;
19745
20108
 
19746
20109
  /**
19747
- * Verifies a CreateDownloadLocationRequest message.
20110
+ * Verifies a GetDataRequest message.
19748
20111
  * @param message Plain object to verify
19749
20112
  * @returns `null` if valid, otherwise the reason why it is not
19750
20113
  */
19751
20114
  public static verify(message: { [k: string]: any }): (string|null);
19752
20115
  }
19753
20116
 
19754
- /** Properties of a CreateDownloadLocationResponse. */
19755
- interface ICreateDownloadLocationResponse {
20117
+ /** Properties of a GetDataResponse. */
20118
+ interface IGetDataResponse {
19756
20119
 
19757
- /** CreateDownloadLocationResponse signedUrl */
19758
- signedUrl?: (string|null);
20120
+ /** GetDataResponse literalMap */
20121
+ literalMap?: (flyteidl.core.ILiteralMap|null);
19759
20122
 
19760
- /** CreateDownloadLocationResponse expiresAt */
19761
- expiresAt?: (google.protobuf.ITimestamp|null);
20123
+ /** GetDataResponse preSignedUrls */
20124
+ preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
20125
+
20126
+ /** GetDataResponse literal */
20127
+ literal?: (flyteidl.core.ILiteral|null);
19762
20128
  }
19763
20129
 
19764
- /** Represents a CreateDownloadLocationResponse. */
19765
- class CreateDownloadLocationResponse implements ICreateDownloadLocationResponse {
20130
+ /** Represents a GetDataResponse. */
20131
+ class GetDataResponse implements IGetDataResponse {
19766
20132
 
19767
20133
  /**
19768
- * Constructs a new CreateDownloadLocationResponse.
20134
+ * Constructs a new GetDataResponse.
19769
20135
  * @param [properties] Properties to set
19770
20136
  */
19771
- constructor(properties?: flyteidl.service.ICreateDownloadLocationResponse);
20137
+ constructor(properties?: flyteidl.service.IGetDataResponse);
19772
20138
 
19773
- /** CreateDownloadLocationResponse signedUrl. */
19774
- public signedUrl: string;
20139
+ /** GetDataResponse literalMap. */
20140
+ public literalMap?: (flyteidl.core.ILiteralMap|null);
19775
20141
 
19776
- /** CreateDownloadLocationResponse expiresAt. */
19777
- public expiresAt?: (google.protobuf.ITimestamp|null);
20142
+ /** GetDataResponse preSignedUrls. */
20143
+ public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
20144
+
20145
+ /** GetDataResponse literal. */
20146
+ public literal?: (flyteidl.core.ILiteral|null);
20147
+
20148
+ /** GetDataResponse data. */
20149
+ public data?: ("literalMap"|"preSignedUrls"|"literal");
19778
20150
 
19779
20151
  /**
19780
- * Creates a new CreateDownloadLocationResponse instance using the specified properties.
20152
+ * Creates a new GetDataResponse instance using the specified properties.
19781
20153
  * @param [properties] Properties to set
19782
- * @returns CreateDownloadLocationResponse instance
20154
+ * @returns GetDataResponse instance
19783
20155
  */
19784
- public static create(properties?: flyteidl.service.ICreateDownloadLocationResponse): flyteidl.service.CreateDownloadLocationResponse;
20156
+ public static create(properties?: flyteidl.service.IGetDataResponse): flyteidl.service.GetDataResponse;
19785
20157
 
19786
20158
  /**
19787
- * Encodes the specified CreateDownloadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationResponse.verify|verify} messages.
19788
- * @param message CreateDownloadLocationResponse message or plain object to encode
20159
+ * Encodes the specified GetDataResponse message. Does not implicitly {@link flyteidl.service.GetDataResponse.verify|verify} messages.
20160
+ * @param message GetDataResponse message or plain object to encode
19789
20161
  * @param [writer] Writer to encode to
19790
20162
  * @returns Writer
19791
20163
  */
19792
- public static encode(message: flyteidl.service.ICreateDownloadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20164
+ public static encode(message: flyteidl.service.IGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19793
20165
 
19794
20166
  /**
19795
- * Decodes a CreateDownloadLocationResponse message from the specified reader or buffer.
20167
+ * Decodes a GetDataResponse message from the specified reader or buffer.
19796
20168
  * @param reader Reader or buffer to decode from
19797
20169
  * @param [length] Message length if known beforehand
19798
- * @returns CreateDownloadLocationResponse
20170
+ * @returns GetDataResponse
19799
20171
  * @throws {Error} If the payload is not a reader or valid buffer
19800
20172
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19801
20173
  */
19802
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLocationResponse;
20174
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataResponse;
19803
20175
 
19804
20176
  /**
19805
- * Verifies a CreateDownloadLocationResponse message.
20177
+ * Verifies a GetDataResponse message.
19806
20178
  * @param message Plain object to verify
19807
20179
  * @returns `null` if valid, otherwise the reason why it is not
19808
20180
  */
19809
20181
  public static verify(message: { [k: string]: any }): (string|null);
19810
20182
  }
19811
20183
 
19812
- /** ArtifactType enum. */
19813
- enum ArtifactType {
19814
- ARTIFACT_TYPE_UNDEFINED = 0,
19815
- ARTIFACT_TYPE_DECK = 1
19816
- }
19817
-
19818
- /** Properties of a CreateDownloadLinkRequest. */
19819
- interface ICreateDownloadLinkRequest {
19820
-
19821
- /** CreateDownloadLinkRequest artifactType */
19822
- artifactType?: (flyteidl.service.ArtifactType|null);
19823
-
19824
- /** CreateDownloadLinkRequest expiresIn */
19825
- expiresIn?: (google.protobuf.IDuration|null);
19826
-
19827
- /** CreateDownloadLinkRequest nodeExecutionId */
19828
- nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null);
19829
- }
19830
-
19831
- /** Represents a CreateDownloadLinkRequest. */
19832
- class CreateDownloadLinkRequest implements ICreateDownloadLinkRequest {
20184
+ /** Represents a DataProxyService */
20185
+ class DataProxyService extends $protobuf.rpc.Service {
19833
20186
 
19834
20187
  /**
19835
- * Constructs a new CreateDownloadLinkRequest.
19836
- * @param [properties] Properties to set
20188
+ * Constructs a new DataProxyService service.
20189
+ * @param rpcImpl RPC implementation
20190
+ * @param [requestDelimited=false] Whether requests are length-delimited
20191
+ * @param [responseDelimited=false] Whether responses are length-delimited
19837
20192
  */
19838
- constructor(properties?: flyteidl.service.ICreateDownloadLinkRequest);
19839
-
19840
- /** CreateDownloadLinkRequest artifactType. */
19841
- public artifactType: flyteidl.service.ArtifactType;
20193
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
19842
20194
 
19843
- /** CreateDownloadLinkRequest expiresIn. */
19844
- public expiresIn?: (google.protobuf.IDuration|null);
20195
+ /**
20196
+ * Creates new DataProxyService service using the specified rpc implementation.
20197
+ * @param rpcImpl RPC implementation
20198
+ * @param [requestDelimited=false] Whether requests are length-delimited
20199
+ * @param [responseDelimited=false] Whether responses are length-delimited
20200
+ * @returns RPC service. Useful where requests and/or responses are streamed.
20201
+ */
20202
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DataProxyService;
19845
20203
 
19846
- /** CreateDownloadLinkRequest nodeExecutionId. */
19847
- public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null);
20204
+ /**
20205
+ * Calls CreateUploadLocation.
20206
+ * @param request CreateUploadLocationRequest message or plain object
20207
+ * @param callback Node-style callback called with the error, if any, and CreateUploadLocationResponse
20208
+ */
20209
+ public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest, callback: flyteidl.service.DataProxyService.CreateUploadLocationCallback): void;
19848
20210
 
19849
- /** CreateDownloadLinkRequest source. */
19850
- public source?: "nodeExecutionId";
20211
+ /**
20212
+ * Calls CreateUploadLocation.
20213
+ * @param request CreateUploadLocationRequest message or plain object
20214
+ * @returns Promise
20215
+ */
20216
+ public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest): Promise<flyteidl.service.CreateUploadLocationResponse>;
19851
20217
 
19852
20218
  /**
19853
- * Creates a new CreateDownloadLinkRequest instance using the specified properties.
19854
- * @param [properties] Properties to set
19855
- * @returns CreateDownloadLinkRequest instance
20219
+ * Calls CreateDownloadLocation.
20220
+ * @param request CreateDownloadLocationRequest message or plain object
20221
+ * @param callback Node-style callback called with the error, if any, and CreateDownloadLocationResponse
19856
20222
  */
19857
- public static create(properties?: flyteidl.service.ICreateDownloadLinkRequest): flyteidl.service.CreateDownloadLinkRequest;
20223
+ public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLocationCallback): void;
19858
20224
 
19859
20225
  /**
19860
- * Encodes the specified CreateDownloadLinkRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkRequest.verify|verify} messages.
19861
- * @param message CreateDownloadLinkRequest message or plain object to encode
19862
- * @param [writer] Writer to encode to
19863
- * @returns Writer
20226
+ * Calls CreateDownloadLocation.
20227
+ * @param request CreateDownloadLocationRequest message or plain object
20228
+ * @returns Promise
19864
20229
  */
19865
- public static encode(message: flyteidl.service.ICreateDownloadLinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20230
+ public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest): Promise<flyteidl.service.CreateDownloadLocationResponse>;
19866
20231
 
19867
20232
  /**
19868
- * Decodes a CreateDownloadLinkRequest message from the specified reader or buffer.
19869
- * @param reader Reader or buffer to decode from
19870
- * @param [length] Message length if known beforehand
19871
- * @returns CreateDownloadLinkRequest
19872
- * @throws {Error} If the payload is not a reader or valid buffer
19873
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
20233
+ * Calls CreateDownloadLink.
20234
+ * @param request CreateDownloadLinkRequest message or plain object
20235
+ * @param callback Node-style callback called with the error, if any, and CreateDownloadLinkResponse
19874
20236
  */
19875
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLinkRequest;
20237
+ public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLinkCallback): void;
19876
20238
 
19877
20239
  /**
19878
- * Verifies a CreateDownloadLinkRequest message.
19879
- * @param message Plain object to verify
19880
- * @returns `null` if valid, otherwise the reason why it is not
20240
+ * Calls CreateDownloadLink.
20241
+ * @param request CreateDownloadLinkRequest message or plain object
20242
+ * @returns Promise
19881
20243
  */
19882
- public static verify(message: { [k: string]: any }): (string|null);
20244
+ public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest): Promise<flyteidl.service.CreateDownloadLinkResponse>;
20245
+
20246
+ /**
20247
+ * Calls GetData.
20248
+ * @param request GetDataRequest message or plain object
20249
+ * @param callback Node-style callback called with the error, if any, and GetDataResponse
20250
+ */
20251
+ public getData(request: flyteidl.service.IGetDataRequest, callback: flyteidl.service.DataProxyService.GetDataCallback): void;
20252
+
20253
+ /**
20254
+ * Calls GetData.
20255
+ * @param request GetDataRequest message or plain object
20256
+ * @returns Promise
20257
+ */
20258
+ public getData(request: flyteidl.service.IGetDataRequest): Promise<flyteidl.service.GetDataResponse>;
19883
20259
  }
19884
20260
 
19885
- /** Properties of a CreateDownloadLinkResponse. */
19886
- interface ICreateDownloadLinkResponse {
20261
+ namespace DataProxyService {
19887
20262
 
19888
- /** CreateDownloadLinkResponse signedUrl */
19889
- signedUrl?: (string[]|null);
20263
+ /**
20264
+ * Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}.
20265
+ * @param error Error, if any
20266
+ * @param [response] CreateUploadLocationResponse
20267
+ */
20268
+ type CreateUploadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateUploadLocationResponse) => void;
19890
20269
 
19891
- /** CreateDownloadLinkResponse expiresAt */
19892
- expiresAt?: (google.protobuf.ITimestamp|null);
20270
+ /**
20271
+ * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLocation}.
20272
+ * @param error Error, if any
20273
+ * @param [response] CreateDownloadLocationResponse
20274
+ */
20275
+ type CreateDownloadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLocationResponse) => void;
19893
20276
 
19894
- /** CreateDownloadLinkResponse preSignedUrls */
19895
- preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
20277
+ /**
20278
+ * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLink}.
20279
+ * @param error Error, if any
20280
+ * @param [response] CreateDownloadLinkResponse
20281
+ */
20282
+ type CreateDownloadLinkCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLinkResponse) => void;
20283
+
20284
+ /**
20285
+ * Callback as used by {@link flyteidl.service.DataProxyService#getData}.
20286
+ * @param error Error, if any
20287
+ * @param [response] GetDataResponse
20288
+ */
20289
+ type GetDataCallback = (error: (Error|null), response?: flyteidl.service.GetDataResponse) => void;
19896
20290
  }
19897
20291
 
19898
- /** Represents a CreateDownloadLinkResponse. */
19899
- class CreateDownloadLinkResponse implements ICreateDownloadLinkResponse {
20292
+ /** Represents an ExternalPluginService */
20293
+ class ExternalPluginService extends $protobuf.rpc.Service {
19900
20294
 
19901
20295
  /**
19902
- * Constructs a new CreateDownloadLinkResponse.
20296
+ * Constructs a new ExternalPluginService service.
20297
+ * @param rpcImpl RPC implementation
20298
+ * @param [requestDelimited=false] Whether requests are length-delimited
20299
+ * @param [responseDelimited=false] Whether responses are length-delimited
20300
+ */
20301
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
20302
+
20303
+ /**
20304
+ * Creates new ExternalPluginService service using the specified rpc implementation.
20305
+ * @param rpcImpl RPC implementation
20306
+ * @param [requestDelimited=false] Whether requests are length-delimited
20307
+ * @param [responseDelimited=false] Whether responses are length-delimited
20308
+ * @returns RPC service. Useful where requests and/or responses are streamed.
20309
+ */
20310
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ExternalPluginService;
20311
+
20312
+ /**
20313
+ * Calls CreateTask.
20314
+ * @param request TaskCreateRequest message or plain object
20315
+ * @param callback Node-style callback called with the error, if any, and TaskCreateResponse
20316
+ */
20317
+ public createTask(request: flyteidl.service.ITaskCreateRequest, callback: flyteidl.service.ExternalPluginService.CreateTaskCallback): void;
20318
+
20319
+ /**
20320
+ * Calls CreateTask.
20321
+ * @param request TaskCreateRequest message or plain object
20322
+ * @returns Promise
20323
+ */
20324
+ public createTask(request: flyteidl.service.ITaskCreateRequest): Promise<flyteidl.service.TaskCreateResponse>;
20325
+
20326
+ /**
20327
+ * Calls GetTask.
20328
+ * @param request TaskGetRequest message or plain object
20329
+ * @param callback Node-style callback called with the error, if any, and TaskGetResponse
20330
+ */
20331
+ public getTask(request: flyteidl.service.ITaskGetRequest, callback: flyteidl.service.ExternalPluginService.GetTaskCallback): void;
20332
+
20333
+ /**
20334
+ * Calls GetTask.
20335
+ * @param request TaskGetRequest message or plain object
20336
+ * @returns Promise
20337
+ */
20338
+ public getTask(request: flyteidl.service.ITaskGetRequest): Promise<flyteidl.service.TaskGetResponse>;
20339
+
20340
+ /**
20341
+ * Calls DeleteTask.
20342
+ * @param request TaskDeleteRequest message or plain object
20343
+ * @param callback Node-style callback called with the error, if any, and TaskDeleteResponse
20344
+ */
20345
+ public deleteTask(request: flyteidl.service.ITaskDeleteRequest, callback: flyteidl.service.ExternalPluginService.DeleteTaskCallback): void;
20346
+
20347
+ /**
20348
+ * Calls DeleteTask.
20349
+ * @param request TaskDeleteRequest message or plain object
20350
+ * @returns Promise
20351
+ */
20352
+ public deleteTask(request: flyteidl.service.ITaskDeleteRequest): Promise<flyteidl.service.TaskDeleteResponse>;
20353
+ }
20354
+
20355
+ namespace ExternalPluginService {
20356
+
20357
+ /**
20358
+ * Callback as used by {@link flyteidl.service.ExternalPluginService#createTask}.
20359
+ * @param error Error, if any
20360
+ * @param [response] TaskCreateResponse
20361
+ */
20362
+ type CreateTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskCreateResponse) => void;
20363
+
20364
+ /**
20365
+ * Callback as used by {@link flyteidl.service.ExternalPluginService#getTask}.
20366
+ * @param error Error, if any
20367
+ * @param [response] TaskGetResponse
20368
+ */
20369
+ type GetTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskGetResponse) => void;
20370
+
20371
+ /**
20372
+ * Callback as used by {@link flyteidl.service.ExternalPluginService#deleteTask}.
20373
+ * @param error Error, if any
20374
+ * @param [response] TaskDeleteResponse
20375
+ */
20376
+ type DeleteTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskDeleteResponse) => void;
20377
+ }
20378
+
20379
+ /** State enum. */
20380
+ enum State {
20381
+ RETRYABLE_FAILURE = 0,
20382
+ PERMANENT_FAILURE = 1,
20383
+ PENDING = 2,
20384
+ RUNNING = 3,
20385
+ SUCCEEDED = 4
20386
+ }
20387
+
20388
+ /** Properties of a TaskCreateRequest. */
20389
+ interface ITaskCreateRequest {
20390
+
20391
+ /** TaskCreateRequest inputs */
20392
+ inputs?: (flyteidl.core.ILiteralMap|null);
20393
+
20394
+ /** TaskCreateRequest template */
20395
+ template?: (flyteidl.core.ITaskTemplate|null);
20396
+
20397
+ /** TaskCreateRequest outputPrefix */
20398
+ outputPrefix?: (string|null);
20399
+ }
20400
+
20401
+ /** Represents a TaskCreateRequest. */
20402
+ class TaskCreateRequest implements ITaskCreateRequest {
20403
+
20404
+ /**
20405
+ * Constructs a new TaskCreateRequest.
19903
20406
  * @param [properties] Properties to set
19904
20407
  */
19905
- constructor(properties?: flyteidl.service.ICreateDownloadLinkResponse);
20408
+ constructor(properties?: flyteidl.service.ITaskCreateRequest);
19906
20409
 
19907
- /** CreateDownloadLinkResponse signedUrl. */
19908
- public signedUrl: string[];
20410
+ /** TaskCreateRequest inputs. */
20411
+ public inputs?: (flyteidl.core.ILiteralMap|null);
19909
20412
 
19910
- /** CreateDownloadLinkResponse expiresAt. */
19911
- public expiresAt?: (google.protobuf.ITimestamp|null);
20413
+ /** TaskCreateRequest template. */
20414
+ public template?: (flyteidl.core.ITaskTemplate|null);
19912
20415
 
19913
- /** CreateDownloadLinkResponse preSignedUrls. */
19914
- public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
20416
+ /** TaskCreateRequest outputPrefix. */
20417
+ public outputPrefix: string;
19915
20418
 
19916
20419
  /**
19917
- * Creates a new CreateDownloadLinkResponse instance using the specified properties.
20420
+ * Creates a new TaskCreateRequest instance using the specified properties.
19918
20421
  * @param [properties] Properties to set
19919
- * @returns CreateDownloadLinkResponse instance
20422
+ * @returns TaskCreateRequest instance
19920
20423
  */
19921
- public static create(properties?: flyteidl.service.ICreateDownloadLinkResponse): flyteidl.service.CreateDownloadLinkResponse;
20424
+ public static create(properties?: flyteidl.service.ITaskCreateRequest): flyteidl.service.TaskCreateRequest;
19922
20425
 
19923
20426
  /**
19924
- * Encodes the specified CreateDownloadLinkResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkResponse.verify|verify} messages.
19925
- * @param message CreateDownloadLinkResponse message or plain object to encode
20427
+ * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.service.TaskCreateRequest.verify|verify} messages.
20428
+ * @param message TaskCreateRequest message or plain object to encode
19926
20429
  * @param [writer] Writer to encode to
19927
20430
  * @returns Writer
19928
20431
  */
19929
- public static encode(message: flyteidl.service.ICreateDownloadLinkResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20432
+ public static encode(message: flyteidl.service.ITaskCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19930
20433
 
19931
20434
  /**
19932
- * Decodes a CreateDownloadLinkResponse message from the specified reader or buffer.
20435
+ * Decodes a TaskCreateRequest message from the specified reader or buffer.
19933
20436
  * @param reader Reader or buffer to decode from
19934
20437
  * @param [length] Message length if known beforehand
19935
- * @returns CreateDownloadLinkResponse
20438
+ * @returns TaskCreateRequest
19936
20439
  * @throws {Error} If the payload is not a reader or valid buffer
19937
20440
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19938
20441
  */
19939
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLinkResponse;
20442
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskCreateRequest;
19940
20443
 
19941
20444
  /**
19942
- * Verifies a CreateDownloadLinkResponse message.
20445
+ * Verifies a TaskCreateRequest message.
19943
20446
  * @param message Plain object to verify
19944
20447
  * @returns `null` if valid, otherwise the reason why it is not
19945
20448
  */
19946
20449
  public static verify(message: { [k: string]: any }): (string|null);
19947
20450
  }
19948
20451
 
19949
- /** Properties of a PreSignedURLs. */
19950
- interface IPreSignedURLs {
19951
-
19952
- /** PreSignedURLs signedUrl */
19953
- signedUrl?: (string[]|null);
20452
+ /** Properties of a TaskCreateResponse. */
20453
+ interface ITaskCreateResponse {
19954
20454
 
19955
- /** PreSignedURLs expiresAt */
19956
- expiresAt?: (google.protobuf.ITimestamp|null);
20455
+ /** TaskCreateResponse jobId */
20456
+ jobId?: (string|null);
19957
20457
  }
19958
20458
 
19959
- /** Represents a PreSignedURLs. */
19960
- class PreSignedURLs implements IPreSignedURLs {
20459
+ /** Represents a TaskCreateResponse. */
20460
+ class TaskCreateResponse implements ITaskCreateResponse {
19961
20461
 
19962
20462
  /**
19963
- * Constructs a new PreSignedURLs.
20463
+ * Constructs a new TaskCreateResponse.
19964
20464
  * @param [properties] Properties to set
19965
20465
  */
19966
- constructor(properties?: flyteidl.service.IPreSignedURLs);
19967
-
19968
- /** PreSignedURLs signedUrl. */
19969
- public signedUrl: string[];
20466
+ constructor(properties?: flyteidl.service.ITaskCreateResponse);
19970
20467
 
19971
- /** PreSignedURLs expiresAt. */
19972
- public expiresAt?: (google.protobuf.ITimestamp|null);
20468
+ /** TaskCreateResponse jobId. */
20469
+ public jobId: string;
19973
20470
 
19974
20471
  /**
19975
- * Creates a new PreSignedURLs instance using the specified properties.
20472
+ * Creates a new TaskCreateResponse instance using the specified properties.
19976
20473
  * @param [properties] Properties to set
19977
- * @returns PreSignedURLs instance
20474
+ * @returns TaskCreateResponse instance
19978
20475
  */
19979
- public static create(properties?: flyteidl.service.IPreSignedURLs): flyteidl.service.PreSignedURLs;
20476
+ public static create(properties?: flyteidl.service.ITaskCreateResponse): flyteidl.service.TaskCreateResponse;
19980
20477
 
19981
- /**
19982
- * Encodes the specified PreSignedURLs message. Does not implicitly {@link flyteidl.service.PreSignedURLs.verify|verify} messages.
19983
- * @param message PreSignedURLs message or plain object to encode
20478
+ /**
20479
+ * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.service.TaskCreateResponse.verify|verify} messages.
20480
+ * @param message TaskCreateResponse message or plain object to encode
19984
20481
  * @param [writer] Writer to encode to
19985
20482
  * @returns Writer
19986
20483
  */
19987
- public static encode(message: flyteidl.service.IPreSignedURLs, writer?: $protobuf.Writer): $protobuf.Writer;
20484
+ public static encode(message: flyteidl.service.ITaskCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19988
20485
 
19989
20486
  /**
19990
- * Decodes a PreSignedURLs message from the specified reader or buffer.
20487
+ * Decodes a TaskCreateResponse message from the specified reader or buffer.
19991
20488
  * @param reader Reader or buffer to decode from
19992
20489
  * @param [length] Message length if known beforehand
19993
- * @returns PreSignedURLs
20490
+ * @returns TaskCreateResponse
19994
20491
  * @throws {Error} If the payload is not a reader or valid buffer
19995
20492
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19996
20493
  */
19997
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PreSignedURLs;
20494
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskCreateResponse;
19998
20495
 
19999
20496
  /**
20000
- * Verifies a PreSignedURLs message.
20497
+ * Verifies a TaskCreateResponse message.
20001
20498
  * @param message Plain object to verify
20002
20499
  * @returns `null` if valid, otherwise the reason why it is not
20003
20500
  */
20004
20501
  public static verify(message: { [k: string]: any }): (string|null);
20005
20502
  }
20006
20503
 
20007
- /** Properties of a GetDataRequest. */
20008
- interface IGetDataRequest {
20504
+ /** Properties of a TaskGetRequest. */
20505
+ interface ITaskGetRequest {
20009
20506
 
20010
- /** GetDataRequest flyteUrl */
20011
- flyteUrl?: (string|null);
20507
+ /** TaskGetRequest taskType */
20508
+ taskType?: (string|null);
20509
+
20510
+ /** TaskGetRequest jobId */
20511
+ jobId?: (string|null);
20012
20512
  }
20013
20513
 
20014
- /** Represents a GetDataRequest. */
20015
- class GetDataRequest implements IGetDataRequest {
20514
+ /** Represents a TaskGetRequest. */
20515
+ class TaskGetRequest implements ITaskGetRequest {
20016
20516
 
20017
20517
  /**
20018
- * Constructs a new GetDataRequest.
20518
+ * Constructs a new TaskGetRequest.
20019
20519
  * @param [properties] Properties to set
20020
20520
  */
20021
- constructor(properties?: flyteidl.service.IGetDataRequest);
20521
+ constructor(properties?: flyteidl.service.ITaskGetRequest);
20022
20522
 
20023
- /** GetDataRequest flyteUrl. */
20024
- public flyteUrl: string;
20523
+ /** TaskGetRequest taskType. */
20524
+ public taskType: string;
20525
+
20526
+ /** TaskGetRequest jobId. */
20527
+ public jobId: string;
20025
20528
 
20026
20529
  /**
20027
- * Creates a new GetDataRequest instance using the specified properties.
20530
+ * Creates a new TaskGetRequest instance using the specified properties.
20028
20531
  * @param [properties] Properties to set
20029
- * @returns GetDataRequest instance
20532
+ * @returns TaskGetRequest instance
20030
20533
  */
20031
- public static create(properties?: flyteidl.service.IGetDataRequest): flyteidl.service.GetDataRequest;
20534
+ public static create(properties?: flyteidl.service.ITaskGetRequest): flyteidl.service.TaskGetRequest;
20032
20535
 
20033
20536
  /**
20034
- * Encodes the specified GetDataRequest message. Does not implicitly {@link flyteidl.service.GetDataRequest.verify|verify} messages.
20035
- * @param message GetDataRequest message or plain object to encode
20537
+ * Encodes the specified TaskGetRequest message. Does not implicitly {@link flyteidl.service.TaskGetRequest.verify|verify} messages.
20538
+ * @param message TaskGetRequest message or plain object to encode
20036
20539
  * @param [writer] Writer to encode to
20037
20540
  * @returns Writer
20038
20541
  */
20039
- public static encode(message: flyteidl.service.IGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20542
+ public static encode(message: flyteidl.service.ITaskGetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20040
20543
 
20041
20544
  /**
20042
- * Decodes a GetDataRequest message from the specified reader or buffer.
20545
+ * Decodes a TaskGetRequest message from the specified reader or buffer.
20043
20546
  * @param reader Reader or buffer to decode from
20044
20547
  * @param [length] Message length if known beforehand
20045
- * @returns GetDataRequest
20548
+ * @returns TaskGetRequest
20046
20549
  * @throws {Error} If the payload is not a reader or valid buffer
20047
20550
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20048
20551
  */
20049
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataRequest;
20552
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskGetRequest;
20050
20553
 
20051
20554
  /**
20052
- * Verifies a GetDataRequest message.
20555
+ * Verifies a TaskGetRequest message.
20053
20556
  * @param message Plain object to verify
20054
20557
  * @returns `null` if valid, otherwise the reason why it is not
20055
20558
  */
20056
20559
  public static verify(message: { [k: string]: any }): (string|null);
20057
20560
  }
20058
20561
 
20059
- /** Properties of a GetDataResponse. */
20060
- interface IGetDataResponse {
20061
-
20062
- /** GetDataResponse literalMap */
20063
- literalMap?: (flyteidl.core.ILiteralMap|null);
20562
+ /** Properties of a TaskGetResponse. */
20563
+ interface ITaskGetResponse {
20064
20564
 
20065
- /** GetDataResponse preSignedUrls */
20066
- preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
20565
+ /** TaskGetResponse state */
20566
+ state?: (flyteidl.service.State|null);
20067
20567
 
20068
- /** GetDataResponse literal */
20069
- literal?: (flyteidl.core.ILiteral|null);
20568
+ /** TaskGetResponse outputs */
20569
+ outputs?: (flyteidl.core.ILiteralMap|null);
20070
20570
  }
20071
20571
 
20072
- /** Represents a GetDataResponse. */
20073
- class GetDataResponse implements IGetDataResponse {
20572
+ /** Represents a TaskGetResponse. */
20573
+ class TaskGetResponse implements ITaskGetResponse {
20074
20574
 
20075
20575
  /**
20076
- * Constructs a new GetDataResponse.
20576
+ * Constructs a new TaskGetResponse.
20077
20577
  * @param [properties] Properties to set
20078
20578
  */
20079
- constructor(properties?: flyteidl.service.IGetDataResponse);
20080
-
20081
- /** GetDataResponse literalMap. */
20082
- public literalMap?: (flyteidl.core.ILiteralMap|null);
20083
-
20084
- /** GetDataResponse preSignedUrls. */
20085
- public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
20579
+ constructor(properties?: flyteidl.service.ITaskGetResponse);
20086
20580
 
20087
- /** GetDataResponse literal. */
20088
- public literal?: (flyteidl.core.ILiteral|null);
20581
+ /** TaskGetResponse state. */
20582
+ public state: flyteidl.service.State;
20089
20583
 
20090
- /** GetDataResponse data. */
20091
- public data?: ("literalMap"|"preSignedUrls"|"literal");
20584
+ /** TaskGetResponse outputs. */
20585
+ public outputs?: (flyteidl.core.ILiteralMap|null);
20092
20586
 
20093
20587
  /**
20094
- * Creates a new GetDataResponse instance using the specified properties.
20588
+ * Creates a new TaskGetResponse instance using the specified properties.
20095
20589
  * @param [properties] Properties to set
20096
- * @returns GetDataResponse instance
20590
+ * @returns TaskGetResponse instance
20097
20591
  */
20098
- public static create(properties?: flyteidl.service.IGetDataResponse): flyteidl.service.GetDataResponse;
20592
+ public static create(properties?: flyteidl.service.ITaskGetResponse): flyteidl.service.TaskGetResponse;
20099
20593
 
20100
20594
  /**
20101
- * Encodes the specified GetDataResponse message. Does not implicitly {@link flyteidl.service.GetDataResponse.verify|verify} messages.
20102
- * @param message GetDataResponse message or plain object to encode
20595
+ * Encodes the specified TaskGetResponse message. Does not implicitly {@link flyteidl.service.TaskGetResponse.verify|verify} messages.
20596
+ * @param message TaskGetResponse message or plain object to encode
20103
20597
  * @param [writer] Writer to encode to
20104
20598
  * @returns Writer
20105
20599
  */
20106
- public static encode(message: flyteidl.service.IGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20600
+ public static encode(message: flyteidl.service.ITaskGetResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20107
20601
 
20108
20602
  /**
20109
- * Decodes a GetDataResponse message from the specified reader or buffer.
20603
+ * Decodes a TaskGetResponse message from the specified reader or buffer.
20110
20604
  * @param reader Reader or buffer to decode from
20111
20605
  * @param [length] Message length if known beforehand
20112
- * @returns GetDataResponse
20606
+ * @returns TaskGetResponse
20113
20607
  * @throws {Error} If the payload is not a reader or valid buffer
20114
20608
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20115
20609
  */
20116
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataResponse;
20610
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskGetResponse;
20117
20611
 
20118
20612
  /**
20119
- * Verifies a GetDataResponse message.
20613
+ * Verifies a TaskGetResponse message.
20120
20614
  * @param message Plain object to verify
20121
20615
  * @returns `null` if valid, otherwise the reason why it is not
20122
20616
  */
20123
20617
  public static verify(message: { [k: string]: any }): (string|null);
20124
20618
  }
20125
20619
 
20126
- /** Represents a DataProxyService */
20127
- class DataProxyService extends $protobuf.rpc.Service {
20620
+ /** Properties of a TaskDeleteRequest. */
20621
+ interface ITaskDeleteRequest {
20128
20622
 
20129
- /**
20130
- * Constructs a new DataProxyService service.
20131
- * @param rpcImpl RPC implementation
20132
- * @param [requestDelimited=false] Whether requests are length-delimited
20133
- * @param [responseDelimited=false] Whether responses are length-delimited
20134
- */
20135
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
20623
+ /** TaskDeleteRequest taskType */
20624
+ taskType?: (string|null);
20136
20625
 
20137
- /**
20138
- * Creates new DataProxyService service using the specified rpc implementation.
20139
- * @param rpcImpl RPC implementation
20140
- * @param [requestDelimited=false] Whether requests are length-delimited
20141
- * @param [responseDelimited=false] Whether responses are length-delimited
20142
- * @returns RPC service. Useful where requests and/or responses are streamed.
20143
- */
20144
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DataProxyService;
20626
+ /** TaskDeleteRequest jobId */
20627
+ jobId?: (string|null);
20628
+ }
20145
20629
 
20146
- /**
20147
- * Calls CreateUploadLocation.
20148
- * @param request CreateUploadLocationRequest message or plain object
20149
- * @param callback Node-style callback called with the error, if any, and CreateUploadLocationResponse
20150
- */
20151
- public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest, callback: flyteidl.service.DataProxyService.CreateUploadLocationCallback): void;
20630
+ /** Represents a TaskDeleteRequest. */
20631
+ class TaskDeleteRequest implements ITaskDeleteRequest {
20152
20632
 
20153
20633
  /**
20154
- * Calls CreateUploadLocation.
20155
- * @param request CreateUploadLocationRequest message or plain object
20156
- * @returns Promise
20634
+ * Constructs a new TaskDeleteRequest.
20635
+ * @param [properties] Properties to set
20157
20636
  */
20158
- public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest): Promise<flyteidl.service.CreateUploadLocationResponse>;
20637
+ constructor(properties?: flyteidl.service.ITaskDeleteRequest);
20159
20638
 
20160
- /**
20161
- * Calls CreateDownloadLocation.
20162
- * @param request CreateDownloadLocationRequest message or plain object
20163
- * @param callback Node-style callback called with the error, if any, and CreateDownloadLocationResponse
20164
- */
20165
- public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLocationCallback): void;
20639
+ /** TaskDeleteRequest taskType. */
20640
+ public taskType: string;
20166
20641
 
20167
- /**
20168
- * Calls CreateDownloadLocation.
20169
- * @param request CreateDownloadLocationRequest message or plain object
20170
- * @returns Promise
20171
- */
20172
- public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest): Promise<flyteidl.service.CreateDownloadLocationResponse>;
20642
+ /** TaskDeleteRequest jobId. */
20643
+ public jobId: string;
20173
20644
 
20174
20645
  /**
20175
- * Calls CreateDownloadLink.
20176
- * @param request CreateDownloadLinkRequest message or plain object
20177
- * @param callback Node-style callback called with the error, if any, and CreateDownloadLinkResponse
20646
+ * Creates a new TaskDeleteRequest instance using the specified properties.
20647
+ * @param [properties] Properties to set
20648
+ * @returns TaskDeleteRequest instance
20178
20649
  */
20179
- public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLinkCallback): void;
20650
+ public static create(properties?: flyteidl.service.ITaskDeleteRequest): flyteidl.service.TaskDeleteRequest;
20180
20651
 
20181
20652
  /**
20182
- * Calls CreateDownloadLink.
20183
- * @param request CreateDownloadLinkRequest message or plain object
20184
- * @returns Promise
20653
+ * Encodes the specified TaskDeleteRequest message. Does not implicitly {@link flyteidl.service.TaskDeleteRequest.verify|verify} messages.
20654
+ * @param message TaskDeleteRequest message or plain object to encode
20655
+ * @param [writer] Writer to encode to
20656
+ * @returns Writer
20185
20657
  */
20186
- public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest): Promise<flyteidl.service.CreateDownloadLinkResponse>;
20658
+ public static encode(message: flyteidl.service.ITaskDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20187
20659
 
20188
20660
  /**
20189
- * Calls GetData.
20190
- * @param request GetDataRequest message or plain object
20191
- * @param callback Node-style callback called with the error, if any, and GetDataResponse
20661
+ * Decodes a TaskDeleteRequest message from the specified reader or buffer.
20662
+ * @param reader Reader or buffer to decode from
20663
+ * @param [length] Message length if known beforehand
20664
+ * @returns TaskDeleteRequest
20665
+ * @throws {Error} If the payload is not a reader or valid buffer
20666
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20192
20667
  */
20193
- public getData(request: flyteidl.service.IGetDataRequest, callback: flyteidl.service.DataProxyService.GetDataCallback): void;
20668
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskDeleteRequest;
20194
20669
 
20195
20670
  /**
20196
- * Calls GetData.
20197
- * @param request GetDataRequest message or plain object
20198
- * @returns Promise
20671
+ * Verifies a TaskDeleteRequest message.
20672
+ * @param message Plain object to verify
20673
+ * @returns `null` if valid, otherwise the reason why it is not
20199
20674
  */
20200
- public getData(request: flyteidl.service.IGetDataRequest): Promise<flyteidl.service.GetDataResponse>;
20675
+ public static verify(message: { [k: string]: any }): (string|null);
20201
20676
  }
20202
20677
 
20203
- namespace DataProxyService {
20678
+ /** Properties of a TaskDeleteResponse. */
20679
+ interface ITaskDeleteResponse {
20680
+ }
20681
+
20682
+ /** Represents a TaskDeleteResponse. */
20683
+ class TaskDeleteResponse implements ITaskDeleteResponse {
20204
20684
 
20205
20685
  /**
20206
- * Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}.
20207
- * @param error Error, if any
20208
- * @param [response] CreateUploadLocationResponse
20686
+ * Constructs a new TaskDeleteResponse.
20687
+ * @param [properties] Properties to set
20209
20688
  */
20210
- type CreateUploadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateUploadLocationResponse) => void;
20689
+ constructor(properties?: flyteidl.service.ITaskDeleteResponse);
20211
20690
 
20212
20691
  /**
20213
- * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLocation}.
20214
- * @param error Error, if any
20215
- * @param [response] CreateDownloadLocationResponse
20692
+ * Creates a new TaskDeleteResponse instance using the specified properties.
20693
+ * @param [properties] Properties to set
20694
+ * @returns TaskDeleteResponse instance
20216
20695
  */
20217
- type CreateDownloadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLocationResponse) => void;
20696
+ public static create(properties?: flyteidl.service.ITaskDeleteResponse): flyteidl.service.TaskDeleteResponse;
20218
20697
 
20219
20698
  /**
20220
- * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLink}.
20221
- * @param error Error, if any
20222
- * @param [response] CreateDownloadLinkResponse
20699
+ * Encodes the specified TaskDeleteResponse message. Does not implicitly {@link flyteidl.service.TaskDeleteResponse.verify|verify} messages.
20700
+ * @param message TaskDeleteResponse message or plain object to encode
20701
+ * @param [writer] Writer to encode to
20702
+ * @returns Writer
20223
20703
  */
20224
- type CreateDownloadLinkCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLinkResponse) => void;
20704
+ public static encode(message: flyteidl.service.ITaskDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20225
20705
 
20226
20706
  /**
20227
- * Callback as used by {@link flyteidl.service.DataProxyService#getData}.
20228
- * @param error Error, if any
20229
- * @param [response] GetDataResponse
20707
+ * Decodes a TaskDeleteResponse message from the specified reader or buffer.
20708
+ * @param reader Reader or buffer to decode from
20709
+ * @param [length] Message length if known beforehand
20710
+ * @returns TaskDeleteResponse
20711
+ * @throws {Error} If the payload is not a reader or valid buffer
20712
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20230
20713
  */
20231
- type GetDataCallback = (error: (Error|null), response?: flyteidl.service.GetDataResponse) => void;
20714
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskDeleteResponse;
20715
+
20716
+ /**
20717
+ * Verifies a TaskDeleteResponse message.
20718
+ * @param message Plain object to verify
20719
+ * @returns `null` if valid, otherwise the reason why it is not
20720
+ */
20721
+ public static verify(message: { [k: string]: any }): (string|null);
20232
20722
  }
20233
20723
 
20234
20724
  /** Properties of a UserInfoRequest. */