@flyteorg/flyteidl 1.5.8 → 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.
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -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,6 +19172,93 @@ export namespace flyteidl {
|
|
|
18775
19172
|
type GetExecutionMetricsCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowExecutionGetMetricsResponse) => void;
|
|
18776
19173
|
}
|
|
18777
19174
|
|
|
19175
|
+
/** Represents an AsyncAgentService */
|
|
19176
|
+
class AsyncAgentService extends $protobuf.rpc.Service {
|
|
19177
|
+
|
|
19178
|
+
/**
|
|
19179
|
+
* Constructs a new AsyncAgentService service.
|
|
19180
|
+
* @param rpcImpl RPC implementation
|
|
19181
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
19182
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
19183
|
+
*/
|
|
19184
|
+
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
|
19185
|
+
|
|
19186
|
+
/**
|
|
19187
|
+
* Creates new AsyncAgentService service using the specified rpc implementation.
|
|
19188
|
+
* @param rpcImpl RPC implementation
|
|
19189
|
+
* @param [requestDelimited=false] Whether requests are length-delimited
|
|
19190
|
+
* @param [responseDelimited=false] Whether responses are length-delimited
|
|
19191
|
+
* @returns RPC service. Useful where requests and/or responses are streamed.
|
|
19192
|
+
*/
|
|
19193
|
+
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AsyncAgentService;
|
|
19194
|
+
|
|
19195
|
+
/**
|
|
19196
|
+
* Calls CreateTask.
|
|
19197
|
+
* @param request CreateTaskRequest message or plain object
|
|
19198
|
+
* @param callback Node-style callback called with the error, if any, and CreateTaskResponse
|
|
19199
|
+
*/
|
|
19200
|
+
public createTask(request: flyteidl.admin.ICreateTaskRequest, callback: flyteidl.service.AsyncAgentService.CreateTaskCallback): void;
|
|
19201
|
+
|
|
19202
|
+
/**
|
|
19203
|
+
* Calls CreateTask.
|
|
19204
|
+
* @param request CreateTaskRequest message or plain object
|
|
19205
|
+
* @returns Promise
|
|
19206
|
+
*/
|
|
19207
|
+
public createTask(request: flyteidl.admin.ICreateTaskRequest): Promise<flyteidl.admin.CreateTaskResponse>;
|
|
19208
|
+
|
|
19209
|
+
/**
|
|
19210
|
+
* Calls GetTask.
|
|
19211
|
+
* @param request GetTaskRequest message or plain object
|
|
19212
|
+
* @param callback Node-style callback called with the error, if any, and GetTaskResponse
|
|
19213
|
+
*/
|
|
19214
|
+
public getTask(request: flyteidl.admin.IGetTaskRequest, callback: flyteidl.service.AsyncAgentService.GetTaskCallback): void;
|
|
19215
|
+
|
|
19216
|
+
/**
|
|
19217
|
+
* Calls GetTask.
|
|
19218
|
+
* @param request GetTaskRequest message or plain object
|
|
19219
|
+
* @returns Promise
|
|
19220
|
+
*/
|
|
19221
|
+
public getTask(request: flyteidl.admin.IGetTaskRequest): Promise<flyteidl.admin.GetTaskResponse>;
|
|
19222
|
+
|
|
19223
|
+
/**
|
|
19224
|
+
* Calls DeleteTask.
|
|
19225
|
+
* @param request DeleteTaskRequest message or plain object
|
|
19226
|
+
* @param callback Node-style callback called with the error, if any, and DeleteTaskResponse
|
|
19227
|
+
*/
|
|
19228
|
+
public deleteTask(request: flyteidl.admin.IDeleteTaskRequest, callback: flyteidl.service.AsyncAgentService.DeleteTaskCallback): void;
|
|
19229
|
+
|
|
19230
|
+
/**
|
|
19231
|
+
* Calls DeleteTask.
|
|
19232
|
+
* @param request DeleteTaskRequest message or plain object
|
|
19233
|
+
* @returns Promise
|
|
19234
|
+
*/
|
|
19235
|
+
public deleteTask(request: flyteidl.admin.IDeleteTaskRequest): Promise<flyteidl.admin.DeleteTaskResponse>;
|
|
19236
|
+
}
|
|
19237
|
+
|
|
19238
|
+
namespace AsyncAgentService {
|
|
19239
|
+
|
|
19240
|
+
/**
|
|
19241
|
+
* Callback as used by {@link flyteidl.service.AsyncAgentService#createTask}.
|
|
19242
|
+
* @param error Error, if any
|
|
19243
|
+
* @param [response] CreateTaskResponse
|
|
19244
|
+
*/
|
|
19245
|
+
type CreateTaskCallback = (error: (Error|null), response?: flyteidl.admin.CreateTaskResponse) => void;
|
|
19246
|
+
|
|
19247
|
+
/**
|
|
19248
|
+
* Callback as used by {@link flyteidl.service.AsyncAgentService#getTask}.
|
|
19249
|
+
* @param error Error, if any
|
|
19250
|
+
* @param [response] GetTaskResponse
|
|
19251
|
+
*/
|
|
19252
|
+
type GetTaskCallback = (error: (Error|null), response?: flyteidl.admin.GetTaskResponse) => void;
|
|
19253
|
+
|
|
19254
|
+
/**
|
|
19255
|
+
* Callback as used by {@link flyteidl.service.AsyncAgentService#deleteTask}.
|
|
19256
|
+
* @param error Error, if any
|
|
19257
|
+
* @param [response] DeleteTaskResponse
|
|
19258
|
+
*/
|
|
19259
|
+
type DeleteTaskCallback = (error: (Error|null), response?: flyteidl.admin.DeleteTaskResponse) => void;
|
|
19260
|
+
}
|
|
19261
|
+
|
|
18778
19262
|
/** Properties of a OAuth2MetadataRequest. */
|
|
18779
19263
|
interface IOAuth2MetadataRequest {
|
|
18780
19264
|
}
|