@flyteorg/flyteidl 1.5.9 → 1.5.10

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,1535 @@ 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);
19270
-
19271
- /** OAuth2MetadataResponse scopesSupported */
19272
- scopesSupported?: (string[]|null);
19672
+ /** Properties of a CreateUploadLocationRequest. */
19673
+ interface ICreateUploadLocationRequest {
19273
19674
 
19274
- /** OAuth2MetadataResponse tokenEndpointAuthMethodsSupported */
19275
- tokenEndpointAuthMethodsSupported?: (string[]|null);
19675
+ /** CreateUploadLocationRequest project */
19676
+ project?: (string|null);
19276
19677
 
19277
- /** OAuth2MetadataResponse jwksUri */
19278
- jwksUri?: (string|null);
19678
+ /** CreateUploadLocationRequest domain */
19679
+ domain?: (string|null);
19279
19680
 
19280
- /** OAuth2MetadataResponse codeChallengeMethodsSupported */
19281
- codeChallengeMethodsSupported?: (string[]|null);
19681
+ /** CreateUploadLocationRequest filename */
19682
+ filename?: (string|null);
19282
19683
 
19283
- /** OAuth2MetadataResponse grantTypesSupported */
19284
- grantTypesSupported?: (string[]|null);
19684
+ /** CreateUploadLocationRequest expiresIn */
19685
+ expiresIn?: (google.protobuf.IDuration|null);
19285
19686
 
19286
- /** OAuth2MetadataResponse deviceAuthorizationEndpoint */
19287
- deviceAuthorizationEndpoint?: (string|null);
19687
+ /** CreateUploadLocationRequest contentMd5 */
19688
+ contentMd5?: (Uint8Array|null);
19288
19689
  }
19289
19690
 
