@lyft/flyteidl
Version:
Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs
1,218 lines (974 loc) • 706 kB
TypeScript
import * as $protobuf from "protobufjs";
/** Namespace flyteidl. */
export namespace flyteidl {
/** Namespace core. */
namespace core {
/** CatalogCacheStatus enum. */
enum CatalogCacheStatus {
CACHE_DISABLED = 0,
CACHE_MISS = 1,
CACHE_HIT = 2,
CACHE_POPULATED = 3,
CACHE_LOOKUP_FAILURE = 4,
CACHE_PUT_FAILURE = 5
}
/** Properties of a CatalogArtifactTag. */
interface ICatalogArtifactTag {
/** CatalogArtifactTag artifactId */
artifactId?: (string|null);
/** CatalogArtifactTag name */
name?: (string|null);
}
/** Represents a CatalogArtifactTag. */
class CatalogArtifactTag implements ICatalogArtifactTag {
/**
* Constructs a new CatalogArtifactTag.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.ICatalogArtifactTag);
/** CatalogArtifactTag artifactId. */
public artifactId: string;
/** CatalogArtifactTag name. */
public name: string;
/**
* Creates a new CatalogArtifactTag instance using the specified properties.
* @param [properties] Properties to set
* @returns CatalogArtifactTag instance
*/
public static create(properties?: flyteidl.core.ICatalogArtifactTag): flyteidl.core.CatalogArtifactTag;
/**
* Encodes the specified CatalogArtifactTag message. Does not implicitly {@link flyteidl.core.CatalogArtifactTag.verify|verify} messages.
* @param message CatalogArtifactTag message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.ICatalogArtifactTag, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CatalogArtifactTag message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CatalogArtifactTag
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CatalogArtifactTag;
/**
* Verifies a CatalogArtifactTag message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** Properties of a CatalogMetadata. */
interface ICatalogMetadata {
/** CatalogMetadata datasetId */
datasetId?: (flyteidl.core.IIdentifier|null);
/** CatalogMetadata artifactTag */
artifactTag?: (flyteidl.core.ICatalogArtifactTag|null);
/** CatalogMetadata sourceTaskExecution */
sourceTaskExecution?: (flyteidl.core.ITaskExecutionIdentifier|null);
}
/** Represents a CatalogMetadata. */
class CatalogMetadata implements ICatalogMetadata {
/**
* Constructs a new CatalogMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.ICatalogMetadata);
/** CatalogMetadata datasetId. */
public datasetId?: (flyteidl.core.IIdentifier|null);
/** CatalogMetadata artifactTag. */
public artifactTag?: (flyteidl.core.ICatalogArtifactTag|null);
/** CatalogMetadata sourceTaskExecution. */
public sourceTaskExecution?: (flyteidl.core.ITaskExecutionIdentifier|null);
/** CatalogMetadata sourceExecution. */
public sourceExecution?: "sourceTaskExecution";
/**
* Creates a new CatalogMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns CatalogMetadata instance
*/
public static create(properties?: flyteidl.core.ICatalogMetadata): flyteidl.core.CatalogMetadata;
/**
* Encodes the specified CatalogMetadata message. Does not implicitly {@link flyteidl.core.CatalogMetadata.verify|verify} messages.
* @param message CatalogMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.ICatalogMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CatalogMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CatalogMetadata
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CatalogMetadata;
/**
* Verifies a CatalogMetadata message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** ResourceType enum. */
enum ResourceType {
UNSPECIFIED = 0,
TASK = 1,
WORKFLOW = 2,
LAUNCH_PLAN = 3,
DATASET = 4
}
/** Properties of an Identifier. */
interface IIdentifier {
/** Identifier resourceType */
resourceType?: (flyteidl.core.ResourceType|null);
/** Identifier project */
project?: (string|null);
/** Identifier domain */
domain?: (string|null);
/** Identifier name */
name?: (string|null);
/** Identifier version */
version?: (string|null);
}
/** Represents an Identifier. */
class Identifier implements IIdentifier {
/**
* Constructs a new Identifier.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.IIdentifier);
/** Identifier resourceType. */
public resourceType: flyteidl.core.ResourceType;
/** Identifier project. */
public project: string;
/** Identifier domain. */
public domain: string;
/** Identifier name. */
public name: string;
/** Identifier version. */
public version: string;
/**
* Creates a new Identifier instance using the specified properties.
* @param [properties] Properties to set
* @returns Identifier instance
*/
public static create(properties?: flyteidl.core.IIdentifier): flyteidl.core.Identifier;
/**
* Encodes the specified Identifier message. Does not implicitly {@link flyteidl.core.Identifier.verify|verify} messages.
* @param message Identifier message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.IIdentifier, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an Identifier message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Identifier
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Identifier;
/**
* Verifies an Identifier message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** Properties of a WorkflowExecutionIdentifier. */
interface IWorkflowExecutionIdentifier {
/** WorkflowExecutionIdentifier project */
project?: (string|null);
/** WorkflowExecutionIdentifier domain */
domain?: (string|null);
/** WorkflowExecutionIdentifier name */
name?: (string|null);
}
/** Represents a WorkflowExecutionIdentifier. */
class WorkflowExecutionIdentifier implements IWorkflowExecutionIdentifier {
/**
* Constructs a new WorkflowExecutionIdentifier.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.IWorkflowExecutionIdentifier);
/** WorkflowExecutionIdentifier project. */
public project: string;
/** WorkflowExecutionIdentifier domain. */
public domain: string;
/** WorkflowExecutionIdentifier name. */
public name: string;
/**
* Creates a new WorkflowExecutionIdentifier instance using the specified properties.
* @param [properties] Properties to set
* @returns WorkflowExecutionIdentifier instance
*/
public static create(properties?: flyteidl.core.IWorkflowExecutionIdentifier): flyteidl.core.WorkflowExecutionIdentifier;
/**
* Encodes the specified WorkflowExecutionIdentifier message. Does not implicitly {@link flyteidl.core.WorkflowExecutionIdentifier.verify|verify} messages.
* @param message WorkflowExecutionIdentifier message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.IWorkflowExecutionIdentifier, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a WorkflowExecutionIdentifier message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns WorkflowExecutionIdentifier
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.WorkflowExecutionIdentifier;
/**
* Verifies a WorkflowExecutionIdentifier message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** Properties of a NodeExecutionIdentifier. */
interface INodeExecutionIdentifier {
/** NodeExecutionIdentifier nodeId */
nodeId?: (string|null);
/** NodeExecutionIdentifier executionId */
executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null);
}
/** Represents a NodeExecutionIdentifier. */
class NodeExecutionIdentifier implements INodeExecutionIdentifier {
/**
* Constructs a new NodeExecutionIdentifier.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.INodeExecutionIdentifier);
/** NodeExecutionIdentifier nodeId. */
public nodeId: string;
/** NodeExecutionIdentifier executionId. */
public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null);
/**
* Creates a new NodeExecutionIdentifier instance using the specified properties.
* @param [properties] Properties to set
* @returns NodeExecutionIdentifier instance
*/
public static create(properties?: flyteidl.core.INodeExecutionIdentifier): flyteidl.core.NodeExecutionIdentifier;
/**
* Encodes the specified NodeExecutionIdentifier message. Does not implicitly {@link flyteidl.core.NodeExecutionIdentifier.verify|verify} messages.
* @param message NodeExecutionIdentifier message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.INodeExecutionIdentifier, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a NodeExecutionIdentifier message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns NodeExecutionIdentifier
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.NodeExecutionIdentifier;
/**
* Verifies a NodeExecutionIdentifier message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** Properties of a TaskExecutionIdentifier. */
interface ITaskExecutionIdentifier {
/** TaskExecutionIdentifier taskId */
taskId?: (flyteidl.core.IIdentifier|null);
/** TaskExecutionIdentifier nodeExecutionId */
nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null);
/** TaskExecutionIdentifier retryAttempt */
retryAttempt?: (number|null);
}
/** Represents a TaskExecutionIdentifier. */
class TaskExecutionIdentifier implements ITaskExecutionIdentifier {
/**
* Constructs a new TaskExecutionIdentifier.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.ITaskExecutionIdentifier);
/** TaskExecutionIdentifier taskId. */
public taskId?: (flyteidl.core.IIdentifier|null);
/** TaskExecutionIdentifier nodeExecutionId. */
public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null);
/** TaskExecutionIdentifier retryAttempt. */
public retryAttempt: number;
/**
* Creates a new TaskExecutionIdentifier instance using the specified properties.
* @param [properties] Properties to set
* @returns TaskExecutionIdentifier instance
*/
public static create(properties?: flyteidl.core.ITaskExecutionIdentifier): flyteidl.core.TaskExecutionIdentifier;
/**
* Encodes the specified TaskExecutionIdentifier message. Does not implicitly {@link flyteidl.core.TaskExecutionIdentifier.verify|verify} messages.
* @param message TaskExecutionIdentifier message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.ITaskExecutionIdentifier, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a TaskExecutionIdentifier message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns TaskExecutionIdentifier
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.TaskExecutionIdentifier;
/**
* Verifies a TaskExecutionIdentifier message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** Properties of a ConnectionSet. */
interface IConnectionSet {
/** ConnectionSet downstream */
downstream?: ({ [k: string]: flyteidl.core.ConnectionSet.IIdList }|null);
/** ConnectionSet upstream */
upstream?: ({ [k: string]: flyteidl.core.ConnectionSet.IIdList }|null);
}
/** Represents a ConnectionSet. */
class ConnectionSet implements IConnectionSet {
/**
* Constructs a new ConnectionSet.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.IConnectionSet);
/** ConnectionSet downstream. */
public downstream: { [k: string]: flyteidl.core.ConnectionSet.IIdList };
/** ConnectionSet upstream. */
public upstream: { [k: string]: flyteidl.core.ConnectionSet.IIdList };
/**
* Creates a new ConnectionSet instance using the specified properties.
* @param [properties] Properties to set
* @returns ConnectionSet instance
*/
public static create(properties?: flyteidl.core.IConnectionSet): flyteidl.core.ConnectionSet;
/**
* Encodes the specified ConnectionSet message. Does not implicitly {@link flyteidl.core.ConnectionSet.verify|verify} messages.
* @param message ConnectionSet message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.IConnectionSet, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ConnectionSet message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ConnectionSet
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ConnectionSet;
/**
* Verifies a ConnectionSet message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
namespace ConnectionSet {
/** Properties of an IdList. */
interface IIdList {
/** IdList ids */
ids?: (string[]|null);
}
/** Represents an IdList. */
class IdList implements IIdList {
/**
* Constructs a new IdList.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.ConnectionSet.IIdList);
/** IdList ids. */
public ids: string[];
/**
* Creates a new IdList instance using the specified properties.
* @param [properties] Properties to set
* @returns IdList instance
*/
public static create(properties?: flyteidl.core.ConnectionSet.IIdList): flyteidl.core.ConnectionSet.IdList;
/**
* Encodes the specified IdList message. Does not implicitly {@link flyteidl.core.ConnectionSet.IdList.verify|verify} messages.
* @param message IdList message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.ConnectionSet.IIdList, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an IdList message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns IdList
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.ConnectionSet.IdList;
/**
* Verifies an IdList message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
}
/** Properties of a CompiledWorkflow. */
interface ICompiledWorkflow {
/** CompiledWorkflow template */
template?: (flyteidl.core.IWorkflowTemplate|null);
/** CompiledWorkflow connections */
connections?: (flyteidl.core.IConnectionSet|null);
}
/** Represents a CompiledWorkflow. */
class CompiledWorkflow implements ICompiledWorkflow {
/**
* Constructs a new CompiledWorkflow.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.ICompiledWorkflow);
/** CompiledWorkflow template. */
public template?: (flyteidl.core.IWorkflowTemplate|null);
/** CompiledWorkflow connections. */
public connections?: (flyteidl.core.IConnectionSet|null);
/**
* Creates a new CompiledWorkflow instance using the specified properties.
* @param [properties] Properties to set
* @returns CompiledWorkflow instance
*/
public static create(properties?: flyteidl.core.ICompiledWorkflow): flyteidl.core.CompiledWorkflow;
/**
* Encodes the specified CompiledWorkflow message. Does not implicitly {@link flyteidl.core.CompiledWorkflow.verify|verify} messages.
* @param message CompiledWorkflow message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.ICompiledWorkflow, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CompiledWorkflow message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CompiledWorkflow
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CompiledWorkflow;
/**
* Verifies a CompiledWorkflow message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** Properties of a CompiledTask. */
interface ICompiledTask {
/** CompiledTask template */
template?: (flyteidl.core.ITaskTemplate|null);
}
/** Represents a CompiledTask. */
class CompiledTask implements ICompiledTask {
/**
* Constructs a new CompiledTask.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.ICompiledTask);
/** CompiledTask template. */
public template?: (flyteidl.core.ITaskTemplate|null);
/**
* Creates a new CompiledTask instance using the specified properties.
* @param [properties] Properties to set
* @returns CompiledTask instance
*/
public static create(properties?: flyteidl.core.ICompiledTask): flyteidl.core.CompiledTask;
/**
* Encodes the specified CompiledTask message. Does not implicitly {@link flyteidl.core.CompiledTask.verify|verify} messages.
* @param message CompiledTask message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.ICompiledTask, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CompiledTask message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CompiledTask
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CompiledTask;
/**
* Verifies a CompiledTask message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** Properties of a CompiledWorkflowClosure. */
interface ICompiledWorkflowClosure {
/** CompiledWorkflowClosure primary */
primary?: (flyteidl.core.ICompiledWorkflow|null);
/** CompiledWorkflowClosure subWorkflows */
subWorkflows?: (flyteidl.core.ICompiledWorkflow[]|null);
/** CompiledWorkflowClosure tasks */
tasks?: (flyteidl.core.ICompiledTask[]|null);
}
/** Represents a CompiledWorkflowClosure. */
class CompiledWorkflowClosure implements ICompiledWorkflowClosure {
/**
* Constructs a new CompiledWorkflowClosure.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.ICompiledWorkflowClosure);
/** CompiledWorkflowClosure primary. */
public primary?: (flyteidl.core.ICompiledWorkflow|null);
/** CompiledWorkflowClosure subWorkflows. */
public subWorkflows: flyteidl.core.ICompiledWorkflow[];
/** CompiledWorkflowClosure tasks. */
public tasks: flyteidl.core.ICompiledTask[];
/**
* Creates a new CompiledWorkflowClosure instance using the specified properties.
* @param [properties] Properties to set
* @returns CompiledWorkflowClosure instance
*/
public static create(properties?: flyteidl.core.ICompiledWorkflowClosure): flyteidl.core.CompiledWorkflowClosure;
/**
* Encodes the specified CompiledWorkflowClosure message. Does not implicitly {@link flyteidl.core.CompiledWorkflowClosure.verify|verify} messages.
* @param message CompiledWorkflowClosure message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.ICompiledWorkflowClosure, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CompiledWorkflowClosure message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CompiledWorkflowClosure
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.CompiledWorkflowClosure;
/**
* Verifies a CompiledWorkflowClosure message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** Properties of an IfBlock. */
interface IIfBlock {
/** IfBlock condition */
condition?: (flyteidl.core.IBooleanExpression|null);
/** IfBlock thenNode */
thenNode?: (flyteidl.core.INode|null);
}
/** Represents an IfBlock. */
class IfBlock implements IIfBlock {
/**
* Constructs a new IfBlock.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.IIfBlock);
/** IfBlock condition. */
public condition?: (flyteidl.core.IBooleanExpression|null);
/** IfBlock thenNode. */
public thenNode?: (flyteidl.core.INode|null);
/**
* Creates a new IfBlock instance using the specified properties.
* @param [properties] Properties to set
* @returns IfBlock instance
*/
public static create(properties?: flyteidl.core.IIfBlock): flyteidl.core.IfBlock;
/**
* Encodes the specified IfBlock message. Does not implicitly {@link flyteidl.core.IfBlock.verify|verify} messages.
* @param message IfBlock message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.IIfBlock, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an IfBlock message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns IfBlock
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.IfBlock;
/**
* Verifies an IfBlock message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** Properties of an IfElseBlock. */
interface IIfElseBlock {
/** IfElseBlock case */
"case"?: (flyteidl.core.IIfBlock|null);
/** IfElseBlock other */
other?: (flyteidl.core.IIfBlock[]|null);
/** IfElseBlock elseNode */
elseNode?: (flyteidl.core.INode|null);
/** IfElseBlock error */
error?: (flyteidl.core.IError|null);
}
/** Represents an IfElseBlock. */
class IfElseBlock implements IIfElseBlock {
/**
* Constructs a new IfElseBlock.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.IIfElseBlock);
/** IfElseBlock case. */
public case?: (flyteidl.core.IIfBlock|null);
/** IfElseBlock other. */
public other: flyteidl.core.IIfBlock[];
/** IfElseBlock elseNode. */
public elseNode?: (flyteidl.core.INode|null);
/** IfElseBlock error. */
public error?: (flyteidl.core.IError|null);
/** IfElseBlock default. */
public default_?: ("elseNode"|"error");
/**
* Creates a new IfElseBlock instance using the specified properties.
* @param [properties] Properties to set
* @returns IfElseBlock instance
*/
public static create(properties?: flyteidl.core.IIfElseBlock): flyteidl.core.IfElseBlock;
/**
* Encodes the specified IfElseBlock message. Does not implicitly {@link flyteidl.core.IfElseBlock.verify|verify} messages.
* @param message IfElseBlock message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.IIfElseBlock, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an IfElseBlock message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns IfElseBlock
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.IfElseBlock;
/**
* Verifies an IfElseBlock message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** Properties of a BranchNode. */
interface IBranchNode {
/** BranchNode ifElse */
ifElse?: (flyteidl.core.IIfElseBlock|null);
}
/** Represents a BranchNode. */
class BranchNode implements IBranchNode {
/**
* Constructs a new BranchNode.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.IBranchNode);
/** BranchNode ifElse. */
public ifElse?: (flyteidl.core.IIfElseBlock|null);
/**
* Creates a new BranchNode instance using the specified properties.
* @param [properties] Properties to set
* @returns BranchNode instance
*/
public static create(properties?: flyteidl.core.IBranchNode): flyteidl.core.BranchNode;
/**
* Encodes the specified BranchNode message. Does not implicitly {@link flyteidl.core.BranchNode.verify|verify} messages.
* @param message BranchNode message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.IBranchNode, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a BranchNode message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns BranchNode
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.BranchNode;
/**
* Verifies a BranchNode message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** Properties of a TaskNode. */
interface ITaskNode {
/** TaskNode referenceId */
referenceId?: (flyteidl.core.IIdentifier|null);
}
/** Represents a TaskNode. */
class TaskNode implements ITaskNode {
/**
* Constructs a new TaskNode.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.ITaskNode);
/** TaskNode referenceId. */
public referenceId?: (flyteidl.core.IIdentifier|null);
/** TaskNode reference. */
public reference?: "referenceId";
/**
* Creates a new TaskNode instance using the specified properties.
* @param [properties] Properties to set
* @returns TaskNode instance
*/
public static create(properties?: flyteidl.core.ITaskNode): flyteidl.core.TaskNode;
/**
* Encodes the specified TaskNode message. Does not implicitly {@link flyteidl.core.TaskNode.verify|verify} messages.
* @param message TaskNode message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.ITaskNode, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a TaskNode message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns TaskNode
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.TaskNode;
/**
* Verifies a TaskNode message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** Properties of a WorkflowNode. */
interface IWorkflowNode {
/** WorkflowNode launchplanRef */
launchplanRef?: (flyteidl.core.IIdentifier|null);
/** WorkflowNode subWorkflowRef */
subWorkflowRef?: (flyteidl.core.IIdentifier|null);
}
/** Represents a WorkflowNode. */
class WorkflowNode implements IWorkflowNode {
/**
* Constructs a new WorkflowNode.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.IWorkflowNode);
/** WorkflowNode launchplanRef. */
public launchplanRef?: (flyteidl.core.IIdentifier|null);
/** WorkflowNode subWorkflowRef. */
public subWorkflowRef?: (flyteidl.core.IIdentifier|null);
/** WorkflowNode reference. */
public reference?: ("launchplanRef"|"subWorkflowRef");
/**
* Creates a new WorkflowNode instance using the specified properties.
* @param [properties] Properties to set
* @returns WorkflowNode instance
*/
public static create(properties?: flyteidl.core.IWorkflowNode): flyteidl.core.WorkflowNode;
/**
* Encodes the specified WorkflowNode message. Does not implicitly {@link flyteidl.core.WorkflowNode.verify|verify} messages.
* @param message WorkflowNode message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.IWorkflowNode, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a WorkflowNode message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns WorkflowNode
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.WorkflowNode;
/**
* Verifies a WorkflowNode message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** Properties of a NodeMetadata. */
interface INodeMetadata {
/** NodeMetadata name */
name?: (string|null);
/** NodeMetadata timeout */
timeout?: (google.protobuf.IDuration|null);
/** NodeMetadata retries */
retries?: (flyteidl.core.IRetryStrategy|null);
/** NodeMetadata interruptible */
interruptible?: (boolean|null);
}
/** Represents a NodeMetadata. */
class NodeMetadata implements INodeMetadata {
/**
* Constructs a new NodeMetadata.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.INodeMetadata);
/** NodeMetadata name. */
public name: string;
/** NodeMetadata timeout. */
public timeout?: (google.protobuf.IDuration|null);
/** NodeMetadata retries. */
public retries?: (flyteidl.core.IRetryStrategy|null);
/** NodeMetadata interruptible. */
public interruptible: boolean;
/** NodeMetadata interruptibleValue. */
public interruptibleValue?: "interruptible";
/**
* Creates a new NodeMetadata instance using the specified properties.
* @param [properties] Properties to set
* @returns NodeMetadata instance
*/
public static create(properties?: flyteidl.core.INodeMetadata): flyteidl.core.NodeMetadata;
/**
* Encodes the specified NodeMetadata message. Does not implicitly {@link flyteidl.core.NodeMetadata.verify|verify} messages.
* @param message NodeMetadata message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.INodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a NodeMetadata message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns NodeMetadata
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.NodeMetadata;
/**
* Verifies a NodeMetadata message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** Properties of an Alias. */
interface IAlias {
/** Alias var */
"var"?: (string|null);
/** Alias alias */
alias?: (string|null);
}
/** Represents an Alias. */
class Alias implements IAlias {
/**
* Constructs a new Alias.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.IAlias);
/** Alias var. */
public var: string;
/** Alias alias. */
public alias: string;
/**
* Creates a new Alias instance using the specified properties.
* @param [properties] Properties to set
* @returns Alias instance
*/
public static create(properties?: flyteidl.core.IAlias): flyteidl.core.Alias;
/**
* Encodes the specified Alias message. Does not implicitly {@link flyteidl.core.Alias.verify|verify} messages.
* @param message Alias message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.IAlias, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an Alias message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Alias
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Alias;
/**
* Verifies an Alias message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
}
/** Properties of a Node. */
interface INode {
/** Node id */
id?: (string|null);
/** Node metadata */
metadata?: (flyteidl.core.INodeMetadata|null);
/** Node inputs */
inputs?: (flyteidl.core.IBinding[]|null);
/** Node upstreamNodeIds */
upstreamNodeIds?: (string[]|null);
/** Node outputAliases */
outputAliases?: (flyteidl.core.IAlias[]|null);
/** Node taskNode */
taskNode?: (flyteidl.core.ITaskNode|null);
/** Node workflowNode */
workflowNode?: (flyteidl.core.IWorkflowNode|null);
/** Node branchNode */
branchNode?: (flyteidl.core.IBranchNode|null);
}
/** Represents a Node. */
class Node implements INode {
/**
* Constructs a new Node.
* @param [properties] Properties to set
*/
constructor(properties?: flyteidl.core.INode);
/** Node id. */
public id: string;
/** Node metadata. */
public metadata?: (flyteidl.core.INodeMetadata|null);
/** Node inputs. */
public inputs: flyteidl.core.IBinding[];
/** Node upstreamNodeIds. */
public upstreamNodeIds: string[];
/** Node outputAliases. */
public outputAliases: flyteidl.core.IAlias[];
/** Node taskNode. */
public taskNode?: (flyteidl.core.ITaskNode|null);
/** Node workflowNode. */
public workflowNode?: (flyteidl.core.IWorkflowNode|null);
/** Node branchNode. */
public branchNode?: (flyteidl.core.IBranchNode|null);
/** Node target. */
public target?: ("taskNode"|"workflowNode"|"branchNode");
/**
* Creates a new Node instance using the specified properties.
* @param [properties] Properties to set
* @returns Node instance
*/
public static create(properties?: flyteidl.core.INode): flyteidl.core.Node;
/**
* Encodes the specified Node message. Does not implicitly {@link flyteidl.core.Node.verify|verify} messages.
* @param message Node message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: flyteidl.core.INode, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Node message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Node
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: (