@flyteorg/flyteidl 1.5.8 → 1.5.9

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.
@@ -18775,1460 +18775,1460 @@ export namespace flyteidl {
18775
18775
  type GetExecutionMetricsCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowExecutionGetMetricsResponse) => void;
18776
18776
  }
18777
18777
 
18778
- /** Properties of a OAuth2MetadataRequest. */
18779
- interface IOAuth2MetadataRequest {
18780
- }
18778
+ /** Represents an AgentService */
18779
+ class AgentService extends $protobuf.rpc.Service {
18781
18780
 
18782
- /** Represents a OAuth2MetadataRequest. */
18783
- class OAuth2MetadataRequest implements IOAuth2MetadataRequest {
18781
+ /**
18782
+ * Constructs a new AgentService service.
18783
+ * @param rpcImpl RPC implementation
18784
+ * @param [requestDelimited=false] Whether requests are length-delimited
18785
+ * @param [responseDelimited=false] Whether responses are length-delimited
18786
+ */
18787
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
18784
18788
 
18785
18789
  /**
18786
- * Constructs a new OAuth2MetadataRequest.
18787
- * @param [properties] Properties to set
18790
+ * Creates new AgentService service using the specified rpc implementation.
18791
+ * @param rpcImpl RPC implementation
18792
+ * @param [requestDelimited=false] Whether requests are length-delimited
18793
+ * @param [responseDelimited=false] Whether responses are length-delimited
18794
+ * @returns RPC service. Useful where requests and/or responses are streamed.
18788
18795
  */
18789
- constructor(properties?: flyteidl.service.IOAuth2MetadataRequest);
18796
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AgentService;
18790
18797
 
18791
18798
  /**
18792
- * Creates a new OAuth2MetadataRequest instance using the specified properties.
18793
- * @param [properties] Properties to set
18794
- * @returns OAuth2MetadataRequest instance
18799
+ * Calls CreateTask.
18800
+ * @param request TaskCreateRequest message or plain object
18801
+ * @param callback Node-style callback called with the error, if any, and TaskCreateResponse
18795
18802
  */
18796
- public static create(properties?: flyteidl.service.IOAuth2MetadataRequest): flyteidl.service.OAuth2MetadataRequest;
18803
+ public createTask(request: flyteidl.service.ITaskCreateRequest, callback: flyteidl.service.AgentService.CreateTaskCallback): void;
18797
18804
 
18798
18805
  /**
18799
- * Encodes the specified OAuth2MetadataRequest message. Does not implicitly {@link flyteidl.service.OAuth2MetadataRequest.verify|verify} messages.
18800
- * @param message OAuth2MetadataRequest message or plain object to encode
18801
- * @param [writer] Writer to encode to
18802
- * @returns Writer
18806
+ * Calls CreateTask.
18807
+ * @param request TaskCreateRequest message or plain object
18808
+ * @returns Promise
18803
18809
  */
18804
- public static encode(message: flyteidl.service.IOAuth2MetadataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
18810
+ public createTask(request: flyteidl.service.ITaskCreateRequest): Promise<flyteidl.service.TaskCreateResponse>;
18805
18811
 
18806
18812
  /**
18807
- * Decodes a OAuth2MetadataRequest message from the specified reader or buffer.
18808
- * @param reader Reader or buffer to decode from
18809
- * @param [length] Message length if known beforehand
18810
- * @returns OAuth2MetadataRequest
18811
- * @throws {Error} If the payload is not a reader or valid buffer
18812
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
18813
+ * Calls GetTask.
18814
+ * @param request TaskGetRequest message or plain object
18815
+ * @param callback Node-style callback called with the error, if any, and TaskGetResponse
18813
18816
  */
18814
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.OAuth2MetadataRequest;
18817
+ public getTask(request: flyteidl.service.ITaskGetRequest, callback: flyteidl.service.AgentService.GetTaskCallback): void;
18815
18818
 
18816
18819
  /**
18817
- * Verifies a OAuth2MetadataRequest message.
18818
- * @param message Plain object to verify
18819
- * @returns `null` if valid, otherwise the reason why it is not
18820
+ * Calls GetTask.
18821
+ * @param request TaskGetRequest message or plain object
18822
+ * @returns Promise
18820
18823
  */
18821
- public static verify(message: { [k: string]: any }): (string|null);
18822
- }
18824
+ public getTask(request: flyteidl.service.ITaskGetRequest): Promise<flyteidl.service.TaskGetResponse>;
18823
18825
 
18824
- /** Properties of a OAuth2MetadataResponse. */
18825
- interface IOAuth2MetadataResponse {
18826
+ /**
18827
+ * Calls DeleteTask.
18828
+ * @param request TaskDeleteRequest message or plain object
18829
+ * @param callback Node-style callback called with the error, if any, and TaskDeleteResponse
18830
+ */
18831
+ public deleteTask(request: flyteidl.service.ITaskDeleteRequest, callback: flyteidl.service.AgentService.DeleteTaskCallback): void;
18826
18832
 
18827
- /** OAuth2MetadataResponse issuer */
18828
- issuer?: (string|null);
18833
+ /**
18834
+ * Calls DeleteTask.
18835
+ * @param request TaskDeleteRequest message or plain object
18836
+ * @returns Promise
18837
+ */
18838
+ public deleteTask(request: flyteidl.service.ITaskDeleteRequest): Promise<flyteidl.service.TaskDeleteResponse>;
18839
+ }
18829
18840
 
18830
- /** OAuth2MetadataResponse authorizationEndpoint */
18831
- authorizationEndpoint?: (string|null);
18841
+ namespace AgentService {
18832
18842
 
18833
- /** OAuth2MetadataResponse tokenEndpoint */
18834
- tokenEndpoint?: (string|null);
18843
+ /**
18844
+ * Callback as used by {@link flyteidl.service.AgentService#createTask}.
18845
+ * @param error Error, if any
18846
+ * @param [response] TaskCreateResponse
18847
+ */
18848
+ type CreateTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskCreateResponse) => void;
18835
18849
 
18836
- /** OAuth2MetadataResponse responseTypesSupported */
18837
- responseTypesSupported?: (string[]|null);
18850
+ /**
18851
+ * Callback as used by {@link flyteidl.service.AgentService#getTask}.
18852
+ * @param error Error, if any
18853
+ * @param [response] TaskGetResponse
18854
+ */
18855
+ type GetTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskGetResponse) => void;
18838
18856
 
18839
- /** OAuth2MetadataResponse scopesSupported */
18840
- scopesSupported?: (string[]|null);
18857
+ /**
18858
+ * Callback as used by {@link flyteidl.service.AgentService#deleteTask}.
18859
+ * @param error Error, if any
18860
+ * @param [response] TaskDeleteResponse
18861
+ */
18862
+ type DeleteTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskDeleteResponse) => void;
18863
+ }
18841
18864
 
18842
- /** OAuth2MetadataResponse tokenEndpointAuthMethodsSupported */
18843
- tokenEndpointAuthMethodsSupported?: (string[]|null);
18865
+ /** State enum. */
18866
+ enum State {
18867
+ RETRYABLE_FAILURE = 0,
18868
+ PERMANENT_FAILURE = 1,
18869
+ PENDING = 2,
18870
+ RUNNING = 3,
18871
+ SUCCEEDED = 4
18872
+ }
18844
18873
 
18845
- /** OAuth2MetadataResponse jwksUri */
18846
- jwksUri?: (string|null);
18874
+ /** Properties of a TaskCreateRequest. */
18875
+ interface ITaskCreateRequest {
18847
18876
 
18848
- /** OAuth2MetadataResponse codeChallengeMethodsSupported */
18849
- codeChallengeMethodsSupported?: (string[]|null);
18877
+ /** TaskCreateRequest inputs */
18878
+ inputs?: (flyteidl.core.ILiteralMap|null);
18850
18879
 
18851
- /** OAuth2MetadataResponse grantTypesSupported */
18852
- grantTypesSupported?: (string[]|null);
18880
+ /** TaskCreateRequest template */
18881
+ template?: (flyteidl.core.ITaskTemplate|null);
18853
18882
 
18854
- /** OAuth2MetadataResponse deviceAuthorizationEndpoint */
18855
- deviceAuthorizationEndpoint?: (string|null);
18883
+ /** TaskCreateRequest outputPrefix */
18884
+ outputPrefix?: (string|null);
18856
18885
  }
18857
18886
 