19290
- /** Represents a OAuth2MetadataResponse. */
19291
- class OAuth2MetadataResponse implements IOAuth2MetadataResponse {
19691
+ /** Represents a CreateUploadLocationRequest. */
19692
+ class CreateUploadLocationRequest implements ICreateUploadLocationRequest {
19292
19693
 
19293
19694
  /**
19294
- * Constructs a new OAuth2MetadataResponse.
19695
+ * Constructs a new CreateUploadLocationRequest.
19295
19696
  * @param [properties] Properties to set
19296
19697
  */
19297
- constructor(properties?: flyteidl.service.IOAuth2MetadataResponse);
19698
+ constructor(properties?: flyteidl.service.ICreateUploadLocationRequest);
19298
19699
 
19299
- /** OAuth2MetadataResponse issuer. */
19300
- public issuer: string;
19700
+ /** CreateUploadLocationRequest project. */
19701
+ public project: string;
19301
19702
 
19302
- /** OAuth2MetadataResponse authorizationEndpoint. */
19303
- public authorizationEndpoint: string;
19703
+ /** CreateUploadLocationRequest domain. */
19704
+ public domain: string;
19304
19705
 
19305
- /** OAuth2MetadataResponse tokenEndpoint. */
19306
- public tokenEndpoint: string;
19706
+ /** CreateUploadLocationRequest filename. */
19707
+ public filename: string;
19307
19708
 
19308
- /** OAuth2MetadataResponse responseTypesSupported. */
19309
- public responseTypesSupported: string[];
19709
+ /** CreateUploadLocationRequest expiresIn. */
19710
+ public expiresIn?: (google.protobuf.IDuration|null);
19310
19711
 
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[];
19325
-
19326
- /** OAuth2MetadataResponse deviceAuthorizationEndpoint. */
19327
- public deviceAuthorizationEndpoint: string;
19712
+ /** CreateUploadLocationRequest contentMd5. */
19713
+ public contentMd5: Uint8Array;
19328
19714
 
19329
19715
  /**
19330
- * Creates a new OAuth2MetadataResponse instance using the specified properties.
19716
+ * Creates a new CreateUploadLocationRequest instance using the specified properties.
19331
19717
  * @param [properties] Properties to set
19332
- * @returns OAuth2MetadataResponse instance
19718
+ * @returns CreateUploadLocationRequest instance
19333
19719
  */
19334
- public static create(properties?: flyteidl.service.IOAuth2MetadataResponse): flyteidl.service.OAuth2MetadataResponse;
19720
+ public static create(properties?: flyteidl.service.ICreateUploadLocationRequest): flyteidl.service.CreateUploadLocationRequest;
19335
19721
 
19336
19722
  /**
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
19723
+ * Encodes the specified CreateUploadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateUploadLocationRequest.verify|verify} messages.
19724
+ * @param message CreateUploadLocationRequest message or plain object to encode
19339
19725
  * @param [writer] Writer to encode to
19340
19726
  * @returns Writer
19341
19727
  */
19342
- public static encode(message: flyteidl.service.IOAuth2MetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19728
+ public static encode(message: flyteidl.service.ICreateUploadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19343
19729
 
19344
19730
  /**
19345
- * Decodes a OAuth2MetadataResponse message from the specified reader or buffer.
19731
+ * Decodes a CreateUploadLocationRequest message from the specified reader or buffer.
19346
19732
  * @param reader Reader or buffer to decode from
19347
19733
  * @param [length] Message length if known beforehand
19348
- * @returns OAuth2MetadataResponse
19734
+ * @returns CreateUploadLocationRequest
19349
19735
  * @throws {Error} If the payload is not a reader or valid buffer
19350
19736
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19351
19737
  */
19352
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.OAuth2MetadataResponse;
19738
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateUploadLocationRequest;
19353
19739
 
19354
19740
  /**
19355
- * Verifies a OAuth2MetadataResponse message.
19741
+ * Verifies a CreateUploadLocationRequest message.
19356
19742
  * @param message Plain object to verify
19357
19743
  * @returns `null` if valid, otherwise the reason why it is not
19358
19744
  */
19359
19745
  public static verify(message: { [k: string]: any }): (string|null);
19360
19746
  }
19361
19747
 
19362
- /** Properties of a PublicClientAuthConfigRequest. */
19363
- interface IPublicClientAuthConfigRequest {
19748
+ /** Properties of a CreateDownloadLocationRequest. */
19749
+ interface ICreateDownloadLocationRequest {
19750
+
19751
+ /** CreateDownloadLocationRequest nativeUrl */
19752
+ nativeUrl?: (string|null);
19753
+
19754
+ /** CreateDownloadLocationRequest expiresIn */
19755
+ expiresIn?: (google.protobuf.IDuration|null);
19364
19756
  }
19365
19757
 
19366
- /** Represents a PublicClientAuthConfigRequest. */
19367
- class PublicClientAuthConfigRequest implements IPublicClientAuthConfigRequest {
19758
+ /** Represents a CreateDownloadLocationRequest. */
19759
+ class CreateDownloadLocationRequest implements ICreateDownloadLocationRequest {
19368
19760
 
19369
19761
  /**
19370
- * Constructs a new PublicClientAuthConfigRequest.
19762
+ * Constructs a new CreateDownloadLocationRequest.
19371
19763
  * @param [properties] Properties to set
19372
19764
  */
19373
- constructor(properties?: flyteidl.service.IPublicClientAuthConfigRequest);
19765
+ constructor(properties?: flyteidl.service.ICreateDownloadLocationRequest);
19766
+
19767
+ /** CreateDownloadLocationRequest nativeUrl. */
19768
+ public nativeUrl: string;
19769
+
19770
+ /** CreateDownloadLocationRequest expiresIn. */
19771
+ public expiresIn?: (google.protobuf.IDuration|null);
19374
19772
 
19375
19773
  /**
19376
- * Creates a new PublicClientAuthConfigRequest instance using the specified properties.
19774
+ * Creates a new CreateDownloadLocationRequest instance using the specified properties.
19377
19775
  * @param [properties] Properties to set
19378
- * @returns PublicClientAuthConfigRequest instance
19776
+ * @returns CreateDownloadLocationRequest instance
19379
19777
  */
19380
- public static create(properties?: flyteidl.service.IPublicClientAuthConfigRequest): flyteidl.service.PublicClientAuthConfigRequest;
19778
+ public static create(properties?: flyteidl.service.ICreateDownloadLocationRequest): flyteidl.service.CreateDownloadLocationRequest;
19381
19779
 
19382
19780
  /**
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
19781
+ * Encodes the specified CreateDownloadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationRequest.verify|verify} messages.
19782
+ * @param message CreateDownloadLocationRequest message or plain object to encode
19385
19783
  * @param [writer] Writer to encode to
19386
19784
  * @returns Writer
19387
19785
  */
19388
- public static encode(message: flyteidl.service.IPublicClientAuthConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19786
+ public static encode(message: flyteidl.service.ICreateDownloadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19389
19787
 
19390
19788
  /**
19391
- * Decodes a PublicClientAuthConfigRequest message from the specified reader or buffer.
19789
+ * Decodes a CreateDownloadLocationRequest message from the specified reader or buffer.
19392
19790
  * @param reader Reader or buffer to decode from
19393
19791
  * @param [length] Message length if known beforehand
19394
- * @returns PublicClientAuthConfigRequest
19792
+ * @returns CreateDownloadLocationRequest
19395
19793
  * @throws {Error} If the payload is not a reader or valid buffer
19396
19794
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19397
19795
  */
19398
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PublicClientAuthConfigRequest;
19796
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLocationRequest;
19399
19797
 
19400
19798
  /**
19401
- * Verifies a PublicClientAuthConfigRequest message.
19799
+ * Verifies a CreateDownloadLocationRequest message.
19402
19800
  * @param message Plain object to verify
19403
19801
  * @returns `null` if valid, otherwise the reason why it is not
19404
19802
  */
19405
19803
  public static verify(message: { [k: string]: any }): (string|null);
19406
19804
  }
19407
19805
 
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);
19806
+ /** Properties of a CreateDownloadLocationResponse. */
19807
+ interface ICreateDownloadLocationResponse {
19422
19808
 
19423
- /** PublicClientAuthConfigResponse serviceHttpEndpoint */
19424
- serviceHttpEndpoint?: (string|null);
19809
+ /** CreateDownloadLocationResponse signedUrl */
19810
+ signedUrl?: (string|null);
19425
19811
 
19426
- /** PublicClientAuthConfigResponse audience */
19427
- audience?: (string|null);
19812
+ /** CreateDownloadLocationResponse expiresAt */
19813
+ expiresAt?: (google.protobuf.ITimestamp|null);
19428
19814
  }
19429
19815
 
19430
- /** Represents a PublicClientAuthConfigResponse. */
19431
- class PublicClientAuthConfigResponse implements IPublicClientAuthConfigResponse {
19816
+ /** Represents a CreateDownloadLocationResponse. */
19817
+ class CreateDownloadLocationResponse implements ICreateDownloadLocationResponse {
19432
19818
 
19433
19819
  /**
19434
- * Constructs a new PublicClientAuthConfigResponse.
19820
+ * Constructs a new CreateDownloadLocationResponse.
19435
19821
  * @param [properties] Properties to set
19436
19822
  */
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;
19823
+ constructor(properties?: flyteidl.service.ICreateDownloadLocationResponse);
19450
19824
 
19451
- /** PublicClientAuthConfigResponse serviceHttpEndpoint. */
19452
- public serviceHttpEndpoint: string;
19825
+ /** CreateDownloadLocationResponse signedUrl. */
19826
+ public signedUrl: string;
19453
19827
 
19454
- /** PublicClientAuthConfigResponse audience. */
19455
- public audience: string;
19828
+ /** CreateDownloadLocationResponse expiresAt. */
19829
+ public expiresAt?: (google.protobuf.ITimestamp|null);
19456
19830
 
19457
19831
  /**
19458
- * Creates a new PublicClientAuthConfigResponse instance using the specified properties.
19832
+ * Creates a new CreateDownloadLocationResponse instance using the specified properties.
19459
19833
  * @param [properties] Properties to set
19460
- * @returns PublicClientAuthConfigResponse instance
19834
+ * @returns CreateDownloadLocationResponse instance
19461
19835
  */
19462
- public static create(properties?: flyteidl.service.IPublicClientAuthConfigResponse): flyteidl.service.PublicClientAuthConfigResponse;
19836
+ public static create(properties?: flyteidl.service.ICreateDownloadLocationResponse): flyteidl.service.CreateDownloadLocationResponse;
19463
19837
 
19464
19838
  /**
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
19839
+ * Encodes the specified CreateDownloadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationResponse.verify|verify} messages.
19840
+ * @param message CreateDownloadLocationResponse message or plain object to encode
19467
19841
  * @param [writer] Writer to encode to
19468
19842
  * @returns Writer
19469
19843
  */
19470
- public static encode(message: flyteidl.service.IPublicClientAuthConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19844
+ public static encode(message: flyteidl.service.ICreateDownloadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19471
19845
 
19472
19846
  /**
19473
- * Decodes a PublicClientAuthConfigResponse message from the specified reader or buffer.
19847
+ * Decodes a CreateDownloadLocationResponse message from the specified reader or buffer.
19474
19848
  * @param reader Reader or buffer to decode from
19475
19849
  * @param [length] Message length if known beforehand
19476
- * @returns PublicClientAuthConfigResponse
19850
+ * @returns CreateDownloadLocationResponse
19477
19851
  * @throws {Error} If the payload is not a reader or valid buffer
19478
19852
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19479
19853
  */
19480
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PublicClientAuthConfigResponse;
19854
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLocationResponse;
19481
19855
 
19482
19856
  /**
19483
- * Verifies a PublicClientAuthConfigResponse message.
19857
+ * Verifies a CreateDownloadLocationResponse message.
19484
19858
  * @param message Plain object to verify
19485
19859
  * @returns `null` if valid, otherwise the reason why it is not
19486
19860
  */
19487
19861
  public static verify(message: { [k: string]: any }): (string|null);
19488
19862
  }
19489
19863
 
19490
- /** Represents an AuthMetadataService */
19491
- class AuthMetadataService extends $protobuf.rpc.Service {
19864
+ /** ArtifactType enum. */
19865
+ enum ArtifactType {
19866
+ ARTIFACT_TYPE_UNDEFINED = 0,
19867
+ ARTIFACT_TYPE_DECK = 1
19868
+ }
19492
19869
 
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);
19870
+ /** Properties of a CreateDownloadLinkRequest. */
19871
+ interface ICreateDownloadLinkRequest {
19500
19872
 
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;
19873
+ /** CreateDownloadLinkRequest artifactType */
19874
+ artifactType?: (flyteidl.service.ArtifactType|null);
19509
19875
 
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;
19876
+ /** CreateDownloadLinkRequest expiresIn */
19877
+ expiresIn?: (google.protobuf.IDuration|null);
19878
+
19879
+ /** CreateDownloadLinkRequest nodeExecutionId */
19880
+ nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null);
19881
+ }
19882
+
19883
+ /** Represents a CreateDownloadLinkRequest. */
19884
+ class CreateDownloadLinkRequest implements ICreateDownloadLinkRequest {
19516
19885
 
19517
19886
  /**
19518
- * Calls GetOAuth2Metadata.
19519
- * @param request OAuth2MetadataRequest message or plain object
19520
- * @returns Promise
19887
+ * Constructs a new CreateDownloadLinkRequest.
19888
+ * @param [properties] Properties to set
19521
19889
  */
19522
- public getOAuth2Metadata(request: flyteidl.service.IOAuth2MetadataRequest): Promise<flyteidl.service.OAuth2MetadataResponse>;
19890
+ constructor(properties?: flyteidl.service.ICreateDownloadLinkRequest);
19891
+
19892
+ /** CreateDownloadLinkRequest artifactType. */
19893
+ public artifactType: flyteidl.service.ArtifactType;
19894
+
19895
+ /** CreateDownloadLinkRequest expiresIn. */
19896
+ public expiresIn?: (google.protobuf.IDuration|null);
19897
+
19898
+ /** CreateDownloadLinkRequest nodeExecutionId. */
19899
+ public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null);
19900
+
19901
+ /** CreateDownloadLinkRequest source. */
19902
+ public source?: "nodeExecutionId";
19523
19903
 
19524
19904
  /**
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
19905
+ * Creates a new CreateDownloadLinkRequest instance using the specified properties.
19906
+ * @param [properties] Properties to set
19907
+ * @returns CreateDownloadLinkRequest instance
19528
19908
  */
19529
- public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest, callback: flyteidl.service.AuthMetadataService.GetPublicClientConfigCallback): void;
19909
+ public static create(properties?: flyteidl.service.ICreateDownloadLinkRequest): flyteidl.service.CreateDownloadLinkRequest;
19530
19910
 
19531
19911
  /**
19532
- * Calls GetPublicClientConfig.
19533
- * @param request PublicClientAuthConfigRequest message or plain object
19534
- * @returns Promise
19912
+ * Encodes the specified CreateDownloadLinkRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkRequest.verify|verify} messages.
19913
+ * @param message CreateDownloadLinkRequest message or plain object to encode
19914
+ * @param [writer] Writer to encode to
19915
+ * @returns Writer
19535
19916
  */
19536
- public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest): Promise<flyteidl.service.PublicClientAuthConfigResponse>;
19537
- }
19538
-
19539
- namespace AuthMetadataService {
19917
+ public static encode(message: flyteidl.service.ICreateDownloadLinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19540
19918
 
19541
19919
  /**
19542
- * Callback as used by {@link flyteidl.service.AuthMetadataService#getOAuth2Metadata}.
19543
- * @param error Error, if any
19544
- * @param [response] OAuth2MetadataResponse
19920
+ * Decodes a CreateDownloadLinkRequest message from the specified reader or buffer.
19921
+ * @param reader Reader or buffer to decode from
19922
+ * @param [length] Message length if known beforehand
19923
+ * @returns CreateDownloadLinkRequest
19924
+ * @throws {Error} If the payload is not a reader or valid buffer
19925
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19545
19926
  */
19546
- type GetOAuth2MetadataCallback = (error: (Error|null), response?: flyteidl.service.OAuth2MetadataResponse) => void;
19927
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLinkRequest;
19547
19928
 
19548
19929
  /**
19549
- * Callback as used by {@link flyteidl.service.AuthMetadataService#getPublicClientConfig}.
19550
- * @param error Error, if any
19551
- * @param [response] PublicClientAuthConfigResponse
19930
+ * Verifies a CreateDownloadLinkRequest message.
19931
+ * @param message Plain object to verify
19932
+ * @returns `null` if valid, otherwise the reason why it is not
19552
19933
  */
19553
- type GetPublicClientConfigCallback = (error: (Error|null), response?: flyteidl.service.PublicClientAuthConfigResponse) => void;
19934
+ public static verify(message: { [k: string]: any }): (string|null);
19554
19935
  }
19555
19936
 
19556
- /** Properties of a CreateUploadLocationResponse. */
19557
- interface ICreateUploadLocationResponse {
19558
-
19559
- /** CreateUploadLocationResponse signedUrl */
19560
- signedUrl?: (string|null);
19937
+ /** Properties of a CreateDownloadLinkResponse. */
19938
+ interface ICreateDownloadLinkResponse {
19561
19939
 
19562
- /** CreateUploadLocationResponse nativeUrl */
19563
- nativeUrl?: (string|null);
19940
+ /** CreateDownloadLinkResponse signedUrl */
19941
+ signedUrl?: (string[]|null);
19564
19942
 
19565
- /** CreateUploadLocationResponse expiresAt */
19943
+ /** CreateDownloadLinkResponse expiresAt */
19566
19944
  expiresAt?: (google.protobuf.ITimestamp|null);
19945
+
19946
+ /** CreateDownloadLinkResponse preSignedUrls */
19947
+ preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
19567
19948
  }
19568
19949
 
19569
- /** Represents a CreateUploadLocationResponse. */
19570
- class CreateUploadLocationResponse implements ICreateUploadLocationResponse {
19950
+ /** Represents a CreateDownloadLinkResponse. */
19951
+ class CreateDownloadLinkResponse implements ICreateDownloadLinkResponse {
19571
19952
 
19572
19953
  /**
19573
- * Constructs a new CreateUploadLocationResponse.
19954
+ * Constructs a new CreateDownloadLinkResponse.
19574
19955
  * @param [properties] Properties to set
19575
19956
  */
19576
- constructor(properties?: flyteidl.service.ICreateUploadLocationResponse);
19577
-
19578
- /** CreateUploadLocationResponse signedUrl. */
19579
- public signedUrl: string;
19957
+ constructor(properties?: flyteidl.service.ICreateDownloadLinkResponse);
19580
19958
 
19581
- /** CreateUploadLocationResponse nativeUrl. */
19582
- public nativeUrl: string;
19959
+ /** CreateDownloadLinkResponse signedUrl. */
19960
+ public signedUrl: string[];
19583
19961
 
19584
- /** CreateUploadLocationResponse expiresAt. */
19962
+ /** CreateDownloadLinkResponse expiresAt. */
19585
19963
  public expiresAt?: (google.protobuf.ITimestamp|null);
19586
19964
 
19965
+ /** CreateDownloadLinkResponse preSignedUrls. */
19966
+ public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
19967
+
19587
19968
  /**
19588
- * Creates a new CreateUploadLocationResponse instance using the specified properties.
19969
+ * Creates a new CreateDownloadLinkResponse instance using the specified properties.
19589
19970
  * @param [properties] Properties to set
19590
- * @returns CreateUploadLocationResponse instance
19971
+ * @returns CreateDownloadLinkResponse instance
19591
19972
  */
19592
- public static create(properties?: flyteidl.service.ICreateUploadLocationResponse): flyteidl.service.CreateUploadLocationResponse;
19973
+ public static create(properties?: flyteidl.service.ICreateDownloadLinkResponse): flyteidl.service.CreateDownloadLinkResponse;
19593
19974
 
19594
19975
  /**
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
19976
+ * Encodes the specified CreateDownloadLinkResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkResponse.verify|verify} messages.
19977
+ * @param message CreateDownloadLinkResponse message or plain object to encode
19597
19978
  * @param [writer] Writer to encode to
19598
19979
  * @returns Writer
19599
19980
  */
19600
- public static encode(message: flyteidl.service.ICreateUploadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19981
+ public static encode(message: flyteidl.service.ICreateDownloadLinkResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19601
19982
 
19602
19983
  /**
19603
- * Decodes a CreateUploadLocationResponse message from the specified reader or buffer.
19984
+ * Decodes a CreateDownloadLinkResponse message from the specified reader or buffer.
19604
19985
  * @param reader Reader or buffer to decode from
19605
19986
  * @param [length] Message length if known beforehand
19606
- * @returns CreateUploadLocationResponse
19987
+ * @returns CreateDownloadLinkResponse
19607
19988
  * @throws {Error} If the payload is not a reader or valid buffer
19608
19989
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19609
19990
  */
19610
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateUploadLocationResponse;
19991
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLinkResponse;
19611
19992
 
19612
19993
  /**
19613
- * Verifies a CreateUploadLocationResponse message.
19994
+ * Verifies a CreateDownloadLinkResponse message.
19614
19995
  * @param message Plain object to verify
19615
19996
  * @returns `null` if valid, otherwise the reason why it is not
19616
19997
  */
19617
19998
  public static verify(message: { [k: string]: any }): (string|null);
19618
19999
  }
19619
20000
 
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);
20001
+ /** Properties of a PreSignedURLs. */
20002
+ interface IPreSignedURLs {
19631
20003
 
19632
- /** CreateUploadLocationRequest expiresIn */
19633
- expiresIn?: (google.protobuf.IDuration|null);
20004
+ /** PreSignedURLs signedUrl */
20005
+ signedUrl?: (string[]|null);
19634
20006
 
19635
- /** CreateUploadLocationRequest contentMd5 */
19636
- contentMd5?: (Uint8Array|null);
20007
+ /** PreSignedURLs expiresAt */
20008
+ expiresAt?: (google.protobuf.ITimestamp|null);
19637
20009
  }
19638
20010
 
19639
- /** Represents a CreateUploadLocationRequest. */
19640
- class CreateUploadLocationRequest implements ICreateUploadLocationRequest {
20011
+ /** Represents a PreSignedURLs. */
20012
+ class PreSignedURLs implements IPreSignedURLs {
19641
20013
 
19642
20014
  /**
19643
- * Constructs a new CreateUploadLocationRequest.
20015
+ * Constructs a new PreSignedURLs.
19644
20016
  * @param [properties] Properties to set
19645
20017
  */
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;
20018
+ constructor(properties?: flyteidl.service.IPreSignedURLs);
19656
20019
 
19657
- /** CreateUploadLocationRequest expiresIn. */
19658
- public expiresIn?: (google.protobuf.IDuration|null);
20020
+ /** PreSignedURLs signedUrl. */
20021
+ public signedUrl: string[];
19659
20022
 
19660
- /** CreateUploadLocationRequest contentMd5. */
19661
- public contentMd5: Uint8Array;
20023
+ /** PreSignedURLs expiresAt. */
20024
+ public expiresAt?: (google.protobuf.ITimestamp|null);
19662
20025
 
19663
20026
  /**
19664
- * Creates a new CreateUploadLocationRequest instance using the specified properties.
20027
+ * Creates a new PreSignedURLs instance using the specified properties.
19665
20028
  * @param [properties] Properties to set
19666
- * @returns CreateUploadLocationRequest instance
20029
+ * @returns PreSignedURLs instance
19667
20030
  */
19668
- public static create(properties?: flyteidl.service.ICreateUploadLocationRequest): flyteidl.service.CreateUploadLocationRequest;
20031
+ public static create(properties?: flyteidl.service.IPreSignedURLs): flyteidl.service.PreSignedURLs;
19669
20032
 
19670
20033
  /**
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
20034
+ * Encodes the specified PreSignedURLs message. Does not implicitly {@link flyteidl.service.PreSignedURLs.verify|verify} messages.
20035
+ * @param message PreSignedURLs message or plain object to encode
19673
20036
  * @param [writer] Writer to encode to
19674
20037
  * @returns Writer
19675
20038
  */
19676
- public static encode(message: flyteidl.service.ICreateUploadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20039
+ public static encode(message: flyteidl.service.IPreSignedURLs, writer?: $protobuf.Writer): $protobuf.Writer;
19677
20040
 
19678
20041
  /**
19679
- * Decodes a CreateUploadLocationRequest message from the specified reader or buffer.
20042
+ * Decodes a PreSignedURLs message from the specified reader or buffer.
19680
20043
  * @param reader Reader or buffer to decode from
19681
20044
  * @param [length] Message length if known beforehand
19682
- * @returns CreateUploadLocationRequest
20045
+ * @returns PreSignedURLs
19683
20046
  * @throws {Error} If the payload is not a reader or valid buffer
19684
20047
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19685
20048
  */
19686
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateUploadLocationRequest;
20049
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PreSignedURLs;
19687
20050
 
19688
20051
  /**
19689
- * Verifies a CreateUploadLocationRequest message.
20052
+ * Verifies a PreSignedURLs message.
19690
20053
  * @param message Plain object to verify
19691
20054
  * @returns `null` if valid, otherwise the reason why it is not
19692
20055
  */
19693
20056
  public static verify(message: { [k: string]: any }): (string|null);
19694
20057
  }
19695
20058
 
19696
- /** Properties of a CreateDownloadLocationRequest. */
19697
- interface ICreateDownloadLocationRequest {
19698
-
19699
- /** CreateDownloadLocationRequest nativeUrl */
19700
- nativeUrl?: (string|null);
20059
+ /** Properties of a GetDataRequest. */
20060
+ interface IGetDataRequest {
19701
20061
 
19702
- /** CreateDownloadLocationRequest expiresIn */
19703
- expiresIn?: (google.protobuf.IDuration|null);
20062
+ /** GetDataRequest flyteUrl */
20063
+ flyteUrl?: (string|null);
19704
20064
  }
19705
20065
 
19706
- /** Represents a CreateDownloadLocationRequest. */
19707
- class CreateDownloadLocationRequest implements ICreateDownloadLocationRequest {
20066
+ /** Represents a GetDataRequest. */
20067
+ class GetDataRequest implements IGetDataRequest {
19708
20068
 
19709
20069
  /**
19710
- * Constructs a new CreateDownloadLocationRequest.
20070
+ * Constructs a new GetDataRequest.
19711
20071
  * @param [properties] Properties to set
19712
20072
  */
19713
- constructor(properties?: flyteidl.service.ICreateDownloadLocationRequest);
19714
-
19715
- /** CreateDownloadLocationRequest nativeUrl. */
19716
- public nativeUrl: string;
20073
+ constructor(properties?: flyteidl.service.IGetDataRequest);
19717
20074
 
19718
- /** CreateDownloadLocationRequest expiresIn. */
19719
- public expiresIn?: (google.protobuf.IDuration|null);
20075
+ /** GetDataRequest flyteUrl. */
20076
+ public flyteUrl: string;
19720
20077
 
19721
20078
  /**
19722
- * Creates a new CreateDownloadLocationRequest instance using the specified properties.
20079
+ * Creates a new GetDataRequest instance using the specified properties.
19723
20080
  * @param [properties] Properties to set
19724
- * @returns CreateDownloadLocationRequest instance
20081
+ * @returns GetDataRequest instance
19725
20082
  */
19726
- public static create(properties?: flyteidl.service.ICreateDownloadLocationRequest): flyteidl.service.CreateDownloadLocationRequest;
20083
+ public static create(properties?: flyteidl.service.IGetDataRequest): flyteidl.service.GetDataRequest;
19727
20084
 
19728
20085
  /**
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
20086
+ * Encodes the specified GetDataRequest message. Does not implicitly {@link flyteidl.service.GetDataRequest.verify|verify} messages.
20087
+ * @param message GetDataRequest message or plain object to encode
19731
20088
  * @param [writer] Writer to encode to
19732
20089
  * @returns Writer
19733
20090
  */
19734
- public static encode(message: flyteidl.service.ICreateDownloadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20091
+ public static encode(message: flyteidl.service.IGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19735
20092
 
19736
20093
  /**
19737
- * Decodes a CreateDownloadLocationRequest message from the specified reader or buffer.
20094
+ * Decodes a GetDataRequest message from the specified reader or buffer.
19738
20095
  * @param reader Reader or buffer to decode from
19739
20096
  * @param [length] Message length if known beforehand
19740
- * @returns CreateDownloadLocationRequest
20097
+ * @returns GetDataRequest
19741
20098
  * @throws {Error} If the payload is not a reader or valid buffer
19742
20099
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19743
20100
  */
19744
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLocationRequest;
20101
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataRequest;
19745
20102
 
19746
20103
  /**
19747
- * Verifies a CreateDownloadLocationRequest message.
20104
+ * Verifies a GetDataRequest message.
19748
20105
  * @param message Plain object to verify
19749
20106
  * @returns `null` if valid, otherwise the reason why it is not
19750
20107
  */
19751
20108
  public static verify(message: { [k: string]: any }): (string|null);
19752
20109
  }
19753
20110
 
19754
- /** Properties of a CreateDownloadLocationResponse. */
19755
- interface ICreateDownloadLocationResponse {
20111
+ /** Properties of a GetDataResponse. */
20112
+ interface IGetDataResponse {
19756
20113
 
19757
- /** CreateDownloadLocationResponse signedUrl */
19758
- signedUrl?: (string|null);
20114
+ /** GetDataResponse literalMap */
20115
+ literalMap?: (flyteidl.core.ILiteralMap|null);
19759
20116
 
19760
- /** CreateDownloadLocationResponse expiresAt */
19761
- expiresAt?: (google.protobuf.ITimestamp|null);
20117
+ /** GetDataResponse preSignedUrls */
20118
+ preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
20119
+
20120
+ /** GetDataResponse literal */
20121
+ literal?: (flyteidl.core.ILiteral|null);
19762
20122
  }
19763
20123
 
19764
- /** Represents a CreateDownloadLocationResponse. */
19765
- class CreateDownloadLocationResponse implements ICreateDownloadLocationResponse {
20124
+ /** Represents a GetDataResponse. */
20125
+ class GetDataResponse implements IGetDataResponse {
19766
20126
 
19767
20127
  /**
19768
- * Constructs a new CreateDownloadLocationResponse.
20128
+ * Constructs a new GetDataResponse.
19769
20129
  * @param [properties] Properties to set
19770
20130
  */
19771
- constructor(properties?: flyteidl.service.ICreateDownloadLocationResponse);
20131
+ constructor(properties?: flyteidl.service.IGetDataResponse);
19772
20132
 
19773
- /** CreateDownloadLocationResponse signedUrl. */
19774
- public signedUrl: string;
20133
+ /** GetDataResponse literalMap. */
20134
+ public literalMap?: (flyteidl.core.ILiteralMap|null);
19775
20135
 
19776
- /** CreateDownloadLocationResponse expiresAt. */
19777
- public expiresAt?: (google.protobuf.ITimestamp|null);
20136
+ /** GetDataResponse preSignedUrls. */
20137
+ public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
20138
+
20139
+ /** GetDataResponse literal. */
20140
+ public literal?: (flyteidl.core.ILiteral|null);
20141
+
20142
+ /** GetDataResponse data. */
20143
+ public data?: ("literalMap"|"preSignedUrls"|"literal");
19778
20144
 
19779
20145
  /**
19780
- * Creates a new CreateDownloadLocationResponse instance using the specified properties.
20146
+ * Creates a new GetDataResponse instance using the specified properties.
19781
20147
  * @param [properties] Properties to set
19782
- * @returns CreateDownloadLocationResponse instance
20148
+ * @returns GetDataResponse instance
19783
20149
  */
19784
- public static create(properties?: flyteidl.service.ICreateDownloadLocationResponse): flyteidl.service.CreateDownloadLocationResponse;
20150
+ public static create(properties?: flyteidl.service.IGetDataResponse): flyteidl.service.GetDataResponse;
19785
20151
 
19786
20152
  /**
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
20153
+ * Encodes the specified GetDataResponse message. Does not implicitly {@link flyteidl.service.GetDataResponse.verify|verify} messages.
20154
+ * @param message GetDataResponse message or plain object to encode
19789
20155
  * @param [writer] Writer to encode to
19790
20156
  * @returns Writer
19791
20157
  */
19792
- public static encode(message: flyteidl.service.ICreateDownloadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20158
+ public static encode(message: flyteidl.service.IGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19793
20159
 
19794
20160
  /**
19795
- * Decodes a CreateDownloadLocationResponse message from the specified reader or buffer.
20161
+ * Decodes a GetDataResponse message from the specified reader or buffer.
19796
20162
  * @param reader Reader or buffer to decode from
19797
20163
  * @param [length] Message length if known beforehand
19798
- * @returns CreateDownloadLocationResponse
20164
+ * @returns GetDataResponse
19799
20165
  * @throws {Error} If the payload is not a reader or valid buffer
19800
20166
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19801
20167
  */
19802
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLocationResponse;
20168
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataResponse;
19803
20169
 
19804
20170
  /**
19805
- * Verifies a CreateDownloadLocationResponse message.
20171
+ * Verifies a GetDataResponse message.
19806
20172
  * @param message Plain object to verify
19807
20173
  * @returns `null` if valid, otherwise the reason why it is not
19808
20174
  */
19809
20175
  public static verify(message: { [k: string]: any }): (string|null);
19810
20176
  }
19811
20177
 
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 {
20178
+ /** Represents a DataProxyService */
20179
+ class DataProxyService extends $protobuf.rpc.Service {
19833
20180
 
19834
20181
  /**
19835
- * Constructs a new CreateDownloadLinkRequest.
19836
- * @param [properties] Properties to set
20182
+ * Constructs a new DataProxyService service.
20183
+ * @param rpcImpl RPC implementation
20184
+ * @param [requestDelimited=false] Whether requests are length-delimited
20185
+ * @param [responseDelimited=false] Whether responses are length-delimited
19837
20186
  */
19838
- constructor(properties?: flyteidl.service.ICreateDownloadLinkRequest);
19839
-
19840
- /** CreateDownloadLinkRequest artifactType. */
19841
- public artifactType: flyteidl.service.ArtifactType;
20187
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
19842
20188
 
19843
- /** CreateDownloadLinkRequest expiresIn. */
19844
- public expiresIn?: (google.protobuf.IDuration|null);
20189
+ /**
20190
+ * Creates new DataProxyService service using the specified rpc implementation.
20191
+ * @param rpcImpl RPC implementation
20192
+ * @param [requestDelimited=false] Whether requests are length-delimited
20193
+ * @param [responseDelimited=false] Whether responses are length-delimited
20194
+ * @returns RPC service. Useful where requests and/or responses are streamed.
20195
+ */
20196
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DataProxyService;
19845
20197
 
19846
- /** CreateDownloadLinkRequest nodeExecutionId. */
19847
- public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null);
20198
+ /**
20199
+ * Calls CreateUploadLocation.
20200
+ * @param request CreateUploadLocationRequest message or plain object
20201
+ * @param callback Node-style callback called with the error, if any, and CreateUploadLocationResponse
20202
+ */
20203
+ public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest, callback: flyteidl.service.DataProxyService.CreateUploadLocationCallback): void;
19848
20204
 
19849
- /** CreateDownloadLinkRequest source. */
19850
- public source?: "nodeExecutionId";
20205
+ /**
20206
+ * Calls CreateUploadLocation.
20207
+ * @param request CreateUploadLocationRequest message or plain object
20208
+ * @returns Promise
20209
+ */
20210
+ public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest): Promise<flyteidl.service.CreateUploadLocationResponse>;
19851
20211
 
19852
20212
  /**
19853
- * Creates a new CreateDownloadLinkRequest instance using the specified properties.
19854
- * @param [properties] Properties to set
19855
- * @returns CreateDownloadLinkRequest instance
20213
+ * Calls CreateDownloadLocation.
20214
+ * @param request CreateDownloadLocationRequest message or plain object
20215
+ * @param callback Node-style callback called with the error, if any, and CreateDownloadLocationResponse
19856
20216
  */
19857
- public static create(properties?: flyteidl.service.ICreateDownloadLinkRequest): flyteidl.service.CreateDownloadLinkRequest;
20217
+ public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLocationCallback): void;
19858
20218
 
19859
20219
  /**
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
20220
+ * Calls CreateDownloadLocation.
20221
+ * @param request CreateDownloadLocationRequest message or plain object
20222
+ * @returns Promise
19864
20223
  */
19865
- public static encode(message: flyteidl.service.ICreateDownloadLinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20224
+ public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest): Promise<flyteidl.service.CreateDownloadLocationResponse>;
19866
20225
 
19867
20226
  /**
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
20227
+ * Calls CreateDownloadLink.
20228
+ * @param request CreateDownloadLinkRequest message or plain object
20229
+ * @param callback Node-style callback called with the error, if any, and CreateDownloadLinkResponse
19874
20230
  */
19875
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLinkRequest;
20231
+ public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLinkCallback): void;
19876
20232
 
19877
20233
  /**
19878
- * Verifies a CreateDownloadLinkRequest message.
19879
- * @param message Plain object to verify
19880
- * @returns `null` if valid, otherwise the reason why it is not
20234
+ * Calls CreateDownloadLink.
20235
+ * @param request CreateDownloadLinkRequest message or plain object
20236
+ * @returns Promise
19881
20237
  */
19882
- public static verify(message: { [k: string]: any }): (string|null);
20238
+ public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest): Promise<flyteidl.service.CreateDownloadLinkResponse>;
20239
+
20240
+ /**
20241
+ * Calls GetData.
20242
+ * @param request GetDataRequest message or plain object
20243
+ * @param callback Node-style callback called with the error, if any, and GetDataResponse
20244
+ */
20245
+ public getData(request: flyteidl.service.IGetDataRequest, callback: flyteidl.service.DataProxyService.GetDataCallback): void;
20246
+
20247
+ /**
20248
+ * Calls GetData.
20249
+ * @param request GetDataRequest message or plain object
20250
+ * @returns Promise
20251
+ */
20252
+ public getData(request: flyteidl.service.IGetDataRequest): Promise<flyteidl.service.GetDataResponse>;
19883
20253
  }
19884
20254
 
19885
- /** Properties of a CreateDownloadLinkResponse. */
19886
- interface ICreateDownloadLinkResponse {
20255
+ namespace DataProxyService {
19887
20256
 
19888
- /** CreateDownloadLinkResponse signedUrl */
19889
- signedUrl?: (string[]|null);
20257
+ /**
20258
+ * Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}.
20259
+ * @param error Error, if any
20260
+ * @param [response] CreateUploadLocationResponse
20261
+ */
20262
+ type CreateUploadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateUploadLocationResponse) => void;
19890
20263
 
19891
- /** CreateDownloadLinkResponse expiresAt */
19892
- expiresAt?: (google.protobuf.ITimestamp|null);
20264
+ /**
20265
+ * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLocation}.
20266
+ * @param error Error, if any
20267
+ * @param [response] CreateDownloadLocationResponse
20268
+ */
20269
+ type CreateDownloadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLocationResponse) => void;
19893
20270
 
19894
- /** CreateDownloadLinkResponse preSignedUrls */
19895
- preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
20271
+ /**
20272
+ * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLink}.
20273
+ * @param error Error, if any
20274
+ * @param [response] CreateDownloadLinkResponse
20275
+ */
20276
+ type CreateDownloadLinkCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLinkResponse) => void;
20277
+
20278
+ /**
20279
+ * Callback as used by {@link flyteidl.service.DataProxyService#getData}.
20280
+ * @param error Error, if any
20281
+ * @param [response] GetDataResponse
20282
+ */
20283
+ type GetDataCallback = (error: (Error|null), response?: flyteidl.service.GetDataResponse) => void;
19896
20284
  }
19897
20285
 
19898
- /** Represents a CreateDownloadLinkResponse. */
19899
- class CreateDownloadLinkResponse implements ICreateDownloadLinkResponse {
20286
+ /** Represents an ExternalPluginService */
20287
+ class ExternalPluginService extends $protobuf.rpc.Service {
19900
20288
 
19901
20289
  /**
19902
- * Constructs a new CreateDownloadLinkResponse.
20290
+ * Constructs a new ExternalPluginService service.
20291
+ * @param rpcImpl RPC implementation
20292
+ * @param [requestDelimited=false] Whether requests are length-delimited
20293
+ * @param [responseDelimited=false] Whether responses are length-delimited
20294
+ */
20295
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
20296
+
20297
+ /**
20298
+ * Creates new ExternalPluginService service using the specified rpc implementation.
20299
+ * @param rpcImpl RPC implementation
20300
+ * @param [requestDelimited=false] Whether requests are length-delimited
20301
+ * @param [responseDelimited=false] Whether responses are length-delimited
20302
+ * @returns RPC service. Useful where requests and/or responses are streamed.
20303
+ */
20304
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ExternalPluginService;
20305
+
20306
+ /**
20307
+ * Calls CreateTask.
20308
+ * @param request TaskCreateRequest message or plain object
20309
+ * @param callback Node-style callback called with the error, if any, and TaskCreateResponse
20310
+ */
20311
+ public createTask(request: flyteidl.service.ITaskCreateRequest, callback: flyteidl.service.ExternalPluginService.CreateTaskCallback): void;
20312
+
20313
+ /**
20314
+ * Calls CreateTask.
20315
+ * @param request TaskCreateRequest message or plain object
20316
+ * @returns Promise
20317
+ */
20318
+ public createTask(request: flyteidl.service.ITaskCreateRequest): Promise<flyteidl.service.TaskCreateResponse>;
20319
+
20320
+ /**
20321
+ * Calls GetTask.
20322
+ * @param request TaskGetRequest message or plain object
20323
+ * @param callback Node-style callback called with the error, if any, and TaskGetResponse
20324
+ */
20325
+ public getTask(request: flyteidl.service.ITaskGetRequest, callback: flyteidl.service.ExternalPluginService.GetTaskCallback): void;
20326
+
20327
+ /**
20328
+ * Calls GetTask.
20329
+ * @param request TaskGetRequest message or plain object
20330
+ * @returns Promise
20331
+ */
20332
+ public getTask(request: flyteidl.service.ITaskGetRequest): Promise<flyteidl.service.TaskGetResponse>;
20333
+
20334
+ /**
20335
+ * Calls DeleteTask.
20336
+ * @param request TaskDeleteRequest message or plain object
20337
+ * @param callback Node-style callback called with the error, if any, and TaskDeleteResponse
20338
+ */
20339
+ public deleteTask(request: flyteidl.service.ITaskDeleteRequest, callback: flyteidl.service.ExternalPluginService.DeleteTaskCallback): void;
20340
+
20341
+ /**
20342
+ * Calls DeleteTask.
20343
+ * @param request TaskDeleteRequest message or plain object
20344
+ * @returns Promise
20345
+ */
20346
+ public deleteTask(request: flyteidl.service.ITaskDeleteRequest): Promise<flyteidl.service.TaskDeleteResponse>;
20347
+ }
20348
+
20349
+ namespace ExternalPluginService {
20350
+
20351
+ /**
20352
+ * Callback as used by {@link flyteidl.service.ExternalPluginService#createTask}.
20353
+ * @param error Error, if any
20354
+ * @param [response] TaskCreateResponse
20355
+ */
20356
+ type CreateTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskCreateResponse) => void;
20357
+
20358
+ /**
20359
+ * Callback as used by {@link flyteidl.service.ExternalPluginService#getTask}.
20360
+ * @param error Error, if any
20361
+ * @param [response] TaskGetResponse
20362
+ */
20363
+ type GetTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskGetResponse) => void;
20364
+
20365
+ /**
20366
+ * Callback as used by {@link flyteidl.service.ExternalPluginService#deleteTask}.
20367
+ * @param error Error, if any
20368
+ * @param [response] TaskDeleteResponse
20369
+ */
20370
+ type DeleteTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskDeleteResponse) => void;
20371
+ }
20372
+
20373
+ /** State enum. */
20374
+ enum State {
20375
+ RETRYABLE_FAILURE = 0,
20376
+ PERMANENT_FAILURE = 1,
20377
+ PENDING = 2,
20378
+ RUNNING = 3,
20379
+ SUCCEEDED = 4
20380
+ }
20381
+
20382
+ /** Properties of a TaskCreateRequest. */
20383
+ interface ITaskCreateRequest {
20384
+
20385
+ /** TaskCreateRequest inputs */
20386
+ inputs?: (flyteidl.core.ILiteralMap|null);
20387
+
20388
+ /** TaskCreateRequest template */
20389
+ template?: (flyteidl.core.ITaskTemplate|null);
20390
+
20391
+ /** TaskCreateRequest outputPrefix */
20392
+ outputPrefix?: (string|null);
20393
+ }
20394
+
20395
+ /** Represents a TaskCreateRequest. */
20396
+ class TaskCreateRequest implements ITaskCreateRequest {
20397
+
20398
+ /**
20399
+ * Constructs a new TaskCreateRequest.
19903
20400
  * @param [properties] Properties to set
19904
20401
  */
19905
- constructor(properties?: flyteidl.service.ICreateDownloadLinkResponse);
20402
+ constructor(properties?: flyteidl.service.ITaskCreateRequest);
19906
20403
 
19907
- /** CreateDownloadLinkResponse signedUrl. */
19908
- public signedUrl: string[];
20404
+ /** TaskCreateRequest inputs. */
20405
+ public inputs?: (flyteidl.core.ILiteralMap|null);
19909
20406
 
19910
- /** CreateDownloadLinkResponse expiresAt. */
19911
- public expiresAt?: (google.protobuf.ITimestamp|null);
20407
+ /** TaskCreateRequest template. */
20408
+ public template?: (flyteidl.core.ITaskTemplate|null);
19912
20409
 
19913
- /** CreateDownloadLinkResponse preSignedUrls. */
19914
- public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
20410
+ /** TaskCreateRequest outputPrefix. */
20411
+ public outputPrefix: string;
19915
20412
 
19916
20413
  /**
19917
- * Creates a new CreateDownloadLinkResponse instance using the specified properties.
20414
+ * Creates a new TaskCreateRequest instance using the specified properties.
19918
20415
  * @param [properties] Properties to set
19919
- * @returns CreateDownloadLinkResponse instance
20416
+ * @returns TaskCreateRequest instance
19920
20417
  */
19921
- public static create(properties?: flyteidl.service.ICreateDownloadLinkResponse): flyteidl.service.CreateDownloadLinkResponse;
20418
+ public static create(properties?: flyteidl.service.ITaskCreateRequest): flyteidl.service.TaskCreateRequest;
19922
20419
 
19923
20420
  /**
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
20421
+ * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.service.TaskCreateRequest.verify|verify} messages.
20422
+ * @param message TaskCreateRequest message or plain object to encode
19926
20423
  * @param [writer] Writer to encode to
19927
20424
  * @returns Writer
19928
20425
  */
19929
- public static encode(message: flyteidl.service.ICreateDownloadLinkResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20426
+ public static encode(message: flyteidl.service.ITaskCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19930
20427
 
19931
20428
  /**
19932
- * Decodes a CreateDownloadLinkResponse message from the specified reader or buffer.
20429
+ * Decodes a TaskCreateRequest message from the specified reader or buffer.
19933
20430
  * @param reader Reader or buffer to decode from
19934
20431
  * @param [length] Message length if known beforehand
19935
- * @returns CreateDownloadLinkResponse
20432
+ * @returns TaskCreateRequest
19936
20433
  * @throws {Error} If the payload is not a reader or valid buffer
19937
20434
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19938
20435
  */
19939
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLinkResponse;
20436
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskCreateRequest;
19940
20437
 
19941
20438
  /**
19942
- * Verifies a CreateDownloadLinkResponse message.
20439
+ * Verifies a TaskCreateRequest message.
19943
20440
  * @param message Plain object to verify
19944
20441
  * @returns `null` if valid, otherwise the reason why it is not
19945
20442
  */
19946
20443
  public static verify(message: { [k: string]: any }): (string|null);
19947
20444
  }
19948
20445
 
19949
- /** Properties of a PreSignedURLs. */
19950
- interface IPreSignedURLs {
19951
-
19952
- /** PreSignedURLs signedUrl */
19953
- signedUrl?: (string[]|null);
20446
+ /** Properties of a TaskCreateResponse. */
20447
+ interface ITaskCreateResponse {
19954
20448
 
19955
- /** PreSignedURLs expiresAt */
19956
- expiresAt?: (google.protobuf.ITimestamp|null);
20449
+ /** TaskCreateResponse jobId */
20450
+ jobId?: (string|null);
19957
20451
  }
19958
20452
 
19959
- /** Represents a PreSignedURLs. */
19960
- class PreSignedURLs implements IPreSignedURLs {
20453
+ /** Represents a TaskCreateResponse. */
20454
+ class TaskCreateResponse implements ITaskCreateResponse {
19961
20455
 
19962
20456
  /**
19963
- * Constructs a new PreSignedURLs.
20457
+ * Constructs a new TaskCreateResponse.
19964
20458
  * @param [properties] Properties to set
19965
20459
  */
19966
- constructor(properties?: flyteidl.service.IPreSignedURLs);
19967
-
19968
- /** PreSignedURLs signedUrl. */
19969
- public signedUrl: string[];
20460
+ constructor(properties?: flyteidl.service.ITaskCreateResponse);
19970
20461
 
19971
- /** PreSignedURLs expiresAt. */
19972
- public expiresAt?: (google.protobuf.ITimestamp|null);
20462
+ /** TaskCreateResponse jobId. */
20463
+ public jobId: string;
19973
20464
 
19974
20465
  /**
19975
- * Creates a new PreSignedURLs instance using the specified properties.
20466
+ * Creates a new TaskCreateResponse instance using the specified properties.
19976
20467
  * @param [properties] Properties to set
19977
- * @returns PreSignedURLs instance
20468
+ * @returns TaskCreateResponse instance
19978
20469
  */
19979
- public static create(properties?: flyteidl.service.IPreSignedURLs): flyteidl.service.PreSignedURLs;
20470
+ public static create(properties?: flyteidl.service.ITaskCreateResponse): flyteidl.service.TaskCreateResponse;
19980
20471
 
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
20472
+ /**
20473
+ * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.service.TaskCreateResponse.verify|verify} messages.
20474
+ * @param message TaskCreateResponse message or plain object to encode
19984
20475
  * @param [writer] Writer to encode to
19985
20476
  * @returns Writer
19986
20477
  */
19987
- public static encode(message: flyteidl.service.IPreSignedURLs, writer?: $protobuf.Writer): $protobuf.Writer;
20478
+ public static encode(message: flyteidl.service.ITaskCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19988
20479
 
19989
20480
  /**
19990
- * Decodes a PreSignedURLs message from the specified reader or buffer.
20481
+ * Decodes a TaskCreateResponse message from the specified reader or buffer.
19991
20482
  * @param reader Reader or buffer to decode from
19992
20483
  * @param [length] Message length if known beforehand
19993
- * @returns PreSignedURLs
20484
+ * @returns TaskCreateResponse
19994
20485
  * @throws {Error} If the payload is not a reader or valid buffer
19995
20486
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19996
20487
  */
19997
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PreSignedURLs;
20488
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskCreateResponse;
19998
20489
 
19999
20490
  /**
20000
- * Verifies a PreSignedURLs message.
20491
+ * Verifies a TaskCreateResponse message.
20001
20492
  * @param message Plain object to verify
20002
20493
  * @returns `null` if valid, otherwise the reason why it is not
20003
20494
  */
20004
20495
  public static verify(message: { [k: string]: any }): (string|null);
20005
20496
  }
20006
20497
 
20007
- /** Properties of a GetDataRequest. */
20008
- interface IGetDataRequest {
20498
+ /** Properties of a TaskGetRequest. */
20499
+ interface ITaskGetRequest {
20009
20500
 
20010
- /** GetDataRequest flyteUrl */
20011
- flyteUrl?: (string|null);
20501
+ /** TaskGetRequest taskType */
20502
+ taskType?: (string|null);
20503
+
20504
+ /** TaskGetRequest jobId */
20505
+ jobId?: (string|null);
20012
20506
  }
20013
20507
 
20014
- /** Represents a GetDataRequest. */
20015
- class GetDataRequest implements IGetDataRequest {
20508
+ /** Represents a TaskGetRequest. */
20509
+ class TaskGetRequest implements ITaskGetRequest {
20016
20510
 
20017
20511
  /**
20018
- * Constructs a new GetDataRequest.
20512
+ * Constructs a new TaskGetRequest.
20019
20513
  * @param [properties] Properties to set
20020
20514
  */
20021
- constructor(properties?: flyteidl.service.IGetDataRequest);
20515
+ constructor(properties?: flyteidl.service.ITaskGetRequest);
20022
20516
 
20023
- /** GetDataRequest flyteUrl. */
20024
- public flyteUrl: string;
20517
+ /** TaskGetRequest taskType. */
20518
+ public taskType: string;
20519
+
20520
+ /** TaskGetRequest jobId. */
20521
+ public jobId: string;
20025
20522
 
20026
20523
  /**
20027
- * Creates a new GetDataRequest instance using the specified properties.
20524
+ * Creates a new TaskGetRequest instance using the specified properties.
20028
20525
  * @param [properties] Properties to set
20029
- * @returns GetDataRequest instance
20526
+ * @returns TaskGetRequest instance
20030
20527
  */
20031
- public static create(properties?: flyteidl.service.IGetDataRequest): flyteidl.service.GetDataRequest;
20528
+ public static create(properties?: flyteidl.service.ITaskGetRequest): flyteidl.service.TaskGetRequest;
20032
20529
 
20033
20530
  /**
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
20531
+ * Encodes the specified TaskGetRequest message. Does not implicitly {@link flyteidl.service.TaskGetRequest.verify|verify} messages.
20532
+ * @param message TaskGetRequest message or plain object to encode
20036
20533
  * @param [writer] Writer to encode to
20037
20534
  * @returns Writer
20038
20535
  */
20039
- public static encode(message: flyteidl.service.IGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20536
+ public static encode(message: flyteidl.service.ITaskGetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20040
20537
 
20041
20538
  /**
20042
- * Decodes a GetDataRequest message from the specified reader or buffer.
20539
+ * Decodes a TaskGetRequest message from the specified reader or buffer.
20043
20540
  * @param reader Reader or buffer to decode from
20044
20541
  * @param [length] Message length if known beforehand
20045
- * @returns GetDataRequest
20542
+ * @returns TaskGetRequest
20046
20543
  * @throws {Error} If the payload is not a reader or valid buffer
20047
20544
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20048
20545
  */
20049
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataRequest;
20546
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskGetRequest;
20050
20547
 
20051
20548
  /**
20052
- * Verifies a GetDataRequest message.
20549
+ * Verifies a TaskGetRequest message.
20053
20550
  * @param message Plain object to verify
20054
20551
  * @returns `null` if valid, otherwise the reason why it is not
20055
20552
  */
20056
20553
  public static verify(message: { [k: string]: any }): (string|null);
20057
20554
  }
20058
20555
 
20059
- /** Properties of a GetDataResponse. */
20060
- interface IGetDataResponse {
20061
-
20062
- /** GetDataResponse literalMap */
20063
- literalMap?: (flyteidl.core.ILiteralMap|null);
20556
+ /** Properties of a TaskGetResponse. */
20557
+ interface ITaskGetResponse {
20064
20558
 
20065
- /** GetDataResponse preSignedUrls */
20066
- preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
20559
+ /** TaskGetResponse state */
20560
+ state?: (flyteidl.service.State|null);
20067
20561
 
20068
- /** GetDataResponse literal */
20069
- literal?: (flyteidl.core.ILiteral|null);
20562
+ /** TaskGetResponse outputs */
20563
+ outputs?: (flyteidl.core.ILiteralMap|null);
20070
20564
  }
20071
20565
 
20072
- /** Represents a GetDataResponse. */
20073
- class GetDataResponse implements IGetDataResponse {
20566
+ /** Represents a TaskGetResponse. */
20567
+ class TaskGetResponse implements ITaskGetResponse {
20074
20568
 
20075
20569
  /**
20076
- * Constructs a new GetDataResponse.
20570
+ * Constructs a new TaskGetResponse.
20077
20571
  * @param [properties] Properties to set
20078
20572
  */
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);
20573
+ constructor(properties?: flyteidl.service.ITaskGetResponse);
20086
20574
 
20087
- /** GetDataResponse literal. */
20088
- public literal?: (flyteidl.core.ILiteral|null);
20575
+ /** TaskGetResponse state. */
20576
+ public state: flyteidl.service.State;
20089
20577
 
20090
- /** GetDataResponse data. */
20091
- public data?: ("literalMap"|"preSignedUrls"|"literal");
20578
+ /** TaskGetResponse outputs. */
20579
+ public outputs?: (flyteidl.core.ILiteralMap|null);
20092
20580
 
20093
20581
  /**
20094
- * Creates a new GetDataResponse instance using the specified properties.
20582
+ * Creates a new TaskGetResponse instance using the specified properties.
20095
20583
  * @param [properties] Properties to set
20096
- * @returns GetDataResponse instance
20584
+ * @returns TaskGetResponse instance
20097
20585
  */
20098
- public static create(properties?: flyteidl.service.IGetDataResponse): flyteidl.service.GetDataResponse;
20586
+ public static create(properties?: flyteidl.service.ITaskGetResponse): flyteidl.service.TaskGetResponse;
20099
20587
 
20100
20588
  /**
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
20589
+ * Encodes the specified TaskGetResponse message. Does not implicitly {@link flyteidl.service.TaskGetResponse.verify|verify} messages.
20590
+ * @param message TaskGetResponse message or plain object to encode
20103
20591
  * @param [writer] Writer to encode to
20104
20592
  * @returns Writer
20105
20593
  */
20106
- public static encode(message: flyteidl.service.IGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20594
+ public static encode(message: flyteidl.service.ITaskGetResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20107
20595
 
20108
20596
  /**
20109
- * Decodes a GetDataResponse message from the specified reader or buffer.
20597
+ * Decodes a TaskGetResponse message from the specified reader or buffer.
20110
20598
  * @param reader Reader or buffer to decode from
20111
20599
  * @param [length] Message length if known beforehand
20112
- * @returns GetDataResponse
20600
+ * @returns TaskGetResponse
20113
20601
  * @throws {Error} If the payload is not a reader or valid buffer
20114
20602
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20115
20603
  */
20116
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataResponse;
20604
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskGetResponse;
20117
20605
 
20118
20606
  /**
20119
- * Verifies a GetDataResponse message.
20607
+ * Verifies a TaskGetResponse message.
20120
20608
  * @param message Plain object to verify
20121
20609
  * @returns `null` if valid, otherwise the reason why it is not
20122
20610
  */
20123
20611
  public static verify(message: { [k: string]: any }): (string|null);
20124
20612
  }
20125
20613
 
20126
- /** Represents a DataProxyService */
20127
- class DataProxyService extends $protobuf.rpc.Service {
20614
+ /** Properties of a TaskDeleteRequest. */
20615
+ interface ITaskDeleteRequest {
20128
20616
 
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);
20617
+ /** TaskDeleteRequest taskType */
20618
+ taskType?: (string|null);
20136
20619
 
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;
20620
+ /** TaskDeleteRequest jobId */
20621
+ jobId?: (string|null);
20622
+ }
20145
20623
 
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;
20624
+ /** Represents a TaskDeleteRequest. */
20625
+ class TaskDeleteRequest implements ITaskDeleteRequest {
20152
20626
 
20153
20627
  /**
20154
- * Calls CreateUploadLocation.
20155
- * @param request CreateUploadLocationRequest message or plain object
20156
- * @returns Promise
20628
+ * Constructs a new TaskDeleteRequest.
20629
+ * @param [properties] Properties to set
20157
20630
  */
20158
- public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest): Promise<flyteidl.service.CreateUploadLocationResponse>;
20631
+ constructor(properties?: flyteidl.service.ITaskDeleteRequest);
20159
20632
 
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;
20633
+ /** TaskDeleteRequest taskType. */
20634
+ public taskType: string;
20166
20635
 
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>;
20636
+ /** TaskDeleteRequest jobId. */
20637
+ public jobId: string;
20173
20638
 
20174
20639
  /**
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
20640
+ * Creates a new TaskDeleteRequest instance using the specified properties.
20641
+ * @param [properties] Properties to set
20642
+ * @returns TaskDeleteRequest instance
20178
20643
  */
20179
- public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLinkCallback): void;
20644
+ public static create(properties?: flyteidl.service.ITaskDeleteRequest): flyteidl.service.TaskDeleteRequest;
20180
20645
 
20181
20646
  /**
20182
- * Calls CreateDownloadLink.
20183
- * @param request CreateDownloadLinkRequest message or plain object
20184
- * @returns Promise
20647
+ * Encodes the specified TaskDeleteRequest message. Does not implicitly {@link flyteidl.service.TaskDeleteRequest.verify|verify} messages.
20648
+ * @param message TaskDeleteRequest message or plain object to encode
20649
+ * @param [writer] Writer to encode to
20650
+ * @returns Writer
20185
20651
  */
20186
- public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest): Promise<flyteidl.service.CreateDownloadLinkResponse>;
20652
+ public static encode(message: flyteidl.service.ITaskDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20187
20653
 
20188
20654
  /**
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
20655
+ * Decodes a TaskDeleteRequest message from the specified reader or buffer.
20656
+ * @param reader Reader or buffer to decode from
20657
+ * @param [length] Message length if known beforehand
20658
+ * @returns TaskDeleteRequest
20659
+ * @throws {Error} If the payload is not a reader or valid buffer
20660
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20192
20661
  */
20193
- public getData(request: flyteidl.service.IGetDataRequest, callback: flyteidl.service.DataProxyService.GetDataCallback): void;
20662
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskDeleteRequest;
20194
20663
 
20195
20664
  /**
20196
- * Calls GetData.
20197
- * @param request GetDataRequest message or plain object
20198
- * @returns Promise
20665
+ * Verifies a TaskDeleteRequest message.
20666
+ * @param message Plain object to verify
20667
+ * @returns `null` if valid, otherwise the reason why it is not
20199
20668
  */
20200
- public getData(request: flyteidl.service.IGetDataRequest): Promise<flyteidl.service.GetDataResponse>;
20669
+ public static verify(message: { [k: string]: any }): (string|null);
20201
20670
  }
20202
20671
 
20203
- namespace DataProxyService {
20672
+ /** Properties of a TaskDeleteResponse. */
20673
+ interface ITaskDeleteResponse {
20674
+ }
20675
+
20676
+ /** Represents a TaskDeleteResponse. */
20677
+ class TaskDeleteResponse implements ITaskDeleteResponse {
20204
20678
 
20205
20679
  /**
20206
- * Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}.
20207
- * @param error Error, if any
20208
- * @param [response] CreateUploadLocationResponse
20680
+ * Constructs a new TaskDeleteResponse.
20681
+ * @param [properties] Properties to set
20209
20682
  */
20210
- type CreateUploadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateUploadLocationResponse) => void;
20683
+ constructor(properties?: flyteidl.service.ITaskDeleteResponse);
20211
20684
 
20212
20685
  /**
20213
- * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLocation}.
20214
- * @param error Error, if any
20215
- * @param [response] CreateDownloadLocationResponse
20686
+ * Creates a new TaskDeleteResponse instance using the specified properties.
20687
+ * @param [properties] Properties to set
20688
+ * @returns TaskDeleteResponse instance
20216
20689
  */
20217
- type CreateDownloadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLocationResponse) => void;
20690
+ public static create(properties?: flyteidl.service.ITaskDeleteResponse): flyteidl.service.TaskDeleteResponse;
20218
20691
 
20219
20692
  /**
20220
- * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLink}.
20221
- * @param error Error, if any
20222
- * @param [response] CreateDownloadLinkResponse
20693
+ * Encodes the specified TaskDeleteResponse message. Does not implicitly {@link flyteidl.service.TaskDeleteResponse.verify|verify} messages.
20694
+ * @param message TaskDeleteResponse message or plain object to encode
20695
+ * @param [writer] Writer to encode to
20696
+ * @returns Writer
20223
20697
  */
20224
- type CreateDownloadLinkCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLinkResponse) => void;
20698
+ public static encode(message: flyteidl.service.ITaskDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20225
20699
 
20226
20700
  /**
20227
- * Callback as used by {@link flyteidl.service.DataProxyService#getData}.
20228
- * @param error Error, if any
20229
- * @param [response] GetDataResponse
20701
+ * Decodes a TaskDeleteResponse message from the specified reader or buffer.
20702
+ * @param reader Reader or buffer to decode from
20703
+ * @param [length] Message length if known beforehand
20704
+ * @returns TaskDeleteResponse
20705
+ * @throws {Error} If the payload is not a reader or valid buffer
20706
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20230
20707
  */
20231
- type GetDataCallback = (error: (Error|null), response?: flyteidl.service.GetDataResponse) => void;
20708
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskDeleteResponse;
20709
+
20710
+ /**
20711
+ * Verifies a TaskDeleteResponse message.
20712
+ * @param message Plain object to verify
20713
+ * @returns `null` if valid, otherwise the reason why it is not
20714
+ */
20715
+ public static verify(message: { [k: string]: any }): (string|null);
20232
20716
  }
20233
20717
 
20234
20718
  /** Properties of a UserInfoRequest. */