18858
- /** Represents a OAuth2MetadataResponse. */
18859
- class OAuth2MetadataResponse implements IOAuth2MetadataResponse {
18887
+ /** Represents a TaskCreateRequest. */
18888
+ class TaskCreateRequest implements ITaskCreateRequest {
18860
18889
 
18861
18890
  /**
18862
- * Constructs a new OAuth2MetadataResponse.
18891
+ * Constructs a new TaskCreateRequest.
18863
18892
  * @param [properties] Properties to set
18864
18893
  */
18865
- constructor(properties?: flyteidl.service.IOAuth2MetadataResponse);
18866
-
18867
- /** OAuth2MetadataResponse issuer. */
18868
- public issuer: string;
18869
-
18870
- /** OAuth2MetadataResponse authorizationEndpoint. */
18871
- public authorizationEndpoint: string;
18872
-
18873
- /** OAuth2MetadataResponse tokenEndpoint. */
18874
- public tokenEndpoint: string;
18875
-
18876
- /** OAuth2MetadataResponse responseTypesSupported. */
18877
- public responseTypesSupported: string[];
18878
-
18879
- /** OAuth2MetadataResponse scopesSupported. */
18880
- public scopesSupported: string[];
18881
-
18882
- /** OAuth2MetadataResponse tokenEndpointAuthMethodsSupported. */
18883
- public tokenEndpointAuthMethodsSupported: string[];
18884
-
18885
- /** OAuth2MetadataResponse jwksUri. */
18886
- public jwksUri: string;
18894
+ constructor(properties?: flyteidl.service.ITaskCreateRequest);
18887
18895
 
18888
- /** OAuth2MetadataResponse codeChallengeMethodsSupported. */
18889
- public codeChallengeMethodsSupported: string[];
18896
+ /** TaskCreateRequest inputs. */
18897
+ public inputs?: (flyteidl.core.ILiteralMap|null);
18890
18898
 
18891
- /** OAuth2MetadataResponse grantTypesSupported. */
18892
- public grantTypesSupported: string[];
18899
+ /** TaskCreateRequest template. */
18900
+ public template?: (flyteidl.core.ITaskTemplate|null);
18893
18901
 
18894
- /** OAuth2MetadataResponse deviceAuthorizationEndpoint. */
18895
- public deviceAuthorizationEndpoint: string;
18902
+ /** TaskCreateRequest outputPrefix. */
18903
+ public outputPrefix: string;
18896
18904
 
18897
18905
  /**
18898
- * Creates a new OAuth2MetadataResponse instance using the specified properties.
18906
+ * Creates a new TaskCreateRequest instance using the specified properties.
18899
18907
  * @param [properties] Properties to set
18900
- * @returns OAuth2MetadataResponse instance
18908
+ * @returns TaskCreateRequest instance
18901
18909
  */
18902
- public static create(properties?: flyteidl.service.IOAuth2MetadataResponse): flyteidl.service.OAuth2MetadataResponse;
18910
+ public static create(properties?: flyteidl.service.ITaskCreateRequest): flyteidl.service.TaskCreateRequest;
18903
18911
 
18904
18912
  /**
18905
- * Encodes the specified OAuth2MetadataResponse message. Does not implicitly {@link flyteidl.service.OAuth2MetadataResponse.verify|verify} messages.
18906
- * @param message OAuth2MetadataResponse message or plain object to encode
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
18907
18915
  * @param [writer] Writer to encode to
18908
18916
  * @returns Writer
18909
18917
  */
18910
- public static encode(message: flyteidl.service.IOAuth2MetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
18918
+ public static encode(message: flyteidl.service.ITaskCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
18911
18919
 
18912
18920
  /**
18913
- * Decodes a OAuth2MetadataResponse message from the specified reader or buffer.
18921
+ * Decodes a TaskCreateRequest message from the specified reader or buffer.
18914
18922
  * @param reader Reader or buffer to decode from
18915
18923
  * @param [length] Message length if known beforehand
18916
- * @returns OAuth2MetadataResponse
18924
+ * @returns TaskCreateRequest
18917
18925
  * @throws {Error} If the payload is not a reader or valid buffer
18918
18926
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
18919
18927
  */
18920
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.OAuth2MetadataResponse;
18928
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskCreateRequest;
18921
18929
 
18922
18930
  /**
18923
- * Verifies a OAuth2MetadataResponse message.
18931
+ * Verifies a TaskCreateRequest message.
18924
18932
  * @param message Plain object to verify
18925
18933
  * @returns `null` if valid, otherwise the reason why it is not
18926
18934
  */
18927
18935
  public static verify(message: { [k: string]: any }): (string|null);
18928
18936
  }
18929
18937
 
18930
- /** Properties of a PublicClientAuthConfigRequest. */
18931
- interface IPublicClientAuthConfigRequest {
18938
+ /** Properties of a TaskCreateResponse. */
18939
+ interface ITaskCreateResponse {
18940
+
18941
+ /** TaskCreateResponse jobId */
18942
+ jobId?: (string|null);
18932
18943
  }
18933
18944
 
18934
- /** Represents a PublicClientAuthConfigRequest. */
18935
- class PublicClientAuthConfigRequest implements IPublicClientAuthConfigRequest {
18945
+ /** Represents a TaskCreateResponse. */
18946
+ class TaskCreateResponse implements ITaskCreateResponse {
18936
18947
 
18937
18948
  /**
18938
- * Constructs a new PublicClientAuthConfigRequest.
18949
+ * Constructs a new TaskCreateResponse.
18939
18950
  * @param [properties] Properties to set
18940
18951
  */
18941
- constructor(properties?: flyteidl.service.IPublicClientAuthConfigRequest);
18952
+ constructor(properties?: flyteidl.service.ITaskCreateResponse);
18953
+
18954
+ /** TaskCreateResponse jobId. */
18955
+ public jobId: string;
18942
18956
 
18943
18957
  /**
18944
- * Creates a new PublicClientAuthConfigRequest instance using the specified properties.
18958
+ * Creates a new TaskCreateResponse instance using the specified properties.
18945
18959
  * @param [properties] Properties to set
18946
- * @returns PublicClientAuthConfigRequest instance
18960
+ * @returns TaskCreateResponse instance
18947
18961
  */
18948
- public static create(properties?: flyteidl.service.IPublicClientAuthConfigRequest): flyteidl.service.PublicClientAuthConfigRequest;
18962
+ public static create(properties?: flyteidl.service.ITaskCreateResponse): flyteidl.service.TaskCreateResponse;
18949
18963
 
18950
18964
  /**
18951
- * Encodes the specified PublicClientAuthConfigRequest message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigRequest.verify|verify} messages.
18952
- * @param message PublicClientAuthConfigRequest message or plain object to encode
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
18953
18967
  * @param [writer] Writer to encode to
18954
18968
  * @returns Writer
18955
18969
  */
18956
- public static encode(message: flyteidl.service.IPublicClientAuthConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
18970
+ public static encode(message: flyteidl.service.ITaskCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
18957
18971
 
18958
18972
  /**
18959
- * Decodes a PublicClientAuthConfigRequest message from the specified reader or buffer.
18973
+ * Decodes a TaskCreateResponse message from the specified reader or buffer.
18960
18974
  * @param reader Reader or buffer to decode from
18961
18975
  * @param [length] Message length if known beforehand
18962
- * @returns PublicClientAuthConfigRequest
18976
+ * @returns TaskCreateResponse
18963
18977
  * @throws {Error} If the payload is not a reader or valid buffer
18964
18978
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
18965
18979
  */
18966
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PublicClientAuthConfigRequest;
18980
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskCreateResponse;
18967
18981
 
18968
18982
  /**
18969
- * Verifies a PublicClientAuthConfigRequest message.
18983
+ * Verifies a TaskCreateResponse message.
18970
18984
  * @param message Plain object to verify
18971
18985
  * @returns `null` if valid, otherwise the reason why it is not
18972
18986
  */
18973
18987
  public static verify(message: { [k: string]: any }): (string|null);
18974
18988
  }
18975
18989
 
18976
- /** Properties of a PublicClientAuthConfigResponse. */
18977
- interface IPublicClientAuthConfigResponse {
18978
-
18979
- /** PublicClientAuthConfigResponse clientId */
18980
- clientId?: (string|null);
18981
-
18982
- /** PublicClientAuthConfigResponse redirectUri */
18983
- redirectUri?: (string|null);
18984
-
18985
- /** PublicClientAuthConfigResponse scopes */
18986
- scopes?: (string[]|null);
18987
-
18988
- /** PublicClientAuthConfigResponse authorizationMetadataKey */
18989
- authorizationMetadataKey?: (string|null);
18990
+ /** Properties of a TaskGetRequest. */
18991
+ interface ITaskGetRequest {
18990
18992
 
18991
- /** PublicClientAuthConfigResponse serviceHttpEndpoint */
18992
- serviceHttpEndpoint?: (string|null);
18993
+ /** TaskGetRequest taskType */
18994
+ taskType?: (string|null);
18993
18995
 
18994
- /** PublicClientAuthConfigResponse audience */
18995
- audience?: (string|null);
18996
+ /** TaskGetRequest jobId */
18997
+ jobId?: (string|null);
18996
18998
  }
18997
18999
 
18998
- /** Represents a PublicClientAuthConfigResponse. */
18999
- class PublicClientAuthConfigResponse implements IPublicClientAuthConfigResponse {
19000
+ /** Represents a TaskGetRequest. */
19001
+ class TaskGetRequest implements ITaskGetRequest {
19000
19002
 
19001
19003
  /**
19002
- * Constructs a new PublicClientAuthConfigResponse.
19004
+ * Constructs a new TaskGetRequest.
19003
19005
  * @param [properties] Properties to set
19004
19006
  */
19005
- constructor(properties?: flyteidl.service.IPublicClientAuthConfigResponse);
19007
+ constructor(properties?: flyteidl.service.ITaskGetRequest);
19006
19008
 
19007
- /** PublicClientAuthConfigResponse clientId. */
19008
- public clientId: string;
19009
+ /** TaskGetRequest taskType. */
19010
+ public taskType: string;
19009
19011
 
19010
- /** PublicClientAuthConfigResponse redirectUri. */
19011
- public redirectUri: string;
19012
-
19013
- /** PublicClientAuthConfigResponse scopes. */
19014
- public scopes: string[];
19015
-
19016
- /** PublicClientAuthConfigResponse authorizationMetadataKey. */
19017
- public authorizationMetadataKey: string;
19018
-
19019
- /** PublicClientAuthConfigResponse serviceHttpEndpoint. */
19020
- public serviceHttpEndpoint: string;
19021
-
19022
- /** PublicClientAuthConfigResponse audience. */
19023
- public audience: string;
19012
+ /** TaskGetRequest jobId. */
19013
+ public jobId: string;
19024
19014
 
19025
19015
  /**
19026
- * Creates a new PublicClientAuthConfigResponse instance using the specified properties.
19016
+ * Creates a new TaskGetRequest instance using the specified properties.
19027
19017
  * @param [properties] Properties to set
19028
- * @returns PublicClientAuthConfigResponse instance
19018
+ * @returns TaskGetRequest instance
19029
19019
  */
19030
- public static create(properties?: flyteidl.service.IPublicClientAuthConfigResponse): flyteidl.service.PublicClientAuthConfigResponse;
19020
+ public static create(properties?: flyteidl.service.ITaskGetRequest): flyteidl.service.TaskGetRequest;
19031
19021
 
19032
19022
  /**
19033
- * Encodes the specified PublicClientAuthConfigResponse message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigResponse.verify|verify} messages.
19034
- * @param message PublicClientAuthConfigResponse message or plain object to encode
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
19035
19025
  * @param [writer] Writer to encode to
19036
19026
  * @returns Writer
19037
19027
  */
19038
- public static encode(message: flyteidl.service.IPublicClientAuthConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19028
+ public static encode(message: flyteidl.service.ITaskGetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19039
19029
 
19040
19030
  /**
19041
- * Decodes a PublicClientAuthConfigResponse message from the specified reader or buffer.
19031
+ * Decodes a TaskGetRequest message from the specified reader or buffer.
19042
19032
  * @param reader Reader or buffer to decode from
19043
19033
  * @param [length] Message length if known beforehand
19044
- * @returns PublicClientAuthConfigResponse
19034
+ * @returns TaskGetRequest
19045
19035
  * @throws {Error} If the payload is not a reader or valid buffer
19046
19036
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19047
19037
  */
19048
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PublicClientAuthConfigResponse;
19038
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskGetRequest;
19049
19039
 
19050
19040
  /**
19051
- * Verifies a PublicClientAuthConfigResponse message.
19041
+ * Verifies a TaskGetRequest message.
19052
19042
  * @param message Plain object to verify
19053
19043
  * @returns `null` if valid, otherwise the reason why it is not
19054
19044
  */
19055
19045
  public static verify(message: { [k: string]: any }): (string|null);
19056
19046
  }
19057
19047
 
19058
- /** Represents an AuthMetadataService */
19059
- class AuthMetadataService extends $protobuf.rpc.Service {
19048
+ /** Properties of a TaskGetResponse. */
19049
+ interface ITaskGetResponse {
19060
19050
 
19061
- /**
19062
- * Constructs a new AuthMetadataService service.
19063
- * @param rpcImpl RPC implementation
19064
- * @param [requestDelimited=false] Whether requests are length-delimited
19065
- * @param [responseDelimited=false] Whether responses are length-delimited
19066
- */
19067
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
19051
+ /** TaskGetResponse state */
19052
+ state?: (flyteidl.service.State|null);
19068
19053
 
19069
- /**
19070
- * Creates new AuthMetadataService service using the specified rpc implementation.
19071
- * @param rpcImpl RPC implementation
19072
- * @param [requestDelimited=false] Whether requests are length-delimited
19073
- * @param [responseDelimited=false] Whether responses are length-delimited
19074
- * @returns RPC service. Useful where requests and/or responses are streamed.
19075
- */
19076
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AuthMetadataService;
19054
+ /** TaskGetResponse outputs */
19055
+ outputs?: (flyteidl.core.ILiteralMap|null);
19056
+ }
19077
19057
 
19078
- /**
19079
- * Calls GetOAuth2Metadata.
19080
- * @param request OAuth2MetadataRequest message or plain object
19081
- * @param callback Node-style callback called with the error, if any, and OAuth2MetadataResponse
19082
- */
19083
- public getOAuth2Metadata(request: flyteidl.service.IOAuth2MetadataRequest, callback: flyteidl.service.AuthMetadataService.GetOAuth2MetadataCallback): void;
19058
+ /** Represents a TaskGetResponse. */
19059
+ class TaskGetResponse implements ITaskGetResponse {
19084
19060
 
19085
19061
  /**
19086
- * Calls GetOAuth2Metadata.
19087
- * @param request OAuth2MetadataRequest message or plain object
19088
- * @returns Promise
19062
+ * Constructs a new TaskGetResponse.
19063
+ * @param [properties] Properties to set
19089
19064
  */
19090
- public getOAuth2Metadata(request: flyteidl.service.IOAuth2MetadataRequest): Promise<flyteidl.service.OAuth2MetadataResponse>;
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);
19091
19072
 
19092
19073
  /**
19093
- * Calls GetPublicClientConfig.
19094
- * @param request PublicClientAuthConfigRequest message or plain object
19095
- * @param callback Node-style callback called with the error, if any, and PublicClientAuthConfigResponse
19074
+ * Creates a new TaskGetResponse instance using the specified properties.
19075
+ * @param [properties] Properties to set
19076
+ * @returns TaskGetResponse instance
19096
19077
  */
19097
- public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest, callback: flyteidl.service.AuthMetadataService.GetPublicClientConfigCallback): void;
19078
+ public static create(properties?: flyteidl.service.ITaskGetResponse): flyteidl.service.TaskGetResponse;
19098
19079
 
19099
19080
  /**
19100
- * Calls GetPublicClientConfig.
19101
- * @param request PublicClientAuthConfigRequest message or plain object
19102
- * @returns Promise
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
19083
+ * @param [writer] Writer to encode to
19084
+ * @returns Writer
19103
19085
  */
19104
- public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest): Promise<flyteidl.service.PublicClientAuthConfigResponse>;
19105
- }
19106
-
19107
- namespace AuthMetadataService {
19086
+ public static encode(message: flyteidl.service.ITaskGetResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19108
19087
 
19109
19088
  /**
19110
- * Callback as used by {@link flyteidl.service.AuthMetadataService#getOAuth2Metadata}.
19111
- * @param error Error, if any
19112
- * @param [response] OAuth2MetadataResponse
19089
+ * Decodes a TaskGetResponse message from the specified reader or buffer.
19090
+ * @param reader Reader or buffer to decode from
19091
+ * @param [length] Message length if known beforehand
19092
+ * @returns TaskGetResponse
19093
+ * @throws {Error} If the payload is not a reader or valid buffer
19094
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19113
19095
  */
19114
- type GetOAuth2MetadataCallback = (error: (Error|null), response?: flyteidl.service.OAuth2MetadataResponse) => void;
19096
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskGetResponse;
19115
19097
 
19116
19098
  /**
19117
- * Callback as used by {@link flyteidl.service.AuthMetadataService#getPublicClientConfig}.
19118
- * @param error Error, if any
19119
- * @param [response] PublicClientAuthConfigResponse
19099
+ * Verifies a TaskGetResponse message.
19100
+ * @param message Plain object to verify
19101
+ * @returns `null` if valid, otherwise the reason why it is not
19120
19102
  */
19121
- type GetPublicClientConfigCallback = (error: (Error|null), response?: flyteidl.service.PublicClientAuthConfigResponse) => void;
19103
+ public static verify(message: { [k: string]: any }): (string|null);
19122
19104
  }
19123
19105
 
19124
- /** Properties of a CreateUploadLocationResponse. */
19125
- interface ICreateUploadLocationResponse {
19126
-
19127
- /** CreateUploadLocationResponse signedUrl */
19128
- signedUrl?: (string|null);
19106
+ /** Properties of a TaskDeleteRequest. */
19107
+ interface ITaskDeleteRequest {
19129
19108
 
19130
- /** CreateUploadLocationResponse nativeUrl */
19131
- nativeUrl?: (string|null);
19109
+ /** TaskDeleteRequest taskType */
19110
+ taskType?: (string|null);
19132
19111
 
19133
- /** CreateUploadLocationResponse expiresAt */
19134
- expiresAt?: (google.protobuf.ITimestamp|null);
19112
+ /** TaskDeleteRequest jobId */
19113
+ jobId?: (string|null);
19135
19114
  }
19136
19115
 
19137
- /** Represents a CreateUploadLocationResponse. */
19138
- class CreateUploadLocationResponse implements ICreateUploadLocationResponse {
19116
+ /** Represents a TaskDeleteRequest. */
19117
+ class TaskDeleteRequest implements ITaskDeleteRequest {
19139
19118
 
19140
19119
  /**
19141
- * Constructs a new CreateUploadLocationResponse.
19120
+ * Constructs a new TaskDeleteRequest.
19142
19121
  * @param [properties] Properties to set
19143
19122
  */
19144
- constructor(properties?: flyteidl.service.ICreateUploadLocationResponse);
19145
-
19146
- /** CreateUploadLocationResponse signedUrl. */
19147
- public signedUrl: string;
19123
+ constructor(properties?: flyteidl.service.ITaskDeleteRequest);
19148
19124
 
19149
- /** CreateUploadLocationResponse nativeUrl. */
19150
- public nativeUrl: string;
19125
+ /** TaskDeleteRequest taskType. */
19126
+ public taskType: string;
19151
19127
 
19152
- /** CreateUploadLocationResponse expiresAt. */
19153
- public expiresAt?: (google.protobuf.ITimestamp|null);
19128
+ /** TaskDeleteRequest jobId. */
19129
+ public jobId: string;
19154
19130
 
19155
19131
  /**
19156
- * Creates a new CreateUploadLocationResponse instance using the specified properties.
19132
+ * Creates a new TaskDeleteRequest instance using the specified properties.
19157
19133
  * @param [properties] Properties to set
19158
- * @returns CreateUploadLocationResponse instance
19134
+ * @returns TaskDeleteRequest instance
19159
19135
  */
19160
- public static create(properties?: flyteidl.service.ICreateUploadLocationResponse): flyteidl.service.CreateUploadLocationResponse;
19136
+ public static create(properties?: flyteidl.service.ITaskDeleteRequest): flyteidl.service.TaskDeleteRequest;
19161
19137
 
19162
19138
  /**
19163
- * Encodes the specified CreateUploadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateUploadLocationResponse.verify|verify} messages.
19164
- * @param message CreateUploadLocationResponse message or plain object to encode
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
19165
19141
  * @param [writer] Writer to encode to
19166
19142
  * @returns Writer
19167
19143
  */
19168
- public static encode(message: flyteidl.service.ICreateUploadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19144
+ public static encode(message: flyteidl.service.ITaskDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19169
19145
 
19170
19146
  /**
19171
- * Decodes a CreateUploadLocationResponse message from the specified reader or buffer.
19147
+ * Decodes a TaskDeleteRequest message from the specified reader or buffer.
19172
19148
  * @param reader Reader or buffer to decode from
19173
19149
  * @param [length] Message length if known beforehand
19174
- * @returns CreateUploadLocationResponse
19150
+ * @returns TaskDeleteRequest
19175
19151
  * @throws {Error} If the payload is not a reader or valid buffer
19176
19152
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19177
19153
  */
19178
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateUploadLocationResponse;
19154
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskDeleteRequest;
19179
19155
 
19180
19156
  /**
19181
- * Verifies a CreateUploadLocationResponse message.
19157
+ * Verifies a TaskDeleteRequest message.
19182
19158
  * @param message Plain object to verify
19183
19159
  * @returns `null` if valid, otherwise the reason why it is not
19184
19160
  */
19185
19161
  public static verify(message: { [k: string]: any }): (string|null);
19186
19162
  }
19187
19163
 
19188
- /** Properties of a CreateUploadLocationRequest. */
19189
- interface ICreateUploadLocationRequest {
19190
-
19191
- /** CreateUploadLocationRequest project */
19192
- project?: (string|null);
19193
-
19194
- /** CreateUploadLocationRequest domain */
19195
- domain?: (string|null);
19196
-
19197
- /** CreateUploadLocationRequest filename */
19198
- filename?: (string|null);
19199
-
19200
- /** CreateUploadLocationRequest expiresIn */
19201
- expiresIn?: (google.protobuf.IDuration|null);
19202
-
19203
- /** CreateUploadLocationRequest contentMd5 */
19204
- contentMd5?: (Uint8Array|null);
19164
+ /** Properties of a TaskDeleteResponse. */
19165
+ interface ITaskDeleteResponse {
19205
19166
  }
19206
19167
 
19207
- /** Represents a CreateUploadLocationRequest. */
19208
- class CreateUploadLocationRequest implements ICreateUploadLocationRequest {
19168
+ /** Represents a TaskDeleteResponse. */
19169
+ class TaskDeleteResponse implements ITaskDeleteResponse {
19209
19170
 
19210
19171
  /**
19211
- * Constructs a new CreateUploadLocationRequest.
19172
+ * Constructs a new TaskDeleteResponse.
19212
19173
  * @param [properties] Properties to set
19213
19174
  */
19214
- constructor(properties?: flyteidl.service.ICreateUploadLocationRequest);
19215
-
19216
- /** CreateUploadLocationRequest project. */
19217
- public project: string;
19218
-
19219
- /** CreateUploadLocationRequest domain. */
19220
- public domain: string;
19221
-
19222
- /** CreateUploadLocationRequest filename. */
19223
- public filename: string;
19224
-
19225
- /** CreateUploadLocationRequest expiresIn. */
19226
- public expiresIn?: (google.protobuf.IDuration|null);
19227
-
19228
- /** CreateUploadLocationRequest contentMd5. */
19229
- public contentMd5: Uint8Array;
19175
+ constructor(properties?: flyteidl.service.ITaskDeleteResponse);
19230
19176
 
19231
19177
  /**
19232
- * Creates a new CreateUploadLocationRequest instance using the specified properties.
19178
+ * Creates a new TaskDeleteResponse instance using the specified properties.
19233
19179
  * @param [properties] Properties to set
19234
- * @returns CreateUploadLocationRequest instance
19180
+ * @returns TaskDeleteResponse instance
19235
19181
  */
19236
- public static create(properties?: flyteidl.service.ICreateUploadLocationRequest): flyteidl.service.CreateUploadLocationRequest;
19182
+ public static create(properties?: flyteidl.service.ITaskDeleteResponse): flyteidl.service.TaskDeleteResponse;
19237
19183
 
19238
19184
  /**
19239
- * Encodes the specified CreateUploadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateUploadLocationRequest.verify|verify} messages.
19240
- * @param message CreateUploadLocationRequest message or plain object to encode
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
19241
19187
  * @param [writer] Writer to encode to
19242
19188
  * @returns Writer
19243
19189
  */
19244
- public static encode(message: flyteidl.service.ICreateUploadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19190
+ public static encode(message: flyteidl.service.ITaskDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19245
19191
 
19246
19192
  /**
19247
- * Decodes a CreateUploadLocationRequest message from the specified reader or buffer.
19193
+ * Decodes a TaskDeleteResponse message from the specified reader or buffer.
19248
19194
  * @param reader Reader or buffer to decode from
19249
19195
  * @param [length] Message length if known beforehand
19250
- * @returns CreateUploadLocationRequest
19196
+ * @returns TaskDeleteResponse
19251
19197
  * @throws {Error} If the payload is not a reader or valid buffer
19252
19198
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19253
19199
  */
19254
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateUploadLocationRequest;
19200
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskDeleteResponse;
19255
19201
 
19256
19202
  /**
19257
- * Verifies a CreateUploadLocationRequest message.
19203
+ * Verifies a TaskDeleteResponse message.
19258
19204
  * @param message Plain object to verify
19259
19205
  * @returns `null` if valid, otherwise the reason why it is not
19260
19206
  */
19261
19207
  public static verify(message: { [k: string]: any }): (string|null);
19262
19208
  }
19263
19209
 
19264
- /** Properties of a CreateDownloadLocationRequest. */
19265
- interface ICreateDownloadLocationRequest {
19266
-
19267
- /** CreateDownloadLocationRequest nativeUrl */
19268
- nativeUrl?: (string|null);
19269
-
19270
- /** CreateDownloadLocationRequest expiresIn */
19271
- expiresIn?: (google.protobuf.IDuration|null);
19210
+ /** Properties of a OAuth2MetadataRequest. */
19211
+ interface IOAuth2MetadataRequest {
19272
19212
  }
19273
19213
 
19274
- /** Represents a CreateDownloadLocationRequest. */
19275
- class CreateDownloadLocationRequest implements ICreateDownloadLocationRequest {
19214
+ /** Represents a OAuth2MetadataRequest. */
19215
+ class OAuth2MetadataRequest implements IOAuth2MetadataRequest {
19276
19216
 
19277
19217
  /**
19278
- * Constructs a new CreateDownloadLocationRequest.
19218
+ * Constructs a new OAuth2MetadataRequest.
19279
19219
  * @param [properties] Properties to set
19280
19220
  */
19281
- constructor(properties?: flyteidl.service.ICreateDownloadLocationRequest);
19282
-
19283
- /** CreateDownloadLocationRequest nativeUrl. */
19284
- public nativeUrl: string;
19285
-
19286
- /** CreateDownloadLocationRequest expiresIn. */
19287
- public expiresIn?: (google.protobuf.IDuration|null);
19221
+ constructor(properties?: flyteidl.service.IOAuth2MetadataRequest);
19288
19222
 
19289
19223
  /**
19290
- * Creates a new CreateDownloadLocationRequest instance using the specified properties.
19224
+ * Creates a new OAuth2MetadataRequest instance using the specified properties.
19291
19225
  * @param [properties] Properties to set
19292
- * @returns CreateDownloadLocationRequest instance
19226
+ * @returns OAuth2MetadataRequest instance
19293
19227
  */
19294
- public static create(properties?: flyteidl.service.ICreateDownloadLocationRequest): flyteidl.service.CreateDownloadLocationRequest;
19228
+ public static create(properties?: flyteidl.service.IOAuth2MetadataRequest): flyteidl.service.OAuth2MetadataRequest;
19295
19229
 
19296
19230
  /**
19297
- * Encodes the specified CreateDownloadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationRequest.verify|verify} messages.
19298
- * @param message CreateDownloadLocationRequest message or plain object to encode
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
19299
19233
  * @param [writer] Writer to encode to
19300
19234
  * @returns Writer
19301
19235
  */
19302
- public static encode(message: flyteidl.service.ICreateDownloadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19236
+ public static encode(message: flyteidl.service.IOAuth2MetadataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19303
19237
 
19304
19238
  /**
19305
- * Decodes a CreateDownloadLocationRequest message from the specified reader or buffer.
19239
+ * Decodes a OAuth2MetadataRequest message from the specified reader or buffer.
19306
19240
  * @param reader Reader or buffer to decode from
19307
19241
  * @param [length] Message length if known beforehand
19308
- * @returns CreateDownloadLocationRequest
19242
+ * @returns OAuth2MetadataRequest
19309
19243
  * @throws {Error} If the payload is not a reader or valid buffer
19310
19244
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19311
19245
  */
19312
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLocationRequest;
19246
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.OAuth2MetadataRequest;
19313
19247
 
19314
19248
  /**
19315
- * Verifies a CreateDownloadLocationRequest message.
19249
+ * Verifies a OAuth2MetadataRequest message.
19316
19250
  * @param message Plain object to verify
19317
19251
  * @returns `null` if valid, otherwise the reason why it is not
19318
19252
  */
19319
19253
  public static verify(message: { [k: string]: any }): (string|null);
19320
19254
  }
19321
19255
 
19322
- /** Properties of a CreateDownloadLocationResponse. */
19323
- interface ICreateDownloadLocationResponse {
19256
+ /** Properties of a OAuth2MetadataResponse. */
19257
+ interface IOAuth2MetadataResponse {
19324
19258
 
19325
- /** CreateDownloadLocationResponse signedUrl */
19326
- signedUrl?: (string|null);
19259
+ /** OAuth2MetadataResponse issuer */
19260
+ issuer?: (string|null);
19327
19261
 
19328
- /** CreateDownloadLocationResponse expiresAt */
19329
- expiresAt?: (google.protobuf.ITimestamp|null);
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);
19273
+
19274
+ /** OAuth2MetadataResponse tokenEndpointAuthMethodsSupported */
19275
+ tokenEndpointAuthMethodsSupported?: (string[]|null);
19276
+
19277
+ /** OAuth2MetadataResponse jwksUri */
19278
+ jwksUri?: (string|null);
19279
+
19280
+ /** OAuth2MetadataResponse codeChallengeMethodsSupported */
19281
+ codeChallengeMethodsSupported?: (string[]|null);
19282
+
19283
+ /** OAuth2MetadataResponse grantTypesSupported */
19284
+ grantTypesSupported?: (string[]|null);
19285
+
19286
+ /** OAuth2MetadataResponse deviceAuthorizationEndpoint */
19287
+ deviceAuthorizationEndpoint?: (string|null);
19330
19288
  }
19331
19289
 
19332
- /** Represents a CreateDownloadLocationResponse. */
19333
- class CreateDownloadLocationResponse implements ICreateDownloadLocationResponse {
19290
+ /** Represents a OAuth2MetadataResponse. */
19291
+ class OAuth2MetadataResponse implements IOAuth2MetadataResponse {
19334
19292
 
19335
19293
  /**
19336
- * Constructs a new CreateDownloadLocationResponse.
19294
+ * Constructs a new OAuth2MetadataResponse.
19337
19295
  * @param [properties] Properties to set
19338
19296
  */
19339
- constructor(properties?: flyteidl.service.ICreateDownloadLocationResponse);
19297
+ constructor(properties?: flyteidl.service.IOAuth2MetadataResponse);
19340
19298
 
19341
- /** CreateDownloadLocationResponse signedUrl. */
19342
- public signedUrl: string;
19299
+ /** OAuth2MetadataResponse issuer. */
19300
+ public issuer: string;
19343
19301
 
19344
- /** CreateDownloadLocationResponse expiresAt. */
19345
- public expiresAt?: (google.protobuf.ITimestamp|null);
19302
+ /** OAuth2MetadataResponse authorizationEndpoint. */
19303
+ public authorizationEndpoint: string;
19304
+
19305
+ /** OAuth2MetadataResponse tokenEndpoint. */
19306
+ public tokenEndpoint: string;
19307
+
19308
+ /** OAuth2MetadataResponse responseTypesSupported. */
19309
+ public responseTypesSupported: string[];
19310
+
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;
19346
19328
 
19347
19329
  /**
19348
- * Creates a new CreateDownloadLocationResponse instance using the specified properties.
19330
+ * Creates a new OAuth2MetadataResponse instance using the specified properties.
19349
19331
  * @param [properties] Properties to set
19350
- * @returns CreateDownloadLocationResponse instance
19332
+ * @returns OAuth2MetadataResponse instance
19351
19333
  */
19352
- public static create(properties?: flyteidl.service.ICreateDownloadLocationResponse): flyteidl.service.CreateDownloadLocationResponse;
19334
+ public static create(properties?: flyteidl.service.IOAuth2MetadataResponse): flyteidl.service.OAuth2MetadataResponse;
19353
19335
 
19354
19336
  /**
19355
- * Encodes the specified CreateDownloadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationResponse.verify|verify} messages.
19356
- * @param message CreateDownloadLocationResponse message or plain object to encode
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
19357
19339
  * @param [writer] Writer to encode to
19358
19340
  * @returns Writer
19359
19341
  */
19360
- public static encode(message: flyteidl.service.ICreateDownloadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19342
+ public static encode(message: flyteidl.service.IOAuth2MetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19361
19343
 
19362
19344
  /**
19363
- * Decodes a CreateDownloadLocationResponse message from the specified reader or buffer.
19345
+ * Decodes a OAuth2MetadataResponse message from the specified reader or buffer.
19364
19346
  * @param reader Reader or buffer to decode from
19365
19347
  * @param [length] Message length if known beforehand
19366
- * @returns CreateDownloadLocationResponse
19348
+ * @returns OAuth2MetadataResponse
19367
19349
  * @throws {Error} If the payload is not a reader or valid buffer
19368
19350
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19369
19351
  */
19370
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLocationResponse;
19352
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.OAuth2MetadataResponse;
19371
19353
 
19372
19354
  /**
19373
- * Verifies a CreateDownloadLocationResponse message.
19355
+ * Verifies a OAuth2MetadataResponse message.
19374
19356
  * @param message Plain object to verify
19375
19357
  * @returns `null` if valid, otherwise the reason why it is not
19376
19358
  */
19377
19359
  public static verify(message: { [k: string]: any }): (string|null);
19378
19360
  }
19379
19361
 
19380
- /** ArtifactType enum. */
19381
- enum ArtifactType {
19382
- ARTIFACT_TYPE_UNDEFINED = 0,
19383
- ARTIFACT_TYPE_DECK = 1
19384
- }
19385
-
19386
- /** Properties of a CreateDownloadLinkRequest. */
19387
- interface ICreateDownloadLinkRequest {
19388
-
19389
- /** CreateDownloadLinkRequest artifactType */
19390
- artifactType?: (flyteidl.service.ArtifactType|null);
19391
-
19392
- /** CreateDownloadLinkRequest expiresIn */
19393
- expiresIn?: (google.protobuf.IDuration|null);
19394
-
19395
- /** CreateDownloadLinkRequest nodeExecutionId */
19396
- nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null);
19362
+ /** Properties of a PublicClientAuthConfigRequest. */
19363
+ interface IPublicClientAuthConfigRequest {
19397
19364
  }
19398
19365
 
19399
- /** Represents a CreateDownloadLinkRequest. */
19400
- class CreateDownloadLinkRequest implements ICreateDownloadLinkRequest {
19366
+ /** Represents a PublicClientAuthConfigRequest. */
19367
+ class PublicClientAuthConfigRequest implements IPublicClientAuthConfigRequest {
19401
19368
 
19402
19369
  /**
19403
- * Constructs a new CreateDownloadLinkRequest.
19370
+ * Constructs a new PublicClientAuthConfigRequest.
19404
19371
  * @param [properties] Properties to set
19405
19372
  */
19406
- constructor(properties?: flyteidl.service.ICreateDownloadLinkRequest);
19407
-
19408
- /** CreateDownloadLinkRequest artifactType. */
19409
- public artifactType: flyteidl.service.ArtifactType;
19410
-
19411
- /** CreateDownloadLinkRequest expiresIn. */
19412
- public expiresIn?: (google.protobuf.IDuration|null);
19413
-
19414
- /** CreateDownloadLinkRequest nodeExecutionId. */
19415
- public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null);
19416
-
19417
- /** CreateDownloadLinkRequest source. */
19418
- public source?: "nodeExecutionId";
19373
+ constructor(properties?: flyteidl.service.IPublicClientAuthConfigRequest);
19419
19374
 
19420
19375
  /**
19421
- * Creates a new CreateDownloadLinkRequest instance using the specified properties.
19376
+ * Creates a new PublicClientAuthConfigRequest instance using the specified properties.
19422
19377
  * @param [properties] Properties to set
19423
- * @returns CreateDownloadLinkRequest instance
19378
+ * @returns PublicClientAuthConfigRequest instance
19424
19379
  */
19425
- public static create(properties?: flyteidl.service.ICreateDownloadLinkRequest): flyteidl.service.CreateDownloadLinkRequest;
19380
+ public static create(properties?: flyteidl.service.IPublicClientAuthConfigRequest): flyteidl.service.PublicClientAuthConfigRequest;
19426
19381
 
19427
19382
  /**
19428
- * Encodes the specified CreateDownloadLinkRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkRequest.verify|verify} messages.
19429
- * @param message CreateDownloadLinkRequest message or plain object to encode
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
19430
19385
  * @param [writer] Writer to encode to
19431
19386
  * @returns Writer
19432
19387
  */
19433
- public static encode(message: flyteidl.service.ICreateDownloadLinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19388
+ public static encode(message: flyteidl.service.IPublicClientAuthConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19434
19389
 
19435
19390
  /**
19436
- * Decodes a CreateDownloadLinkRequest message from the specified reader or buffer.
19391
+ * Decodes a PublicClientAuthConfigRequest message from the specified reader or buffer.
19437
19392
  * @param reader Reader or buffer to decode from
19438
19393
  * @param [length] Message length if known beforehand
19439
- * @returns CreateDownloadLinkRequest
19394
+ * @returns PublicClientAuthConfigRequest
19440
19395
  * @throws {Error} If the payload is not a reader or valid buffer
19441
19396
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19442
19397
  */
19443
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLinkRequest;
19398
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PublicClientAuthConfigRequest;
19444
19399
 
19445
19400
  /**
19446
- * Verifies a CreateDownloadLinkRequest message.
19401
+ * Verifies a PublicClientAuthConfigRequest message.
19447
19402
  * @param message Plain object to verify
19448
19403
  * @returns `null` if valid, otherwise the reason why it is not
19449
19404
  */
19450
19405
  public static verify(message: { [k: string]: any }): (string|null);
19451
19406
  }
19452
19407
 
19453
- /** Properties of a CreateDownloadLinkResponse. */
19454
- interface ICreateDownloadLinkResponse {
19408
+ /** Properties of a PublicClientAuthConfigResponse. */
19409
+ interface IPublicClientAuthConfigResponse {
19455
19410
 
19456
- /** CreateDownloadLinkResponse signedUrl */
19457
- signedUrl?: (string[]|null);
19411
+ /** PublicClientAuthConfigResponse clientId */
19412
+ clientId?: (string|null);
19458
19413
 
19459
- /** CreateDownloadLinkResponse expiresAt */
19460
- expiresAt?: (google.protobuf.ITimestamp|null);
19414
+ /** PublicClientAuthConfigResponse redirectUri */
19415
+ redirectUri?: (string|null);
19461
19416
 
19462
- /** CreateDownloadLinkResponse preSignedUrls */
19463
- preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
19417
+ /** PublicClientAuthConfigResponse scopes */
19418
+ scopes?: (string[]|null);
19419
+
19420
+ /** PublicClientAuthConfigResponse authorizationMetadataKey */
19421
+ authorizationMetadataKey?: (string|null);
19422
+
19423
+ /** PublicClientAuthConfigResponse serviceHttpEndpoint */
19424
+ serviceHttpEndpoint?: (string|null);
19425
+
19426
+ /** PublicClientAuthConfigResponse audience */
19427
+ audience?: (string|null);
19464
19428
  }
19465
19429
 
19466
- /** Represents a CreateDownloadLinkResponse. */
19467
- class CreateDownloadLinkResponse implements ICreateDownloadLinkResponse {
19430
+ /** Represents a PublicClientAuthConfigResponse. */
19431
+ class PublicClientAuthConfigResponse implements IPublicClientAuthConfigResponse {
19468
19432
 
19469
19433
  /**
19470
- * Constructs a new CreateDownloadLinkResponse.
19434
+ * Constructs a new PublicClientAuthConfigResponse.
19471
19435
  * @param [properties] Properties to set
19472
19436
  */
19473
- constructor(properties?: flyteidl.service.ICreateDownloadLinkResponse);
19437
+ constructor(properties?: flyteidl.service.IPublicClientAuthConfigResponse);
19474
19438
 
19475
- /** CreateDownloadLinkResponse signedUrl. */
19476
- public signedUrl: string[];
19439
+ /** PublicClientAuthConfigResponse clientId. */
19440
+ public clientId: string;
19477
19441
 
19478
- /** CreateDownloadLinkResponse expiresAt. */
19479
- public expiresAt?: (google.protobuf.ITimestamp|null);
19442
+ /** PublicClientAuthConfigResponse redirectUri. */
19443
+ public redirectUri: string;
19480
19444
 
19481
- /** CreateDownloadLinkResponse preSignedUrls. */
19482
- public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
19445
+ /** PublicClientAuthConfigResponse scopes. */
19446
+ public scopes: string[];
19447
+
19448
+ /** PublicClientAuthConfigResponse authorizationMetadataKey. */
19449
+ public authorizationMetadataKey: string;
19450
+
19451
+ /** PublicClientAuthConfigResponse serviceHttpEndpoint. */
19452
+ public serviceHttpEndpoint: string;
19453
+
19454
+ /** PublicClientAuthConfigResponse audience. */
19455
+ public audience: string;
19483
19456
 
19484
19457
  /**
19485
- * Creates a new CreateDownloadLinkResponse instance using the specified properties.
19458
+ * Creates a new PublicClientAuthConfigResponse instance using the specified properties.
19486
19459
  * @param [properties] Properties to set
19487
- * @returns CreateDownloadLinkResponse instance
19460
+ * @returns PublicClientAuthConfigResponse instance
19488
19461
  */
19489
- public static create(properties?: flyteidl.service.ICreateDownloadLinkResponse): flyteidl.service.CreateDownloadLinkResponse;
19462
+ public static create(properties?: flyteidl.service.IPublicClientAuthConfigResponse): flyteidl.service.PublicClientAuthConfigResponse;
19490
19463
 
19491
19464
  /**
19492
- * Encodes the specified CreateDownloadLinkResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkResponse.verify|verify} messages.
19493
- * @param message CreateDownloadLinkResponse message or plain object to encode
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
19494
19467
  * @param [writer] Writer to encode to
19495
19468
  * @returns Writer
19496
19469
  */
19497
- public static encode(message: flyteidl.service.ICreateDownloadLinkResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19470
+ public static encode(message: flyteidl.service.IPublicClientAuthConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19498
19471
 
19499
19472
  /**
19500
- * Decodes a CreateDownloadLinkResponse message from the specified reader or buffer.
19473
+ * Decodes a PublicClientAuthConfigResponse message from the specified reader or buffer.
19501
19474
  * @param reader Reader or buffer to decode from
19502
19475
  * @param [length] Message length if known beforehand
19503
- * @returns CreateDownloadLinkResponse
19476
+ * @returns PublicClientAuthConfigResponse
19504
19477
  * @throws {Error} If the payload is not a reader or valid buffer
19505
19478
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19506
19479
  */
19507
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLinkResponse;
19480
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PublicClientAuthConfigResponse;
19508
19481
 
19509
19482
  /**
19510
- * Verifies a CreateDownloadLinkResponse message.
19483
+ * Verifies a PublicClientAuthConfigResponse message.
19511
19484
  * @param message Plain object to verify
19512
19485
  * @returns `null` if valid, otherwise the reason why it is not
19513
19486
  */
19514
19487
  public static verify(message: { [k: string]: any }): (string|null);
19515
19488
  }
19516
19489
 
19517
- /** Properties of a PreSignedURLs. */
19518
- interface IPreSignedURLs {
19490
+ /** Represents an AuthMetadataService */
19491
+ class AuthMetadataService extends $protobuf.rpc.Service {
19519
19492
 
19520
- /** PreSignedURLs signedUrl */
19521
- signedUrl?: (string[]|null);
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);
19522
19500
 
19523
- /** PreSignedURLs expiresAt */
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;
19509
+
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;
19516
+
19517
+ /**
19518
+ * Calls GetOAuth2Metadata.
19519
+ * @param request OAuth2MetadataRequest message or plain object
19520
+ * @returns Promise
19521
+ */
19522
+ public getOAuth2Metadata(request: flyteidl.service.IOAuth2MetadataRequest): Promise<flyteidl.service.OAuth2MetadataResponse>;
19523
+
19524
+ /**
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
19528
+ */
19529
+ public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest, callback: flyteidl.service.AuthMetadataService.GetPublicClientConfigCallback): void;
19530
+
19531
+ /**
19532
+ * Calls GetPublicClientConfig.
19533
+ * @param request PublicClientAuthConfigRequest message or plain object
19534
+ * @returns Promise
19535
+ */
19536
+ public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest): Promise<flyteidl.service.PublicClientAuthConfigResponse>;
19537
+ }
19538
+
19539
+ namespace AuthMetadataService {
19540
+
19541
+ /**
19542
+ * Callback as used by {@link flyteidl.service.AuthMetadataService#getOAuth2Metadata}.
19543
+ * @param error Error, if any
19544
+ * @param [response] OAuth2MetadataResponse
19545
+ */
19546
+ type GetOAuth2MetadataCallback = (error: (Error|null), response?: flyteidl.service.OAuth2MetadataResponse) => void;
19547
+
19548
+ /**
19549
+ * Callback as used by {@link flyteidl.service.AuthMetadataService#getPublicClientConfig}.
19550
+ * @param error Error, if any
19551
+ * @param [response] PublicClientAuthConfigResponse
19552
+ */
19553
+ type GetPublicClientConfigCallback = (error: (Error|null), response?: flyteidl.service.PublicClientAuthConfigResponse) => void;
19554
+ }
19555
+
19556
+ /** Properties of a CreateUploadLocationResponse. */
19557
+ interface ICreateUploadLocationResponse {
19558
+
19559
+ /** CreateUploadLocationResponse signedUrl */
19560
+ signedUrl?: (string|null);
19561
+
19562
+ /** CreateUploadLocationResponse nativeUrl */
19563
+ nativeUrl?: (string|null);
19564
+
19565
+ /** CreateUploadLocationResponse expiresAt */
19524
19566
  expiresAt?: (google.protobuf.ITimestamp|null);
19525
19567
  }
19526
19568
 
19527
- /** Represents a PreSignedURLs. */
19528
- class PreSignedURLs implements IPreSignedURLs {
19569
+ /** Represents a CreateUploadLocationResponse. */
19570
+ class CreateUploadLocationResponse implements ICreateUploadLocationResponse {
19529
19571
 
19530
19572
  /**
19531
- * Constructs a new PreSignedURLs.
19573
+ * Constructs a new CreateUploadLocationResponse.
19532
19574
  * @param [properties] Properties to set
19533
19575
  */
19534
- constructor(properties?: flyteidl.service.IPreSignedURLs);
19576
+ constructor(properties?: flyteidl.service.ICreateUploadLocationResponse);
19535
19577
 
19536
- /** PreSignedURLs signedUrl. */
19537
- public signedUrl: string[];
19578
+ /** CreateUploadLocationResponse signedUrl. */
19579
+ public signedUrl: string;
19538
19580
 
19539
- /** PreSignedURLs expiresAt. */
19581
+ /** CreateUploadLocationResponse nativeUrl. */
19582
+ public nativeUrl: string;
19583
+
19584
+ /** CreateUploadLocationResponse expiresAt. */
19540
19585
  public expiresAt?: (google.protobuf.ITimestamp|null);
19541
19586
 
19542
19587
  /**
19543
- * Creates a new PreSignedURLs instance using the specified properties.
19588
+ * Creates a new CreateUploadLocationResponse instance using the specified properties.
19544
19589
  * @param [properties] Properties to set
19545
- * @returns PreSignedURLs instance
19590
+ * @returns CreateUploadLocationResponse instance
19546
19591
  */
19547
- public static create(properties?: flyteidl.service.IPreSignedURLs): flyteidl.service.PreSignedURLs;
19592
+ public static create(properties?: flyteidl.service.ICreateUploadLocationResponse): flyteidl.service.CreateUploadLocationResponse;
19548
19593
 
19549
19594
  /**
19550
- * Encodes the specified PreSignedURLs message. Does not implicitly {@link flyteidl.service.PreSignedURLs.verify|verify} messages.
19551
- * @param message PreSignedURLs message or plain object to encode
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
19552
19597
  * @param [writer] Writer to encode to
19553
19598
  * @returns Writer
19554
19599
  */
19555
- public static encode(message: flyteidl.service.IPreSignedURLs, writer?: $protobuf.Writer): $protobuf.Writer;
19600
+ public static encode(message: flyteidl.service.ICreateUploadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19556
19601
 
19557
19602
  /**
19558
- * Decodes a PreSignedURLs message from the specified reader or buffer.
19603
+ * Decodes a CreateUploadLocationResponse message from the specified reader or buffer.
19559
19604
  * @param reader Reader or buffer to decode from
19560
19605
  * @param [length] Message length if known beforehand
19561
- * @returns PreSignedURLs
19606
+ * @returns CreateUploadLocationResponse
19562
19607
  * @throws {Error} If the payload is not a reader or valid buffer
19563
19608
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19564
19609
  */
19565
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PreSignedURLs;
19610
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateUploadLocationResponse;
19566
19611
 
19567
19612
  /**
19568
- * Verifies a PreSignedURLs message.
19613
+ * Verifies a CreateUploadLocationResponse message.
19569
19614
  * @param message Plain object to verify
19570
19615
  * @returns `null` if valid, otherwise the reason why it is not
19571
19616
  */
19572
19617
  public static verify(message: { [k: string]: any }): (string|null);
19573
19618
  }
19574
19619
 
19575
- /** Properties of a GetDataRequest. */
19576
- interface IGetDataRequest {
19620
+ /** Properties of a CreateUploadLocationRequest. */
19621
+ interface ICreateUploadLocationRequest {
19577
19622
 
19578
- /** GetDataRequest flyteUrl */
19579
- flyteUrl?: (string|null);
19623
+ /** CreateUploadLocationRequest project */
19624
+ project?: (string|null);
19625
+
19626
+ /** CreateUploadLocationRequest domain */
19627
+ domain?: (string|null);
19628
+
19629
+ /** CreateUploadLocationRequest filename */
19630
+ filename?: (string|null);
19631
+
19632
+ /** CreateUploadLocationRequest expiresIn */
19633
+ expiresIn?: (google.protobuf.IDuration|null);
19634
+
19635
+ /** CreateUploadLocationRequest contentMd5 */
19636
+ contentMd5?: (Uint8Array|null);
19580
19637
  }
19581
19638
 
19582
- /** Represents a GetDataRequest. */
19583
- class GetDataRequest implements IGetDataRequest {
19639
+ /** Represents a CreateUploadLocationRequest. */
19640
+ class CreateUploadLocationRequest implements ICreateUploadLocationRequest {
19584
19641
 
19585
19642
  /**
19586
- * Constructs a new GetDataRequest.
19643
+ * Constructs a new CreateUploadLocationRequest.
19587
19644
  * @param [properties] Properties to set
19588
19645
  */
19589
- constructor(properties?: flyteidl.service.IGetDataRequest);
19646
+ constructor(properties?: flyteidl.service.ICreateUploadLocationRequest);
19590
19647
 
19591
- /** GetDataRequest flyteUrl. */
19592
- public flyteUrl: string;
19648
+ /** CreateUploadLocationRequest project. */
19649
+ public project: string;
19650
+
19651
+ /** CreateUploadLocationRequest domain. */
19652
+ public domain: string;
19653
+
19654
+ /** CreateUploadLocationRequest filename. */
19655
+ public filename: string;
19656
+
19657
+ /** CreateUploadLocationRequest expiresIn. */
19658
+ public expiresIn?: (google.protobuf.IDuration|null);
19659
+
19660
+ /** CreateUploadLocationRequest contentMd5. */
19661
+ public contentMd5: Uint8Array;
19593
19662
 
19594
19663
  /**
19595
- * Creates a new GetDataRequest instance using the specified properties.
19664
+ * Creates a new CreateUploadLocationRequest instance using the specified properties.
19596
19665
  * @param [properties] Properties to set
19597
- * @returns GetDataRequest instance
19666
+ * @returns CreateUploadLocationRequest instance
19598
19667
  */
19599
- public static create(properties?: flyteidl.service.IGetDataRequest): flyteidl.service.GetDataRequest;
19668
+ public static create(properties?: flyteidl.service.ICreateUploadLocationRequest): flyteidl.service.CreateUploadLocationRequest;
19600
19669
 
19601
19670
  /**
19602
- * Encodes the specified GetDataRequest message. Does not implicitly {@link flyteidl.service.GetDataRequest.verify|verify} messages.
19603
- * @param message GetDataRequest message or plain object to encode
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
19604
19673
  * @param [writer] Writer to encode to
19605
19674
  * @returns Writer
19606
19675
  */
19607
- public static encode(message: flyteidl.service.IGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19676
+ public static encode(message: flyteidl.service.ICreateUploadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19608
19677
 
19609
19678
  /**
19610
- * Decodes a GetDataRequest message from the specified reader or buffer.
19679
+ * Decodes a CreateUploadLocationRequest message from the specified reader or buffer.
19611
19680
  * @param reader Reader or buffer to decode from
19612
19681
  * @param [length] Message length if known beforehand
19613
- * @returns GetDataRequest
19682
+ * @returns CreateUploadLocationRequest
19614
19683
  * @throws {Error} If the payload is not a reader or valid buffer
19615
19684
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19616
19685
  */
19617
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataRequest;
19686
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateUploadLocationRequest;
19618
19687
 
19619
19688
  /**
19620
- * Verifies a GetDataRequest message.
19689
+ * Verifies a CreateUploadLocationRequest message.
19621
19690
  * @param message Plain object to verify
19622
19691
  * @returns `null` if valid, otherwise the reason why it is not
19623
19692
  */
19624
19693
  public static verify(message: { [k: string]: any }): (string|null);
19625
19694
  }
19626
19695
 
19627
- /** Properties of a GetDataResponse. */
19628
- interface IGetDataResponse {
19629
-
19630
- /** GetDataResponse literalMap */
19631
- literalMap?: (flyteidl.core.ILiteralMap|null);
19696
+ /** Properties of a CreateDownloadLocationRequest. */
19697
+ interface ICreateDownloadLocationRequest {
19632
19698
 
19633
- /** GetDataResponse preSignedUrls */
19634
- preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
19699
+ /** CreateDownloadLocationRequest nativeUrl */
19700
+ nativeUrl?: (string|null);
19635
19701
 
19636
- /** GetDataResponse literal */
19637
- literal?: (flyteidl.core.ILiteral|null);
19702
+ /** CreateDownloadLocationRequest expiresIn */
19703
+ expiresIn?: (google.protobuf.IDuration|null);
19638
19704
  }
19639
19705
 
19640
- /** Represents a GetDataResponse. */
19641
- class GetDataResponse implements IGetDataResponse {
19706
+ /** Represents a CreateDownloadLocationRequest. */
19707
+ class CreateDownloadLocationRequest implements ICreateDownloadLocationRequest {
19642
19708
 
19643
19709
  /**
19644
- * Constructs a new GetDataResponse.
19710
+ * Constructs a new CreateDownloadLocationRequest.
19645
19711
  * @param [properties] Properties to set
19646
19712
  */
19647
- constructor(properties?: flyteidl.service.IGetDataResponse);
19648
-
19649
- /** GetDataResponse literalMap. */
19650
- public literalMap?: (flyteidl.core.ILiteralMap|null);
19651
-
19652
- /** GetDataResponse preSignedUrls. */
19653
- public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
19713
+ constructor(properties?: flyteidl.service.ICreateDownloadLocationRequest);
19654
19714
 
19655
- /** GetDataResponse literal. */
19656
- public literal?: (flyteidl.core.ILiteral|null);
19715
+ /** CreateDownloadLocationRequest nativeUrl. */
19716
+ public nativeUrl: string;
19657
19717
 
19658
- /** GetDataResponse data. */
19659
- public data?: ("literalMap"|"preSignedUrls"|"literal");
19718
+ /** CreateDownloadLocationRequest expiresIn. */
19719
+ public expiresIn?: (google.protobuf.IDuration|null);
19660
19720
 
19661
19721
  /**
19662
- * Creates a new GetDataResponse instance using the specified properties.
19722
+ * Creates a new CreateDownloadLocationRequest instance using the specified properties.
19663
19723
  * @param [properties] Properties to set
19664
- * @returns GetDataResponse instance
19724
+ * @returns CreateDownloadLocationRequest instance
19665
19725
  */
19666
- public static create(properties?: flyteidl.service.IGetDataResponse): flyteidl.service.GetDataResponse;
19726
+ public static create(properties?: flyteidl.service.ICreateDownloadLocationRequest): flyteidl.service.CreateDownloadLocationRequest;
19667
19727
 
19668
19728
  /**
19669
- * Encodes the specified GetDataResponse message. Does not implicitly {@link flyteidl.service.GetDataResponse.verify|verify} messages.
19670
- * @param message GetDataResponse message or plain object to encode
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
19671
19731
  * @param [writer] Writer to encode to
19672
19732
  * @returns Writer
19673
19733
  */
19674
- public static encode(message: flyteidl.service.IGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19734
+ public static encode(message: flyteidl.service.ICreateDownloadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19675
19735
 
19676
19736
  /**
19677
- * Decodes a GetDataResponse message from the specified reader or buffer.
19737
+ * Decodes a CreateDownloadLocationRequest message from the specified reader or buffer.
19678
19738
  * @param reader Reader or buffer to decode from
19679
19739
  * @param [length] Message length if known beforehand
19680
- * @returns GetDataResponse
19740
+ * @returns CreateDownloadLocationRequest
19681
19741
  * @throws {Error} If the payload is not a reader or valid buffer
19682
19742
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19683
19743
  */
19684
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataResponse;
19744
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLocationRequest;
19685
19745
 
19686
19746
  /**
19687
- * Verifies a GetDataResponse message.
19747
+ * Verifies a CreateDownloadLocationRequest message.
19688
19748
  * @param message Plain object to verify
19689
19749
  * @returns `null` if valid, otherwise the reason why it is not
19690
19750
  */
19691
19751
  public static verify(message: { [k: string]: any }): (string|null);
19692
19752
  }
19693
19753
 
19694
- /** Represents a DataProxyService */
19695
- class DataProxyService extends $protobuf.rpc.Service {
19754
+ /** Properties of a CreateDownloadLocationResponse. */
19755
+ interface ICreateDownloadLocationResponse {
19756
+
19757
+ /** CreateDownloadLocationResponse signedUrl */
19758
+ signedUrl?: (string|null);
19759
+
19760
+ /** CreateDownloadLocationResponse expiresAt */
19761
+ expiresAt?: (google.protobuf.ITimestamp|null);
19762
+ }
19763
+
19764
+ /** Represents a CreateDownloadLocationResponse. */
19765
+ class CreateDownloadLocationResponse implements ICreateDownloadLocationResponse {
19696
19766
 
19697
19767
  /**
19698
- * Constructs a new DataProxyService service.
19699
- * @param rpcImpl RPC implementation
19700
- * @param [requestDelimited=false] Whether requests are length-delimited
19701
- * @param [responseDelimited=false] Whether responses are length-delimited
19768
+ * Constructs a new CreateDownloadLocationResponse.
19769
+ * @param [properties] Properties to set
19702
19770
  */
19703
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
19771
+ constructor(properties?: flyteidl.service.ICreateDownloadLocationResponse);
19704
19772
 
19705
- /**
19706
- * Creates new DataProxyService service using the specified rpc implementation.
19707
- * @param rpcImpl RPC implementation
19708
- * @param [requestDelimited=false] Whether requests are length-delimited
19709
- * @param [responseDelimited=false] Whether responses are length-delimited
19710
- * @returns RPC service. Useful where requests and/or responses are streamed.
19711
- */
19712
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DataProxyService;
19713
-
19714
- /**
19715
- * Calls CreateUploadLocation.
19716
- * @param request CreateUploadLocationRequest message or plain object
19717
- * @param callback Node-style callback called with the error, if any, and CreateUploadLocationResponse
19718
- */
19719
- public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest, callback: flyteidl.service.DataProxyService.CreateUploadLocationCallback): void;
19720
-
19721
- /**
19722
- * Calls CreateUploadLocation.
19723
- * @param request CreateUploadLocationRequest message or plain object
19724
- * @returns Promise
19725
- */
19726
- public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest): Promise<flyteidl.service.CreateUploadLocationResponse>;
19727
-
19728
- /**
19729
- * Calls CreateDownloadLocation.
19730
- * @param request CreateDownloadLocationRequest message or plain object
19731
- * @param callback Node-style callback called with the error, if any, and CreateDownloadLocationResponse
19732
- */
19733
- public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLocationCallback): void;
19773
+ /** CreateDownloadLocationResponse signedUrl. */
19774
+ public signedUrl: string;
19734
19775
 
19735
- /**
19736
- * Calls CreateDownloadLocation.
19737
- * @param request CreateDownloadLocationRequest message or plain object
19738
- * @returns Promise
19739
- */
19740
- public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest): Promise<flyteidl.service.CreateDownloadLocationResponse>;
19776
+ /** CreateDownloadLocationResponse expiresAt. */
19777
+ public expiresAt?: (google.protobuf.ITimestamp|null);
19741
19778
 
19742
19779
  /**
19743
- * Calls CreateDownloadLink.
19744
- * @param request CreateDownloadLinkRequest message or plain object
19745
- * @param callback Node-style callback called with the error, if any, and CreateDownloadLinkResponse
19780
+ * Creates a new CreateDownloadLocationResponse instance using the specified properties.
19781
+ * @param [properties] Properties to set
19782
+ * @returns CreateDownloadLocationResponse instance
19746
19783
  */
19747
- public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLinkCallback): void;
19784
+ public static create(properties?: flyteidl.service.ICreateDownloadLocationResponse): flyteidl.service.CreateDownloadLocationResponse;
19748
19785
 
19749
19786
  /**
19750
- * Calls CreateDownloadLink.
19751
- * @param request CreateDownloadLinkRequest message or plain object
19752
- * @returns Promise
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
19789
+ * @param [writer] Writer to encode to
19790
+ * @returns Writer
19753
19791
  */
19754
- public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest): Promise<flyteidl.service.CreateDownloadLinkResponse>;
19792
+ public static encode(message: flyteidl.service.ICreateDownloadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19755
19793
 
19756
19794
  /**
19757
- * Calls GetData.
19758
- * @param request GetDataRequest message or plain object
19759
- * @param callback Node-style callback called with the error, if any, and GetDataResponse
19795
+ * Decodes a CreateDownloadLocationResponse message from the specified reader or buffer.
19796
+ * @param reader Reader or buffer to decode from
19797
+ * @param [length] Message length if known beforehand
19798
+ * @returns CreateDownloadLocationResponse
19799
+ * @throws {Error} If the payload is not a reader or valid buffer
19800
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
19760
19801
  */
19761
- public getData(request: flyteidl.service.IGetDataRequest, callback: flyteidl.service.DataProxyService.GetDataCallback): void;
19802
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLocationResponse;
19762
19803
 
19763
19804
  /**
19764
- * Calls GetData.
19765
- * @param request GetDataRequest message or plain object
19766
- * @returns Promise
19805
+ * Verifies a CreateDownloadLocationResponse message.
19806
+ * @param message Plain object to verify
19807
+ * @returns `null` if valid, otherwise the reason why it is not
19767
19808
  */
19768
- public getData(request: flyteidl.service.IGetDataRequest): Promise<flyteidl.service.GetDataResponse>;
19809
+ public static verify(message: { [k: string]: any }): (string|null);
19769
19810
  }
19770
19811
 
19771
- namespace DataProxyService {
19812
+ /** ArtifactType enum. */
19813
+ enum ArtifactType {
19814
+ ARTIFACT_TYPE_UNDEFINED = 0,
19815
+ ARTIFACT_TYPE_DECK = 1
19816
+ }
19772
19817
 
19773
- /**
19774
- * Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}.
19775
- * @param error Error, if any
19776
- * @param [response] CreateUploadLocationResponse
19777
- */
19778
- type CreateUploadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateUploadLocationResponse) => void;
19818
+ /** Properties of a CreateDownloadLinkRequest. */
19819
+ interface ICreateDownloadLinkRequest {
19779
19820
 
19780
- /**
19781
- * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLocation}.
19782
- * @param error Error, if any
19783
- * @param [response] CreateDownloadLocationResponse
19784
- */
19785
- type CreateDownloadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLocationResponse) => void;
19821
+ /** CreateDownloadLinkRequest artifactType */
19822
+ artifactType?: (flyteidl.service.ArtifactType|null);
19786
19823
 
19787
- /**
19788
- * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLink}.
19789
- * @param error Error, if any
19790
- * @param [response] CreateDownloadLinkResponse
19791
- */
19792
- type CreateDownloadLinkCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLinkResponse) => void;
19824
+ /** CreateDownloadLinkRequest expiresIn */
19825
+ expiresIn?: (google.protobuf.IDuration|null);
19793
19826
 
19794
- /**
19795
- * Callback as used by {@link flyteidl.service.DataProxyService#getData}.
19796
- * @param error Error, if any
19797
- * @param [response] GetDataResponse
19798
- */
19799
- type GetDataCallback = (error: (Error|null), response?: flyteidl.service.GetDataResponse) => void;
19827
+ /** CreateDownloadLinkRequest nodeExecutionId */
19828
+ nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null);
19800
19829
  }
19801
19830
 
19802
- /** Represents an ExternalPluginService */
19803
- class ExternalPluginService extends $protobuf.rpc.Service {
19804
-
19805
- /**
19806
- * Constructs a new ExternalPluginService service.
19807
- * @param rpcImpl RPC implementation
19808
- * @param [requestDelimited=false] Whether requests are length-delimited
19809
- * @param [responseDelimited=false] Whether responses are length-delimited
19810
- */
19811
- constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
19812
-
19813
- /**
19814
- * Creates new ExternalPluginService service using the specified rpc implementation.
19815
- * @param rpcImpl RPC implementation
19816
- * @param [requestDelimited=false] Whether requests are length-delimited
19817
- * @param [responseDelimited=false] Whether responses are length-delimited
19818
- * @returns RPC service. Useful where requests and/or responses are streamed.
19819
- */
19820
- public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ExternalPluginService;
19831
+ /** Represents a CreateDownloadLinkRequest. */
19832
+ class CreateDownloadLinkRequest implements ICreateDownloadLinkRequest {
19821
19833
 
19822
19834
  /**
19823
- * Calls CreateTask.
19824
- * @param request TaskCreateRequest message or plain object
19825
- * @param callback Node-style callback called with the error, if any, and TaskCreateResponse
19835
+ * Constructs a new CreateDownloadLinkRequest.
19836
+ * @param [properties] Properties to set
19826
19837
  */
19827
- public createTask(request: flyteidl.service.ITaskCreateRequest, callback: flyteidl.service.ExternalPluginService.CreateTaskCallback): void;
19838
+ constructor(properties?: flyteidl.service.ICreateDownloadLinkRequest);
19828
19839
 
19829
- /**
19830
- * Calls CreateTask.
19831
- * @param request TaskCreateRequest message or plain object
19832
- * @returns Promise
19833
- */
19834
- public createTask(request: flyteidl.service.ITaskCreateRequest): Promise<flyteidl.service.TaskCreateResponse>;
19840
+ /** CreateDownloadLinkRequest artifactType. */
19841
+ public artifactType: flyteidl.service.ArtifactType;
19835
19842
 
19836
- /**
19837
- * Calls GetTask.
19838
- * @param request TaskGetRequest message or plain object
19839
- * @param callback Node-style callback called with the error, if any, and TaskGetResponse
19840
- */
19841
- public getTask(request: flyteidl.service.ITaskGetRequest, callback: flyteidl.service.ExternalPluginService.GetTaskCallback): void;
19843
+ /** CreateDownloadLinkRequest expiresIn. */
19844
+ public expiresIn?: (google.protobuf.IDuration|null);
19842
19845
 
19843
- /**
19844
- * Calls GetTask.
19845
- * @param request TaskGetRequest message or plain object
19846
- * @returns Promise
19847
- */
19848
- public getTask(request: flyteidl.service.ITaskGetRequest): Promise<flyteidl.service.TaskGetResponse>;
19846
+ /** CreateDownloadLinkRequest nodeExecutionId. */
19847
+ public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null);
19849
19848
 
19850
- /**
19851
- * Calls DeleteTask.
19852
- * @param request TaskDeleteRequest message or plain object
19853
- * @param callback Node-style callback called with the error, if any, and TaskDeleteResponse
19854
- */
19855
- public deleteTask(request: flyteidl.service.ITaskDeleteRequest, callback: flyteidl.service.ExternalPluginService.DeleteTaskCallback): void;
19849
+ /** CreateDownloadLinkRequest source. */
19850
+ public source?: "nodeExecutionId";
19856
19851
 
19857
19852
  /**
19858
- * Calls DeleteTask.
19859
- * @param request TaskDeleteRequest message or plain object
19860
- * @returns Promise
19853
+ * Creates a new CreateDownloadLinkRequest instance using the specified properties.
19854
+ * @param [properties] Properties to set
19855
+ * @returns CreateDownloadLinkRequest instance
19861
19856
  */
19862
- public deleteTask(request: flyteidl.service.ITaskDeleteRequest): Promise<flyteidl.service.TaskDeleteResponse>;
19863
- }
19864
-
19865
- namespace ExternalPluginService {
19857
+ public static create(properties?: flyteidl.service.ICreateDownloadLinkRequest): flyteidl.service.CreateDownloadLinkRequest;
19866
19858
 
19867
19859
  /**
19868
- * Callback as used by {@link flyteidl.service.ExternalPluginService#createTask}.
19869
- * @param error Error, if any
19870
- * @param [response] TaskCreateResponse
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
19871
19864
  */
19872
- type CreateTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskCreateResponse) => void;
19865
+ public static encode(message: flyteidl.service.ICreateDownloadLinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19873
19866
 
19874
19867
  /**
19875
- * Callback as used by {@link flyteidl.service.ExternalPluginService#getTask}.
19876
- * @param error Error, if any
19877
- * @param [response] TaskGetResponse
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
19878
19874
  */
19879
- type GetTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskGetResponse) => void;
19875
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLinkRequest;
19880
19876
 
19881
19877
  /**
19882
- * Callback as used by {@link flyteidl.service.ExternalPluginService#deleteTask}.
19883
- * @param error Error, if any
19884
- * @param [response] TaskDeleteResponse
19878
+ * Verifies a CreateDownloadLinkRequest message.
19879
+ * @param message Plain object to verify
19880
+ * @returns `null` if valid, otherwise the reason why it is not
19885
19881
  */
19886
- type DeleteTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskDeleteResponse) => void;
19887
- }
19888
-
19889
- /** State enum. */
19890
- enum State {
19891
- RETRYABLE_FAILURE = 0,
19892
- PERMANENT_FAILURE = 1,
19893
- PENDING = 2,
19894
- RUNNING = 3,
19895
- SUCCEEDED = 4
19882
+ public static verify(message: { [k: string]: any }): (string|null);
19896
19883
  }
19897
19884
 
19898
- /** Properties of a TaskCreateRequest. */
19899
- interface ITaskCreateRequest {
19885
+ /** Properties of a CreateDownloadLinkResponse. */
19886
+ interface ICreateDownloadLinkResponse {
19900
19887
 
19901
- /** TaskCreateRequest inputs */
19902
- inputs?: (flyteidl.core.ILiteralMap|null);
19888
+ /** CreateDownloadLinkResponse signedUrl */
19889
+ signedUrl?: (string[]|null);
19903
19890
 
19904
- /** TaskCreateRequest template */
19905
- template?: (flyteidl.core.ITaskTemplate|null);
19891
+ /** CreateDownloadLinkResponse expiresAt */
19892
+ expiresAt?: (google.protobuf.ITimestamp|null);
19906
19893
 
19907
- /** TaskCreateRequest outputPrefix */
19908
- outputPrefix?: (string|null);
19894
+ /** CreateDownloadLinkResponse preSignedUrls */
19895
+ preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
19909
19896
  }
19910
19897
 
19911
- /** Represents a TaskCreateRequest. */
19912
- class TaskCreateRequest implements ITaskCreateRequest {
19898
+ /** Represents a CreateDownloadLinkResponse. */
19899
+ class CreateDownloadLinkResponse implements ICreateDownloadLinkResponse {
19913
19900
 
19914
19901
  /**
19915
- * Constructs a new TaskCreateRequest.
19902
+ * Constructs a new CreateDownloadLinkResponse.
19916
19903
  * @param [properties] Properties to set
19917
19904
  */
19918
- constructor(properties?: flyteidl.service.ITaskCreateRequest);
19905
+ constructor(properties?: flyteidl.service.ICreateDownloadLinkResponse);
19919
19906
 
19920
- /** TaskCreateRequest inputs. */
19921
- public inputs?: (flyteidl.core.ILiteralMap|null);
19907
+ /** CreateDownloadLinkResponse signedUrl. */
19908
+ public signedUrl: string[];
19922
19909
 
19923
- /** TaskCreateRequest template. */
19924
- public template?: (flyteidl.core.ITaskTemplate|null);
19910
+ /** CreateDownloadLinkResponse expiresAt. */
19911
+ public expiresAt?: (google.protobuf.ITimestamp|null);
19925
19912
 
19926
- /** TaskCreateRequest outputPrefix. */
19927
- public outputPrefix: string;
19913
+ /** CreateDownloadLinkResponse preSignedUrls. */
19914
+ public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
19928
19915
 
19929
19916
  /**
19930
- * Creates a new TaskCreateRequest instance using the specified properties.
19917
+ * Creates a new CreateDownloadLinkResponse instance using the specified properties.
19931
19918
  * @param [properties] Properties to set
19932
- * @returns TaskCreateRequest instance
19919
+ * @returns CreateDownloadLinkResponse instance
19933
19920
  */
19934
- public static create(properties?: flyteidl.service.ITaskCreateRequest): flyteidl.service.TaskCreateRequest;
19921
+ public static create(properties?: flyteidl.service.ICreateDownloadLinkResponse): flyteidl.service.CreateDownloadLinkResponse;
19935
19922
 
19936
19923
  /**
19937
- * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.service.TaskCreateRequest.verify|verify} messages.
19938
- * @param message TaskCreateRequest message or plain object to encode
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
19939
19926
  * @param [writer] Writer to encode to
19940
19927
  * @returns Writer
19941
19928
  */
19942
- public static encode(message: flyteidl.service.ITaskCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
19929
+ public static encode(message: flyteidl.service.ICreateDownloadLinkResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19943
19930
 
19944
19931
  /**
19945
- * Decodes a TaskCreateRequest message from the specified reader or buffer.
19932
+ * Decodes a CreateDownloadLinkResponse message from the specified reader or buffer.
19946
19933
  * @param reader Reader or buffer to decode from
19947
19934
  * @param [length] Message length if known beforehand
19948
- * @returns TaskCreateRequest
19935
+ * @returns CreateDownloadLinkResponse
19949
19936
  * @throws {Error} If the payload is not a reader or valid buffer
19950
19937
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
19951
19938
  */
19952
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskCreateRequest;
19939
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.CreateDownloadLinkResponse;
19953
19940
 
19954
19941
  /**
19955
- * Verifies a TaskCreateRequest message.
19942
+ * Verifies a CreateDownloadLinkResponse message.
19956
19943
  * @param message Plain object to verify
19957
19944
  * @returns `null` if valid, otherwise the reason why it is not
19958
19945
  */
19959
19946
  public static verify(message: { [k: string]: any }): (string|null);
19960
19947
  }
19961
19948
 
19962
- /** Properties of a TaskCreateResponse. */
19963
- interface ITaskCreateResponse {
19949
+ /** Properties of a PreSignedURLs. */
19950
+ interface IPreSignedURLs {
19964
19951
 
19965
- /** TaskCreateResponse jobId */
19966
- jobId?: (string|null);
19952
+ /** PreSignedURLs signedUrl */
19953
+ signedUrl?: (string[]|null);
19954
+
19955
+ /** PreSignedURLs expiresAt */
19956
+ expiresAt?: (google.protobuf.ITimestamp|null);
19967
19957
  }
19968
19958
 
19969
- /** Represents a TaskCreateResponse. */
19970
- class TaskCreateResponse implements ITaskCreateResponse {
19959
+ /** Represents a PreSignedURLs. */
19960
+ class PreSignedURLs implements IPreSignedURLs {
19971
19961
 
19972
19962
  /**
19973
- * Constructs a new TaskCreateResponse.
19963
+ * Constructs a new PreSignedURLs.
19974
19964
  * @param [properties] Properties to set
19975
19965
  */
19976
- constructor(properties?: flyteidl.service.ITaskCreateResponse);
19966
+ constructor(properties?: flyteidl.service.IPreSignedURLs);
19977
19967
 
19978
- /** TaskCreateResponse jobId. */
19979
- public jobId: string;
19968
+ /** PreSignedURLs signedUrl. */
19969
+ public signedUrl: string[];
19970
+
19971
+ /** PreSignedURLs expiresAt. */
19972
+ public expiresAt?: (google.protobuf.ITimestamp|null);
19980
19973
 
19981
19974
  /**
19982
- * Creates a new TaskCreateResponse instance using the specified properties.
19975
+ * Creates a new PreSignedURLs instance using the specified properties.
19983
19976
  * @param [properties] Properties to set
19984
- * @returns TaskCreateResponse instance
19977
+ * @returns PreSignedURLs instance
19985
19978
  */
19986
- public static create(properties?: flyteidl.service.ITaskCreateResponse): flyteidl.service.TaskCreateResponse;
19979
+ public static create(properties?: flyteidl.service.IPreSignedURLs): flyteidl.service.PreSignedURLs;
19987
19980
 
19988
- /**
19989
- * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.service.TaskCreateResponse.verify|verify} messages.
19990
- * @param message TaskCreateResponse message or plain object to encode
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
19991
19984
  * @param [writer] Writer to encode to
19992
19985
  * @returns Writer
19993
19986
  */
19994
- public static encode(message: flyteidl.service.ITaskCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
19987
+ public static encode(message: flyteidl.service.IPreSignedURLs, writer?: $protobuf.Writer): $protobuf.Writer;
19995
19988
 
19996
19989
  /**
19997
- * Decodes a TaskCreateResponse message from the specified reader or buffer.
19990
+ * Decodes a PreSignedURLs message from the specified reader or buffer.
19998
19991
  * @param reader Reader or buffer to decode from
19999
19992
  * @param [length] Message length if known beforehand
20000
- * @returns TaskCreateResponse
19993
+ * @returns PreSignedURLs
20001
19994
  * @throws {Error} If the payload is not a reader or valid buffer
20002
19995
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20003
19996
  */
20004
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskCreateResponse;
19997
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.PreSignedURLs;
20005
19998
 
20006
19999
  /**
20007
- * Verifies a TaskCreateResponse message.
20000
+ * Verifies a PreSignedURLs message.
20008
20001
  * @param message Plain object to verify
20009
20002
  * @returns `null` if valid, otherwise the reason why it is not
20010
20003
  */
20011
20004
  public static verify(message: { [k: string]: any }): (string|null);
20012
20005
  }
20013
20006
 
20014
- /** Properties of a TaskGetRequest. */
20015
- interface ITaskGetRequest {
20016
-
20017
- /** TaskGetRequest taskType */
20018
- taskType?: (string|null);
20007
+ /** Properties of a GetDataRequest. */
20008
+ interface IGetDataRequest {
20019
20009
 
20020
- /** TaskGetRequest jobId */
20021
- jobId?: (string|null);
20010
+ /** GetDataRequest flyteUrl */
20011
+ flyteUrl?: (string|null);
20022
20012
  }
20023
20013
 
20024
- /** Represents a TaskGetRequest. */
20025
- class TaskGetRequest implements ITaskGetRequest {
20014
+ /** Represents a GetDataRequest. */
20015
+ class GetDataRequest implements IGetDataRequest {
20026
20016
 
20027
20017
  /**
20028
- * Constructs a new TaskGetRequest.
20018
+ * Constructs a new GetDataRequest.
20029
20019
  * @param [properties] Properties to set
20030
20020
  */
20031
- constructor(properties?: flyteidl.service.ITaskGetRequest);
20032
-
20033
- /** TaskGetRequest taskType. */
20034
- public taskType: string;
20021
+ constructor(properties?: flyteidl.service.IGetDataRequest);
20035
20022
 
20036
- /** TaskGetRequest jobId. */
20037
- public jobId: string;
20023
+ /** GetDataRequest flyteUrl. */
20024
+ public flyteUrl: string;
20038
20025
 
20039
20026
  /**
20040
- * Creates a new TaskGetRequest instance using the specified properties.
20027
+ * Creates a new GetDataRequest instance using the specified properties.
20041
20028
  * @param [properties] Properties to set
20042
- * @returns TaskGetRequest instance
20029
+ * @returns GetDataRequest instance
20043
20030
  */
20044
- public static create(properties?: flyteidl.service.ITaskGetRequest): flyteidl.service.TaskGetRequest;
20031
+ public static create(properties?: flyteidl.service.IGetDataRequest): flyteidl.service.GetDataRequest;
20045
20032
 
20046
20033
  /**
20047
- * Encodes the specified TaskGetRequest message. Does not implicitly {@link flyteidl.service.TaskGetRequest.verify|verify} messages.
20048
- * @param message TaskGetRequest message or plain object to encode
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
20049
20036
  * @param [writer] Writer to encode to
20050
20037
  * @returns Writer
20051
20038
  */
20052
- public static encode(message: flyteidl.service.ITaskGetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20039
+ public static encode(message: flyteidl.service.IGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20053
20040
 
20054
20041
  /**
20055
- * Decodes a TaskGetRequest message from the specified reader or buffer.
20042
+ * Decodes a GetDataRequest message from the specified reader or buffer.
20056
20043
  * @param reader Reader or buffer to decode from
20057
20044
  * @param [length] Message length if known beforehand
20058
- * @returns TaskGetRequest
20045
+ * @returns GetDataRequest
20059
20046
  * @throws {Error} If the payload is not a reader or valid buffer
20060
20047
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20061
20048
  */
20062
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskGetRequest;
20049
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataRequest;
20063
20050
 
20064
20051
  /**
20065
- * Verifies a TaskGetRequest message.
20052
+ * Verifies a GetDataRequest message.
20066
20053
  * @param message Plain object to verify
20067
20054
  * @returns `null` if valid, otherwise the reason why it is not
20068
20055
  */
20069
20056
  public static verify(message: { [k: string]: any }): (string|null);
20070
20057
  }
20071
20058
 
20072
- /** Properties of a TaskGetResponse. */
20073
- interface ITaskGetResponse {
20059
+ /** Properties of a GetDataResponse. */
20060
+ interface IGetDataResponse {
20074
20061
 
20075
- /** TaskGetResponse state */
20076
- state?: (flyteidl.service.State|null);
20062
+ /** GetDataResponse literalMap */
20063
+ literalMap?: (flyteidl.core.ILiteralMap|null);
20077
20064
 
20078
- /** TaskGetResponse outputs */
20079
- outputs?: (flyteidl.core.ILiteralMap|null);
20065
+ /** GetDataResponse preSignedUrls */
20066
+ preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
20067
+
20068
+ /** GetDataResponse literal */
20069
+ literal?: (flyteidl.core.ILiteral|null);
20080
20070
  }
20081
20071
 
20082
- /** Represents a TaskGetResponse. */
20083
- class TaskGetResponse implements ITaskGetResponse {
20072
+ /** Represents a GetDataResponse. */
20073
+ class GetDataResponse implements IGetDataResponse {
20084
20074
 
20085
20075
  /**
20086
- * Constructs a new TaskGetResponse.
20076
+ * Constructs a new GetDataResponse.
20087
20077
  * @param [properties] Properties to set
20088
20078
  */
20089
- constructor(properties?: flyteidl.service.ITaskGetResponse);
20079
+ constructor(properties?: flyteidl.service.IGetDataResponse);
20090
20080
 
20091
- /** TaskGetResponse state. */
20092
- public state: flyteidl.service.State;
20081
+ /** GetDataResponse literalMap. */
20082
+ public literalMap?: (flyteidl.core.ILiteralMap|null);
20093
20083
 
20094
- /** TaskGetResponse outputs. */
20095
- public outputs?: (flyteidl.core.ILiteralMap|null);
20084
+ /** GetDataResponse preSignedUrls. */
20085
+ public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
20086
+
20087
+ /** GetDataResponse literal. */
20088
+ public literal?: (flyteidl.core.ILiteral|null);
20089
+
20090
+ /** GetDataResponse data. */
20091
+ public data?: ("literalMap"|"preSignedUrls"|"literal");
20096
20092
 
20097
20093
  /**
20098
- * Creates a new TaskGetResponse instance using the specified properties.
20094
+ * Creates a new GetDataResponse instance using the specified properties.
20099
20095
  * @param [properties] Properties to set
20100
- * @returns TaskGetResponse instance
20096
+ * @returns GetDataResponse instance
20101
20097
  */
20102
- public static create(properties?: flyteidl.service.ITaskGetResponse): flyteidl.service.TaskGetResponse;
20098
+ public static create(properties?: flyteidl.service.IGetDataResponse): flyteidl.service.GetDataResponse;
20103
20099
 
20104
20100
  /**
20105
- * Encodes the specified TaskGetResponse message. Does not implicitly {@link flyteidl.service.TaskGetResponse.verify|verify} messages.
20106
- * @param message TaskGetResponse message or plain object to encode
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
20107
20103
  * @param [writer] Writer to encode to
20108
20104
  * @returns Writer
20109
20105
  */
20110
- public static encode(message: flyteidl.service.ITaskGetResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20106
+ public static encode(message: flyteidl.service.IGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20111
20107
 
20112
20108
  /**
20113
- * Decodes a TaskGetResponse message from the specified reader or buffer.
20109
+ * Decodes a GetDataResponse message from the specified reader or buffer.
20114
20110
  * @param reader Reader or buffer to decode from
20115
20111
  * @param [length] Message length if known beforehand
20116
- * @returns TaskGetResponse
20112
+ * @returns GetDataResponse
20117
20113
  * @throws {Error} If the payload is not a reader or valid buffer
20118
20114
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20119
20115
  */
20120
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskGetResponse;
20116
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.GetDataResponse;
20121
20117
 
20122
20118
  /**
20123
- * Verifies a TaskGetResponse message.
20119
+ * Verifies a GetDataResponse message.
20124
20120
  * @param message Plain object to verify
20125
20121
  * @returns `null` if valid, otherwise the reason why it is not
20126
20122
  */
20127
20123
  public static verify(message: { [k: string]: any }): (string|null);
20128
20124
  }
20129
20125
 
20130
- /** Properties of a TaskDeleteRequest. */
20131
- interface ITaskDeleteRequest {
20132
-
20133
- /** TaskDeleteRequest taskType */
20134
- taskType?: (string|null);
20135
-
20136
- /** TaskDeleteRequest jobId */
20137
- jobId?: (string|null);
20138
- }
20139
-
20140
- /** Represents a TaskDeleteRequest. */
20141
- class TaskDeleteRequest implements ITaskDeleteRequest {
20126
+ /** Represents a DataProxyService */
20127
+ class DataProxyService extends $protobuf.rpc.Service {
20142
20128
 
20143
20129
  /**
20144
- * Constructs a new TaskDeleteRequest.
20145
- * @param [properties] Properties to set
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
20146
20134
  */
20147
- constructor(properties?: flyteidl.service.ITaskDeleteRequest);
20135
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
20148
20136
 
20149
- /** TaskDeleteRequest taskType. */
20150
- public taskType: string;
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;
20151
20145
 
20152
- /** TaskDeleteRequest jobId. */
20153
- public jobId: string;
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;
20154
20152
 
20155
20153
  /**
20156
- * Creates a new TaskDeleteRequest instance using the specified properties.
20157
- * @param [properties] Properties to set
20158
- * @returns TaskDeleteRequest instance
20154
+ * Calls CreateUploadLocation.
20155
+ * @param request CreateUploadLocationRequest message or plain object
20156
+ * @returns Promise
20159
20157
  */
20160
- public static create(properties?: flyteidl.service.ITaskDeleteRequest): flyteidl.service.TaskDeleteRequest;
20158
+ public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest): Promise<flyteidl.service.CreateUploadLocationResponse>;
20161
20159
 
20162
20160
  /**
20163
- * Encodes the specified TaskDeleteRequest message. Does not implicitly {@link flyteidl.service.TaskDeleteRequest.verify|verify} messages.
20164
- * @param message TaskDeleteRequest message or plain object to encode
20165
- * @param [writer] Writer to encode to
20166
- * @returns Writer
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
20167
20164
  */
20168
- public static encode(message: flyteidl.service.ITaskDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20165
+ public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLocationCallback): void;
20169
20166
 
20170
20167
  /**
20171
- * Decodes a TaskDeleteRequest message from the specified reader or buffer.
20172
- * @param reader Reader or buffer to decode from
20173
- * @param [length] Message length if known beforehand
20174
- * @returns TaskDeleteRequest
20175
- * @throws {Error} If the payload is not a reader or valid buffer
20176
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
20168
+ * Calls CreateDownloadLocation.
20169
+ * @param request CreateDownloadLocationRequest message or plain object
20170
+ * @returns Promise
20177
20171
  */
20178
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskDeleteRequest;
20172
+ public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest): Promise<flyteidl.service.CreateDownloadLocationResponse>;
20179
20173
 
20180
20174
  /**
20181
- * Verifies a TaskDeleteRequest message.
20182
- * @param message Plain object to verify
20183
- * @returns `null` if valid, otherwise the reason why it is not
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
20184
20178
  */
20185
- public static verify(message: { [k: string]: any }): (string|null);
20186
- }
20179
+ public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLinkCallback): void;
20187
20180
 
20188
- /** Properties of a TaskDeleteResponse. */
20189
- interface ITaskDeleteResponse {
20190
- }
20181
+ /**
20182
+ * Calls CreateDownloadLink.
20183
+ * @param request CreateDownloadLinkRequest message or plain object
20184
+ * @returns Promise
20185
+ */
20186
+ public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest): Promise<flyteidl.service.CreateDownloadLinkResponse>;
20191
20187
 
20192
- /** Represents a TaskDeleteResponse. */
20193
- class TaskDeleteResponse implements ITaskDeleteResponse {
20188
+ /**
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
20192
+ */
20193
+ public getData(request: flyteidl.service.IGetDataRequest, callback: flyteidl.service.DataProxyService.GetDataCallback): void;
20194
20194
 
20195
20195
  /**
20196
- * Constructs a new TaskDeleteResponse.
20197
- * @param [properties] Properties to set
20196
+ * Calls GetData.
20197
+ * @param request GetDataRequest message or plain object
20198
+ * @returns Promise
20198
20199
  */
20199
- constructor(properties?: flyteidl.service.ITaskDeleteResponse);
20200
+ public getData(request: flyteidl.service.IGetDataRequest): Promise<flyteidl.service.GetDataResponse>;
20201
+ }
20202
+
20203
+ namespace DataProxyService {
20200
20204
 
20201
20205
  /**
20202
- * Creates a new TaskDeleteResponse instance using the specified properties.
20203
- * @param [properties] Properties to set
20204
- * @returns TaskDeleteResponse instance
20206
+ * Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}.
20207
+ * @param error Error, if any
20208
+ * @param [response] CreateUploadLocationResponse
20205
20209
  */
20206
- public static create(properties?: flyteidl.service.ITaskDeleteResponse): flyteidl.service.TaskDeleteResponse;
20210
+ type CreateUploadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateUploadLocationResponse) => void;
20207
20211
 
20208
20212
  /**
20209
- * Encodes the specified TaskDeleteResponse message. Does not implicitly {@link flyteidl.service.TaskDeleteResponse.verify|verify} messages.
20210
- * @param message TaskDeleteResponse message or plain object to encode
20211
- * @param [writer] Writer to encode to
20212
- * @returns Writer
20213
+ * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLocation}.
20214
+ * @param error Error, if any
20215
+ * @param [response] CreateDownloadLocationResponse
20213
20216
  */
20214
- public static encode(message: flyteidl.service.ITaskDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20217
+ type CreateDownloadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLocationResponse) => void;
20215
20218
 
20216
20219
  /**
20217
- * Decodes a TaskDeleteResponse message from the specified reader or buffer.
20218
- * @param reader Reader or buffer to decode from
20219
- * @param [length] Message length if known beforehand
20220
- * @returns TaskDeleteResponse
20221
- * @throws {Error} If the payload is not a reader or valid buffer
20222
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
20220
+ * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLink}.
20221
+ * @param error Error, if any
20222
+ * @param [response] CreateDownloadLinkResponse
20223
20223
  */
20224
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.service.TaskDeleteResponse;
20224
+ type CreateDownloadLinkCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLinkResponse) => void;
20225
20225
 
20226
20226
  /**
20227
- * Verifies a TaskDeleteResponse message.
20228
- * @param message Plain object to verify
20229
- * @returns `null` if valid, otherwise the reason why it is not
20227
+ * Callback as used by {@link flyteidl.service.DataProxyService#getData}.
20228
+ * @param error Error, if any
20229
+ * @param [response] GetDataResponse
20230
20230
  */
20231
- public static verify(message: { [k: string]: any }): (string|null);
20231
+ type GetDataCallback = (error: (Error|null), response?: flyteidl.service.GetDataResponse) => void;
20232
20232
  }
20233
20233
 
20234
20234
  /** Properties of a UserInfoRequest. */