From 3bc45c97770872ea310a05afd157a38a2279a334 Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario Date: Thu, 16 Jan 2025 12:01:05 -0500 Subject: [PATCH] make -C flyteidl generate Signed-off-by: Eduardo Apolinario --- flyteidl/gen/pb-js/flyteidl.d.ts | 25427 ++++++++++++++++++++++++++++- 1 file changed, 25426 insertions(+), 1 deletion(-) diff --git a/flyteidl/gen/pb-js/flyteidl.d.ts b/flyteidl/gen/pb-js/flyteidl.d.ts index d08868998a..aa8a16e13f 100644 --- a/flyteidl/gen/pb-js/flyteidl.d.ts +++ b/flyteidl/gen/pb-js/flyteidl.d.ts @@ -2412,4 +2412,25429 @@ export namespace flyteidl { constructor(properties?: flyteidl.core.ITypeAnnotation); /** TypeAnnotation annotations. */ - public annotations? \ No newline at end of file + public annotations?: (google.protobuf.IStruct|null); + + /** + * Creates a new TypeAnnotation instance using the specified properties. + * @param [properties] Properties to set + * @returns TypeAnnotation instance + */ + public static create(properties?: flyteidl.core.ITypeAnnotation): flyteidl.core.TypeAnnotation; + + /** + * Encodes the specified TypeAnnotation message. Does not implicitly {@link flyteidl.core.TypeAnnotation.verify|verify} messages. + * @param message TypeAnnotation message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ITypeAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TypeAnnotation message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TypeAnnotation + * @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.TypeAnnotation; + + /** + * Verifies a TypeAnnotation 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 LiteralType. */ + interface ILiteralType { + + /** LiteralType simple */ + simple?: (flyteidl.core.SimpleType|null); + + /** LiteralType schema */ + schema?: (flyteidl.core.ISchemaType|null); + + /** LiteralType collectionType */ + collectionType?: (flyteidl.core.ILiteralType|null); + + /** LiteralType mapValueType */ + mapValueType?: (flyteidl.core.ILiteralType|null); + + /** LiteralType blob */ + blob?: (flyteidl.core.IBlobType|null); + + /** LiteralType enumType */ + enumType?: (flyteidl.core.IEnumType|null); + + /** LiteralType structuredDatasetType */ + structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null); + + /** LiteralType unionType */ + unionType?: (flyteidl.core.IUnionType|null); + + /** LiteralType metadata */ + metadata?: (google.protobuf.IStruct|null); + + /** LiteralType annotation */ + annotation?: (flyteidl.core.ITypeAnnotation|null); + + /** LiteralType structure */ + structure?: (flyteidl.core.ITypeStructure|null); + } + + /** Represents a LiteralType. */ + class LiteralType implements ILiteralType { + + /** + * Constructs a new LiteralType. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ILiteralType); + + /** LiteralType simple. */ + public simple: flyteidl.core.SimpleType; + + /** LiteralType schema. */ + public schema?: (flyteidl.core.ISchemaType|null); + + /** LiteralType collectionType. */ + public collectionType?: (flyteidl.core.ILiteralType|null); + + /** LiteralType mapValueType. */ + public mapValueType?: (flyteidl.core.ILiteralType|null); + + /** LiteralType blob. */ + public blob?: (flyteidl.core.IBlobType|null); + + /** LiteralType enumType. */ + public enumType?: (flyteidl.core.IEnumType|null); + + /** LiteralType structuredDatasetType. */ + public structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null); + + /** LiteralType unionType. */ + public unionType?: (flyteidl.core.IUnionType|null); + + /** LiteralType metadata. */ + public metadata?: (google.protobuf.IStruct|null); + + /** LiteralType annotation. */ + public annotation?: (flyteidl.core.ITypeAnnotation|null); + + /** LiteralType structure. */ + public structure?: (flyteidl.core.ITypeStructure|null); + + /** LiteralType type. */ + public type?: ("simple"|"schema"|"collectionType"|"mapValueType"|"blob"|"enumType"|"structuredDatasetType"|"unionType"); + + /** + * Creates a new LiteralType instance using the specified properties. + * @param [properties] Properties to set + * @returns LiteralType instance + */ + public static create(properties?: flyteidl.core.ILiteralType): flyteidl.core.LiteralType; + + /** + * Encodes the specified LiteralType message. Does not implicitly {@link flyteidl.core.LiteralType.verify|verify} messages. + * @param message LiteralType message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ILiteralType, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LiteralType message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LiteralType + * @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.LiteralType; + + /** + * Verifies a LiteralType 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 OutputReference. */ + interface IOutputReference { + + /** OutputReference nodeId */ + nodeId?: (string|null); + + /** OutputReference var */ + "var"?: (string|null); + + /** OutputReference attrPath */ + attrPath?: (flyteidl.core.IPromiseAttribute[]|null); + } + + /** Represents an OutputReference. */ + class OutputReference implements IOutputReference { + + /** + * Constructs a new OutputReference. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IOutputReference); + + /** OutputReference nodeId. */ + public nodeId: string; + + /** OutputReference var. */ + public var: string; + + /** OutputReference attrPath. */ + public attrPath: flyteidl.core.IPromiseAttribute[]; + + /** + * Creates a new OutputReference instance using the specified properties. + * @param [properties] Properties to set + * @returns OutputReference instance + */ + public static create(properties?: flyteidl.core.IOutputReference): flyteidl.core.OutputReference; + + /** + * Encodes the specified OutputReference message. Does not implicitly {@link flyteidl.core.OutputReference.verify|verify} messages. + * @param message OutputReference message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IOutputReference, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an OutputReference message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns OutputReference + * @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.OutputReference; + + /** + * Verifies an OutputReference 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 PromiseAttribute. */ + interface IPromiseAttribute { + + /** PromiseAttribute stringValue */ + stringValue?: (string|null); + + /** PromiseAttribute intValue */ + intValue?: (number|null); + } + + /** Represents a PromiseAttribute. */ + class PromiseAttribute implements IPromiseAttribute { + + /** + * Constructs a new PromiseAttribute. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IPromiseAttribute); + + /** PromiseAttribute stringValue. */ + public stringValue: string; + + /** PromiseAttribute intValue. */ + public intValue: number; + + /** PromiseAttribute value. */ + public value?: ("stringValue"|"intValue"); + + /** + * Creates a new PromiseAttribute instance using the specified properties. + * @param [properties] Properties to set + * @returns PromiseAttribute instance + */ + public static create(properties?: flyteidl.core.IPromiseAttribute): flyteidl.core.PromiseAttribute; + + /** + * Encodes the specified PromiseAttribute message. Does not implicitly {@link flyteidl.core.PromiseAttribute.verify|verify} messages. + * @param message PromiseAttribute message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IPromiseAttribute, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PromiseAttribute message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PromiseAttribute + * @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.PromiseAttribute; + + /** + * Verifies a PromiseAttribute 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 Error. */ + interface IError { + + /** Error failedNodeId */ + failedNodeId?: (string|null); + + /** Error message */ + message?: (string|null); + } + + /** Represents an Error. */ + class Error implements IError { + + /** + * Constructs a new Error. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IError); + + /** Error failedNodeId. */ + public failedNodeId: string; + + /** Error message. */ + public message: string; + + /** + * Creates a new Error instance using the specified properties. + * @param [properties] Properties to set + * @returns Error instance + */ + public static create(properties?: flyteidl.core.IError): flyteidl.core.Error; + + /** + * Encodes the specified Error message. Does not implicitly {@link flyteidl.core.Error.verify|verify} messages. + * @param message Error message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IError, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Error message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Error + * @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.Error; + + /** + * Verifies an Error 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 Primitive. */ + interface IPrimitive { + + /** Primitive integer */ + integer?: (Long|null); + + /** Primitive floatValue */ + floatValue?: (number|null); + + /** Primitive stringValue */ + stringValue?: (string|null); + + /** Primitive boolean */ + boolean?: (boolean|null); + + /** Primitive datetime */ + datetime?: (google.protobuf.ITimestamp|null); + + /** Primitive duration */ + duration?: (google.protobuf.IDuration|null); + } + + /** Represents a Primitive. */ + class Primitive implements IPrimitive { + + /** + * Constructs a new Primitive. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IPrimitive); + + /** Primitive integer. */ + public integer: Long; + + /** Primitive floatValue. */ + public floatValue: number; + + /** Primitive stringValue. */ + public stringValue: string; + + /** Primitive boolean. */ + public boolean: boolean; + + /** Primitive datetime. */ + public datetime?: (google.protobuf.ITimestamp|null); + + /** Primitive duration. */ + public duration?: (google.protobuf.IDuration|null); + + /** Primitive value. */ + public value?: ("integer"|"floatValue"|"stringValue"|"boolean"|"datetime"|"duration"); + + /** + * Creates a new Primitive instance using the specified properties. + * @param [properties] Properties to set + * @returns Primitive instance + */ + public static create(properties?: flyteidl.core.IPrimitive): flyteidl.core.Primitive; + + /** + * Encodes the specified Primitive message. Does not implicitly {@link flyteidl.core.Primitive.verify|verify} messages. + * @param message Primitive message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IPrimitive, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Primitive message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Primitive + * @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.Primitive; + + /** + * Verifies a Primitive 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 Void. */ + interface IVoid { + } + + /** Represents a Void. */ + class Void implements IVoid { + + /** + * Constructs a new Void. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IVoid); + + /** + * Creates a new Void instance using the specified properties. + * @param [properties] Properties to set + * @returns Void instance + */ + public static create(properties?: flyteidl.core.IVoid): flyteidl.core.Void; + + /** + * Encodes the specified Void message. Does not implicitly {@link flyteidl.core.Void.verify|verify} messages. + * @param message Void message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IVoid, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Void message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Void + * @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.Void; + + /** + * Verifies a Void 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 Blob. */ + interface IBlob { + + /** Blob metadata */ + metadata?: (flyteidl.core.IBlobMetadata|null); + + /** Blob uri */ + uri?: (string|null); + } + + /** Represents a Blob. */ + class Blob implements IBlob { + + /** + * Constructs a new Blob. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IBlob); + + /** Blob metadata. */ + public metadata?: (flyteidl.core.IBlobMetadata|null); + + /** Blob uri. */ + public uri: string; + + /** + * Creates a new Blob instance using the specified properties. + * @param [properties] Properties to set + * @returns Blob instance + */ + public static create(properties?: flyteidl.core.IBlob): flyteidl.core.Blob; + + /** + * Encodes the specified Blob message. Does not implicitly {@link flyteidl.core.Blob.verify|verify} messages. + * @param message Blob message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IBlob, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Blob message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Blob + * @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.Blob; + + /** + * Verifies a Blob 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 BlobMetadata. */ + interface IBlobMetadata { + + /** BlobMetadata type */ + type?: (flyteidl.core.IBlobType|null); + } + + /** Represents a BlobMetadata. */ + class BlobMetadata implements IBlobMetadata { + + /** + * Constructs a new BlobMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IBlobMetadata); + + /** BlobMetadata type. */ + public type?: (flyteidl.core.IBlobType|null); + + /** + * Creates a new BlobMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns BlobMetadata instance + */ + public static create(properties?: flyteidl.core.IBlobMetadata): flyteidl.core.BlobMetadata; + + /** + * Encodes the specified BlobMetadata message. Does not implicitly {@link flyteidl.core.BlobMetadata.verify|verify} messages. + * @param message BlobMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IBlobMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BlobMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BlobMetadata + * @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.BlobMetadata; + + /** + * Verifies a BlobMetadata 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 Binary. */ + interface IBinary { + + /** Binary value */ + value?: (Uint8Array|null); + + /** Binary tag */ + tag?: (string|null); + } + + /** Represents a Binary. */ + class Binary implements IBinary { + + /** + * Constructs a new Binary. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IBinary); + + /** Binary value. */ + public value: Uint8Array; + + /** Binary tag. */ + public tag: string; + + /** + * Creates a new Binary instance using the specified properties. + * @param [properties] Properties to set + * @returns Binary instance + */ + public static create(properties?: flyteidl.core.IBinary): flyteidl.core.Binary; + + /** + * Encodes the specified Binary message. Does not implicitly {@link flyteidl.core.Binary.verify|verify} messages. + * @param message Binary message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IBinary, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Binary message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Binary + * @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.Binary; + + /** + * Verifies a Binary 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 Schema. */ + interface ISchema { + + /** Schema uri */ + uri?: (string|null); + + /** Schema type */ + type?: (flyteidl.core.ISchemaType|null); + } + + /** Represents a Schema. */ + class Schema implements ISchema { + + /** + * Constructs a new Schema. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ISchema); + + /** Schema uri. */ + public uri: string; + + /** Schema type. */ + public type?: (flyteidl.core.ISchemaType|null); + + /** + * Creates a new Schema instance using the specified properties. + * @param [properties] Properties to set + * @returns Schema instance + */ + public static create(properties?: flyteidl.core.ISchema): flyteidl.core.Schema; + + /** + * Encodes the specified Schema message. Does not implicitly {@link flyteidl.core.Schema.verify|verify} messages. + * @param message Schema message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ISchema, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Schema message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Schema + * @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.Schema; + + /** + * Verifies a Schema 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 Union. */ + interface IUnion { + + /** Union value */ + value?: (flyteidl.core.ILiteral|null); + + /** Union type */ + type?: (flyteidl.core.ILiteralType|null); + } + + /** Represents an Union. */ + class Union implements IUnion { + + /** + * Constructs a new Union. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IUnion); + + /** Union value. */ + public value?: (flyteidl.core.ILiteral|null); + + /** Union type. */ + public type?: (flyteidl.core.ILiteralType|null); + + /** + * Creates a new Union instance using the specified properties. + * @param [properties] Properties to set + * @returns Union instance + */ + public static create(properties?: flyteidl.core.IUnion): flyteidl.core.Union; + + /** + * Encodes the specified Union message. Does not implicitly {@link flyteidl.core.Union.verify|verify} messages. + * @param message Union message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IUnion, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Union message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Union + * @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.Union; + + /** + * Verifies an Union 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 StructuredDatasetMetadata. */ + interface IStructuredDatasetMetadata { + + /** StructuredDatasetMetadata structuredDatasetType */ + structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null); + } + + /** Represents a StructuredDatasetMetadata. */ + class StructuredDatasetMetadata implements IStructuredDatasetMetadata { + + /** + * Constructs a new StructuredDatasetMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IStructuredDatasetMetadata); + + /** StructuredDatasetMetadata structuredDatasetType. */ + public structuredDatasetType?: (flyteidl.core.IStructuredDatasetType|null); + + /** + * Creates a new StructuredDatasetMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns StructuredDatasetMetadata instance + */ + public static create(properties?: flyteidl.core.IStructuredDatasetMetadata): flyteidl.core.StructuredDatasetMetadata; + + /** + * Encodes the specified StructuredDatasetMetadata message. Does not implicitly {@link flyteidl.core.StructuredDatasetMetadata.verify|verify} messages. + * @param message StructuredDatasetMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IStructuredDatasetMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a StructuredDatasetMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns StructuredDatasetMetadata + * @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.StructuredDatasetMetadata; + + /** + * Verifies a StructuredDatasetMetadata 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 StructuredDataset. */ + interface IStructuredDataset { + + /** StructuredDataset uri */ + uri?: (string|null); + + /** StructuredDataset metadata */ + metadata?: (flyteidl.core.IStructuredDatasetMetadata|null); + } + + /** Represents a StructuredDataset. */ + class StructuredDataset implements IStructuredDataset { + + /** + * Constructs a new StructuredDataset. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IStructuredDataset); + + /** StructuredDataset uri. */ + public uri: string; + + /** StructuredDataset metadata. */ + public metadata?: (flyteidl.core.IStructuredDatasetMetadata|null); + + /** + * Creates a new StructuredDataset instance using the specified properties. + * @param [properties] Properties to set + * @returns StructuredDataset instance + */ + public static create(properties?: flyteidl.core.IStructuredDataset): flyteidl.core.StructuredDataset; + + /** + * Encodes the specified StructuredDataset message. Does not implicitly {@link flyteidl.core.StructuredDataset.verify|verify} messages. + * @param message StructuredDataset message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IStructuredDataset, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a StructuredDataset message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns StructuredDataset + * @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.StructuredDataset; + + /** + * Verifies a StructuredDataset 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 Scalar. */ + interface IScalar { + + /** Scalar primitive */ + primitive?: (flyteidl.core.IPrimitive|null); + + /** Scalar blob */ + blob?: (flyteidl.core.IBlob|null); + + /** Scalar binary */ + binary?: (flyteidl.core.IBinary|null); + + /** Scalar schema */ + schema?: (flyteidl.core.ISchema|null); + + /** Scalar noneType */ + noneType?: (flyteidl.core.IVoid|null); + + /** Scalar error */ + error?: (flyteidl.core.IError|null); + + /** Scalar generic */ + generic?: (google.protobuf.IStruct|null); + + /** Scalar structuredDataset */ + structuredDataset?: (flyteidl.core.IStructuredDataset|null); + + /** Scalar union */ + union?: (flyteidl.core.IUnion|null); + } + + /** Represents a Scalar. */ + class Scalar implements IScalar { + + /** + * Constructs a new Scalar. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IScalar); + + /** Scalar primitive. */ + public primitive?: (flyteidl.core.IPrimitive|null); + + /** Scalar blob. */ + public blob?: (flyteidl.core.IBlob|null); + + /** Scalar binary. */ + public binary?: (flyteidl.core.IBinary|null); + + /** Scalar schema. */ + public schema?: (flyteidl.core.ISchema|null); + + /** Scalar noneType. */ + public noneType?: (flyteidl.core.IVoid|null); + + /** Scalar error. */ + public error?: (flyteidl.core.IError|null); + + /** Scalar generic. */ + public generic?: (google.protobuf.IStruct|null); + + /** Scalar structuredDataset. */ + public structuredDataset?: (flyteidl.core.IStructuredDataset|null); + + /** Scalar union. */ + public union?: (flyteidl.core.IUnion|null); + + /** Scalar value. */ + public value?: ("primitive"|"blob"|"binary"|"schema"|"noneType"|"error"|"generic"|"structuredDataset"|"union"); + + /** + * Creates a new Scalar instance using the specified properties. + * @param [properties] Properties to set + * @returns Scalar instance + */ + public static create(properties?: flyteidl.core.IScalar): flyteidl.core.Scalar; + + /** + * Encodes the specified Scalar message. Does not implicitly {@link flyteidl.core.Scalar.verify|verify} messages. + * @param message Scalar message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IScalar, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Scalar message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Scalar + * @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.Scalar; + + /** + * Verifies a Scalar 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 Literal. */ + interface ILiteral { + + /** Literal scalar */ + scalar?: (flyteidl.core.IScalar|null); + + /** Literal collection */ + collection?: (flyteidl.core.ILiteralCollection|null); + + /** Literal map */ + map?: (flyteidl.core.ILiteralMap|null); + + /** Literal offloadedMetadata */ + offloadedMetadata?: (flyteidl.core.ILiteralOffloadedMetadata|null); + + /** Literal hash */ + hash?: (string|null); + + /** Literal metadata */ + metadata?: ({ [k: string]: string }|null); + } + + /** Represents a Literal. */ + class Literal implements ILiteral { + + /** + * Constructs a new Literal. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ILiteral); + + /** Literal scalar. */ + public scalar?: (flyteidl.core.IScalar|null); + + /** Literal collection. */ + public collection?: (flyteidl.core.ILiteralCollection|null); + + /** Literal map. */ + public map?: (flyteidl.core.ILiteralMap|null); + + /** Literal offloadedMetadata. */ + public offloadedMetadata?: (flyteidl.core.ILiteralOffloadedMetadata|null); + + /** Literal hash. */ + public hash: string; + + /** Literal metadata. */ + public metadata: { [k: string]: string }; + + /** Literal value. */ + public value?: ("scalar"|"collection"|"map"|"offloadedMetadata"); + + /** + * Creates a new Literal instance using the specified properties. + * @param [properties] Properties to set + * @returns Literal instance + */ + public static create(properties?: flyteidl.core.ILiteral): flyteidl.core.Literal; + + /** + * Encodes the specified Literal message. Does not implicitly {@link flyteidl.core.Literal.verify|verify} messages. + * @param message Literal message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ILiteral, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Literal message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Literal + * @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.Literal; + + /** + * Verifies a Literal 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 LiteralOffloadedMetadata. */ + interface ILiteralOffloadedMetadata { + + /** LiteralOffloadedMetadata uri */ + uri?: (string|null); + + /** LiteralOffloadedMetadata sizeBytes */ + sizeBytes?: (Long|null); + + /** LiteralOffloadedMetadata inferredType */ + inferredType?: (flyteidl.core.ILiteralType|null); + } + + /** Represents a LiteralOffloadedMetadata. */ + class LiteralOffloadedMetadata implements ILiteralOffloadedMetadata { + + /** + * Constructs a new LiteralOffloadedMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ILiteralOffloadedMetadata); + + /** LiteralOffloadedMetadata uri. */ + public uri: string; + + /** LiteralOffloadedMetadata sizeBytes. */ + public sizeBytes: Long; + + /** LiteralOffloadedMetadata inferredType. */ + public inferredType?: (flyteidl.core.ILiteralType|null); + + /** + * Creates a new LiteralOffloadedMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns LiteralOffloadedMetadata instance + */ + public static create(properties?: flyteidl.core.ILiteralOffloadedMetadata): flyteidl.core.LiteralOffloadedMetadata; + + /** + * Encodes the specified LiteralOffloadedMetadata message. Does not implicitly {@link flyteidl.core.LiteralOffloadedMetadata.verify|verify} messages. + * @param message LiteralOffloadedMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ILiteralOffloadedMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LiteralOffloadedMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LiteralOffloadedMetadata + * @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.LiteralOffloadedMetadata; + + /** + * Verifies a LiteralOffloadedMetadata 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 LiteralCollection. */ + interface ILiteralCollection { + + /** LiteralCollection literals */ + literals?: (flyteidl.core.ILiteral[]|null); + } + + /** Represents a LiteralCollection. */ + class LiteralCollection implements ILiteralCollection { + + /** + * Constructs a new LiteralCollection. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ILiteralCollection); + + /** LiteralCollection literals. */ + public literals: flyteidl.core.ILiteral[]; + + /** + * Creates a new LiteralCollection instance using the specified properties. + * @param [properties] Properties to set + * @returns LiteralCollection instance + */ + public static create(properties?: flyteidl.core.ILiteralCollection): flyteidl.core.LiteralCollection; + + /** + * Encodes the specified LiteralCollection message. Does not implicitly {@link flyteidl.core.LiteralCollection.verify|verify} messages. + * @param message LiteralCollection message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ILiteralCollection, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LiteralCollection message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LiteralCollection + * @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.LiteralCollection; + + /** + * Verifies a LiteralCollection 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 LiteralMap. */ + interface ILiteralMap { + + /** LiteralMap literals */ + literals?: ({ [k: string]: flyteidl.core.ILiteral }|null); + } + + /** Represents a LiteralMap. */ + class LiteralMap implements ILiteralMap { + + /** + * Constructs a new LiteralMap. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ILiteralMap); + + /** LiteralMap literals. */ + public literals: { [k: string]: flyteidl.core.ILiteral }; + + /** + * Creates a new LiteralMap instance using the specified properties. + * @param [properties] Properties to set + * @returns LiteralMap instance + */ + public static create(properties?: flyteidl.core.ILiteralMap): flyteidl.core.LiteralMap; + + /** + * Encodes the specified LiteralMap message. Does not implicitly {@link flyteidl.core.LiteralMap.verify|verify} messages. + * @param message LiteralMap message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ILiteralMap, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LiteralMap message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LiteralMap + * @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.LiteralMap; + + /** + * Verifies a LiteralMap 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 BindingDataCollection. */ + interface IBindingDataCollection { + + /** BindingDataCollection bindings */ + bindings?: (flyteidl.core.IBindingData[]|null); + } + + /** Represents a BindingDataCollection. */ + class BindingDataCollection implements IBindingDataCollection { + + /** + * Constructs a new BindingDataCollection. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IBindingDataCollection); + + /** BindingDataCollection bindings. */ + public bindings: flyteidl.core.IBindingData[]; + + /** + * Creates a new BindingDataCollection instance using the specified properties. + * @param [properties] Properties to set + * @returns BindingDataCollection instance + */ + public static create(properties?: flyteidl.core.IBindingDataCollection): flyteidl.core.BindingDataCollection; + + /** + * Encodes the specified BindingDataCollection message. Does not implicitly {@link flyteidl.core.BindingDataCollection.verify|verify} messages. + * @param message BindingDataCollection message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IBindingDataCollection, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BindingDataCollection message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BindingDataCollection + * @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.BindingDataCollection; + + /** + * Verifies a BindingDataCollection 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 BindingDataMap. */ + interface IBindingDataMap { + + /** BindingDataMap bindings */ + bindings?: ({ [k: string]: flyteidl.core.IBindingData }|null); + } + + /** Represents a BindingDataMap. */ + class BindingDataMap implements IBindingDataMap { + + /** + * Constructs a new BindingDataMap. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IBindingDataMap); + + /** BindingDataMap bindings. */ + public bindings: { [k: string]: flyteidl.core.IBindingData }; + + /** + * Creates a new BindingDataMap instance using the specified properties. + * @param [properties] Properties to set + * @returns BindingDataMap instance + */ + public static create(properties?: flyteidl.core.IBindingDataMap): flyteidl.core.BindingDataMap; + + /** + * Encodes the specified BindingDataMap message. Does not implicitly {@link flyteidl.core.BindingDataMap.verify|verify} messages. + * @param message BindingDataMap message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IBindingDataMap, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BindingDataMap message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BindingDataMap + * @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.BindingDataMap; + + /** + * Verifies a BindingDataMap 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 UnionInfo. */ + interface IUnionInfo { + + /** UnionInfo targetType */ + targetType?: (flyteidl.core.ILiteralType|null); + } + + /** Represents an UnionInfo. */ + class UnionInfo implements IUnionInfo { + + /** + * Constructs a new UnionInfo. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IUnionInfo); + + /** UnionInfo targetType. */ + public targetType?: (flyteidl.core.ILiteralType|null); + + /** + * Creates a new UnionInfo instance using the specified properties. + * @param [properties] Properties to set + * @returns UnionInfo instance + */ + public static create(properties?: flyteidl.core.IUnionInfo): flyteidl.core.UnionInfo; + + /** + * Encodes the specified UnionInfo message. Does not implicitly {@link flyteidl.core.UnionInfo.verify|verify} messages. + * @param message UnionInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IUnionInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an UnionInfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UnionInfo + * @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.UnionInfo; + + /** + * Verifies an UnionInfo 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 BindingData. */ + interface IBindingData { + + /** BindingData scalar */ + scalar?: (flyteidl.core.IScalar|null); + + /** BindingData collection */ + collection?: (flyteidl.core.IBindingDataCollection|null); + + /** BindingData promise */ + promise?: (flyteidl.core.IOutputReference|null); + + /** BindingData map */ + map?: (flyteidl.core.IBindingDataMap|null); + + /** BindingData offloadedMetadata */ + offloadedMetadata?: (flyteidl.core.ILiteralOffloadedMetadata|null); + + /** BindingData union */ + union?: (flyteidl.core.IUnionInfo|null); + } + + /** Represents a BindingData. */ + class BindingData implements IBindingData { + + /** + * Constructs a new BindingData. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IBindingData); + + /** BindingData scalar. */ + public scalar?: (flyteidl.core.IScalar|null); + + /** BindingData collection. */ + public collection?: (flyteidl.core.IBindingDataCollection|null); + + /** BindingData promise. */ + public promise?: (flyteidl.core.IOutputReference|null); + + /** BindingData map. */ + public map?: (flyteidl.core.IBindingDataMap|null); + + /** BindingData offloadedMetadata. */ + public offloadedMetadata?: (flyteidl.core.ILiteralOffloadedMetadata|null); + + /** BindingData union. */ + public union?: (flyteidl.core.IUnionInfo|null); + + /** BindingData value. */ + public value?: ("scalar"|"collection"|"promise"|"map"|"offloadedMetadata"); + + /** + * Creates a new BindingData instance using the specified properties. + * @param [properties] Properties to set + * @returns BindingData instance + */ + public static create(properties?: flyteidl.core.IBindingData): flyteidl.core.BindingData; + + /** + * Encodes the specified BindingData message. Does not implicitly {@link flyteidl.core.BindingData.verify|verify} messages. + * @param message BindingData message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IBindingData, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BindingData message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BindingData + * @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.BindingData; + + /** + * Verifies a BindingData 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 Binding. */ + interface IBinding { + + /** Binding var */ + "var"?: (string|null); + + /** Binding binding */ + binding?: (flyteidl.core.IBindingData|null); + } + + /** Represents a Binding. */ + class Binding implements IBinding { + + /** + * Constructs a new Binding. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IBinding); + + /** Binding var. */ + public var: string; + + /** Binding binding. */ + public binding?: (flyteidl.core.IBindingData|null); + + /** + * Creates a new Binding instance using the specified properties. + * @param [properties] Properties to set + * @returns Binding instance + */ + public static create(properties?: flyteidl.core.IBinding): flyteidl.core.Binding; + + /** + * Encodes the specified Binding message. Does not implicitly {@link flyteidl.core.Binding.verify|verify} messages. + * @param message Binding message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IBinding, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Binding message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Binding + * @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.Binding; + + /** + * Verifies a Binding 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 KeyValuePair. */ + interface IKeyValuePair { + + /** KeyValuePair key */ + key?: (string|null); + + /** KeyValuePair value */ + value?: (string|null); + } + + /** Represents a KeyValuePair. */ + class KeyValuePair implements IKeyValuePair { + + /** + * Constructs a new KeyValuePair. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IKeyValuePair); + + /** KeyValuePair key. */ + public key: string; + + /** KeyValuePair value. */ + public value: string; + + /** + * Creates a new KeyValuePair instance using the specified properties. + * @param [properties] Properties to set + * @returns KeyValuePair instance + */ + public static create(properties?: flyteidl.core.IKeyValuePair): flyteidl.core.KeyValuePair; + + /** + * Encodes the specified KeyValuePair message. Does not implicitly {@link flyteidl.core.KeyValuePair.verify|verify} messages. + * @param message KeyValuePair message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IKeyValuePair, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a KeyValuePair message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns KeyValuePair + * @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.KeyValuePair; + + /** + * Verifies a KeyValuePair 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 RetryStrategy. */ + interface IRetryStrategy { + + /** RetryStrategy retries */ + retries?: (number|null); + } + + /** Represents a RetryStrategy. */ + class RetryStrategy implements IRetryStrategy { + + /** + * Constructs a new RetryStrategy. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IRetryStrategy); + + /** RetryStrategy retries. */ + public retries: number; + + /** + * Creates a new RetryStrategy instance using the specified properties. + * @param [properties] Properties to set + * @returns RetryStrategy instance + */ + public static create(properties?: flyteidl.core.IRetryStrategy): flyteidl.core.RetryStrategy; + + /** + * Encodes the specified RetryStrategy message. Does not implicitly {@link flyteidl.core.RetryStrategy.verify|verify} messages. + * @param message RetryStrategy message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IRetryStrategy, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RetryStrategy message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RetryStrategy + * @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.RetryStrategy; + + /** + * Verifies a RetryStrategy 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); + + /** TaskNode overrides */ + overrides?: (flyteidl.core.ITaskNodeOverrides|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 overrides. */ + public overrides?: (flyteidl.core.ITaskNodeOverrides|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 an ApproveCondition. */ + interface IApproveCondition { + + /** ApproveCondition signalId */ + signalId?: (string|null); + } + + /** Represents an ApproveCondition. */ + class ApproveCondition implements IApproveCondition { + + /** + * Constructs a new ApproveCondition. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IApproveCondition); + + /** ApproveCondition signalId. */ + public signalId: string; + + /** + * Creates a new ApproveCondition instance using the specified properties. + * @param [properties] Properties to set + * @returns ApproveCondition instance + */ + public static create(properties?: flyteidl.core.IApproveCondition): flyteidl.core.ApproveCondition; + + /** + * Encodes the specified ApproveCondition message. Does not implicitly {@link flyteidl.core.ApproveCondition.verify|verify} messages. + * @param message ApproveCondition message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IApproveCondition, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ApproveCondition message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ApproveCondition + * @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.ApproveCondition; + + /** + * Verifies an ApproveCondition 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 SignalCondition. */ + interface ISignalCondition { + + /** SignalCondition signalId */ + signalId?: (string|null); + + /** SignalCondition type */ + type?: (flyteidl.core.ILiteralType|null); + + /** SignalCondition outputVariableName */ + outputVariableName?: (string|null); + } + + /** Represents a SignalCondition. */ + class SignalCondition implements ISignalCondition { + + /** + * Constructs a new SignalCondition. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ISignalCondition); + + /** SignalCondition signalId. */ + public signalId: string; + + /** SignalCondition type. */ + public type?: (flyteidl.core.ILiteralType|null); + + /** SignalCondition outputVariableName. */ + public outputVariableName: string; + + /** + * Creates a new SignalCondition instance using the specified properties. + * @param [properties] Properties to set + * @returns SignalCondition instance + */ + public static create(properties?: flyteidl.core.ISignalCondition): flyteidl.core.SignalCondition; + + /** + * Encodes the specified SignalCondition message. Does not implicitly {@link flyteidl.core.SignalCondition.verify|verify} messages. + * @param message SignalCondition message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ISignalCondition, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SignalCondition message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SignalCondition + * @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.SignalCondition; + + /** + * Verifies a SignalCondition 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 SleepCondition. */ + interface ISleepCondition { + + /** SleepCondition duration */ + duration?: (google.protobuf.IDuration|null); + } + + /** Represents a SleepCondition. */ + class SleepCondition implements ISleepCondition { + + /** + * Constructs a new SleepCondition. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ISleepCondition); + + /** SleepCondition duration. */ + public duration?: (google.protobuf.IDuration|null); + + /** + * Creates a new SleepCondition instance using the specified properties. + * @param [properties] Properties to set + * @returns SleepCondition instance + */ + public static create(properties?: flyteidl.core.ISleepCondition): flyteidl.core.SleepCondition; + + /** + * Encodes the specified SleepCondition message. Does not implicitly {@link flyteidl.core.SleepCondition.verify|verify} messages. + * @param message SleepCondition message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ISleepCondition, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SleepCondition message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SleepCondition + * @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.SleepCondition; + + /** + * Verifies a SleepCondition 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 GateNode. */ + interface IGateNode { + + /** GateNode approve */ + approve?: (flyteidl.core.IApproveCondition|null); + + /** GateNode signal */ + signal?: (flyteidl.core.ISignalCondition|null); + + /** GateNode sleep */ + sleep?: (flyteidl.core.ISleepCondition|null); + } + + /** Represents a GateNode. */ + class GateNode implements IGateNode { + + /** + * Constructs a new GateNode. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IGateNode); + + /** GateNode approve. */ + public approve?: (flyteidl.core.IApproveCondition|null); + + /** GateNode signal. */ + public signal?: (flyteidl.core.ISignalCondition|null); + + /** GateNode sleep. */ + public sleep?: (flyteidl.core.ISleepCondition|null); + + /** GateNode condition. */ + public condition?: ("approve"|"signal"|"sleep"); + + /** + * Creates a new GateNode instance using the specified properties. + * @param [properties] Properties to set + * @returns GateNode instance + */ + public static create(properties?: flyteidl.core.IGateNode): flyteidl.core.GateNode; + + /** + * Encodes the specified GateNode message. Does not implicitly {@link flyteidl.core.GateNode.verify|verify} messages. + * @param message GateNode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IGateNode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GateNode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GateNode + * @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.GateNode; + + /** + * Verifies a GateNode 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 ArrayNode. */ + interface IArrayNode { + + /** ArrayNode node */ + node?: (flyteidl.core.INode|null); + + /** ArrayNode parallelism */ + parallelism?: (number|null); + + /** ArrayNode minSuccesses */ + minSuccesses?: (number|null); + + /** ArrayNode minSuccessRatio */ + minSuccessRatio?: (number|null); + + /** ArrayNode executionMode */ + executionMode?: (flyteidl.core.ArrayNode.ExecutionMode|null); + + /** ArrayNode isOriginalSubNodeInterface */ + isOriginalSubNodeInterface?: (google.protobuf.IBoolValue|null); + + /** ArrayNode dataMode */ + dataMode?: (flyteidl.core.ArrayNode.DataMode|null); + } + + /** Represents an ArrayNode. */ + class ArrayNode implements IArrayNode { + + /** + * Constructs a new ArrayNode. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IArrayNode); + + /** ArrayNode node. */ + public node?: (flyteidl.core.INode|null); + + /** ArrayNode parallelism. */ + public parallelism: number; + + /** ArrayNode minSuccesses. */ + public minSuccesses: number; + + /** ArrayNode minSuccessRatio. */ + public minSuccessRatio: number; + + /** ArrayNode executionMode. */ + public executionMode: flyteidl.core.ArrayNode.ExecutionMode; + + /** ArrayNode isOriginalSubNodeInterface. */ + public isOriginalSubNodeInterface?: (google.protobuf.IBoolValue|null); + + /** ArrayNode dataMode. */ + public dataMode: flyteidl.core.ArrayNode.DataMode; + + /** ArrayNode parallelismOption. */ + public parallelismOption?: "parallelism"; + + /** ArrayNode successCriteria. */ + public successCriteria?: ("minSuccesses"|"minSuccessRatio"); + + /** + * Creates a new ArrayNode instance using the specified properties. + * @param [properties] Properties to set + * @returns ArrayNode instance + */ + public static create(properties?: flyteidl.core.IArrayNode): flyteidl.core.ArrayNode; + + /** + * Encodes the specified ArrayNode message. Does not implicitly {@link flyteidl.core.ArrayNode.verify|verify} messages. + * @param message ArrayNode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IArrayNode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ArrayNode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ArrayNode + * @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.ArrayNode; + + /** + * Verifies an ArrayNode 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 ArrayNode { + + /** ExecutionMode enum. */ + enum ExecutionMode { + MINIMAL_STATE = 0, + FULL_STATE = 1 + } + + /** DataMode enum. */ + enum DataMode { + SINGLE_INPUT_FILE = 0, + INDIVIDUAL_INPUT_FILES = 1 + } + } + + /** 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); + + /** NodeMetadata cacheable */ + cacheable?: (boolean|null); + + /** NodeMetadata cacheVersion */ + cacheVersion?: (string|null); + + /** NodeMetadata cacheSerializable */ + cacheSerializable?: (boolean|null); + + /** NodeMetadata config */ + config?: ({ [k: string]: string }|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 cacheable. */ + public cacheable: boolean; + + /** NodeMetadata cacheVersion. */ + public cacheVersion: string; + + /** NodeMetadata cacheSerializable. */ + public cacheSerializable: boolean; + + /** NodeMetadata config. */ + public config: { [k: string]: string }; + + /** NodeMetadata interruptibleValue. */ + public interruptibleValue?: "interruptible"; + + /** NodeMetadata cacheableValue. */ + public cacheableValue?: "cacheable"; + + /** NodeMetadata cacheVersionValue. */ + public cacheVersionValue?: "cacheVersion"; + + /** NodeMetadata cacheSerializableValue. */ + public cacheSerializableValue?: "cacheSerializable"; + + /** + * 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); + + /** Node gateNode */ + gateNode?: (flyteidl.core.IGateNode|null); + + /** Node arrayNode */ + arrayNode?: (flyteidl.core.IArrayNode|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 gateNode. */ + public gateNode?: (flyteidl.core.IGateNode|null); + + /** Node arrayNode. */ + public arrayNode?: (flyteidl.core.IArrayNode|null); + + /** Node target. */ + public target?: ("taskNode"|"workflowNode"|"branchNode"|"gateNode"|"arrayNode"); + + /** + * 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: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.core.Node; + + /** + * Verifies a Node 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 WorkflowMetadata. */ + interface IWorkflowMetadata { + + /** WorkflowMetadata qualityOfService */ + qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** WorkflowMetadata onFailure */ + onFailure?: (flyteidl.core.WorkflowMetadata.OnFailurePolicy|null); + + /** WorkflowMetadata tags */ + tags?: ({ [k: string]: string }|null); + } + + /** Represents a WorkflowMetadata. */ + class WorkflowMetadata implements IWorkflowMetadata { + + /** + * Constructs a new WorkflowMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IWorkflowMetadata); + + /** WorkflowMetadata qualityOfService. */ + public qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** WorkflowMetadata onFailure. */ + public onFailure: flyteidl.core.WorkflowMetadata.OnFailurePolicy; + + /** WorkflowMetadata tags. */ + public tags: { [k: string]: string }; + + /** + * Creates a new WorkflowMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowMetadata instance + */ + public static create(properties?: flyteidl.core.IWorkflowMetadata): flyteidl.core.WorkflowMetadata; + + /** + * Encodes the specified WorkflowMetadata message. Does not implicitly {@link flyteidl.core.WorkflowMetadata.verify|verify} messages. + * @param message WorkflowMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IWorkflowMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowMetadata + * @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.WorkflowMetadata; + + /** + * Verifies a WorkflowMetadata 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 WorkflowMetadata { + + /** OnFailurePolicy enum. */ + enum OnFailurePolicy { + FAIL_IMMEDIATELY = 0, + FAIL_AFTER_EXECUTABLE_NODES_COMPLETE = 1 + } + } + + /** Properties of a WorkflowMetadataDefaults. */ + interface IWorkflowMetadataDefaults { + + /** WorkflowMetadataDefaults interruptible */ + interruptible?: (boolean|null); + } + + /** Represents a WorkflowMetadataDefaults. */ + class WorkflowMetadataDefaults implements IWorkflowMetadataDefaults { + + /** + * Constructs a new WorkflowMetadataDefaults. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IWorkflowMetadataDefaults); + + /** WorkflowMetadataDefaults interruptible. */ + public interruptible: boolean; + + /** + * Creates a new WorkflowMetadataDefaults instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowMetadataDefaults instance + */ + public static create(properties?: flyteidl.core.IWorkflowMetadataDefaults): flyteidl.core.WorkflowMetadataDefaults; + + /** + * Encodes the specified WorkflowMetadataDefaults message. Does not implicitly {@link flyteidl.core.WorkflowMetadataDefaults.verify|verify} messages. + * @param message WorkflowMetadataDefaults message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IWorkflowMetadataDefaults, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowMetadataDefaults message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowMetadataDefaults + * @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.WorkflowMetadataDefaults; + + /** + * Verifies a WorkflowMetadataDefaults 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 WorkflowTemplate. */ + interface IWorkflowTemplate { + + /** WorkflowTemplate id */ + id?: (flyteidl.core.IIdentifier|null); + + /** WorkflowTemplate metadata */ + metadata?: (flyteidl.core.IWorkflowMetadata|null); + + /** WorkflowTemplate interface */ + "interface"?: (flyteidl.core.ITypedInterface|null); + + /** WorkflowTemplate nodes */ + nodes?: (flyteidl.core.INode[]|null); + + /** WorkflowTemplate outputs */ + outputs?: (flyteidl.core.IBinding[]|null); + + /** WorkflowTemplate failureNode */ + failureNode?: (flyteidl.core.INode|null); + + /** WorkflowTemplate metadataDefaults */ + metadataDefaults?: (flyteidl.core.IWorkflowMetadataDefaults|null); + } + + /** Represents a WorkflowTemplate. */ + class WorkflowTemplate implements IWorkflowTemplate { + + /** + * Constructs a new WorkflowTemplate. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IWorkflowTemplate); + + /** WorkflowTemplate id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** WorkflowTemplate metadata. */ + public metadata?: (flyteidl.core.IWorkflowMetadata|null); + + /** WorkflowTemplate interface. */ + public interface?: (flyteidl.core.ITypedInterface|null); + + /** WorkflowTemplate nodes. */ + public nodes: flyteidl.core.INode[]; + + /** WorkflowTemplate outputs. */ + public outputs: flyteidl.core.IBinding[]; + + /** WorkflowTemplate failureNode. */ + public failureNode?: (flyteidl.core.INode|null); + + /** WorkflowTemplate metadataDefaults. */ + public metadataDefaults?: (flyteidl.core.IWorkflowMetadataDefaults|null); + + /** + * Creates a new WorkflowTemplate instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowTemplate instance + */ + public static create(properties?: flyteidl.core.IWorkflowTemplate): flyteidl.core.WorkflowTemplate; + + /** + * Encodes the specified WorkflowTemplate message. Does not implicitly {@link flyteidl.core.WorkflowTemplate.verify|verify} messages. + * @param message WorkflowTemplate message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IWorkflowTemplate, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowTemplate message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowTemplate + * @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.WorkflowTemplate; + + /** + * Verifies a WorkflowTemplate 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 TaskNodeOverrides. */ + interface ITaskNodeOverrides { + + /** TaskNodeOverrides resources */ + resources?: (flyteidl.core.IResources|null); + + /** TaskNodeOverrides extendedResources */ + extendedResources?: (flyteidl.core.IExtendedResources|null); + + /** TaskNodeOverrides containerImage */ + containerImage?: (string|null); + } + + /** Represents a TaskNodeOverrides. */ + class TaskNodeOverrides implements ITaskNodeOverrides { + + /** + * Constructs a new TaskNodeOverrides. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ITaskNodeOverrides); + + /** TaskNodeOverrides resources. */ + public resources?: (flyteidl.core.IResources|null); + + /** TaskNodeOverrides extendedResources. */ + public extendedResources?: (flyteidl.core.IExtendedResources|null); + + /** TaskNodeOverrides containerImage. */ + public containerImage: string; + + /** + * Creates a new TaskNodeOverrides instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskNodeOverrides instance + */ + public static create(properties?: flyteidl.core.ITaskNodeOverrides): flyteidl.core.TaskNodeOverrides; + + /** + * Encodes the specified TaskNodeOverrides message. Does not implicitly {@link flyteidl.core.TaskNodeOverrides.verify|verify} messages. + * @param message TaskNodeOverrides message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ITaskNodeOverrides, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskNodeOverrides message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskNodeOverrides + * @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.TaskNodeOverrides; + + /** + * Verifies a TaskNodeOverrides 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 LaunchPlanTemplate. */ + interface ILaunchPlanTemplate { + + /** LaunchPlanTemplate id */ + id?: (flyteidl.core.IIdentifier|null); + + /** LaunchPlanTemplate interface */ + "interface"?: (flyteidl.core.ITypedInterface|null); + + /** LaunchPlanTemplate fixedInputs */ + fixedInputs?: (flyteidl.core.ILiteralMap|null); + } + + /** Represents a LaunchPlanTemplate. */ + class LaunchPlanTemplate implements ILaunchPlanTemplate { + + /** + * Constructs a new LaunchPlanTemplate. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ILaunchPlanTemplate); + + /** LaunchPlanTemplate id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** LaunchPlanTemplate interface. */ + public interface?: (flyteidl.core.ITypedInterface|null); + + /** LaunchPlanTemplate fixedInputs. */ + public fixedInputs?: (flyteidl.core.ILiteralMap|null); + + /** + * Creates a new LaunchPlanTemplate instance using the specified properties. + * @param [properties] Properties to set + * @returns LaunchPlanTemplate instance + */ + public static create(properties?: flyteidl.core.ILaunchPlanTemplate): flyteidl.core.LaunchPlanTemplate; + + /** + * Encodes the specified LaunchPlanTemplate message. Does not implicitly {@link flyteidl.core.LaunchPlanTemplate.verify|verify} messages. + * @param message LaunchPlanTemplate message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ILaunchPlanTemplate, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LaunchPlanTemplate message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LaunchPlanTemplate + * @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.LaunchPlanTemplate; + + /** + * Verifies a LaunchPlanTemplate 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 ComparisonExpression. */ + interface IComparisonExpression { + + /** ComparisonExpression operator */ + operator?: (flyteidl.core.ComparisonExpression.Operator|null); + + /** ComparisonExpression leftValue */ + leftValue?: (flyteidl.core.IOperand|null); + + /** ComparisonExpression rightValue */ + rightValue?: (flyteidl.core.IOperand|null); + } + + /** Represents a ComparisonExpression. */ + class ComparisonExpression implements IComparisonExpression { + + /** + * Constructs a new ComparisonExpression. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IComparisonExpression); + + /** ComparisonExpression operator. */ + public operator: flyteidl.core.ComparisonExpression.Operator; + + /** ComparisonExpression leftValue. */ + public leftValue?: (flyteidl.core.IOperand|null); + + /** ComparisonExpression rightValue. */ + public rightValue?: (flyteidl.core.IOperand|null); + + /** + * Creates a new ComparisonExpression instance using the specified properties. + * @param [properties] Properties to set + * @returns ComparisonExpression instance + */ + public static create(properties?: flyteidl.core.IComparisonExpression): flyteidl.core.ComparisonExpression; + + /** + * Encodes the specified ComparisonExpression message. Does not implicitly {@link flyteidl.core.ComparisonExpression.verify|verify} messages. + * @param message ComparisonExpression message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IComparisonExpression, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ComparisonExpression message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ComparisonExpression + * @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.ComparisonExpression; + + /** + * Verifies a ComparisonExpression 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 ComparisonExpression { + + /** Operator enum. */ + enum Operator { + EQ = 0, + NEQ = 1, + GT = 2, + GTE = 3, + LT = 4, + LTE = 5 + } + } + + /** Properties of an Operand. */ + interface IOperand { + + /** Operand primitive */ + primitive?: (flyteidl.core.IPrimitive|null); + + /** Operand var */ + "var"?: (string|null); + + /** Operand scalar */ + scalar?: (flyteidl.core.IScalar|null); + } + + /** Represents an Operand. */ + class Operand implements IOperand { + + /** + * Constructs a new Operand. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IOperand); + + /** Operand primitive. */ + public primitive?: (flyteidl.core.IPrimitive|null); + + /** Operand var. */ + public var: string; + + /** Operand scalar. */ + public scalar?: (flyteidl.core.IScalar|null); + + /** Operand val. */ + public val?: ("primitive"|"var"|"scalar"); + + /** + * Creates a new Operand instance using the specified properties. + * @param [properties] Properties to set + * @returns Operand instance + */ + public static create(properties?: flyteidl.core.IOperand): flyteidl.core.Operand; + + /** + * Encodes the specified Operand message. Does not implicitly {@link flyteidl.core.Operand.verify|verify} messages. + * @param message Operand message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IOperand, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Operand message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Operand + * @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.Operand; + + /** + * Verifies an Operand 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 BooleanExpression. */ + interface IBooleanExpression { + + /** BooleanExpression conjunction */ + conjunction?: (flyteidl.core.IConjunctionExpression|null); + + /** BooleanExpression comparison */ + comparison?: (flyteidl.core.IComparisonExpression|null); + } + + /** Represents a BooleanExpression. */ + class BooleanExpression implements IBooleanExpression { + + /** + * Constructs a new BooleanExpression. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IBooleanExpression); + + /** BooleanExpression conjunction. */ + public conjunction?: (flyteidl.core.IConjunctionExpression|null); + + /** BooleanExpression comparison. */ + public comparison?: (flyteidl.core.IComparisonExpression|null); + + /** BooleanExpression expr. */ + public expr?: ("conjunction"|"comparison"); + + /** + * Creates a new BooleanExpression instance using the specified properties. + * @param [properties] Properties to set + * @returns BooleanExpression instance + */ + public static create(properties?: flyteidl.core.IBooleanExpression): flyteidl.core.BooleanExpression; + + /** + * Encodes the specified BooleanExpression message. Does not implicitly {@link flyteidl.core.BooleanExpression.verify|verify} messages. + * @param message BooleanExpression message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IBooleanExpression, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BooleanExpression message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BooleanExpression + * @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.BooleanExpression; + + /** + * Verifies a BooleanExpression 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 ConjunctionExpression. */ + interface IConjunctionExpression { + + /** ConjunctionExpression operator */ + operator?: (flyteidl.core.ConjunctionExpression.LogicalOperator|null); + + /** ConjunctionExpression leftExpression */ + leftExpression?: (flyteidl.core.IBooleanExpression|null); + + /** ConjunctionExpression rightExpression */ + rightExpression?: (flyteidl.core.IBooleanExpression|null); + } + + /** Represents a ConjunctionExpression. */ + class ConjunctionExpression implements IConjunctionExpression { + + /** + * Constructs a new ConjunctionExpression. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IConjunctionExpression); + + /** ConjunctionExpression operator. */ + public operator: flyteidl.core.ConjunctionExpression.LogicalOperator; + + /** ConjunctionExpression leftExpression. */ + public leftExpression?: (flyteidl.core.IBooleanExpression|null); + + /** ConjunctionExpression rightExpression. */ + public rightExpression?: (flyteidl.core.IBooleanExpression|null); + + /** + * Creates a new ConjunctionExpression instance using the specified properties. + * @param [properties] Properties to set + * @returns ConjunctionExpression instance + */ + public static create(properties?: flyteidl.core.IConjunctionExpression): flyteidl.core.ConjunctionExpression; + + /** + * Encodes the specified ConjunctionExpression message. Does not implicitly {@link flyteidl.core.ConjunctionExpression.verify|verify} messages. + * @param message ConjunctionExpression message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IConjunctionExpression, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ConjunctionExpression message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ConjunctionExpression + * @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.ConjunctionExpression; + + /** + * Verifies a ConjunctionExpression 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 ConjunctionExpression { + + /** LogicalOperator enum. */ + enum LogicalOperator { + AND = 0, + OR = 1 + } + } + + /** Properties of a WorkflowExecution. */ + interface IWorkflowExecution { + } + + /** Represents a WorkflowExecution. */ + class WorkflowExecution implements IWorkflowExecution { + + /** + * Constructs a new WorkflowExecution. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IWorkflowExecution); + + /** + * Creates a new WorkflowExecution instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowExecution instance + */ + public static create(properties?: flyteidl.core.IWorkflowExecution): flyteidl.core.WorkflowExecution; + + /** + * Encodes the specified WorkflowExecution message. Does not implicitly {@link flyteidl.core.WorkflowExecution.verify|verify} messages. + * @param message WorkflowExecution message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IWorkflowExecution, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowExecution message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowExecution + * @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.WorkflowExecution; + + /** + * Verifies a WorkflowExecution 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 WorkflowExecution { + + /** Phase enum. */ + enum Phase { + UNDEFINED = 0, + QUEUED = 1, + RUNNING = 2, + SUCCEEDING = 3, + SUCCEEDED = 4, + FAILING = 5, + FAILED = 6, + ABORTED = 7, + TIMED_OUT = 8, + ABORTING = 9 + } + } + + /** Properties of a NodeExecution. */ + interface INodeExecution { + } + + /** Represents a NodeExecution. */ + class NodeExecution implements INodeExecution { + + /** + * Constructs a new NodeExecution. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.INodeExecution); + + /** + * Creates a new NodeExecution instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecution instance + */ + public static create(properties?: flyteidl.core.INodeExecution): flyteidl.core.NodeExecution; + + /** + * Encodes the specified NodeExecution message. Does not implicitly {@link flyteidl.core.NodeExecution.verify|verify} messages. + * @param message NodeExecution message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.INodeExecution, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NodeExecution message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NodeExecution + * @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.NodeExecution; + + /** + * Verifies a NodeExecution 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 NodeExecution { + + /** Phase enum. */ + enum Phase { + UNDEFINED = 0, + QUEUED = 1, + RUNNING = 2, + SUCCEEDED = 3, + FAILING = 4, + FAILED = 5, + ABORTED = 6, + SKIPPED = 7, + TIMED_OUT = 8, + DYNAMIC_RUNNING = 9, + RECOVERED = 10 + } + } + + /** Properties of a TaskExecution. */ + interface ITaskExecution { + } + + /** Represents a TaskExecution. */ + class TaskExecution implements ITaskExecution { + + /** + * Constructs a new TaskExecution. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ITaskExecution); + + /** + * Creates a new TaskExecution instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskExecution instance + */ + public static create(properties?: flyteidl.core.ITaskExecution): flyteidl.core.TaskExecution; + + /** + * Encodes the specified TaskExecution message. Does not implicitly {@link flyteidl.core.TaskExecution.verify|verify} messages. + * @param message TaskExecution message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ITaskExecution, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskExecution message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskExecution + * @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.TaskExecution; + + /** + * Verifies a TaskExecution 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 TaskExecution { + + /** Phase enum. */ + enum Phase { + UNDEFINED = 0, + QUEUED = 1, + RUNNING = 2, + SUCCEEDED = 3, + ABORTED = 4, + FAILED = 5, + INITIALIZING = 6, + WAITING_FOR_RESOURCES = 7 + } + } + + /** Properties of an ExecutionError. */ + interface IExecutionError { + + /** ExecutionError code */ + code?: (string|null); + + /** ExecutionError message */ + message?: (string|null); + + /** ExecutionError errorUri */ + errorUri?: (string|null); + + /** ExecutionError kind */ + kind?: (flyteidl.core.ExecutionError.ErrorKind|null); + + /** ExecutionError timestamp */ + timestamp?: (google.protobuf.ITimestamp|null); + + /** ExecutionError worker */ + worker?: (string|null); + } + + /** Represents an ExecutionError. */ + class ExecutionError implements IExecutionError { + + /** + * Constructs a new ExecutionError. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IExecutionError); + + /** ExecutionError code. */ + public code: string; + + /** ExecutionError message. */ + public message: string; + + /** ExecutionError errorUri. */ + public errorUri: string; + + /** ExecutionError kind. */ + public kind: flyteidl.core.ExecutionError.ErrorKind; + + /** ExecutionError timestamp. */ + public timestamp?: (google.protobuf.ITimestamp|null); + + /** ExecutionError worker. */ + public worker: string; + + /** + * Creates a new ExecutionError instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionError instance + */ + public static create(properties?: flyteidl.core.IExecutionError): flyteidl.core.ExecutionError; + + /** + * Encodes the specified ExecutionError message. Does not implicitly {@link flyteidl.core.ExecutionError.verify|verify} messages. + * @param message ExecutionError message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IExecutionError, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionError message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionError + * @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.ExecutionError; + + /** + * Verifies an ExecutionError 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 ExecutionError { + + /** ErrorKind enum. */ + enum ErrorKind { + UNKNOWN = 0, + USER = 1, + SYSTEM = 2 + } + } + + /** Properties of a TaskLog. */ + interface ITaskLog { + + /** TaskLog uri */ + uri?: (string|null); + + /** TaskLog name */ + name?: (string|null); + + /** TaskLog messageFormat */ + messageFormat?: (flyteidl.core.TaskLog.MessageFormat|null); + + /** TaskLog ttl */ + ttl?: (google.protobuf.IDuration|null); + + /** TaskLog ShowWhilePending */ + ShowWhilePending?: (boolean|null); + + /** TaskLog HideOnceFinished */ + HideOnceFinished?: (boolean|null); + } + + /** Represents a TaskLog. */ + class TaskLog implements ITaskLog { + + /** + * Constructs a new TaskLog. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ITaskLog); + + /** TaskLog uri. */ + public uri: string; + + /** TaskLog name. */ + public name: string; + + /** TaskLog messageFormat. */ + public messageFormat: flyteidl.core.TaskLog.MessageFormat; + + /** TaskLog ttl. */ + public ttl?: (google.protobuf.IDuration|null); + + /** TaskLog ShowWhilePending. */ + public ShowWhilePending: boolean; + + /** TaskLog HideOnceFinished. */ + public HideOnceFinished: boolean; + + /** + * Creates a new TaskLog instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskLog instance + */ + public static create(properties?: flyteidl.core.ITaskLog): flyteidl.core.TaskLog; + + /** + * Encodes the specified TaskLog message. Does not implicitly {@link flyteidl.core.TaskLog.verify|verify} messages. + * @param message TaskLog message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ITaskLog, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskLog message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskLog + * @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.TaskLog; + + /** + * Verifies a TaskLog 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 TaskLog { + + /** MessageFormat enum. */ + enum MessageFormat { + UNKNOWN = 0, + CSV = 1, + JSON = 2 + } + } + + /** Properties of a QualityOfServiceSpec. */ + interface IQualityOfServiceSpec { + + /** QualityOfServiceSpec queueingBudget */ + queueingBudget?: (google.protobuf.IDuration|null); + } + + /** Represents a QualityOfServiceSpec. */ + class QualityOfServiceSpec implements IQualityOfServiceSpec { + + /** + * Constructs a new QualityOfServiceSpec. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IQualityOfServiceSpec); + + /** QualityOfServiceSpec queueingBudget. */ + public queueingBudget?: (google.protobuf.IDuration|null); + + /** + * Creates a new QualityOfServiceSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns QualityOfServiceSpec instance + */ + public static create(properties?: flyteidl.core.IQualityOfServiceSpec): flyteidl.core.QualityOfServiceSpec; + + /** + * Encodes the specified QualityOfServiceSpec message. Does not implicitly {@link flyteidl.core.QualityOfServiceSpec.verify|verify} messages. + * @param message QualityOfServiceSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IQualityOfServiceSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a QualityOfServiceSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns QualityOfServiceSpec + * @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.QualityOfServiceSpec; + + /** + * Verifies a QualityOfServiceSpec 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 QualityOfService. */ + interface IQualityOfService { + + /** QualityOfService tier */ + tier?: (flyteidl.core.QualityOfService.Tier|null); + + /** QualityOfService spec */ + spec?: (flyteidl.core.IQualityOfServiceSpec|null); + } + + /** Represents a QualityOfService. */ + class QualityOfService implements IQualityOfService { + + /** + * Constructs a new QualityOfService. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IQualityOfService); + + /** QualityOfService tier. */ + public tier: flyteidl.core.QualityOfService.Tier; + + /** QualityOfService spec. */ + public spec?: (flyteidl.core.IQualityOfServiceSpec|null); + + /** QualityOfService designation. */ + public designation?: ("tier"|"spec"); + + /** + * Creates a new QualityOfService instance using the specified properties. + * @param [properties] Properties to set + * @returns QualityOfService instance + */ + public static create(properties?: flyteidl.core.IQualityOfService): flyteidl.core.QualityOfService; + + /** + * Encodes the specified QualityOfService message. Does not implicitly {@link flyteidl.core.QualityOfService.verify|verify} messages. + * @param message QualityOfService message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IQualityOfService, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a QualityOfService message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns QualityOfService + * @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.QualityOfService; + + /** + * Verifies a QualityOfService 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 QualityOfService { + + /** Tier enum. */ + enum Tier { + UNDEFINED = 0, + HIGH = 1, + MEDIUM = 2, + LOW = 3 + } + } + + /** Properties of a Resources. */ + interface IResources { + + /** Resources requests */ + requests?: (flyteidl.core.Resources.IResourceEntry[]|null); + + /** Resources limits */ + limits?: (flyteidl.core.Resources.IResourceEntry[]|null); + } + + /** Represents a Resources. */ + class Resources implements IResources { + + /** + * Constructs a new Resources. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IResources); + + /** Resources requests. */ + public requests: flyteidl.core.Resources.IResourceEntry[]; + + /** Resources limits. */ + public limits: flyteidl.core.Resources.IResourceEntry[]; + + /** + * Creates a new Resources instance using the specified properties. + * @param [properties] Properties to set + * @returns Resources instance + */ + public static create(properties?: flyteidl.core.IResources): flyteidl.core.Resources; + + /** + * Encodes the specified Resources message. Does not implicitly {@link flyteidl.core.Resources.verify|verify} messages. + * @param message Resources message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IResources, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Resources message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Resources + * @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.Resources; + + /** + * Verifies a Resources 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 Resources { + + /** ResourceName enum. */ + enum ResourceName { + UNKNOWN = 0, + CPU = 1, + GPU = 2, + MEMORY = 3, + STORAGE = 4, + EPHEMERAL_STORAGE = 5 + } + + /** Properties of a ResourceEntry. */ + interface IResourceEntry { + + /** ResourceEntry name */ + name?: (flyteidl.core.Resources.ResourceName|null); + + /** ResourceEntry value */ + value?: (string|null); + } + + /** Represents a ResourceEntry. */ + class ResourceEntry implements IResourceEntry { + + /** + * Constructs a new ResourceEntry. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.Resources.IResourceEntry); + + /** ResourceEntry name. */ + public name: flyteidl.core.Resources.ResourceName; + + /** ResourceEntry value. */ + public value: string; + + /** + * Creates a new ResourceEntry instance using the specified properties. + * @param [properties] Properties to set + * @returns ResourceEntry instance + */ + public static create(properties?: flyteidl.core.Resources.IResourceEntry): flyteidl.core.Resources.ResourceEntry; + + /** + * Encodes the specified ResourceEntry message. Does not implicitly {@link flyteidl.core.Resources.ResourceEntry.verify|verify} messages. + * @param message ResourceEntry message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.Resources.IResourceEntry, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResourceEntry message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResourceEntry + * @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.Resources.ResourceEntry; + + /** + * Verifies a ResourceEntry 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 GPUAccelerator. */ + interface IGPUAccelerator { + + /** GPUAccelerator device */ + device?: (string|null); + + /** GPUAccelerator unpartitioned */ + unpartitioned?: (boolean|null); + + /** GPUAccelerator partitionSize */ + partitionSize?: (string|null); + } + + /** Represents a GPUAccelerator. */ + class GPUAccelerator implements IGPUAccelerator { + + /** + * Constructs a new GPUAccelerator. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IGPUAccelerator); + + /** GPUAccelerator device. */ + public device: string; + + /** GPUAccelerator unpartitioned. */ + public unpartitioned: boolean; + + /** GPUAccelerator partitionSize. */ + public partitionSize: string; + + /** GPUAccelerator partitionSizeValue. */ + public partitionSizeValue?: ("unpartitioned"|"partitionSize"); + + /** + * Creates a new GPUAccelerator instance using the specified properties. + * @param [properties] Properties to set + * @returns GPUAccelerator instance + */ + public static create(properties?: flyteidl.core.IGPUAccelerator): flyteidl.core.GPUAccelerator; + + /** + * Encodes the specified GPUAccelerator message. Does not implicitly {@link flyteidl.core.GPUAccelerator.verify|verify} messages. + * @param message GPUAccelerator message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IGPUAccelerator, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GPUAccelerator message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GPUAccelerator + * @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.GPUAccelerator; + + /** + * Verifies a GPUAccelerator 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 ExtendedResources. */ + interface IExtendedResources { + + /** ExtendedResources gpuAccelerator */ + gpuAccelerator?: (flyteidl.core.IGPUAccelerator|null); + } + + /** Represents an ExtendedResources. */ + class ExtendedResources implements IExtendedResources { + + /** + * Constructs a new ExtendedResources. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IExtendedResources); + + /** ExtendedResources gpuAccelerator. */ + public gpuAccelerator?: (flyteidl.core.IGPUAccelerator|null); + + /** + * Creates a new ExtendedResources instance using the specified properties. + * @param [properties] Properties to set + * @returns ExtendedResources instance + */ + public static create(properties?: flyteidl.core.IExtendedResources): flyteidl.core.ExtendedResources; + + /** + * Encodes the specified ExtendedResources message. Does not implicitly {@link flyteidl.core.ExtendedResources.verify|verify} messages. + * @param message ExtendedResources message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IExtendedResources, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExtendedResources message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExtendedResources + * @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.ExtendedResources; + + /** + * Verifies an ExtendedResources 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 RuntimeMetadata. */ + interface IRuntimeMetadata { + + /** RuntimeMetadata type */ + type?: (flyteidl.core.RuntimeMetadata.RuntimeType|null); + + /** RuntimeMetadata version */ + version?: (string|null); + + /** RuntimeMetadata flavor */ + flavor?: (string|null); + } + + /** Represents a RuntimeMetadata. */ + class RuntimeMetadata implements IRuntimeMetadata { + + /** + * Constructs a new RuntimeMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IRuntimeMetadata); + + /** RuntimeMetadata type. */ + public type: flyteidl.core.RuntimeMetadata.RuntimeType; + + /** RuntimeMetadata version. */ + public version: string; + + /** RuntimeMetadata flavor. */ + public flavor: string; + + /** + * Creates a new RuntimeMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns RuntimeMetadata instance + */ + public static create(properties?: flyteidl.core.IRuntimeMetadata): flyteidl.core.RuntimeMetadata; + + /** + * Encodes the specified RuntimeMetadata message. Does not implicitly {@link flyteidl.core.RuntimeMetadata.verify|verify} messages. + * @param message RuntimeMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IRuntimeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RuntimeMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RuntimeMetadata + * @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.RuntimeMetadata; + + /** + * Verifies a RuntimeMetadata 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 RuntimeMetadata { + + /** RuntimeType enum. */ + enum RuntimeType { + OTHER = 0, + FLYTE_SDK = 1 + } + } + + /** Properties of a TaskMetadata. */ + interface ITaskMetadata { + + /** TaskMetadata discoverable */ + discoverable?: (boolean|null); + + /** TaskMetadata runtime */ + runtime?: (flyteidl.core.IRuntimeMetadata|null); + + /** TaskMetadata timeout */ + timeout?: (google.protobuf.IDuration|null); + + /** TaskMetadata retries */ + retries?: (flyteidl.core.IRetryStrategy|null); + + /** TaskMetadata discoveryVersion */ + discoveryVersion?: (string|null); + + /** TaskMetadata deprecatedErrorMessage */ + deprecatedErrorMessage?: (string|null); + + /** TaskMetadata interruptible */ + interruptible?: (boolean|null); + + /** TaskMetadata cacheSerializable */ + cacheSerializable?: (boolean|null); + + /** TaskMetadata tags */ + tags?: ({ [k: string]: string }|null); + + /** TaskMetadata podTemplateName */ + podTemplateName?: (string|null); + + /** TaskMetadata cacheIgnoreInputVars */ + cacheIgnoreInputVars?: (string[]|null); + + /** TaskMetadata isEager */ + isEager?: (boolean|null); + + /** TaskMetadata generatesDeck */ + generatesDeck?: (google.protobuf.IBoolValue|null); + } + + /** Represents a TaskMetadata. */ + class TaskMetadata implements ITaskMetadata { + + /** + * Constructs a new TaskMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ITaskMetadata); + + /** TaskMetadata discoverable. */ + public discoverable: boolean; + + /** TaskMetadata runtime. */ + public runtime?: (flyteidl.core.IRuntimeMetadata|null); + + /** TaskMetadata timeout. */ + public timeout?: (google.protobuf.IDuration|null); + + /** TaskMetadata retries. */ + public retries?: (flyteidl.core.IRetryStrategy|null); + + /** TaskMetadata discoveryVersion. */ + public discoveryVersion: string; + + /** TaskMetadata deprecatedErrorMessage. */ + public deprecatedErrorMessage: string; + + /** TaskMetadata interruptible. */ + public interruptible: boolean; + + /** TaskMetadata cacheSerializable. */ + public cacheSerializable: boolean; + + /** TaskMetadata tags. */ + public tags: { [k: string]: string }; + + /** TaskMetadata podTemplateName. */ + public podTemplateName: string; + + /** TaskMetadata cacheIgnoreInputVars. */ + public cacheIgnoreInputVars: string[]; + + /** TaskMetadata isEager. */ + public isEager: boolean; + + /** TaskMetadata generatesDeck. */ + public generatesDeck?: (google.protobuf.IBoolValue|null); + + /** TaskMetadata interruptibleValue. */ + public interruptibleValue?: "interruptible"; + + /** + * Creates a new TaskMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskMetadata instance + */ + public static create(properties?: flyteidl.core.ITaskMetadata): flyteidl.core.TaskMetadata; + + /** + * Encodes the specified TaskMetadata message. Does not implicitly {@link flyteidl.core.TaskMetadata.verify|verify} messages. + * @param message TaskMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ITaskMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskMetadata + * @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.TaskMetadata; + + /** + * Verifies a TaskMetadata 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 TaskTemplate. */ + interface ITaskTemplate { + + /** TaskTemplate id */ + id?: (flyteidl.core.IIdentifier|null); + + /** TaskTemplate type */ + type?: (string|null); + + /** TaskTemplate metadata */ + metadata?: (flyteidl.core.ITaskMetadata|null); + + /** TaskTemplate interface */ + "interface"?: (flyteidl.core.ITypedInterface|null); + + /** TaskTemplate custom */ + custom?: (google.protobuf.IStruct|null); + + /** TaskTemplate container */ + container?: (flyteidl.core.IContainer|null); + + /** TaskTemplate k8sPod */ + k8sPod?: (flyteidl.core.IK8sPod|null); + + /** TaskTemplate sql */ + sql?: (flyteidl.core.ISql|null); + + /** TaskTemplate taskTypeVersion */ + taskTypeVersion?: (number|null); + + /** TaskTemplate securityContext */ + securityContext?: (flyteidl.core.ISecurityContext|null); + + /** TaskTemplate extendedResources */ + extendedResources?: (flyteidl.core.IExtendedResources|null); + + /** TaskTemplate config */ + config?: ({ [k: string]: string }|null); + } + + /** Represents a TaskTemplate. */ + class TaskTemplate implements ITaskTemplate { + + /** + * Constructs a new TaskTemplate. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ITaskTemplate); + + /** TaskTemplate id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** TaskTemplate type. */ + public type: string; + + /** TaskTemplate metadata. */ + public metadata?: (flyteidl.core.ITaskMetadata|null); + + /** TaskTemplate interface. */ + public interface?: (flyteidl.core.ITypedInterface|null); + + /** TaskTemplate custom. */ + public custom?: (google.protobuf.IStruct|null); + + /** TaskTemplate container. */ + public container?: (flyteidl.core.IContainer|null); + + /** TaskTemplate k8sPod. */ + public k8sPod?: (flyteidl.core.IK8sPod|null); + + /** TaskTemplate sql. */ + public sql?: (flyteidl.core.ISql|null); + + /** TaskTemplate taskTypeVersion. */ + public taskTypeVersion: number; + + /** TaskTemplate securityContext. */ + public securityContext?: (flyteidl.core.ISecurityContext|null); + + /** TaskTemplate extendedResources. */ + public extendedResources?: (flyteidl.core.IExtendedResources|null); + + /** TaskTemplate config. */ + public config: { [k: string]: string }; + + /** TaskTemplate target. */ + public target?: ("container"|"k8sPod"|"sql"); + + /** + * Creates a new TaskTemplate instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskTemplate instance + */ + public static create(properties?: flyteidl.core.ITaskTemplate): flyteidl.core.TaskTemplate; + + /** + * Encodes the specified TaskTemplate message. Does not implicitly {@link flyteidl.core.TaskTemplate.verify|verify} messages. + * @param message TaskTemplate message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ITaskTemplate, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskTemplate message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskTemplate + * @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.TaskTemplate; + + /** + * Verifies a TaskTemplate 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 ContainerPort. */ + interface IContainerPort { + + /** ContainerPort containerPort */ + containerPort?: (number|null); + + /** ContainerPort name */ + name?: (string|null); + } + + /** Represents a ContainerPort. */ + class ContainerPort implements IContainerPort { + + /** + * Constructs a new ContainerPort. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IContainerPort); + + /** ContainerPort containerPort. */ + public containerPort: number; + + /** ContainerPort name. */ + public name: string; + + /** + * Creates a new ContainerPort instance using the specified properties. + * @param [properties] Properties to set + * @returns ContainerPort instance + */ + public static create(properties?: flyteidl.core.IContainerPort): flyteidl.core.ContainerPort; + + /** + * Encodes the specified ContainerPort message. Does not implicitly {@link flyteidl.core.ContainerPort.verify|verify} messages. + * @param message ContainerPort message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IContainerPort, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ContainerPort message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ContainerPort + * @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.ContainerPort; + + /** + * Verifies a ContainerPort 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 Container. */ + interface IContainer { + + /** Container image */ + image?: (string|null); + + /** Container command */ + command?: (string[]|null); + + /** Container args */ + args?: (string[]|null); + + /** Container resources */ + resources?: (flyteidl.core.IResources|null); + + /** Container env */ + env?: (flyteidl.core.IKeyValuePair[]|null); + + /** Container config */ + config?: (flyteidl.core.IKeyValuePair[]|null); + + /** Container ports */ + ports?: (flyteidl.core.IContainerPort[]|null); + + /** Container dataConfig */ + dataConfig?: (flyteidl.core.IDataLoadingConfig|null); + + /** Container architecture */ + architecture?: (flyteidl.core.Container.Architecture|null); + } + + /** Represents a Container. */ + class Container implements IContainer { + + /** + * Constructs a new Container. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IContainer); + + /** Container image. */ + public image: string; + + /** Container command. */ + public command: string[]; + + /** Container args. */ + public args: string[]; + + /** Container resources. */ + public resources?: (flyteidl.core.IResources|null); + + /** Container env. */ + public env: flyteidl.core.IKeyValuePair[]; + + /** Container config. */ + public config: flyteidl.core.IKeyValuePair[]; + + /** Container ports. */ + public ports: flyteidl.core.IContainerPort[]; + + /** Container dataConfig. */ + public dataConfig?: (flyteidl.core.IDataLoadingConfig|null); + + /** Container architecture. */ + public architecture: flyteidl.core.Container.Architecture; + + /** + * Creates a new Container instance using the specified properties. + * @param [properties] Properties to set + * @returns Container instance + */ + public static create(properties?: flyteidl.core.IContainer): flyteidl.core.Container; + + /** + * Encodes the specified Container message. Does not implicitly {@link flyteidl.core.Container.verify|verify} messages. + * @param message Container message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IContainer, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Container message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Container + * @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.Container; + + /** + * Verifies a Container 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 Container { + + /** Architecture enum. */ + enum Architecture { + UNKNOWN = 0, + AMD64 = 1, + ARM64 = 2, + ARM_V6 = 3, + ARM_V7 = 4 + } + } + + /** Properties of a IOStrategy. */ + interface IIOStrategy { + + /** IOStrategy downloadMode */ + downloadMode?: (flyteidl.core.IOStrategy.DownloadMode|null); + + /** IOStrategy uploadMode */ + uploadMode?: (flyteidl.core.IOStrategy.UploadMode|null); + } + + /** Represents a IOStrategy. */ + class IOStrategy implements IIOStrategy { + + /** + * Constructs a new IOStrategy. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IIOStrategy); + + /** IOStrategy downloadMode. */ + public downloadMode: flyteidl.core.IOStrategy.DownloadMode; + + /** IOStrategy uploadMode. */ + public uploadMode: flyteidl.core.IOStrategy.UploadMode; + + /** + * Creates a new IOStrategy instance using the specified properties. + * @param [properties] Properties to set + * @returns IOStrategy instance + */ + public static create(properties?: flyteidl.core.IIOStrategy): flyteidl.core.IOStrategy; + + /** + * Encodes the specified IOStrategy message. Does not implicitly {@link flyteidl.core.IOStrategy.verify|verify} messages. + * @param message IOStrategy message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IIOStrategy, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a IOStrategy message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns IOStrategy + * @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.IOStrategy; + + /** + * Verifies a IOStrategy 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 IOStrategy { + + /** DownloadMode enum. */ + enum DownloadMode { + DOWNLOAD_EAGER = 0, + DOWNLOAD_STREAM = 1, + DO_NOT_DOWNLOAD = 2 + } + + /** UploadMode enum. */ + enum UploadMode { + UPLOAD_ON_EXIT = 0, + UPLOAD_EAGER = 1, + DO_NOT_UPLOAD = 2 + } + } + + /** Properties of a DataLoadingConfig. */ + interface IDataLoadingConfig { + + /** DataLoadingConfig enabled */ + enabled?: (boolean|null); + + /** DataLoadingConfig inputPath */ + inputPath?: (string|null); + + /** DataLoadingConfig outputPath */ + outputPath?: (string|null); + + /** DataLoadingConfig format */ + format?: (flyteidl.core.DataLoadingConfig.LiteralMapFormat|null); + + /** DataLoadingConfig ioStrategy */ + ioStrategy?: (flyteidl.core.IIOStrategy|null); + } + + /** Represents a DataLoadingConfig. */ + class DataLoadingConfig implements IDataLoadingConfig { + + /** + * Constructs a new DataLoadingConfig. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IDataLoadingConfig); + + /** DataLoadingConfig enabled. */ + public enabled: boolean; + + /** DataLoadingConfig inputPath. */ + public inputPath: string; + + /** DataLoadingConfig outputPath. */ + public outputPath: string; + + /** DataLoadingConfig format. */ + public format: flyteidl.core.DataLoadingConfig.LiteralMapFormat; + + /** DataLoadingConfig ioStrategy. */ + public ioStrategy?: (flyteidl.core.IIOStrategy|null); + + /** + * Creates a new DataLoadingConfig instance using the specified properties. + * @param [properties] Properties to set + * @returns DataLoadingConfig instance + */ + public static create(properties?: flyteidl.core.IDataLoadingConfig): flyteidl.core.DataLoadingConfig; + + /** + * Encodes the specified DataLoadingConfig message. Does not implicitly {@link flyteidl.core.DataLoadingConfig.verify|verify} messages. + * @param message DataLoadingConfig message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IDataLoadingConfig, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DataLoadingConfig message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DataLoadingConfig + * @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.DataLoadingConfig; + + /** + * Verifies a DataLoadingConfig 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 DataLoadingConfig { + + /** LiteralMapFormat enum. */ + enum LiteralMapFormat { + JSON = 0, + YAML = 1, + PROTO = 2 + } + } + + /** Properties of a K8sPod. */ + interface IK8sPod { + + /** K8sPod metadata */ + metadata?: (flyteidl.core.IK8sObjectMetadata|null); + + /** K8sPod podSpec */ + podSpec?: (google.protobuf.IStruct|null); + + /** K8sPod dataConfig */ + dataConfig?: (flyteidl.core.IDataLoadingConfig|null); + } + + /** Represents a K8sPod. */ + class K8sPod implements IK8sPod { + + /** + * Constructs a new K8sPod. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IK8sPod); + + /** K8sPod metadata. */ + public metadata?: (flyteidl.core.IK8sObjectMetadata|null); + + /** K8sPod podSpec. */ + public podSpec?: (google.protobuf.IStruct|null); + + /** K8sPod dataConfig. */ + public dataConfig?: (flyteidl.core.IDataLoadingConfig|null); + + /** + * Creates a new K8sPod instance using the specified properties. + * @param [properties] Properties to set + * @returns K8sPod instance + */ + public static create(properties?: flyteidl.core.IK8sPod): flyteidl.core.K8sPod; + + /** + * Encodes the specified K8sPod message. Does not implicitly {@link flyteidl.core.K8sPod.verify|verify} messages. + * @param message K8sPod message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IK8sPod, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a K8sPod message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns K8sPod + * @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.K8sPod; + + /** + * Verifies a K8sPod 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 K8sObjectMetadata. */ + interface IK8sObjectMetadata { + + /** K8sObjectMetadata labels */ + labels?: ({ [k: string]: string }|null); + + /** K8sObjectMetadata annotations */ + annotations?: ({ [k: string]: string }|null); + } + + /** Represents a K8sObjectMetadata. */ + class K8sObjectMetadata implements IK8sObjectMetadata { + + /** + * Constructs a new K8sObjectMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IK8sObjectMetadata); + + /** K8sObjectMetadata labels. */ + public labels: { [k: string]: string }; + + /** K8sObjectMetadata annotations. */ + public annotations: { [k: string]: string }; + + /** + * Creates a new K8sObjectMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns K8sObjectMetadata instance + */ + public static create(properties?: flyteidl.core.IK8sObjectMetadata): flyteidl.core.K8sObjectMetadata; + + /** + * Encodes the specified K8sObjectMetadata message. Does not implicitly {@link flyteidl.core.K8sObjectMetadata.verify|verify} messages. + * @param message K8sObjectMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IK8sObjectMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a K8sObjectMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns K8sObjectMetadata + * @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.K8sObjectMetadata; + + /** + * Verifies a K8sObjectMetadata 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 Sql. */ + interface ISql { + + /** Sql statement */ + statement?: (string|null); + + /** Sql dialect */ + dialect?: (flyteidl.core.Sql.Dialect|null); + } + + /** Represents a Sql. */ + class Sql implements ISql { + + /** + * Constructs a new Sql. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ISql); + + /** Sql statement. */ + public statement: string; + + /** Sql dialect. */ + public dialect: flyteidl.core.Sql.Dialect; + + /** + * Creates a new Sql instance using the specified properties. + * @param [properties] Properties to set + * @returns Sql instance + */ + public static create(properties?: flyteidl.core.ISql): flyteidl.core.Sql; + + /** + * Encodes the specified Sql message. Does not implicitly {@link flyteidl.core.Sql.verify|verify} messages. + * @param message Sql message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ISql, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Sql message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Sql + * @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.Sql; + + /** + * Verifies a Sql 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 Sql { + + /** Dialect enum. */ + enum Dialect { + UNDEFINED = 0, + ANSI = 1, + HIVE = 2, + OTHER = 3 + } + } + + /** Properties of a Secret. */ + interface ISecret { + + /** Secret group */ + group?: (string|null); + + /** Secret groupVersion */ + groupVersion?: (string|null); + + /** Secret key */ + key?: (string|null); + + /** Secret mountRequirement */ + mountRequirement?: (flyteidl.core.Secret.MountType|null); + + /** Secret envName */ + envName?: (string|null); + } + + /** Represents a Secret. */ + class Secret implements ISecret { + + /** + * Constructs a new Secret. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ISecret); + + /** Secret group. */ + public group: string; + + /** Secret groupVersion. */ + public groupVersion: string; + + /** Secret key. */ + public key: string; + + /** Secret mountRequirement. */ + public mountRequirement: flyteidl.core.Secret.MountType; + + /** Secret envName. */ + public envName: string; + + /** + * Creates a new Secret instance using the specified properties. + * @param [properties] Properties to set + * @returns Secret instance + */ + public static create(properties?: flyteidl.core.ISecret): flyteidl.core.Secret; + + /** + * Encodes the specified Secret message. Does not implicitly {@link flyteidl.core.Secret.verify|verify} messages. + * @param message Secret message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ISecret, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Secret message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Secret + * @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.Secret; + + /** + * Verifies a Secret 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 Secret { + + /** MountType enum. */ + enum MountType { + ANY = 0, + ENV_VAR = 1, + FILE = 2 + } + } + + /** Properties of a OAuth2Client. */ + interface IOAuth2Client { + + /** OAuth2Client clientId */ + clientId?: (string|null); + + /** OAuth2Client clientSecret */ + clientSecret?: (flyteidl.core.ISecret|null); + } + + /** Represents a OAuth2Client. */ + class OAuth2Client implements IOAuth2Client { + + /** + * Constructs a new OAuth2Client. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IOAuth2Client); + + /** OAuth2Client clientId. */ + public clientId: string; + + /** OAuth2Client clientSecret. */ + public clientSecret?: (flyteidl.core.ISecret|null); + + /** + * Creates a new OAuth2Client instance using the specified properties. + * @param [properties] Properties to set + * @returns OAuth2Client instance + */ + public static create(properties?: flyteidl.core.IOAuth2Client): flyteidl.core.OAuth2Client; + + /** + * Encodes the specified OAuth2Client message. Does not implicitly {@link flyteidl.core.OAuth2Client.verify|verify} messages. + * @param message OAuth2Client message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IOAuth2Client, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a OAuth2Client message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns OAuth2Client + * @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.OAuth2Client; + + /** + * Verifies a OAuth2Client 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 Identity. */ + interface IIdentity { + + /** Identity iamRole */ + iamRole?: (string|null); + + /** Identity k8sServiceAccount */ + k8sServiceAccount?: (string|null); + + /** Identity oauth2Client */ + oauth2Client?: (flyteidl.core.IOAuth2Client|null); + + /** Identity executionIdentity */ + executionIdentity?: (string|null); + } + + /** Represents an Identity. */ + class Identity implements IIdentity { + + /** + * Constructs a new Identity. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IIdentity); + + /** Identity iamRole. */ + public iamRole: string; + + /** Identity k8sServiceAccount. */ + public k8sServiceAccount: string; + + /** Identity oauth2Client. */ + public oauth2Client?: (flyteidl.core.IOAuth2Client|null); + + /** Identity executionIdentity. */ + public executionIdentity: string; + + /** + * Creates a new Identity instance using the specified properties. + * @param [properties] Properties to set + * @returns Identity instance + */ + public static create(properties?: flyteidl.core.IIdentity): flyteidl.core.Identity; + + /** + * Encodes the specified Identity message. Does not implicitly {@link flyteidl.core.Identity.verify|verify} messages. + * @param message Identity message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IIdentity, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Identity message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Identity + * @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.Identity; + + /** + * Verifies an Identity 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 OAuth2TokenRequest. */ + interface IOAuth2TokenRequest { + + /** OAuth2TokenRequest name */ + name?: (string|null); + + /** OAuth2TokenRequest type */ + type?: (flyteidl.core.OAuth2TokenRequest.Type|null); + + /** OAuth2TokenRequest client */ + client?: (flyteidl.core.IOAuth2Client|null); + + /** OAuth2TokenRequest idpDiscoveryEndpoint */ + idpDiscoveryEndpoint?: (string|null); + + /** OAuth2TokenRequest tokenEndpoint */ + tokenEndpoint?: (string|null); + } + + /** Represents a OAuth2TokenRequest. */ + class OAuth2TokenRequest implements IOAuth2TokenRequest { + + /** + * Constructs a new OAuth2TokenRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IOAuth2TokenRequest); + + /** OAuth2TokenRequest name. */ + public name: string; + + /** OAuth2TokenRequest type. */ + public type: flyteidl.core.OAuth2TokenRequest.Type; + + /** OAuth2TokenRequest client. */ + public client?: (flyteidl.core.IOAuth2Client|null); + + /** OAuth2TokenRequest idpDiscoveryEndpoint. */ + public idpDiscoveryEndpoint: string; + + /** OAuth2TokenRequest tokenEndpoint. */ + public tokenEndpoint: string; + + /** + * Creates a new OAuth2TokenRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns OAuth2TokenRequest instance + */ + public static create(properties?: flyteidl.core.IOAuth2TokenRequest): flyteidl.core.OAuth2TokenRequest; + + /** + * Encodes the specified OAuth2TokenRequest message. Does not implicitly {@link flyteidl.core.OAuth2TokenRequest.verify|verify} messages. + * @param message OAuth2TokenRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IOAuth2TokenRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a OAuth2TokenRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns OAuth2TokenRequest + * @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.OAuth2TokenRequest; + + /** + * Verifies a OAuth2TokenRequest 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 OAuth2TokenRequest { + + /** Type enum. */ + enum Type { + CLIENT_CREDENTIALS = 0 + } + } + + /** Properties of a SecurityContext. */ + interface ISecurityContext { + + /** SecurityContext runAs */ + runAs?: (flyteidl.core.IIdentity|null); + + /** SecurityContext secrets */ + secrets?: (flyteidl.core.ISecret[]|null); + + /** SecurityContext tokens */ + tokens?: (flyteidl.core.IOAuth2TokenRequest[]|null); + } + + /** Represents a SecurityContext. */ + class SecurityContext implements ISecurityContext { + + /** + * Constructs a new SecurityContext. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ISecurityContext); + + /** SecurityContext runAs. */ + public runAs?: (flyteidl.core.IIdentity|null); + + /** SecurityContext secrets. */ + public secrets: flyteidl.core.ISecret[]; + + /** SecurityContext tokens. */ + public tokens: flyteidl.core.IOAuth2TokenRequest[]; + + /** + * Creates a new SecurityContext instance using the specified properties. + * @param [properties] Properties to set + * @returns SecurityContext instance + */ + public static create(properties?: flyteidl.core.ISecurityContext): flyteidl.core.SecurityContext; + + /** + * Encodes the specified SecurityContext message. Does not implicitly {@link flyteidl.core.SecurityContext.verify|verify} messages. + * @param message SecurityContext message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ISecurityContext, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SecurityContext message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SecurityContext + * @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.SecurityContext; + + /** + * Verifies a SecurityContext 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 DynamicJobSpec. */ + interface IDynamicJobSpec { + + /** DynamicJobSpec nodes */ + nodes?: (flyteidl.core.INode[]|null); + + /** DynamicJobSpec minSuccesses */ + minSuccesses?: (Long|null); + + /** DynamicJobSpec outputs */ + outputs?: (flyteidl.core.IBinding[]|null); + + /** DynamicJobSpec tasks */ + tasks?: (flyteidl.core.ITaskTemplate[]|null); + + /** DynamicJobSpec subworkflows */ + subworkflows?: (flyteidl.core.IWorkflowTemplate[]|null); + } + + /** Represents a DynamicJobSpec. */ + class DynamicJobSpec implements IDynamicJobSpec { + + /** + * Constructs a new DynamicJobSpec. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IDynamicJobSpec); + + /** DynamicJobSpec nodes. */ + public nodes: flyteidl.core.INode[]; + + /** DynamicJobSpec minSuccesses. */ + public minSuccesses: Long; + + /** DynamicJobSpec outputs. */ + public outputs: flyteidl.core.IBinding[]; + + /** DynamicJobSpec tasks. */ + public tasks: flyteidl.core.ITaskTemplate[]; + + /** DynamicJobSpec subworkflows. */ + public subworkflows: flyteidl.core.IWorkflowTemplate[]; + + /** + * Creates a new DynamicJobSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns DynamicJobSpec instance + */ + public static create(properties?: flyteidl.core.IDynamicJobSpec): flyteidl.core.DynamicJobSpec; + + /** + * Encodes the specified DynamicJobSpec message. Does not implicitly {@link flyteidl.core.DynamicJobSpec.verify|verify} messages. + * @param message DynamicJobSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IDynamicJobSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DynamicJobSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DynamicJobSpec + * @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.DynamicJobSpec; + + /** + * Verifies a DynamicJobSpec 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 ContainerError. */ + interface IContainerError { + + /** ContainerError code */ + code?: (string|null); + + /** ContainerError message */ + message?: (string|null); + + /** ContainerError kind */ + kind?: (flyteidl.core.ContainerError.Kind|null); + + /** ContainerError origin */ + origin?: (flyteidl.core.ExecutionError.ErrorKind|null); + + /** ContainerError timestamp */ + timestamp?: (google.protobuf.ITimestamp|null); + + /** ContainerError worker */ + worker?: (string|null); + } + + /** Represents a ContainerError. */ + class ContainerError implements IContainerError { + + /** + * Constructs a new ContainerError. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IContainerError); + + /** ContainerError code. */ + public code: string; + + /** ContainerError message. */ + public message: string; + + /** ContainerError kind. */ + public kind: flyteidl.core.ContainerError.Kind; + + /** ContainerError origin. */ + public origin: flyteidl.core.ExecutionError.ErrorKind; + + /** ContainerError timestamp. */ + public timestamp?: (google.protobuf.ITimestamp|null); + + /** ContainerError worker. */ + public worker: string; + + /** + * Creates a new ContainerError instance using the specified properties. + * @param [properties] Properties to set + * @returns ContainerError instance + */ + public static create(properties?: flyteidl.core.IContainerError): flyteidl.core.ContainerError; + + /** + * Encodes the specified ContainerError message. Does not implicitly {@link flyteidl.core.ContainerError.verify|verify} messages. + * @param message ContainerError message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IContainerError, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ContainerError message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ContainerError + * @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.ContainerError; + + /** + * Verifies a ContainerError 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 ContainerError { + + /** Kind enum. */ + enum Kind { + NON_RECOVERABLE = 0, + RECOVERABLE = 1 + } + } + + /** Properties of an ErrorDocument. */ + interface IErrorDocument { + + /** ErrorDocument error */ + error?: (flyteidl.core.IContainerError|null); + } + + /** Represents an ErrorDocument. */ + class ErrorDocument implements IErrorDocument { + + /** + * Constructs a new ErrorDocument. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IErrorDocument); + + /** ErrorDocument error. */ + public error?: (flyteidl.core.IContainerError|null); + + /** + * Creates a new ErrorDocument instance using the specified properties. + * @param [properties] Properties to set + * @returns ErrorDocument instance + */ + public static create(properties?: flyteidl.core.IErrorDocument): flyteidl.core.ErrorDocument; + + /** + * Encodes the specified ErrorDocument message. Does not implicitly {@link flyteidl.core.ErrorDocument.verify|verify} messages. + * @param message ErrorDocument message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IErrorDocument, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ErrorDocument message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ErrorDocument + * @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.ErrorDocument; + + /** + * Verifies an ErrorDocument 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 ExecutionEnvAssignment. */ + interface IExecutionEnvAssignment { + + /** ExecutionEnvAssignment nodeIds */ + nodeIds?: (string[]|null); + + /** ExecutionEnvAssignment taskType */ + taskType?: (string|null); + + /** ExecutionEnvAssignment executionEnv */ + executionEnv?: (flyteidl.core.IExecutionEnv|null); + } + + /** Represents an ExecutionEnvAssignment. */ + class ExecutionEnvAssignment implements IExecutionEnvAssignment { + + /** + * Constructs a new ExecutionEnvAssignment. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IExecutionEnvAssignment); + + /** ExecutionEnvAssignment nodeIds. */ + public nodeIds: string[]; + + /** ExecutionEnvAssignment taskType. */ + public taskType: string; + + /** ExecutionEnvAssignment executionEnv. */ + public executionEnv?: (flyteidl.core.IExecutionEnv|null); + + /** + * Creates a new ExecutionEnvAssignment instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionEnvAssignment instance + */ + public static create(properties?: flyteidl.core.IExecutionEnvAssignment): flyteidl.core.ExecutionEnvAssignment; + + /** + * Encodes the specified ExecutionEnvAssignment message. Does not implicitly {@link flyteidl.core.ExecutionEnvAssignment.verify|verify} messages. + * @param message ExecutionEnvAssignment message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IExecutionEnvAssignment, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionEnvAssignment message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionEnvAssignment + * @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.ExecutionEnvAssignment; + + /** + * Verifies an ExecutionEnvAssignment 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 ExecutionEnv. */ + interface IExecutionEnv { + + /** ExecutionEnv name */ + name?: (string|null); + + /** ExecutionEnv type */ + type?: (string|null); + + /** ExecutionEnv extant */ + extant?: (google.protobuf.IStruct|null); + + /** ExecutionEnv spec */ + spec?: (google.protobuf.IStruct|null); + + /** ExecutionEnv version */ + version?: (string|null); + } + + /** Represents an ExecutionEnv. */ + class ExecutionEnv implements IExecutionEnv { + + /** + * Constructs a new ExecutionEnv. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IExecutionEnv); + + /** ExecutionEnv name. */ + public name: string; + + /** ExecutionEnv type. */ + public type: string; + + /** ExecutionEnv extant. */ + public extant?: (google.protobuf.IStruct|null); + + /** ExecutionEnv spec. */ + public spec?: (google.protobuf.IStruct|null); + + /** ExecutionEnv version. */ + public version: string; + + /** ExecutionEnv environment. */ + public environment?: ("extant"|"spec"); + + /** + * Creates a new ExecutionEnv instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionEnv instance + */ + public static create(properties?: flyteidl.core.IExecutionEnv): flyteidl.core.ExecutionEnv; + + /** + * Encodes the specified ExecutionEnv message. Does not implicitly {@link flyteidl.core.ExecutionEnv.verify|verify} messages. + * @param message ExecutionEnv message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IExecutionEnv, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionEnv message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionEnv + * @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.ExecutionEnv; + + /** + * Verifies an ExecutionEnv 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 Span. */ + interface ISpan { + + /** Span startTime */ + startTime?: (google.protobuf.ITimestamp|null); + + /** Span endTime */ + endTime?: (google.protobuf.ITimestamp|null); + + /** Span workflowId */ + workflowId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** Span nodeId */ + nodeId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** Span taskId */ + taskId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** Span operationId */ + operationId?: (string|null); + + /** Span spans */ + spans?: (flyteidl.core.ISpan[]|null); + } + + /** Represents a Span. */ + class Span implements ISpan { + + /** + * Constructs a new Span. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.ISpan); + + /** Span startTime. */ + public startTime?: (google.protobuf.ITimestamp|null); + + /** Span endTime. */ + public endTime?: (google.protobuf.ITimestamp|null); + + /** Span workflowId. */ + public workflowId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** Span nodeId. */ + public nodeId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** Span taskId. */ + public taskId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** Span operationId. */ + public operationId: string; + + /** Span spans. */ + public spans: flyteidl.core.ISpan[]; + + /** Span id. */ + public id?: ("workflowId"|"nodeId"|"taskId"|"operationId"); + + /** + * Creates a new Span instance using the specified properties. + * @param [properties] Properties to set + * @returns Span instance + */ + public static create(properties?: flyteidl.core.ISpan): flyteidl.core.Span; + + /** + * Encodes the specified Span message. Does not implicitly {@link flyteidl.core.Span.verify|verify} messages. + * @param message Span message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.ISpan, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Span message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Span + * @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.Span; + + /** + * Verifies a Span 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 ExecutionMetricResult. */ + interface IExecutionMetricResult { + + /** ExecutionMetricResult metric */ + metric?: (string|null); + + /** ExecutionMetricResult data */ + data?: (google.protobuf.IStruct|null); + } + + /** Represents an ExecutionMetricResult. */ + class ExecutionMetricResult implements IExecutionMetricResult { + + /** + * Constructs a new ExecutionMetricResult. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IExecutionMetricResult); + + /** ExecutionMetricResult metric. */ + public metric: string; + + /** ExecutionMetricResult data. */ + public data?: (google.protobuf.IStruct|null); + + /** + * Creates a new ExecutionMetricResult instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionMetricResult instance + */ + public static create(properties?: flyteidl.core.IExecutionMetricResult): flyteidl.core.ExecutionMetricResult; + + /** + * Encodes the specified ExecutionMetricResult message. Does not implicitly {@link flyteidl.core.ExecutionMetricResult.verify|verify} messages. + * @param message ExecutionMetricResult message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IExecutionMetricResult, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionMetricResult message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionMetricResult + * @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.ExecutionMetricResult; + + /** + * Verifies an ExecutionMetricResult 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 WorkflowClosure. */ + interface IWorkflowClosure { + + /** WorkflowClosure workflow */ + workflow?: (flyteidl.core.IWorkflowTemplate|null); + + /** WorkflowClosure tasks */ + tasks?: (flyteidl.core.ITaskTemplate[]|null); + } + + /** Represents a WorkflowClosure. */ + class WorkflowClosure implements IWorkflowClosure { + + /** + * Constructs a new WorkflowClosure. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.core.IWorkflowClosure); + + /** WorkflowClosure workflow. */ + public workflow?: (flyteidl.core.IWorkflowTemplate|null); + + /** WorkflowClosure tasks. */ + public tasks: flyteidl.core.ITaskTemplate[]; + + /** + * Creates a new WorkflowClosure instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowClosure instance + */ + public static create(properties?: flyteidl.core.IWorkflowClosure): flyteidl.core.WorkflowClosure; + + /** + * Encodes the specified WorkflowClosure message. Does not implicitly {@link flyteidl.core.WorkflowClosure.verify|verify} messages. + * @param message WorkflowClosure message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.core.IWorkflowClosure, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowClosure message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowClosure + * @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.WorkflowClosure; + + /** + * Verifies a WorkflowClosure 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 event. */ + namespace event { + + /** Properties of a CloudEventWorkflowExecution. */ + interface ICloudEventWorkflowExecution { + + /** CloudEventWorkflowExecution rawEvent */ + rawEvent?: (flyteidl.event.IWorkflowExecutionEvent|null); + + /** CloudEventWorkflowExecution outputInterface */ + outputInterface?: (flyteidl.core.ITypedInterface|null); + + /** CloudEventWorkflowExecution artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); + + /** CloudEventWorkflowExecution referenceExecution */ + referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** CloudEventWorkflowExecution principal */ + principal?: (string|null); + + /** CloudEventWorkflowExecution launchPlanId */ + launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventWorkflowExecution labels */ + labels?: ({ [k: string]: string }|null); + } + + /** Represents a CloudEventWorkflowExecution. */ + class CloudEventWorkflowExecution implements ICloudEventWorkflowExecution { + + /** + * Constructs a new CloudEventWorkflowExecution. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.ICloudEventWorkflowExecution); + + /** CloudEventWorkflowExecution rawEvent. */ + public rawEvent?: (flyteidl.event.IWorkflowExecutionEvent|null); + + /** CloudEventWorkflowExecution outputInterface. */ + public outputInterface?: (flyteidl.core.ITypedInterface|null); + + /** CloudEventWorkflowExecution artifactIds. */ + public artifactIds: flyteidl.core.IArtifactID[]; + + /** CloudEventWorkflowExecution referenceExecution. */ + public referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** CloudEventWorkflowExecution principal. */ + public principal: string; + + /** CloudEventWorkflowExecution launchPlanId. */ + public launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventWorkflowExecution labels. */ + public labels: { [k: string]: string }; + + /** + * Creates a new CloudEventWorkflowExecution instance using the specified properties. + * @param [properties] Properties to set + * @returns CloudEventWorkflowExecution instance + */ + public static create(properties?: flyteidl.event.ICloudEventWorkflowExecution): flyteidl.event.CloudEventWorkflowExecution; + + /** + * Encodes the specified CloudEventWorkflowExecution message. Does not implicitly {@link flyteidl.event.CloudEventWorkflowExecution.verify|verify} messages. + * @param message CloudEventWorkflowExecution message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.ICloudEventWorkflowExecution, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CloudEventWorkflowExecution message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CloudEventWorkflowExecution + * @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.event.CloudEventWorkflowExecution; + + /** + * Verifies a CloudEventWorkflowExecution 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 CloudEventNodeExecution. */ + interface ICloudEventNodeExecution { + + /** CloudEventNodeExecution rawEvent */ + rawEvent?: (flyteidl.event.INodeExecutionEvent|null); + + /** CloudEventNodeExecution taskExecId */ + taskExecId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** CloudEventNodeExecution outputInterface */ + outputInterface?: (flyteidl.core.ITypedInterface|null); + + /** CloudEventNodeExecution artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); + + /** CloudEventNodeExecution principal */ + principal?: (string|null); + + /** CloudEventNodeExecution launchPlanId */ + launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventNodeExecution labels */ + labels?: ({ [k: string]: string }|null); + } + + /** Represents a CloudEventNodeExecution. */ + class CloudEventNodeExecution implements ICloudEventNodeExecution { + + /** + * Constructs a new CloudEventNodeExecution. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.ICloudEventNodeExecution); + + /** CloudEventNodeExecution rawEvent. */ + public rawEvent?: (flyteidl.event.INodeExecutionEvent|null); + + /** CloudEventNodeExecution taskExecId. */ + public taskExecId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** CloudEventNodeExecution outputInterface. */ + public outputInterface?: (flyteidl.core.ITypedInterface|null); + + /** CloudEventNodeExecution artifactIds. */ + public artifactIds: flyteidl.core.IArtifactID[]; + + /** CloudEventNodeExecution principal. */ + public principal: string; + + /** CloudEventNodeExecution launchPlanId. */ + public launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventNodeExecution labels. */ + public labels: { [k: string]: string }; + + /** + * Creates a new CloudEventNodeExecution instance using the specified properties. + * @param [properties] Properties to set + * @returns CloudEventNodeExecution instance + */ + public static create(properties?: flyteidl.event.ICloudEventNodeExecution): flyteidl.event.CloudEventNodeExecution; + + /** + * Encodes the specified CloudEventNodeExecution message. Does not implicitly {@link flyteidl.event.CloudEventNodeExecution.verify|verify} messages. + * @param message CloudEventNodeExecution message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.ICloudEventNodeExecution, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CloudEventNodeExecution message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CloudEventNodeExecution + * @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.event.CloudEventNodeExecution; + + /** + * Verifies a CloudEventNodeExecution 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 CloudEventTaskExecution. */ + interface ICloudEventTaskExecution { + + /** CloudEventTaskExecution rawEvent */ + rawEvent?: (flyteidl.event.ITaskExecutionEvent|null); + + /** CloudEventTaskExecution labels */ + labels?: ({ [k: string]: string }|null); + } + + /** Represents a CloudEventTaskExecution. */ + class CloudEventTaskExecution implements ICloudEventTaskExecution { + + /** + * Constructs a new CloudEventTaskExecution. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.ICloudEventTaskExecution); + + /** CloudEventTaskExecution rawEvent. */ + public rawEvent?: (flyteidl.event.ITaskExecutionEvent|null); + + /** CloudEventTaskExecution labels. */ + public labels: { [k: string]: string }; + + /** + * Creates a new CloudEventTaskExecution instance using the specified properties. + * @param [properties] Properties to set + * @returns CloudEventTaskExecution instance + */ + public static create(properties?: flyteidl.event.ICloudEventTaskExecution): flyteidl.event.CloudEventTaskExecution; + + /** + * Encodes the specified CloudEventTaskExecution message. Does not implicitly {@link flyteidl.event.CloudEventTaskExecution.verify|verify} messages. + * @param message CloudEventTaskExecution message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.ICloudEventTaskExecution, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CloudEventTaskExecution message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CloudEventTaskExecution + * @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.event.CloudEventTaskExecution; + + /** + * Verifies a CloudEventTaskExecution 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 CloudEventExecutionStart. */ + interface ICloudEventExecutionStart { + + /** CloudEventExecutionStart executionId */ + executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** CloudEventExecutionStart launchPlanId */ + launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventExecutionStart workflowId */ + workflowId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventExecutionStart artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); + + /** CloudEventExecutionStart artifactTrackers */ + artifactTrackers?: (string[]|null); + + /** CloudEventExecutionStart principal */ + principal?: (string|null); + } + + /** Represents a CloudEventExecutionStart. */ + class CloudEventExecutionStart implements ICloudEventExecutionStart { + + /** + * Constructs a new CloudEventExecutionStart. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.ICloudEventExecutionStart); + + /** CloudEventExecutionStart executionId. */ + public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** CloudEventExecutionStart launchPlanId. */ + public launchPlanId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventExecutionStart workflowId. */ + public workflowId?: (flyteidl.core.IIdentifier|null); + + /** CloudEventExecutionStart artifactIds. */ + public artifactIds: flyteidl.core.IArtifactID[]; + + /** CloudEventExecutionStart artifactTrackers. */ + public artifactTrackers: string[]; + + /** CloudEventExecutionStart principal. */ + public principal: string; + + /** + * Creates a new CloudEventExecutionStart instance using the specified properties. + * @param [properties] Properties to set + * @returns CloudEventExecutionStart instance + */ + public static create(properties?: flyteidl.event.ICloudEventExecutionStart): flyteidl.event.CloudEventExecutionStart; + + /** + * Encodes the specified CloudEventExecutionStart message. Does not implicitly {@link flyteidl.event.CloudEventExecutionStart.verify|verify} messages. + * @param message CloudEventExecutionStart message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.ICloudEventExecutionStart, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CloudEventExecutionStart message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CloudEventExecutionStart + * @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.event.CloudEventExecutionStart; + + /** + * Verifies a CloudEventExecutionStart 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 WorkflowExecutionEvent. */ + interface IWorkflowExecutionEvent { + + /** WorkflowExecutionEvent executionId */ + executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** WorkflowExecutionEvent producerId */ + producerId?: (string|null); + + /** WorkflowExecutionEvent phase */ + phase?: (flyteidl.core.WorkflowExecution.Phase|null); + + /** WorkflowExecutionEvent occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); + + /** WorkflowExecutionEvent outputUri */ + outputUri?: (string|null); + + /** WorkflowExecutionEvent error */ + error?: (flyteidl.core.IExecutionError|null); + + /** WorkflowExecutionEvent outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); + } + + /** Represents a WorkflowExecutionEvent. */ + class WorkflowExecutionEvent implements IWorkflowExecutionEvent { + + /** + * Constructs a new WorkflowExecutionEvent. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.IWorkflowExecutionEvent); + + /** WorkflowExecutionEvent executionId. */ + public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** WorkflowExecutionEvent producerId. */ + public producerId: string; + + /** WorkflowExecutionEvent phase. */ + public phase: flyteidl.core.WorkflowExecution.Phase; + + /** WorkflowExecutionEvent occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); + + /** WorkflowExecutionEvent outputUri. */ + public outputUri: string; + + /** WorkflowExecutionEvent error. */ + public error?: (flyteidl.core.IExecutionError|null); + + /** WorkflowExecutionEvent outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); + + /** WorkflowExecutionEvent outputResult. */ + public outputResult?: ("outputUri"|"error"|"outputData"); + + /** + * Creates a new WorkflowExecutionEvent instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowExecutionEvent instance + */ + public static create(properties?: flyteidl.event.IWorkflowExecutionEvent): flyteidl.event.WorkflowExecutionEvent; + + /** + * Encodes the specified WorkflowExecutionEvent message. Does not implicitly {@link flyteidl.event.WorkflowExecutionEvent.verify|verify} messages. + * @param message WorkflowExecutionEvent message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.IWorkflowExecutionEvent, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowExecutionEvent message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowExecutionEvent + * @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.event.WorkflowExecutionEvent; + + /** + * Verifies a WorkflowExecutionEvent 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 NodeExecutionEvent. */ + interface INodeExecutionEvent { + + /** NodeExecutionEvent id */ + id?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** NodeExecutionEvent producerId */ + producerId?: (string|null); + + /** NodeExecutionEvent phase */ + phase?: (flyteidl.core.NodeExecution.Phase|null); + + /** NodeExecutionEvent occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionEvent inputUri */ + inputUri?: (string|null); + + /** NodeExecutionEvent inputData */ + inputData?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionEvent outputUri */ + outputUri?: (string|null); + + /** NodeExecutionEvent error */ + error?: (flyteidl.core.IExecutionError|null); + + /** NodeExecutionEvent outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionEvent workflowNodeMetadata */ + workflowNodeMetadata?: (flyteidl.event.IWorkflowNodeMetadata|null); + + /** NodeExecutionEvent taskNodeMetadata */ + taskNodeMetadata?: (flyteidl.event.ITaskNodeMetadata|null); + + /** NodeExecutionEvent parentTaskMetadata */ + parentTaskMetadata?: (flyteidl.event.IParentTaskExecutionMetadata|null); + + /** NodeExecutionEvent parentNodeMetadata */ + parentNodeMetadata?: (flyteidl.event.IParentNodeExecutionMetadata|null); + + /** NodeExecutionEvent retryGroup */ + retryGroup?: (string|null); + + /** NodeExecutionEvent specNodeId */ + specNodeId?: (string|null); + + /** NodeExecutionEvent nodeName */ + nodeName?: (string|null); + + /** NodeExecutionEvent eventVersion */ + eventVersion?: (number|null); + + /** NodeExecutionEvent isParent */ + isParent?: (boolean|null); + + /** NodeExecutionEvent isDynamic */ + isDynamic?: (boolean|null); + + /** NodeExecutionEvent deckUri */ + deckUri?: (string|null); + + /** NodeExecutionEvent reportedAt */ + reportedAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionEvent isArray */ + isArray?: (boolean|null); + + /** NodeExecutionEvent targetEntity */ + targetEntity?: (flyteidl.core.IIdentifier|null); + + /** NodeExecutionEvent isInDynamicChain */ + isInDynamicChain?: (boolean|null); + + /** NodeExecutionEvent isEager */ + isEager?: (boolean|null); + } + + /** Represents a NodeExecutionEvent. */ + class NodeExecutionEvent implements INodeExecutionEvent { + + /** + * Constructs a new NodeExecutionEvent. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.INodeExecutionEvent); + + /** NodeExecutionEvent id. */ + public id?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** NodeExecutionEvent producerId. */ + public producerId: string; + + /** NodeExecutionEvent phase. */ + public phase: flyteidl.core.NodeExecution.Phase; + + /** NodeExecutionEvent occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionEvent inputUri. */ + public inputUri: string; + + /** NodeExecutionEvent inputData. */ + public inputData?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionEvent outputUri. */ + public outputUri: string; + + /** NodeExecutionEvent error. */ + public error?: (flyteidl.core.IExecutionError|null); + + /** NodeExecutionEvent outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionEvent workflowNodeMetadata. */ + public workflowNodeMetadata?: (flyteidl.event.IWorkflowNodeMetadata|null); + + /** NodeExecutionEvent taskNodeMetadata. */ + public taskNodeMetadata?: (flyteidl.event.ITaskNodeMetadata|null); + + /** NodeExecutionEvent parentTaskMetadata. */ + public parentTaskMetadata?: (flyteidl.event.IParentTaskExecutionMetadata|null); + + /** NodeExecutionEvent parentNodeMetadata. */ + public parentNodeMetadata?: (flyteidl.event.IParentNodeExecutionMetadata|null); + + /** NodeExecutionEvent retryGroup. */ + public retryGroup: string; + + /** NodeExecutionEvent specNodeId. */ + public specNodeId: string; + + /** NodeExecutionEvent nodeName. */ + public nodeName: string; + + /** NodeExecutionEvent eventVersion. */ + public eventVersion: number; + + /** NodeExecutionEvent isParent. */ + public isParent: boolean; + + /** NodeExecutionEvent isDynamic. */ + public isDynamic: boolean; + + /** NodeExecutionEvent deckUri. */ + public deckUri: string; + + /** NodeExecutionEvent reportedAt. */ + public reportedAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionEvent isArray. */ + public isArray: boolean; + + /** NodeExecutionEvent targetEntity. */ + public targetEntity?: (flyteidl.core.IIdentifier|null); + + /** NodeExecutionEvent isInDynamicChain. */ + public isInDynamicChain: boolean; + + /** NodeExecutionEvent isEager. */ + public isEager: boolean; + + /** NodeExecutionEvent inputValue. */ + public inputValue?: ("inputUri"|"inputData"); + + /** NodeExecutionEvent outputResult. */ + public outputResult?: ("outputUri"|"error"|"outputData"); + + /** NodeExecutionEvent targetMetadata. */ + public targetMetadata?: ("workflowNodeMetadata"|"taskNodeMetadata"); + + /** + * Creates a new NodeExecutionEvent instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecutionEvent instance + */ + public static create(properties?: flyteidl.event.INodeExecutionEvent): flyteidl.event.NodeExecutionEvent; + + /** + * Encodes the specified NodeExecutionEvent message. Does not implicitly {@link flyteidl.event.NodeExecutionEvent.verify|verify} messages. + * @param message NodeExecutionEvent message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.INodeExecutionEvent, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NodeExecutionEvent message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NodeExecutionEvent + * @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.event.NodeExecutionEvent; + + /** + * Verifies a NodeExecutionEvent 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 WorkflowNodeMetadata. */ + interface IWorkflowNodeMetadata { + + /** WorkflowNodeMetadata executionId */ + executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + } + + /** Represents a WorkflowNodeMetadata. */ + class WorkflowNodeMetadata implements IWorkflowNodeMetadata { + + /** + * Constructs a new WorkflowNodeMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.IWorkflowNodeMetadata); + + /** WorkflowNodeMetadata executionId. */ + public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** + * Creates a new WorkflowNodeMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowNodeMetadata instance + */ + public static create(properties?: flyteidl.event.IWorkflowNodeMetadata): flyteidl.event.WorkflowNodeMetadata; + + /** + * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.event.WorkflowNodeMetadata.verify|verify} messages. + * @param message WorkflowNodeMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.IWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowNodeMetadata + * @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.event.WorkflowNodeMetadata; + + /** + * Verifies a WorkflowNodeMetadata 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 TaskNodeMetadata. */ + interface ITaskNodeMetadata { + + /** TaskNodeMetadata cacheStatus */ + cacheStatus?: (flyteidl.core.CatalogCacheStatus|null); + + /** TaskNodeMetadata catalogKey */ + catalogKey?: (flyteidl.core.ICatalogMetadata|null); + + /** TaskNodeMetadata reservationStatus */ + reservationStatus?: (flyteidl.core.CatalogReservation.Status|null); + + /** TaskNodeMetadata checkpointUri */ + checkpointUri?: (string|null); + + /** TaskNodeMetadata dynamicWorkflow */ + dynamicWorkflow?: (flyteidl.event.IDynamicWorkflowNodeMetadata|null); + } + + /** Represents a TaskNodeMetadata. */ + class TaskNodeMetadata implements ITaskNodeMetadata { + + /** + * Constructs a new TaskNodeMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.ITaskNodeMetadata); + + /** TaskNodeMetadata cacheStatus. */ + public cacheStatus: flyteidl.core.CatalogCacheStatus; + + /** TaskNodeMetadata catalogKey. */ + public catalogKey?: (flyteidl.core.ICatalogMetadata|null); + + /** TaskNodeMetadata reservationStatus. */ + public reservationStatus: flyteidl.core.CatalogReservation.Status; + + /** TaskNodeMetadata checkpointUri. */ + public checkpointUri: string; + + /** TaskNodeMetadata dynamicWorkflow. */ + public dynamicWorkflow?: (flyteidl.event.IDynamicWorkflowNodeMetadata|null); + + /** + * Creates a new TaskNodeMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskNodeMetadata instance + */ + public static create(properties?: flyteidl.event.ITaskNodeMetadata): flyteidl.event.TaskNodeMetadata; + + /** + * Encodes the specified TaskNodeMetadata message. Does not implicitly {@link flyteidl.event.TaskNodeMetadata.verify|verify} messages. + * @param message TaskNodeMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.ITaskNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskNodeMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskNodeMetadata + * @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.event.TaskNodeMetadata; + + /** + * Verifies a TaskNodeMetadata 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 DynamicWorkflowNodeMetadata. */ + interface IDynamicWorkflowNodeMetadata { + + /** DynamicWorkflowNodeMetadata id */ + id?: (flyteidl.core.IIdentifier|null); + + /** DynamicWorkflowNodeMetadata compiledWorkflow */ + compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri */ + dynamicJobSpecUri?: (string|null); + } + + /** Represents a DynamicWorkflowNodeMetadata. */ + class DynamicWorkflowNodeMetadata implements IDynamicWorkflowNodeMetadata { + + /** + * Constructs a new DynamicWorkflowNodeMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.IDynamicWorkflowNodeMetadata); + + /** DynamicWorkflowNodeMetadata id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** DynamicWorkflowNodeMetadata compiledWorkflow. */ + public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri. */ + public dynamicJobSpecUri: string; + + /** + * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns DynamicWorkflowNodeMetadata instance + */ + public static create(properties?: flyteidl.event.IDynamicWorkflowNodeMetadata): flyteidl.event.DynamicWorkflowNodeMetadata; + + /** + * Encodes the specified DynamicWorkflowNodeMetadata message. Does not implicitly {@link flyteidl.event.DynamicWorkflowNodeMetadata.verify|verify} messages. + * @param message DynamicWorkflowNodeMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.IDynamicWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DynamicWorkflowNodeMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DynamicWorkflowNodeMetadata + * @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.event.DynamicWorkflowNodeMetadata; + + /** + * Verifies a DynamicWorkflowNodeMetadata 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 ParentTaskExecutionMetadata. */ + interface IParentTaskExecutionMetadata { + + /** ParentTaskExecutionMetadata id */ + id?: (flyteidl.core.ITaskExecutionIdentifier|null); + } + + /** Represents a ParentTaskExecutionMetadata. */ + class ParentTaskExecutionMetadata implements IParentTaskExecutionMetadata { + + /** + * Constructs a new ParentTaskExecutionMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.IParentTaskExecutionMetadata); + + /** ParentTaskExecutionMetadata id. */ + public id?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** + * Creates a new ParentTaskExecutionMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns ParentTaskExecutionMetadata instance + */ + public static create(properties?: flyteidl.event.IParentTaskExecutionMetadata): flyteidl.event.ParentTaskExecutionMetadata; + + /** + * Encodes the specified ParentTaskExecutionMetadata message. Does not implicitly {@link flyteidl.event.ParentTaskExecutionMetadata.verify|verify} messages. + * @param message ParentTaskExecutionMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.IParentTaskExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ParentTaskExecutionMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ParentTaskExecutionMetadata + * @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.event.ParentTaskExecutionMetadata; + + /** + * Verifies a ParentTaskExecutionMetadata 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 ParentNodeExecutionMetadata. */ + interface IParentNodeExecutionMetadata { + + /** ParentNodeExecutionMetadata nodeId */ + nodeId?: (string|null); + } + + /** Represents a ParentNodeExecutionMetadata. */ + class ParentNodeExecutionMetadata implements IParentNodeExecutionMetadata { + + /** + * Constructs a new ParentNodeExecutionMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.IParentNodeExecutionMetadata); + + /** ParentNodeExecutionMetadata nodeId. */ + public nodeId: string; + + /** + * Creates a new ParentNodeExecutionMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns ParentNodeExecutionMetadata instance + */ + public static create(properties?: flyteidl.event.IParentNodeExecutionMetadata): flyteidl.event.ParentNodeExecutionMetadata; + + /** + * Encodes the specified ParentNodeExecutionMetadata message. Does not implicitly {@link flyteidl.event.ParentNodeExecutionMetadata.verify|verify} messages. + * @param message ParentNodeExecutionMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.IParentNodeExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ParentNodeExecutionMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ParentNodeExecutionMetadata + * @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.event.ParentNodeExecutionMetadata; + + /** + * Verifies a ParentNodeExecutionMetadata 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 EventReason. */ + interface IEventReason { + + /** EventReason reason */ + reason?: (string|null); + + /** EventReason occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); + } + + /** Represents an EventReason. */ + class EventReason implements IEventReason { + + /** + * Constructs a new EventReason. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.IEventReason); + + /** EventReason reason. */ + public reason: string; + + /** EventReason occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); + + /** + * Creates a new EventReason instance using the specified properties. + * @param [properties] Properties to set + * @returns EventReason instance + */ + public static create(properties?: flyteidl.event.IEventReason): flyteidl.event.EventReason; + + /** + * Encodes the specified EventReason message. Does not implicitly {@link flyteidl.event.EventReason.verify|verify} messages. + * @param message EventReason message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.IEventReason, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EventReason message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EventReason + * @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.event.EventReason; + + /** + * Verifies an EventReason 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 TaskExecutionEvent. */ + interface ITaskExecutionEvent { + + /** TaskExecutionEvent taskId */ + taskId?: (flyteidl.core.IIdentifier|null); + + /** TaskExecutionEvent parentNodeExecutionId */ + parentNodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** TaskExecutionEvent retryAttempt */ + retryAttempt?: (number|null); + + /** TaskExecutionEvent phase */ + phase?: (flyteidl.core.TaskExecution.Phase|null); + + /** TaskExecutionEvent producerId */ + producerId?: (string|null); + + /** TaskExecutionEvent logs */ + logs?: (flyteidl.core.ITaskLog[]|null); + + /** TaskExecutionEvent occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionEvent inputUri */ + inputUri?: (string|null); + + /** TaskExecutionEvent inputData */ + inputData?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionEvent outputUri */ + outputUri?: (string|null); + + /** TaskExecutionEvent error */ + error?: (flyteidl.core.IExecutionError|null); + + /** TaskExecutionEvent outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionEvent customInfo */ + customInfo?: (google.protobuf.IStruct|null); + + /** TaskExecutionEvent phaseVersion */ + phaseVersion?: (number|null); + + /** TaskExecutionEvent reason */ + reason?: (string|null); + + /** TaskExecutionEvent reasons */ + reasons?: (flyteidl.event.IEventReason[]|null); + + /** TaskExecutionEvent taskType */ + taskType?: (string|null); + + /** TaskExecutionEvent metadata */ + metadata?: (flyteidl.event.ITaskExecutionMetadata|null); + + /** TaskExecutionEvent eventVersion */ + eventVersion?: (number|null); + + /** TaskExecutionEvent reportedAt */ + reportedAt?: (google.protobuf.ITimestamp|null); + } + + /** Represents a TaskExecutionEvent. */ + class TaskExecutionEvent implements ITaskExecutionEvent { + + /** + * Constructs a new TaskExecutionEvent. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.ITaskExecutionEvent); + + /** TaskExecutionEvent taskId. */ + public taskId?: (flyteidl.core.IIdentifier|null); + + /** TaskExecutionEvent parentNodeExecutionId. */ + public parentNodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** TaskExecutionEvent retryAttempt. */ + public retryAttempt: number; + + /** TaskExecutionEvent phase. */ + public phase: flyteidl.core.TaskExecution.Phase; + + /** TaskExecutionEvent producerId. */ + public producerId: string; + + /** TaskExecutionEvent logs. */ + public logs: flyteidl.core.ITaskLog[]; + + /** TaskExecutionEvent occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionEvent inputUri. */ + public inputUri: string; + + /** TaskExecutionEvent inputData. */ + public inputData?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionEvent outputUri. */ + public outputUri: string; + + /** TaskExecutionEvent error. */ + public error?: (flyteidl.core.IExecutionError|null); + + /** TaskExecutionEvent outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionEvent customInfo. */ + public customInfo?: (google.protobuf.IStruct|null); + + /** TaskExecutionEvent phaseVersion. */ + public phaseVersion: number; + + /** TaskExecutionEvent reason. */ + public reason: string; + + /** TaskExecutionEvent reasons. */ + public reasons: flyteidl.event.IEventReason[]; + + /** TaskExecutionEvent taskType. */ + public taskType: string; + + /** TaskExecutionEvent metadata. */ + public metadata?: (flyteidl.event.ITaskExecutionMetadata|null); + + /** TaskExecutionEvent eventVersion. */ + public eventVersion: number; + + /** TaskExecutionEvent reportedAt. */ + public reportedAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionEvent inputValue. */ + public inputValue?: ("inputUri"|"inputData"); + + /** TaskExecutionEvent outputResult. */ + public outputResult?: ("outputUri"|"error"|"outputData"); + + /** + * Creates a new TaskExecutionEvent instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskExecutionEvent instance + */ + public static create(properties?: flyteidl.event.ITaskExecutionEvent): flyteidl.event.TaskExecutionEvent; + + /** + * Encodes the specified TaskExecutionEvent message. Does not implicitly {@link flyteidl.event.TaskExecutionEvent.verify|verify} messages. + * @param message TaskExecutionEvent message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.ITaskExecutionEvent, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskExecutionEvent message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskExecutionEvent + * @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.event.TaskExecutionEvent; + + /** + * Verifies a TaskExecutionEvent 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 ExternalResourceInfo. */ + interface IExternalResourceInfo { + + /** ExternalResourceInfo externalId */ + externalId?: (string|null); + + /** ExternalResourceInfo index */ + index?: (number|null); + + /** ExternalResourceInfo retryAttempt */ + retryAttempt?: (number|null); + + /** ExternalResourceInfo phase */ + phase?: (flyteidl.core.TaskExecution.Phase|null); + + /** ExternalResourceInfo cacheStatus */ + cacheStatus?: (flyteidl.core.CatalogCacheStatus|null); + + /** ExternalResourceInfo logs */ + logs?: (flyteidl.core.ITaskLog[]|null); + + /** ExternalResourceInfo workflowNodeMetadata */ + workflowNodeMetadata?: (flyteidl.event.IWorkflowNodeMetadata|null); + + /** ExternalResourceInfo customInfo */ + customInfo?: (google.protobuf.IStruct|null); + } + + /** Represents an ExternalResourceInfo. */ + class ExternalResourceInfo implements IExternalResourceInfo { + + /** + * Constructs a new ExternalResourceInfo. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.IExternalResourceInfo); + + /** ExternalResourceInfo externalId. */ + public externalId: string; + + /** ExternalResourceInfo index. */ + public index: number; + + /** ExternalResourceInfo retryAttempt. */ + public retryAttempt: number; + + /** ExternalResourceInfo phase. */ + public phase: flyteidl.core.TaskExecution.Phase; + + /** ExternalResourceInfo cacheStatus. */ + public cacheStatus: flyteidl.core.CatalogCacheStatus; + + /** ExternalResourceInfo logs. */ + public logs: flyteidl.core.ITaskLog[]; + + /** ExternalResourceInfo workflowNodeMetadata. */ + public workflowNodeMetadata?: (flyteidl.event.IWorkflowNodeMetadata|null); + + /** ExternalResourceInfo customInfo. */ + public customInfo?: (google.protobuf.IStruct|null); + + /** ExternalResourceInfo targetMetadata. */ + public targetMetadata?: "workflowNodeMetadata"; + + /** + * Creates a new ExternalResourceInfo instance using the specified properties. + * @param [properties] Properties to set + * @returns ExternalResourceInfo instance + */ + public static create(properties?: flyteidl.event.IExternalResourceInfo): flyteidl.event.ExternalResourceInfo; + + /** + * Encodes the specified ExternalResourceInfo message. Does not implicitly {@link flyteidl.event.ExternalResourceInfo.verify|verify} messages. + * @param message ExternalResourceInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.IExternalResourceInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExternalResourceInfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExternalResourceInfo + * @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.event.ExternalResourceInfo; + + /** + * Verifies an ExternalResourceInfo 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 ResourcePoolInfo. */ + interface IResourcePoolInfo { + + /** ResourcePoolInfo allocationToken */ + allocationToken?: (string|null); + + /** ResourcePoolInfo namespace */ + namespace?: (string|null); + } + + /** Represents a ResourcePoolInfo. */ + class ResourcePoolInfo implements IResourcePoolInfo { + + /** + * Constructs a new ResourcePoolInfo. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.IResourcePoolInfo); + + /** ResourcePoolInfo allocationToken. */ + public allocationToken: string; + + /** ResourcePoolInfo namespace. */ + public namespace: string; + + /** + * Creates a new ResourcePoolInfo instance using the specified properties. + * @param [properties] Properties to set + * @returns ResourcePoolInfo instance + */ + public static create(properties?: flyteidl.event.IResourcePoolInfo): flyteidl.event.ResourcePoolInfo; + + /** + * Encodes the specified ResourcePoolInfo message. Does not implicitly {@link flyteidl.event.ResourcePoolInfo.verify|verify} messages. + * @param message ResourcePoolInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.IResourcePoolInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResourcePoolInfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResourcePoolInfo + * @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.event.ResourcePoolInfo; + + /** + * Verifies a ResourcePoolInfo 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 TaskExecutionMetadata. */ + interface ITaskExecutionMetadata { + + /** TaskExecutionMetadata generatedName */ + generatedName?: (string|null); + + /** TaskExecutionMetadata externalResources */ + externalResources?: (flyteidl.event.IExternalResourceInfo[]|null); + + /** TaskExecutionMetadata resourcePoolInfo */ + resourcePoolInfo?: (flyteidl.event.IResourcePoolInfo[]|null); + + /** TaskExecutionMetadata pluginIdentifier */ + pluginIdentifier?: (string|null); + + /** TaskExecutionMetadata instanceClass */ + instanceClass?: (flyteidl.event.TaskExecutionMetadata.InstanceClass|null); + } + + /** Represents a TaskExecutionMetadata. */ + class TaskExecutionMetadata implements ITaskExecutionMetadata { + + /** + * Constructs a new TaskExecutionMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.event.ITaskExecutionMetadata); + + /** TaskExecutionMetadata generatedName. */ + public generatedName: string; + + /** TaskExecutionMetadata externalResources. */ + public externalResources: flyteidl.event.IExternalResourceInfo[]; + + /** TaskExecutionMetadata resourcePoolInfo. */ + public resourcePoolInfo: flyteidl.event.IResourcePoolInfo[]; + + /** TaskExecutionMetadata pluginIdentifier. */ + public pluginIdentifier: string; + + /** TaskExecutionMetadata instanceClass. */ + public instanceClass: flyteidl.event.TaskExecutionMetadata.InstanceClass; + + /** + * Creates a new TaskExecutionMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskExecutionMetadata instance + */ + public static create(properties?: flyteidl.event.ITaskExecutionMetadata): flyteidl.event.TaskExecutionMetadata; + + /** + * Encodes the specified TaskExecutionMetadata message. Does not implicitly {@link flyteidl.event.TaskExecutionMetadata.verify|verify} messages. + * @param message TaskExecutionMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.event.ITaskExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskExecutionMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskExecutionMetadata + * @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.event.TaskExecutionMetadata; + + /** + * Verifies a TaskExecutionMetadata 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 TaskExecutionMetadata { + + /** InstanceClass enum. */ + enum InstanceClass { + DEFAULT = 0, + INTERRUPTIBLE = 1 + } + } + } + + /** Namespace admin. */ + namespace admin { + + /** State enum. */ + enum State { + RETRYABLE_FAILURE = 0, + PERMANENT_FAILURE = 1, + PENDING = 2, + RUNNING = 3, + SUCCEEDED = 4 + } + + /** Properties of a TaskExecutionMetadata. */ + interface ITaskExecutionMetadata { + + /** TaskExecutionMetadata taskExecutionId */ + taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** TaskExecutionMetadata namespace */ + namespace?: (string|null); + + /** TaskExecutionMetadata labels */ + labels?: ({ [k: string]: string }|null); + + /** TaskExecutionMetadata annotations */ + annotations?: ({ [k: string]: string }|null); + + /** TaskExecutionMetadata k8sServiceAccount */ + k8sServiceAccount?: (string|null); + + /** TaskExecutionMetadata environmentVariables */ + environmentVariables?: ({ [k: string]: string }|null); + + /** TaskExecutionMetadata maxAttempts */ + maxAttempts?: (number|null); + + /** TaskExecutionMetadata interruptible */ + interruptible?: (boolean|null); + + /** TaskExecutionMetadata interruptibleFailureThreshold */ + interruptibleFailureThreshold?: (number|null); + + /** TaskExecutionMetadata overrides */ + overrides?: (flyteidl.core.ITaskNodeOverrides|null); + + /** TaskExecutionMetadata identity */ + identity?: (flyteidl.core.IIdentity|null); + } + + /** Represents a TaskExecutionMetadata. */ + class TaskExecutionMetadata implements ITaskExecutionMetadata { + + /** + * Constructs a new TaskExecutionMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskExecutionMetadata); + + /** TaskExecutionMetadata taskExecutionId. */ + public taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** TaskExecutionMetadata namespace. */ + public namespace: string; + + /** TaskExecutionMetadata labels. */ + public labels: { [k: string]: string }; + + /** TaskExecutionMetadata annotations. */ + public annotations: { [k: string]: string }; + + /** TaskExecutionMetadata k8sServiceAccount. */ + public k8sServiceAccount: string; + + /** TaskExecutionMetadata environmentVariables. */ + public environmentVariables: { [k: string]: string }; + + /** TaskExecutionMetadata maxAttempts. */ + public maxAttempts: number; + + /** TaskExecutionMetadata interruptible. */ + public interruptible: boolean; + + /** TaskExecutionMetadata interruptibleFailureThreshold. */ + public interruptibleFailureThreshold: number; + + /** TaskExecutionMetadata overrides. */ + public overrides?: (flyteidl.core.ITaskNodeOverrides|null); + + /** TaskExecutionMetadata identity. */ + public identity?: (flyteidl.core.IIdentity|null); + + /** + * Creates a new TaskExecutionMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskExecutionMetadata instance + */ + public static create(properties?: flyteidl.admin.ITaskExecutionMetadata): flyteidl.admin.TaskExecutionMetadata; + + /** + * Encodes the specified TaskExecutionMetadata message. Does not implicitly {@link flyteidl.admin.TaskExecutionMetadata.verify|verify} messages. + * @param message TaskExecutionMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskExecutionMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskExecutionMetadata + * @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.admin.TaskExecutionMetadata; + + /** + * Verifies a TaskExecutionMetadata 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 CreateTaskRequest. */ + interface ICreateTaskRequest { + + /** CreateTaskRequest inputs */ + inputs?: (flyteidl.core.ILiteralMap|null); + + /** CreateTaskRequest template */ + template?: (flyteidl.core.ITaskTemplate|null); + + /** CreateTaskRequest outputPrefix */ + outputPrefix?: (string|null); + + /** CreateTaskRequest taskExecutionMetadata */ + taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); + } + + /** Represents a CreateTaskRequest. */ + class CreateTaskRequest implements ICreateTaskRequest { + + /** + * Constructs a new CreateTaskRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ICreateTaskRequest); + + /** CreateTaskRequest inputs. */ + public inputs?: (flyteidl.core.ILiteralMap|null); + + /** CreateTaskRequest template. */ + public template?: (flyteidl.core.ITaskTemplate|null); + + /** CreateTaskRequest outputPrefix. */ + public outputPrefix: string; + + /** CreateTaskRequest taskExecutionMetadata. */ + public taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); + + /** + * Creates a new CreateTaskRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateTaskRequest instance + */ + public static create(properties?: flyteidl.admin.ICreateTaskRequest): flyteidl.admin.CreateTaskRequest; + + /** + * Encodes the specified CreateTaskRequest message. Does not implicitly {@link flyteidl.admin.CreateTaskRequest.verify|verify} messages. + * @param message CreateTaskRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ICreateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateTaskRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateTaskRequest + * @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.admin.CreateTaskRequest; + + /** + * Verifies a CreateTaskRequest 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 CreateTaskResponse. */ + interface ICreateTaskResponse { + + /** CreateTaskResponse resourceMeta */ + resourceMeta?: (Uint8Array|null); + } + + /** Represents a CreateTaskResponse. */ + class CreateTaskResponse implements ICreateTaskResponse { + + /** + * Constructs a new CreateTaskResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ICreateTaskResponse); + + /** CreateTaskResponse resourceMeta. */ + public resourceMeta: Uint8Array; + + /** + * Creates a new CreateTaskResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateTaskResponse instance + */ + public static create(properties?: flyteidl.admin.ICreateTaskResponse): flyteidl.admin.CreateTaskResponse; + + /** + * Encodes the specified CreateTaskResponse message. Does not implicitly {@link flyteidl.admin.CreateTaskResponse.verify|verify} messages. + * @param message CreateTaskResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ICreateTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateTaskResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateTaskResponse + * @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.admin.CreateTaskResponse; + + /** + * Verifies a CreateTaskResponse 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 CreateRequestHeader. */ + interface ICreateRequestHeader { + + /** CreateRequestHeader template */ + template?: (flyteidl.core.ITaskTemplate|null); + + /** CreateRequestHeader outputPrefix */ + outputPrefix?: (string|null); + + /** CreateRequestHeader taskExecutionMetadata */ + taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); + + /** CreateRequestHeader maxDatasetSizeBytes */ + maxDatasetSizeBytes?: (Long|null); + } + + /** Represents a CreateRequestHeader. */ + class CreateRequestHeader implements ICreateRequestHeader { + + /** + * Constructs a new CreateRequestHeader. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ICreateRequestHeader); + + /** CreateRequestHeader template. */ + public template?: (flyteidl.core.ITaskTemplate|null); + + /** CreateRequestHeader outputPrefix. */ + public outputPrefix: string; + + /** CreateRequestHeader taskExecutionMetadata. */ + public taskExecutionMetadata?: (flyteidl.admin.ITaskExecutionMetadata|null); + + /** CreateRequestHeader maxDatasetSizeBytes. */ + public maxDatasetSizeBytes: Long; + + /** + * Creates a new CreateRequestHeader instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateRequestHeader instance + */ + public static create(properties?: flyteidl.admin.ICreateRequestHeader): flyteidl.admin.CreateRequestHeader; + + /** + * Encodes the specified CreateRequestHeader message. Does not implicitly {@link flyteidl.admin.CreateRequestHeader.verify|verify} messages. + * @param message CreateRequestHeader message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ICreateRequestHeader, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateRequestHeader message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateRequestHeader + * @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.admin.CreateRequestHeader; + + /** + * Verifies a CreateRequestHeader 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 ExecuteTaskSyncRequest. */ + interface IExecuteTaskSyncRequest { + + /** ExecuteTaskSyncRequest header */ + header?: (flyteidl.admin.ICreateRequestHeader|null); + + /** ExecuteTaskSyncRequest inputs */ + inputs?: (flyteidl.core.ILiteralMap|null); + } + + /** Represents an ExecuteTaskSyncRequest. */ + class ExecuteTaskSyncRequest implements IExecuteTaskSyncRequest { + + /** + * Constructs a new ExecuteTaskSyncRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecuteTaskSyncRequest); + + /** ExecuteTaskSyncRequest header. */ + public header?: (flyteidl.admin.ICreateRequestHeader|null); + + /** ExecuteTaskSyncRequest inputs. */ + public inputs?: (flyteidl.core.ILiteralMap|null); + + /** ExecuteTaskSyncRequest part. */ + public part?: ("header"|"inputs"); + + /** + * Creates a new ExecuteTaskSyncRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteTaskSyncRequest instance + */ + public static create(properties?: flyteidl.admin.IExecuteTaskSyncRequest): flyteidl.admin.ExecuteTaskSyncRequest; + + /** + * Encodes the specified ExecuteTaskSyncRequest message. Does not implicitly {@link flyteidl.admin.ExecuteTaskSyncRequest.verify|verify} messages. + * @param message ExecuteTaskSyncRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecuteTaskSyncRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteTaskSyncRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteTaskSyncRequest + * @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.admin.ExecuteTaskSyncRequest; + + /** + * Verifies an ExecuteTaskSyncRequest 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 ExecuteTaskSyncResponseHeader. */ + interface IExecuteTaskSyncResponseHeader { + + /** ExecuteTaskSyncResponseHeader resource */ + resource?: (flyteidl.admin.IResource|null); + } + + /** Represents an ExecuteTaskSyncResponseHeader. */ + class ExecuteTaskSyncResponseHeader implements IExecuteTaskSyncResponseHeader { + + /** + * Constructs a new ExecuteTaskSyncResponseHeader. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecuteTaskSyncResponseHeader); + + /** ExecuteTaskSyncResponseHeader resource. */ + public resource?: (flyteidl.admin.IResource|null); + + /** + * Creates a new ExecuteTaskSyncResponseHeader instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteTaskSyncResponseHeader instance + */ + public static create(properties?: flyteidl.admin.IExecuteTaskSyncResponseHeader): flyteidl.admin.ExecuteTaskSyncResponseHeader; + + /** + * Encodes the specified ExecuteTaskSyncResponseHeader message. Does not implicitly {@link flyteidl.admin.ExecuteTaskSyncResponseHeader.verify|verify} messages. + * @param message ExecuteTaskSyncResponseHeader message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecuteTaskSyncResponseHeader, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteTaskSyncResponseHeader message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteTaskSyncResponseHeader + * @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.admin.ExecuteTaskSyncResponseHeader; + + /** + * Verifies an ExecuteTaskSyncResponseHeader 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 ExecuteTaskSyncResponse. */ + interface IExecuteTaskSyncResponse { + + /** ExecuteTaskSyncResponse header */ + header?: (flyteidl.admin.IExecuteTaskSyncResponseHeader|null); + + /** ExecuteTaskSyncResponse outputs */ + outputs?: (flyteidl.core.ILiteralMap|null); + } + + /** Represents an ExecuteTaskSyncResponse. */ + class ExecuteTaskSyncResponse implements IExecuteTaskSyncResponse { + + /** + * Constructs a new ExecuteTaskSyncResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecuteTaskSyncResponse); + + /** ExecuteTaskSyncResponse header. */ + public header?: (flyteidl.admin.IExecuteTaskSyncResponseHeader|null); + + /** ExecuteTaskSyncResponse outputs. */ + public outputs?: (flyteidl.core.ILiteralMap|null); + + /** ExecuteTaskSyncResponse res. */ + public res?: ("header"|"outputs"); + + /** + * Creates a new ExecuteTaskSyncResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecuteTaskSyncResponse instance + */ + public static create(properties?: flyteidl.admin.IExecuteTaskSyncResponse): flyteidl.admin.ExecuteTaskSyncResponse; + + /** + * Encodes the specified ExecuteTaskSyncResponse message. Does not implicitly {@link flyteidl.admin.ExecuteTaskSyncResponse.verify|verify} messages. + * @param message ExecuteTaskSyncResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecuteTaskSyncResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecuteTaskSyncResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecuteTaskSyncResponse + * @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.admin.ExecuteTaskSyncResponse; + + /** + * Verifies an ExecuteTaskSyncResponse 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 GetTaskRequest. */ + interface IGetTaskRequest { + + /** GetTaskRequest taskType */ + taskType?: (string|null); + + /** GetTaskRequest resourceMeta */ + resourceMeta?: (Uint8Array|null); + + /** GetTaskRequest taskCategory */ + taskCategory?: (flyteidl.admin.ITaskCategory|null); + } + + /** Represents a GetTaskRequest. */ + class GetTaskRequest implements IGetTaskRequest { + + /** + * Constructs a new GetTaskRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGetTaskRequest); + + /** GetTaskRequest taskType. */ + public taskType: string; + + /** GetTaskRequest resourceMeta. */ + public resourceMeta: Uint8Array; + + /** GetTaskRequest taskCategory. */ + public taskCategory?: (flyteidl.admin.ITaskCategory|null); + + /** + * Creates a new GetTaskRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetTaskRequest instance + */ + public static create(properties?: flyteidl.admin.IGetTaskRequest): flyteidl.admin.GetTaskRequest; + + /** + * Encodes the specified GetTaskRequest message. Does not implicitly {@link flyteidl.admin.GetTaskRequest.verify|verify} messages. + * @param message GetTaskRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGetTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetTaskRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetTaskRequest + * @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.admin.GetTaskRequest; + + /** + * Verifies a GetTaskRequest 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 GetTaskResponse. */ + interface IGetTaskResponse { + + /** GetTaskResponse resource */ + resource?: (flyteidl.admin.IResource|null); + } + + /** Represents a GetTaskResponse. */ + class GetTaskResponse implements IGetTaskResponse { + + /** + * Constructs a new GetTaskResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGetTaskResponse); + + /** GetTaskResponse resource. */ + public resource?: (flyteidl.admin.IResource|null); + + /** + * Creates a new GetTaskResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetTaskResponse instance + */ + public static create(properties?: flyteidl.admin.IGetTaskResponse): flyteidl.admin.GetTaskResponse; + + /** + * Encodes the specified GetTaskResponse message. Does not implicitly {@link flyteidl.admin.GetTaskResponse.verify|verify} messages. + * @param message GetTaskResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGetTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetTaskResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetTaskResponse + * @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.admin.GetTaskResponse; + + /** + * Verifies a GetTaskResponse 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 Resource. */ + interface IResource { + + /** Resource state */ + state?: (flyteidl.admin.State|null); + + /** Resource outputs */ + outputs?: (flyteidl.core.ILiteralMap|null); + + /** Resource message */ + message?: (string|null); + + /** Resource logLinks */ + logLinks?: (flyteidl.core.ITaskLog[]|null); + + /** Resource phase */ + phase?: (flyteidl.core.TaskExecution.Phase|null); + + /** Resource customInfo */ + customInfo?: (google.protobuf.IStruct|null); + + /** Resource agentError */ + agentError?: (flyteidl.admin.IAgentError|null); + } + + /** Represents a Resource. */ + class Resource implements IResource { + + /** + * Constructs a new Resource. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IResource); + + /** Resource state. */ + public state: flyteidl.admin.State; + + /** Resource outputs. */ + public outputs?: (flyteidl.core.ILiteralMap|null); + + /** Resource message. */ + public message: string; + + /** Resource logLinks. */ + public logLinks: flyteidl.core.ITaskLog[]; + + /** Resource phase. */ + public phase: flyteidl.core.TaskExecution.Phase; + + /** Resource customInfo. */ + public customInfo?: (google.protobuf.IStruct|null); + + /** Resource agentError. */ + public agentError?: (flyteidl.admin.IAgentError|null); + + /** + * Creates a new Resource instance using the specified properties. + * @param [properties] Properties to set + * @returns Resource instance + */ + public static create(properties?: flyteidl.admin.IResource): flyteidl.admin.Resource; + + /** + * Encodes the specified Resource message. Does not implicitly {@link flyteidl.admin.Resource.verify|verify} messages. + * @param message Resource message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IResource, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Resource message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Resource + * @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.admin.Resource; + + /** + * Verifies a Resource 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 DeleteTaskRequest. */ + interface IDeleteTaskRequest { + + /** DeleteTaskRequest taskType */ + taskType?: (string|null); + + /** DeleteTaskRequest resourceMeta */ + resourceMeta?: (Uint8Array|null); + + /** DeleteTaskRequest taskCategory */ + taskCategory?: (flyteidl.admin.ITaskCategory|null); + } + + /** Represents a DeleteTaskRequest. */ + class DeleteTaskRequest implements IDeleteTaskRequest { + + /** + * Constructs a new DeleteTaskRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IDeleteTaskRequest); + + /** DeleteTaskRequest taskType. */ + public taskType: string; + + /** DeleteTaskRequest resourceMeta. */ + public resourceMeta: Uint8Array; + + /** DeleteTaskRequest taskCategory. */ + public taskCategory?: (flyteidl.admin.ITaskCategory|null); + + /** + * Creates a new DeleteTaskRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns DeleteTaskRequest instance + */ + public static create(properties?: flyteidl.admin.IDeleteTaskRequest): flyteidl.admin.DeleteTaskRequest; + + /** + * Encodes the specified DeleteTaskRequest message. Does not implicitly {@link flyteidl.admin.DeleteTaskRequest.verify|verify} messages. + * @param message DeleteTaskRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IDeleteTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DeleteTaskRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DeleteTaskRequest + * @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.admin.DeleteTaskRequest; + + /** + * Verifies a DeleteTaskRequest 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 DeleteTaskResponse. */ + interface IDeleteTaskResponse { + } + + /** Represents a DeleteTaskResponse. */ + class DeleteTaskResponse implements IDeleteTaskResponse { + + /** + * Constructs a new DeleteTaskResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IDeleteTaskResponse); + + /** + * Creates a new DeleteTaskResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns DeleteTaskResponse instance + */ + public static create(properties?: flyteidl.admin.IDeleteTaskResponse): flyteidl.admin.DeleteTaskResponse; + + /** + * Encodes the specified DeleteTaskResponse message. Does not implicitly {@link flyteidl.admin.DeleteTaskResponse.verify|verify} messages. + * @param message DeleteTaskResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IDeleteTaskResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DeleteTaskResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DeleteTaskResponse + * @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.admin.DeleteTaskResponse; + + /** + * Verifies a DeleteTaskResponse 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 Agent. */ + interface IAgent { + + /** Agent name */ + name?: (string|null); + + /** Agent supportedTaskTypes */ + supportedTaskTypes?: (string[]|null); + + /** Agent isSync */ + isSync?: (boolean|null); + + /** Agent supportedTaskCategories */ + supportedTaskCategories?: (flyteidl.admin.ITaskCategory[]|null); + } + + /** Represents an Agent. */ + class Agent implements IAgent { + + /** + * Constructs a new Agent. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IAgent); + + /** Agent name. */ + public name: string; + + /** Agent supportedTaskTypes. */ + public supportedTaskTypes: string[]; + + /** Agent isSync. */ + public isSync: boolean; + + /** Agent supportedTaskCategories. */ + public supportedTaskCategories: flyteidl.admin.ITaskCategory[]; + + /** + * Creates a new Agent instance using the specified properties. + * @param [properties] Properties to set + * @returns Agent instance + */ + public static create(properties?: flyteidl.admin.IAgent): flyteidl.admin.Agent; + + /** + * Encodes the specified Agent message. Does not implicitly {@link flyteidl.admin.Agent.verify|verify} messages. + * @param message Agent message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IAgent, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Agent message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Agent + * @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.admin.Agent; + + /** + * Verifies an Agent 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 TaskCategory. */ + interface ITaskCategory { + + /** TaskCategory name */ + name?: (string|null); + + /** TaskCategory version */ + version?: (number|null); + } + + /** Represents a TaskCategory. */ + class TaskCategory implements ITaskCategory { + + /** + * Constructs a new TaskCategory. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskCategory); + + /** TaskCategory name. */ + public name: string; + + /** TaskCategory version. */ + public version: number; + + /** + * Creates a new TaskCategory instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskCategory instance + */ + public static create(properties?: flyteidl.admin.ITaskCategory): flyteidl.admin.TaskCategory; + + /** + * Encodes the specified TaskCategory message. Does not implicitly {@link flyteidl.admin.TaskCategory.verify|verify} messages. + * @param message TaskCategory message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskCategory, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskCategory message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskCategory + * @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.admin.TaskCategory; + + /** + * Verifies a TaskCategory 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 GetAgentRequest. */ + interface IGetAgentRequest { + + /** GetAgentRequest name */ + name?: (string|null); + } + + /** Represents a GetAgentRequest. */ + class GetAgentRequest implements IGetAgentRequest { + + /** + * Constructs a new GetAgentRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGetAgentRequest); + + /** GetAgentRequest name. */ + public name: string; + + /** + * Creates a new GetAgentRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetAgentRequest instance + */ + public static create(properties?: flyteidl.admin.IGetAgentRequest): flyteidl.admin.GetAgentRequest; + + /** + * Encodes the specified GetAgentRequest message. Does not implicitly {@link flyteidl.admin.GetAgentRequest.verify|verify} messages. + * @param message GetAgentRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGetAgentRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetAgentRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetAgentRequest + * @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.admin.GetAgentRequest; + + /** + * Verifies a GetAgentRequest 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 GetAgentResponse. */ + interface IGetAgentResponse { + + /** GetAgentResponse agent */ + agent?: (flyteidl.admin.IAgent|null); + } + + /** Represents a GetAgentResponse. */ + class GetAgentResponse implements IGetAgentResponse { + + /** + * Constructs a new GetAgentResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGetAgentResponse); + + /** GetAgentResponse agent. */ + public agent?: (flyteidl.admin.IAgent|null); + + /** + * Creates a new GetAgentResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetAgentResponse instance + */ + public static create(properties?: flyteidl.admin.IGetAgentResponse): flyteidl.admin.GetAgentResponse; + + /** + * Encodes the specified GetAgentResponse message. Does not implicitly {@link flyteidl.admin.GetAgentResponse.verify|verify} messages. + * @param message GetAgentResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGetAgentResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetAgentResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetAgentResponse + * @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.admin.GetAgentResponse; + + /** + * Verifies a GetAgentResponse 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 ListAgentsRequest. */ + interface IListAgentsRequest { + } + + /** Represents a ListAgentsRequest. */ + class ListAgentsRequest implements IListAgentsRequest { + + /** + * Constructs a new ListAgentsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IListAgentsRequest); + + /** + * Creates a new ListAgentsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ListAgentsRequest instance + */ + public static create(properties?: flyteidl.admin.IListAgentsRequest): flyteidl.admin.ListAgentsRequest; + + /** + * Encodes the specified ListAgentsRequest message. Does not implicitly {@link flyteidl.admin.ListAgentsRequest.verify|verify} messages. + * @param message ListAgentsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IListAgentsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ListAgentsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ListAgentsRequest + * @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.admin.ListAgentsRequest; + + /** + * Verifies a ListAgentsRequest 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 ListAgentsResponse. */ + interface IListAgentsResponse { + + /** ListAgentsResponse agents */ + agents?: (flyteidl.admin.IAgent[]|null); + } + + /** Represents a ListAgentsResponse. */ + class ListAgentsResponse implements IListAgentsResponse { + + /** + * Constructs a new ListAgentsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IListAgentsResponse); + + /** ListAgentsResponse agents. */ + public agents: flyteidl.admin.IAgent[]; + + /** + * Creates a new ListAgentsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ListAgentsResponse instance + */ + public static create(properties?: flyteidl.admin.IListAgentsResponse): flyteidl.admin.ListAgentsResponse; + + /** + * Encodes the specified ListAgentsResponse message. Does not implicitly {@link flyteidl.admin.ListAgentsResponse.verify|verify} messages. + * @param message ListAgentsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IListAgentsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ListAgentsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ListAgentsResponse + * @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.admin.ListAgentsResponse; + + /** + * Verifies a ListAgentsResponse 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 GetTaskMetricsRequest. */ + interface IGetTaskMetricsRequest { + + /** GetTaskMetricsRequest taskType */ + taskType?: (string|null); + + /** GetTaskMetricsRequest resourceMeta */ + resourceMeta?: (Uint8Array|null); + + /** GetTaskMetricsRequest queries */ + queries?: (string[]|null); + + /** GetTaskMetricsRequest startTime */ + startTime?: (google.protobuf.ITimestamp|null); + + /** GetTaskMetricsRequest endTime */ + endTime?: (google.protobuf.ITimestamp|null); + + /** GetTaskMetricsRequest step */ + step?: (google.protobuf.IDuration|null); + + /** GetTaskMetricsRequest taskCategory */ + taskCategory?: (flyteidl.admin.ITaskCategory|null); + } + + /** Represents a GetTaskMetricsRequest. */ + class GetTaskMetricsRequest implements IGetTaskMetricsRequest { + + /** + * Constructs a new GetTaskMetricsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGetTaskMetricsRequest); + + /** GetTaskMetricsRequest taskType. */ + public taskType: string; + + /** GetTaskMetricsRequest resourceMeta. */ + public resourceMeta: Uint8Array; + + /** GetTaskMetricsRequest queries. */ + public queries: string[]; + + /** GetTaskMetricsRequest startTime. */ + public startTime?: (google.protobuf.ITimestamp|null); + + /** GetTaskMetricsRequest endTime. */ + public endTime?: (google.protobuf.ITimestamp|null); + + /** GetTaskMetricsRequest step. */ + public step?: (google.protobuf.IDuration|null); + + /** GetTaskMetricsRequest taskCategory. */ + public taskCategory?: (flyteidl.admin.ITaskCategory|null); + + /** + * Creates a new GetTaskMetricsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetTaskMetricsRequest instance + */ + public static create(properties?: flyteidl.admin.IGetTaskMetricsRequest): flyteidl.admin.GetTaskMetricsRequest; + + /** + * Encodes the specified GetTaskMetricsRequest message. Does not implicitly {@link flyteidl.admin.GetTaskMetricsRequest.verify|verify} messages. + * @param message GetTaskMetricsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGetTaskMetricsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetTaskMetricsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetTaskMetricsRequest + * @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.admin.GetTaskMetricsRequest; + + /** + * Verifies a GetTaskMetricsRequest 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 GetTaskMetricsResponse. */ + interface IGetTaskMetricsResponse { + + /** GetTaskMetricsResponse results */ + results?: (flyteidl.core.IExecutionMetricResult[]|null); + } + + /** Represents a GetTaskMetricsResponse. */ + class GetTaskMetricsResponse implements IGetTaskMetricsResponse { + + /** + * Constructs a new GetTaskMetricsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGetTaskMetricsResponse); + + /** GetTaskMetricsResponse results. */ + public results: flyteidl.core.IExecutionMetricResult[]; + + /** + * Creates a new GetTaskMetricsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetTaskMetricsResponse instance + */ + public static create(properties?: flyteidl.admin.IGetTaskMetricsResponse): flyteidl.admin.GetTaskMetricsResponse; + + /** + * Encodes the specified GetTaskMetricsResponse message. Does not implicitly {@link flyteidl.admin.GetTaskMetricsResponse.verify|verify} messages. + * @param message GetTaskMetricsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGetTaskMetricsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetTaskMetricsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetTaskMetricsResponse + * @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.admin.GetTaskMetricsResponse; + + /** + * Verifies a GetTaskMetricsResponse 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 GetTaskLogsRequest. */ + interface IGetTaskLogsRequest { + + /** GetTaskLogsRequest taskType */ + taskType?: (string|null); + + /** GetTaskLogsRequest resourceMeta */ + resourceMeta?: (Uint8Array|null); + + /** GetTaskLogsRequest lines */ + lines?: (Long|null); + + /** GetTaskLogsRequest token */ + token?: (string|null); + + /** GetTaskLogsRequest taskCategory */ + taskCategory?: (flyteidl.admin.ITaskCategory|null); + } + + /** Represents a GetTaskLogsRequest. */ + class GetTaskLogsRequest implements IGetTaskLogsRequest { + + /** + * Constructs a new GetTaskLogsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGetTaskLogsRequest); + + /** GetTaskLogsRequest taskType. */ + public taskType: string; + + /** GetTaskLogsRequest resourceMeta. */ + public resourceMeta: Uint8Array; + + /** GetTaskLogsRequest lines. */ + public lines: Long; + + /** GetTaskLogsRequest token. */ + public token: string; + + /** GetTaskLogsRequest taskCategory. */ + public taskCategory?: (flyteidl.admin.ITaskCategory|null); + + /** + * Creates a new GetTaskLogsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetTaskLogsRequest instance + */ + public static create(properties?: flyteidl.admin.IGetTaskLogsRequest): flyteidl.admin.GetTaskLogsRequest; + + /** + * Encodes the specified GetTaskLogsRequest message. Does not implicitly {@link flyteidl.admin.GetTaskLogsRequest.verify|verify} messages. + * @param message GetTaskLogsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGetTaskLogsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetTaskLogsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetTaskLogsRequest + * @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.admin.GetTaskLogsRequest; + + /** + * Verifies a GetTaskLogsRequest 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 GetTaskLogsResponseHeader. */ + interface IGetTaskLogsResponseHeader { + + /** GetTaskLogsResponseHeader token */ + token?: (string|null); + } + + /** Represents a GetTaskLogsResponseHeader. */ + class GetTaskLogsResponseHeader implements IGetTaskLogsResponseHeader { + + /** + * Constructs a new GetTaskLogsResponseHeader. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGetTaskLogsResponseHeader); + + /** GetTaskLogsResponseHeader token. */ + public token: string; + + /** + * Creates a new GetTaskLogsResponseHeader instance using the specified properties. + * @param [properties] Properties to set + * @returns GetTaskLogsResponseHeader instance + */ + public static create(properties?: flyteidl.admin.IGetTaskLogsResponseHeader): flyteidl.admin.GetTaskLogsResponseHeader; + + /** + * Encodes the specified GetTaskLogsResponseHeader message. Does not implicitly {@link flyteidl.admin.GetTaskLogsResponseHeader.verify|verify} messages. + * @param message GetTaskLogsResponseHeader message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGetTaskLogsResponseHeader, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetTaskLogsResponseHeader message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetTaskLogsResponseHeader + * @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.admin.GetTaskLogsResponseHeader; + + /** + * Verifies a GetTaskLogsResponseHeader 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 GetTaskLogsResponseBody. */ + interface IGetTaskLogsResponseBody { + + /** GetTaskLogsResponseBody results */ + results?: (string[]|null); + } + + /** Represents a GetTaskLogsResponseBody. */ + class GetTaskLogsResponseBody implements IGetTaskLogsResponseBody { + + /** + * Constructs a new GetTaskLogsResponseBody. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGetTaskLogsResponseBody); + + /** GetTaskLogsResponseBody results. */ + public results: string[]; + + /** + * Creates a new GetTaskLogsResponseBody instance using the specified properties. + * @param [properties] Properties to set + * @returns GetTaskLogsResponseBody instance + */ + public static create(properties?: flyteidl.admin.IGetTaskLogsResponseBody): flyteidl.admin.GetTaskLogsResponseBody; + + /** + * Encodes the specified GetTaskLogsResponseBody message. Does not implicitly {@link flyteidl.admin.GetTaskLogsResponseBody.verify|verify} messages. + * @param message GetTaskLogsResponseBody message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGetTaskLogsResponseBody, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetTaskLogsResponseBody message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetTaskLogsResponseBody + * @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.admin.GetTaskLogsResponseBody; + + /** + * Verifies a GetTaskLogsResponseBody 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 GetTaskLogsResponse. */ + interface IGetTaskLogsResponse { + + /** GetTaskLogsResponse header */ + header?: (flyteidl.admin.IGetTaskLogsResponseHeader|null); + + /** GetTaskLogsResponse body */ + body?: (flyteidl.admin.IGetTaskLogsResponseBody|null); + } + + /** Represents a GetTaskLogsResponse. */ + class GetTaskLogsResponse implements IGetTaskLogsResponse { + + /** + * Constructs a new GetTaskLogsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGetTaskLogsResponse); + + /** GetTaskLogsResponse header. */ + public header?: (flyteidl.admin.IGetTaskLogsResponseHeader|null); + + /** GetTaskLogsResponse body. */ + public body?: (flyteidl.admin.IGetTaskLogsResponseBody|null); + + /** GetTaskLogsResponse part. */ + public part?: ("header"|"body"); + + /** + * Creates a new GetTaskLogsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetTaskLogsResponse instance + */ + public static create(properties?: flyteidl.admin.IGetTaskLogsResponse): flyteidl.admin.GetTaskLogsResponse; + + /** + * Encodes the specified GetTaskLogsResponse message. Does not implicitly {@link flyteidl.admin.GetTaskLogsResponse.verify|verify} messages. + * @param message GetTaskLogsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGetTaskLogsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetTaskLogsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetTaskLogsResponse + * @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.admin.GetTaskLogsResponse; + + /** + * Verifies a GetTaskLogsResponse 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 AgentError. */ + interface IAgentError { + + /** AgentError code */ + code?: (string|null); + + /** AgentError kind */ + kind?: (flyteidl.admin.AgentError.Kind|null); + + /** AgentError origin */ + origin?: (flyteidl.core.ExecutionError.ErrorKind|null); + } + + /** Represents an AgentError. */ + class AgentError implements IAgentError { + + /** + * Constructs a new AgentError. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IAgentError); + + /** AgentError code. */ + public code: string; + + /** AgentError kind. */ + public kind: flyteidl.admin.AgentError.Kind; + + /** AgentError origin. */ + public origin: flyteidl.core.ExecutionError.ErrorKind; + + /** + * Creates a new AgentError instance using the specified properties. + * @param [properties] Properties to set + * @returns AgentError instance + */ + public static create(properties?: flyteidl.admin.IAgentError): flyteidl.admin.AgentError; + + /** + * Encodes the specified AgentError message. Does not implicitly {@link flyteidl.admin.AgentError.verify|verify} messages. + * @param message AgentError message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IAgentError, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AgentError message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AgentError + * @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.admin.AgentError; + + /** + * Verifies an AgentError 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 AgentError { + + /** Kind enum. */ + enum Kind { + NON_RECOVERABLE = 0, + RECOVERABLE = 1 + } + } + + /** Properties of a ClusterAssignment. */ + interface IClusterAssignment { + + /** ClusterAssignment clusterPoolName */ + clusterPoolName?: (string|null); + } + + /** Represents a ClusterAssignment. */ + class ClusterAssignment implements IClusterAssignment { + + /** + * Constructs a new ClusterAssignment. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IClusterAssignment); + + /** ClusterAssignment clusterPoolName. */ + public clusterPoolName: string; + + /** + * Creates a new ClusterAssignment instance using the specified properties. + * @param [properties] Properties to set + * @returns ClusterAssignment instance + */ + public static create(properties?: flyteidl.admin.IClusterAssignment): flyteidl.admin.ClusterAssignment; + + /** + * Encodes the specified ClusterAssignment message. Does not implicitly {@link flyteidl.admin.ClusterAssignment.verify|verify} messages. + * @param message ClusterAssignment message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IClusterAssignment, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ClusterAssignment message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ClusterAssignment + * @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.admin.ClusterAssignment; + + /** + * Verifies a ClusterAssignment 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 NamedEntityIdentifier. */ + interface INamedEntityIdentifier { + + /** NamedEntityIdentifier project */ + project?: (string|null); + + /** NamedEntityIdentifier domain */ + domain?: (string|null); + + /** NamedEntityIdentifier name */ + name?: (string|null); + + /** NamedEntityIdentifier org */ + org?: (string|null); + } + + /** Represents a NamedEntityIdentifier. */ + class NamedEntityIdentifier implements INamedEntityIdentifier { + + /** + * Constructs a new NamedEntityIdentifier. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INamedEntityIdentifier); + + /** NamedEntityIdentifier project. */ + public project: string; + + /** NamedEntityIdentifier domain. */ + public domain: string; + + /** NamedEntityIdentifier name. */ + public name: string; + + /** NamedEntityIdentifier org. */ + public org: string; + + /** + * Creates a new NamedEntityIdentifier instance using the specified properties. + * @param [properties] Properties to set + * @returns NamedEntityIdentifier instance + */ + public static create(properties?: flyteidl.admin.INamedEntityIdentifier): flyteidl.admin.NamedEntityIdentifier; + + /** + * Encodes the specified NamedEntityIdentifier message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifier.verify|verify} messages. + * @param message NamedEntityIdentifier message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INamedEntityIdentifier, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NamedEntityIdentifier message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NamedEntityIdentifier + * @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.admin.NamedEntityIdentifier; + + /** + * Verifies a NamedEntityIdentifier 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); + } + + /** NamedEntityState enum. */ + enum NamedEntityState { + NAMED_ENTITY_ACTIVE = 0, + NAMED_ENTITY_ARCHIVED = 1, + SYSTEM_GENERATED = 2 + } + + /** Properties of a NamedEntityMetadata. */ + interface INamedEntityMetadata { + + /** NamedEntityMetadata description */ + description?: (string|null); + + /** NamedEntityMetadata state */ + state?: (flyteidl.admin.NamedEntityState|null); + } + + /** Represents a NamedEntityMetadata. */ + class NamedEntityMetadata implements INamedEntityMetadata { + + /** + * Constructs a new NamedEntityMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INamedEntityMetadata); + + /** NamedEntityMetadata description. */ + public description: string; + + /** NamedEntityMetadata state. */ + public state: flyteidl.admin.NamedEntityState; + + /** + * Creates a new NamedEntityMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns NamedEntityMetadata instance + */ + public static create(properties?: flyteidl.admin.INamedEntityMetadata): flyteidl.admin.NamedEntityMetadata; + + /** + * Encodes the specified NamedEntityMetadata message. Does not implicitly {@link flyteidl.admin.NamedEntityMetadata.verify|verify} messages. + * @param message NamedEntityMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INamedEntityMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NamedEntityMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NamedEntityMetadata + * @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.admin.NamedEntityMetadata; + + /** + * Verifies a NamedEntityMetadata 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 NamedEntity. */ + interface INamedEntity { + + /** NamedEntity resourceType */ + resourceType?: (flyteidl.core.ResourceType|null); + + /** NamedEntity id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); + + /** NamedEntity metadata */ + metadata?: (flyteidl.admin.INamedEntityMetadata|null); + } + + /** Represents a NamedEntity. */ + class NamedEntity implements INamedEntity { + + /** + * Constructs a new NamedEntity. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INamedEntity); + + /** NamedEntity resourceType. */ + public resourceType: flyteidl.core.ResourceType; + + /** NamedEntity id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); + + /** NamedEntity metadata. */ + public metadata?: (flyteidl.admin.INamedEntityMetadata|null); + + /** + * Creates a new NamedEntity instance using the specified properties. + * @param [properties] Properties to set + * @returns NamedEntity instance + */ + public static create(properties?: flyteidl.admin.INamedEntity): flyteidl.admin.NamedEntity; + + /** + * Encodes the specified NamedEntity message. Does not implicitly {@link flyteidl.admin.NamedEntity.verify|verify} messages. + * @param message NamedEntity message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INamedEntity, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NamedEntity message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NamedEntity + * @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.admin.NamedEntity; + + /** + * Verifies a NamedEntity 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 Sort. */ + interface ISort { + + /** Sort key */ + key?: (string|null); + + /** Sort direction */ + direction?: (flyteidl.admin.Sort.Direction|null); + } + + /** Represents a Sort. */ + class Sort implements ISort { + + /** + * Constructs a new Sort. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISort); + + /** Sort key. */ + public key: string; + + /** Sort direction. */ + public direction: flyteidl.admin.Sort.Direction; + + /** + * Creates a new Sort instance using the specified properties. + * @param [properties] Properties to set + * @returns Sort instance + */ + public static create(properties?: flyteidl.admin.ISort): flyteidl.admin.Sort; + + /** + * Encodes the specified Sort message. Does not implicitly {@link flyteidl.admin.Sort.verify|verify} messages. + * @param message Sort message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISort, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Sort message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Sort + * @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.admin.Sort; + + /** + * Verifies a Sort 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 Sort { + + /** Direction enum. */ + enum Direction { + DESCENDING = 0, + ASCENDING = 1 + } + } + + /** Properties of a NamedEntityIdentifierListRequest. */ + interface INamedEntityIdentifierListRequest { + + /** NamedEntityIdentifierListRequest project */ + project?: (string|null); + + /** NamedEntityIdentifierListRequest domain */ + domain?: (string|null); + + /** NamedEntityIdentifierListRequest limit */ + limit?: (number|null); + + /** NamedEntityIdentifierListRequest token */ + token?: (string|null); + + /** NamedEntityIdentifierListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + + /** NamedEntityIdentifierListRequest filters */ + filters?: (string|null); + + /** NamedEntityIdentifierListRequest org */ + org?: (string|null); + } + + /** Represents a NamedEntityIdentifierListRequest. */ + class NamedEntityIdentifierListRequest implements INamedEntityIdentifierListRequest { + + /** + * Constructs a new NamedEntityIdentifierListRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INamedEntityIdentifierListRequest); + + /** NamedEntityIdentifierListRequest project. */ + public project: string; + + /** NamedEntityIdentifierListRequest domain. */ + public domain: string; + + /** NamedEntityIdentifierListRequest limit. */ + public limit: number; + + /** NamedEntityIdentifierListRequest token. */ + public token: string; + + /** NamedEntityIdentifierListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); + + /** NamedEntityIdentifierListRequest filters. */ + public filters: string; + + /** NamedEntityIdentifierListRequest org. */ + public org: string; + + /** + * Creates a new NamedEntityIdentifierListRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns NamedEntityIdentifierListRequest instance + */ + public static create(properties?: flyteidl.admin.INamedEntityIdentifierListRequest): flyteidl.admin.NamedEntityIdentifierListRequest; + + /** + * Encodes the specified NamedEntityIdentifierListRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifierListRequest.verify|verify} messages. + * @param message NamedEntityIdentifierListRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INamedEntityIdentifierListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NamedEntityIdentifierListRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NamedEntityIdentifierListRequest + * @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.admin.NamedEntityIdentifierListRequest; + + /** + * Verifies a NamedEntityIdentifierListRequest 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 NamedEntityListRequest. */ + interface INamedEntityListRequest { + + /** NamedEntityListRequest resourceType */ + resourceType?: (flyteidl.core.ResourceType|null); + + /** NamedEntityListRequest project */ + project?: (string|null); + + /** NamedEntityListRequest domain */ + domain?: (string|null); + + /** NamedEntityListRequest limit */ + limit?: (number|null); + + /** NamedEntityListRequest token */ + token?: (string|null); + + /** NamedEntityListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + + /** NamedEntityListRequest filters */ + filters?: (string|null); + + /** NamedEntityListRequest org */ + org?: (string|null); + } + + /** Represents a NamedEntityListRequest. */ + class NamedEntityListRequest implements INamedEntityListRequest { + + /** + * Constructs a new NamedEntityListRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INamedEntityListRequest); + + /** NamedEntityListRequest resourceType. */ + public resourceType: flyteidl.core.ResourceType; + + /** NamedEntityListRequest project. */ + public project: string; + + /** NamedEntityListRequest domain. */ + public domain: string; + + /** NamedEntityListRequest limit. */ + public limit: number; + + /** NamedEntityListRequest token. */ + public token: string; + + /** NamedEntityListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); + + /** NamedEntityListRequest filters. */ + public filters: string; + + /** NamedEntityListRequest org. */ + public org: string; + + /** + * Creates a new NamedEntityListRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns NamedEntityListRequest instance + */ + public static create(properties?: flyteidl.admin.INamedEntityListRequest): flyteidl.admin.NamedEntityListRequest; + + /** + * Encodes the specified NamedEntityListRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityListRequest.verify|verify} messages. + * @param message NamedEntityListRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INamedEntityListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NamedEntityListRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NamedEntityListRequest + * @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.admin.NamedEntityListRequest; + + /** + * Verifies a NamedEntityListRequest 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 NamedEntityIdentifierList. */ + interface INamedEntityIdentifierList { + + /** NamedEntityIdentifierList entities */ + entities?: (flyteidl.admin.INamedEntityIdentifier[]|null); + + /** NamedEntityIdentifierList token */ + token?: (string|null); + } + + /** Represents a NamedEntityIdentifierList. */ + class NamedEntityIdentifierList implements INamedEntityIdentifierList { + + /** + * Constructs a new NamedEntityIdentifierList. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INamedEntityIdentifierList); + + /** NamedEntityIdentifierList entities. */ + public entities: flyteidl.admin.INamedEntityIdentifier[]; + + /** NamedEntityIdentifierList token. */ + public token: string; + + /** + * Creates a new NamedEntityIdentifierList instance using the specified properties. + * @param [properties] Properties to set + * @returns NamedEntityIdentifierList instance + */ + public static create(properties?: flyteidl.admin.INamedEntityIdentifierList): flyteidl.admin.NamedEntityIdentifierList; + + /** + * Encodes the specified NamedEntityIdentifierList message. Does not implicitly {@link flyteidl.admin.NamedEntityIdentifierList.verify|verify} messages. + * @param message NamedEntityIdentifierList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INamedEntityIdentifierList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NamedEntityIdentifierList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NamedEntityIdentifierList + * @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.admin.NamedEntityIdentifierList; + + /** + * Verifies a NamedEntityIdentifierList 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 NamedEntityList. */ + interface INamedEntityList { + + /** NamedEntityList entities */ + entities?: (flyteidl.admin.INamedEntity[]|null); + + /** NamedEntityList token */ + token?: (string|null); + } + + /** Represents a NamedEntityList. */ + class NamedEntityList implements INamedEntityList { + + /** + * Constructs a new NamedEntityList. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INamedEntityList); + + /** NamedEntityList entities. */ + public entities: flyteidl.admin.INamedEntity[]; + + /** NamedEntityList token. */ + public token: string; + + /** + * Creates a new NamedEntityList instance using the specified properties. + * @param [properties] Properties to set + * @returns NamedEntityList instance + */ + public static create(properties?: flyteidl.admin.INamedEntityList): flyteidl.admin.NamedEntityList; + + /** + * Encodes the specified NamedEntityList message. Does not implicitly {@link flyteidl.admin.NamedEntityList.verify|verify} messages. + * @param message NamedEntityList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INamedEntityList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NamedEntityList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NamedEntityList + * @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.admin.NamedEntityList; + + /** + * Verifies a NamedEntityList 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 NamedEntityGetRequest. */ + interface INamedEntityGetRequest { + + /** NamedEntityGetRequest resourceType */ + resourceType?: (flyteidl.core.ResourceType|null); + + /** NamedEntityGetRequest id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); + } + + /** Represents a NamedEntityGetRequest. */ + class NamedEntityGetRequest implements INamedEntityGetRequest { + + /** + * Constructs a new NamedEntityGetRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INamedEntityGetRequest); + + /** NamedEntityGetRequest resourceType. */ + public resourceType: flyteidl.core.ResourceType; + + /** NamedEntityGetRequest id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); + + /** + * Creates a new NamedEntityGetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns NamedEntityGetRequest instance + */ + public static create(properties?: flyteidl.admin.INamedEntityGetRequest): flyteidl.admin.NamedEntityGetRequest; + + /** + * Encodes the specified NamedEntityGetRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityGetRequest.verify|verify} messages. + * @param message NamedEntityGetRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INamedEntityGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NamedEntityGetRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NamedEntityGetRequest + * @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.admin.NamedEntityGetRequest; + + /** + * Verifies a NamedEntityGetRequest 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 NamedEntityUpdateRequest. */ + interface INamedEntityUpdateRequest { + + /** NamedEntityUpdateRequest resourceType */ + resourceType?: (flyteidl.core.ResourceType|null); + + /** NamedEntityUpdateRequest id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); + + /** NamedEntityUpdateRequest metadata */ + metadata?: (flyteidl.admin.INamedEntityMetadata|null); + } + + /** Represents a NamedEntityUpdateRequest. */ + class NamedEntityUpdateRequest implements INamedEntityUpdateRequest { + + /** + * Constructs a new NamedEntityUpdateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INamedEntityUpdateRequest); + + /** NamedEntityUpdateRequest resourceType. */ + public resourceType: flyteidl.core.ResourceType; + + /** NamedEntityUpdateRequest id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); + + /** NamedEntityUpdateRequest metadata. */ + public metadata?: (flyteidl.admin.INamedEntityMetadata|null); + + /** + * Creates a new NamedEntityUpdateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns NamedEntityUpdateRequest instance + */ + public static create(properties?: flyteidl.admin.INamedEntityUpdateRequest): flyteidl.admin.NamedEntityUpdateRequest; + + /** + * Encodes the specified NamedEntityUpdateRequest message. Does not implicitly {@link flyteidl.admin.NamedEntityUpdateRequest.verify|verify} messages. + * @param message NamedEntityUpdateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INamedEntityUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NamedEntityUpdateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NamedEntityUpdateRequest + * @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.admin.NamedEntityUpdateRequest; + + /** + * Verifies a NamedEntityUpdateRequest 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 NamedEntityUpdateResponse. */ + interface INamedEntityUpdateResponse { + } + + /** Represents a NamedEntityUpdateResponse. */ + class NamedEntityUpdateResponse implements INamedEntityUpdateResponse { + + /** + * Constructs a new NamedEntityUpdateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INamedEntityUpdateResponse); + + /** + * Creates a new NamedEntityUpdateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns NamedEntityUpdateResponse instance + */ + public static create(properties?: flyteidl.admin.INamedEntityUpdateResponse): flyteidl.admin.NamedEntityUpdateResponse; + + /** + * Encodes the specified NamedEntityUpdateResponse message. Does not implicitly {@link flyteidl.admin.NamedEntityUpdateResponse.verify|verify} messages. + * @param message NamedEntityUpdateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INamedEntityUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NamedEntityUpdateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NamedEntityUpdateResponse + * @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.admin.NamedEntityUpdateResponse; + + /** + * Verifies a NamedEntityUpdateResponse 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 ObjectGetRequest. */ + interface IObjectGetRequest { + + /** ObjectGetRequest id */ + id?: (flyteidl.core.IIdentifier|null); + } + + /** Represents an ObjectGetRequest. */ + class ObjectGetRequest implements IObjectGetRequest { + + /** + * Constructs a new ObjectGetRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IObjectGetRequest); + + /** ObjectGetRequest id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** + * Creates a new ObjectGetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ObjectGetRequest instance + */ + public static create(properties?: flyteidl.admin.IObjectGetRequest): flyteidl.admin.ObjectGetRequest; + + /** + * Encodes the specified ObjectGetRequest message. Does not implicitly {@link flyteidl.admin.ObjectGetRequest.verify|verify} messages. + * @param message ObjectGetRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IObjectGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ObjectGetRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ObjectGetRequest + * @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.admin.ObjectGetRequest; + + /** + * Verifies an ObjectGetRequest 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 ResourceListRequest. */ + interface IResourceListRequest { + + /** ResourceListRequest id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); + + /** ResourceListRequest limit */ + limit?: (number|null); + + /** ResourceListRequest token */ + token?: (string|null); + + /** ResourceListRequest filters */ + filters?: (string|null); + + /** ResourceListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + } + + /** Represents a ResourceListRequest. */ + class ResourceListRequest implements IResourceListRequest { + + /** + * Constructs a new ResourceListRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IResourceListRequest); + + /** ResourceListRequest id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); + + /** ResourceListRequest limit. */ + public limit: number; + + /** ResourceListRequest token. */ + public token: string; + + /** ResourceListRequest filters. */ + public filters: string; + + /** ResourceListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); + + /** + * Creates a new ResourceListRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ResourceListRequest instance + */ + public static create(properties?: flyteidl.admin.IResourceListRequest): flyteidl.admin.ResourceListRequest; + + /** + * Encodes the specified ResourceListRequest message. Does not implicitly {@link flyteidl.admin.ResourceListRequest.verify|verify} messages. + * @param message ResourceListRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IResourceListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ResourceListRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ResourceListRequest + * @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.admin.ResourceListRequest; + + /** + * Verifies a ResourceListRequest 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 EmailNotification. */ + interface IEmailNotification { + + /** EmailNotification recipientsEmail */ + recipientsEmail?: (string[]|null); + } + + /** Represents an EmailNotification. */ + class EmailNotification implements IEmailNotification { + + /** + * Constructs a new EmailNotification. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IEmailNotification); + + /** EmailNotification recipientsEmail. */ + public recipientsEmail: string[]; + + /** + * Creates a new EmailNotification instance using the specified properties. + * @param [properties] Properties to set + * @returns EmailNotification instance + */ + public static create(properties?: flyteidl.admin.IEmailNotification): flyteidl.admin.EmailNotification; + + /** + * Encodes the specified EmailNotification message. Does not implicitly {@link flyteidl.admin.EmailNotification.verify|verify} messages. + * @param message EmailNotification message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IEmailNotification, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EmailNotification message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EmailNotification + * @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.admin.EmailNotification; + + /** + * Verifies an EmailNotification 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 PagerDutyNotification. */ + interface IPagerDutyNotification { + + /** PagerDutyNotification recipientsEmail */ + recipientsEmail?: (string[]|null); + } + + /** Represents a PagerDutyNotification. */ + class PagerDutyNotification implements IPagerDutyNotification { + + /** + * Constructs a new PagerDutyNotification. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IPagerDutyNotification); + + /** PagerDutyNotification recipientsEmail. */ + public recipientsEmail: string[]; + + /** + * Creates a new PagerDutyNotification instance using the specified properties. + * @param [properties] Properties to set + * @returns PagerDutyNotification instance + */ + public static create(properties?: flyteidl.admin.IPagerDutyNotification): flyteidl.admin.PagerDutyNotification; + + /** + * Encodes the specified PagerDutyNotification message. Does not implicitly {@link flyteidl.admin.PagerDutyNotification.verify|verify} messages. + * @param message PagerDutyNotification message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IPagerDutyNotification, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PagerDutyNotification message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PagerDutyNotification + * @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.admin.PagerDutyNotification; + + /** + * Verifies a PagerDutyNotification 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 SlackNotification. */ + interface ISlackNotification { + + /** SlackNotification recipientsEmail */ + recipientsEmail?: (string[]|null); + } + + /** Represents a SlackNotification. */ + class SlackNotification implements ISlackNotification { + + /** + * Constructs a new SlackNotification. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISlackNotification); + + /** SlackNotification recipientsEmail. */ + public recipientsEmail: string[]; + + /** + * Creates a new SlackNotification instance using the specified properties. + * @param [properties] Properties to set + * @returns SlackNotification instance + */ + public static create(properties?: flyteidl.admin.ISlackNotification): flyteidl.admin.SlackNotification; + + /** + * Encodes the specified SlackNotification message. Does not implicitly {@link flyteidl.admin.SlackNotification.verify|verify} messages. + * @param message SlackNotification message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISlackNotification, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SlackNotification message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SlackNotification + * @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.admin.SlackNotification; + + /** + * Verifies a SlackNotification 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 Notification. */ + interface INotification { + + /** Notification phases */ + phases?: (flyteidl.core.WorkflowExecution.Phase[]|null); + + /** Notification email */ + email?: (flyteidl.admin.IEmailNotification|null); + + /** Notification pagerDuty */ + pagerDuty?: (flyteidl.admin.IPagerDutyNotification|null); + + /** Notification slack */ + slack?: (flyteidl.admin.ISlackNotification|null); + } + + /** Represents a Notification. */ + class Notification implements INotification { + + /** + * Constructs a new Notification. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INotification); + + /** Notification phases. */ + public phases: flyteidl.core.WorkflowExecution.Phase[]; + + /** Notification email. */ + public email?: (flyteidl.admin.IEmailNotification|null); + + /** Notification pagerDuty. */ + public pagerDuty?: (flyteidl.admin.IPagerDutyNotification|null); + + /** Notification slack. */ + public slack?: (flyteidl.admin.ISlackNotification|null); + + /** Notification type. */ + public type?: ("email"|"pagerDuty"|"slack"); + + /** + * Creates a new Notification instance using the specified properties. + * @param [properties] Properties to set + * @returns Notification instance + */ + public static create(properties?: flyteidl.admin.INotification): flyteidl.admin.Notification; + + /** + * Encodes the specified Notification message. Does not implicitly {@link flyteidl.admin.Notification.verify|verify} messages. + * @param message Notification message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INotification, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Notification message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Notification + * @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.admin.Notification; + + /** + * Verifies a Notification 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 UrlBlob. */ + interface IUrlBlob { + + /** UrlBlob url */ + url?: (string|null); + + /** UrlBlob bytes */ + bytes?: (Long|null); + } + + /** Represents an UrlBlob. */ + class UrlBlob implements IUrlBlob { + + /** + * Constructs a new UrlBlob. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IUrlBlob); + + /** UrlBlob url. */ + public url: string; + + /** UrlBlob bytes. */ + public bytes: Long; + + /** + * Creates a new UrlBlob instance using the specified properties. + * @param [properties] Properties to set + * @returns UrlBlob instance + */ + public static create(properties?: flyteidl.admin.IUrlBlob): flyteidl.admin.UrlBlob; + + /** + * Encodes the specified UrlBlob message. Does not implicitly {@link flyteidl.admin.UrlBlob.verify|verify} messages. + * @param message UrlBlob message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IUrlBlob, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an UrlBlob message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UrlBlob + * @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.admin.UrlBlob; + + /** + * Verifies an UrlBlob 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 Labels. */ + interface ILabels { + + /** Labels values */ + values?: ({ [k: string]: string }|null); + } + + /** Represents a Labels. */ + class Labels implements ILabels { + + /** + * Constructs a new Labels. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ILabels); + + /** Labels values. */ + public values: { [k: string]: string }; + + /** + * Creates a new Labels instance using the specified properties. + * @param [properties] Properties to set + * @returns Labels instance + */ + public static create(properties?: flyteidl.admin.ILabels): flyteidl.admin.Labels; + + /** + * Encodes the specified Labels message. Does not implicitly {@link flyteidl.admin.Labels.verify|verify} messages. + * @param message Labels message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ILabels, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Labels message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Labels + * @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.admin.Labels; + + /** + * Verifies a Labels 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 Annotations. */ + interface IAnnotations { + + /** Annotations values */ + values?: ({ [k: string]: string }|null); + } + + /** Represents an Annotations. */ + class Annotations implements IAnnotations { + + /** + * Constructs a new Annotations. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IAnnotations); + + /** Annotations values. */ + public values: { [k: string]: string }; + + /** + * Creates a new Annotations instance using the specified properties. + * @param [properties] Properties to set + * @returns Annotations instance + */ + public static create(properties?: flyteidl.admin.IAnnotations): flyteidl.admin.Annotations; + + /** + * Encodes the specified Annotations message. Does not implicitly {@link flyteidl.admin.Annotations.verify|verify} messages. + * @param message Annotations message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IAnnotations, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Annotations message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Annotations + * @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.admin.Annotations; + + /** + * Verifies an Annotations 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 Envs. */ + interface IEnvs { + + /** Envs values */ + values?: (flyteidl.core.IKeyValuePair[]|null); + } + + /** Represents an Envs. */ + class Envs implements IEnvs { + + /** + * Constructs a new Envs. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IEnvs); + + /** Envs values. */ + public values: flyteidl.core.IKeyValuePair[]; + + /** + * Creates a new Envs instance using the specified properties. + * @param [properties] Properties to set + * @returns Envs instance + */ + public static create(properties?: flyteidl.admin.IEnvs): flyteidl.admin.Envs; + + /** + * Encodes the specified Envs message. Does not implicitly {@link flyteidl.admin.Envs.verify|verify} messages. + * @param message Envs message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IEnvs, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Envs message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Envs + * @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.admin.Envs; + + /** + * Verifies an Envs 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 AuthRole. */ + interface IAuthRole { + + /** AuthRole assumableIamRole */ + assumableIamRole?: (string|null); + + /** AuthRole kubernetesServiceAccount */ + kubernetesServiceAccount?: (string|null); + } + + /** Represents an AuthRole. */ + class AuthRole implements IAuthRole { + + /** + * Constructs a new AuthRole. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IAuthRole); + + /** AuthRole assumableIamRole. */ + public assumableIamRole: string; + + /** AuthRole kubernetesServiceAccount. */ + public kubernetesServiceAccount: string; + + /** + * Creates a new AuthRole instance using the specified properties. + * @param [properties] Properties to set + * @returns AuthRole instance + */ + public static create(properties?: flyteidl.admin.IAuthRole): flyteidl.admin.AuthRole; + + /** + * Encodes the specified AuthRole message. Does not implicitly {@link flyteidl.admin.AuthRole.verify|verify} messages. + * @param message AuthRole message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IAuthRole, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AuthRole message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AuthRole + * @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.admin.AuthRole; + + /** + * Verifies an AuthRole 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 RawOutputDataConfig. */ + interface IRawOutputDataConfig { + + /** RawOutputDataConfig outputLocationPrefix */ + outputLocationPrefix?: (string|null); + } + + /** Represents a RawOutputDataConfig. */ + class RawOutputDataConfig implements IRawOutputDataConfig { + + /** + * Constructs a new RawOutputDataConfig. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IRawOutputDataConfig); + + /** RawOutputDataConfig outputLocationPrefix. */ + public outputLocationPrefix: string; + + /** + * Creates a new RawOutputDataConfig instance using the specified properties. + * @param [properties] Properties to set + * @returns RawOutputDataConfig instance + */ + public static create(properties?: flyteidl.admin.IRawOutputDataConfig): flyteidl.admin.RawOutputDataConfig; + + /** + * Encodes the specified RawOutputDataConfig message. Does not implicitly {@link flyteidl.admin.RawOutputDataConfig.verify|verify} messages. + * @param message RawOutputDataConfig message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IRawOutputDataConfig, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a RawOutputDataConfig message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns RawOutputDataConfig + * @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.admin.RawOutputDataConfig; + + /** + * Verifies a RawOutputDataConfig 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 FlyteURLs. */ + interface IFlyteURLs { + + /** FlyteURLs inputs */ + inputs?: (string|null); + + /** FlyteURLs outputs */ + outputs?: (string|null); + + /** FlyteURLs deck */ + deck?: (string|null); + } + + /** Represents a FlyteURLs. */ + class FlyteURLs implements IFlyteURLs { + + /** + * Constructs a new FlyteURLs. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IFlyteURLs); + + /** FlyteURLs inputs. */ + public inputs: string; + + /** FlyteURLs outputs. */ + public outputs: string; + + /** FlyteURLs deck. */ + public deck: string; + + /** + * Creates a new FlyteURLs instance using the specified properties. + * @param [properties] Properties to set + * @returns FlyteURLs instance + */ + public static create(properties?: flyteidl.admin.IFlyteURLs): flyteidl.admin.FlyteURLs; + + /** + * Encodes the specified FlyteURLs message. Does not implicitly {@link flyteidl.admin.FlyteURLs.verify|verify} messages. + * @param message FlyteURLs message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IFlyteURLs, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FlyteURLs message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FlyteURLs + * @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.admin.FlyteURLs; + + /** + * Verifies a FlyteURLs 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 DescriptionEntity. */ + interface IDescriptionEntity { + + /** DescriptionEntity id */ + id?: (flyteidl.core.IIdentifier|null); + + /** DescriptionEntity shortDescription */ + shortDescription?: (string|null); + + /** DescriptionEntity longDescription */ + longDescription?: (flyteidl.admin.IDescription|null); + + /** DescriptionEntity sourceCode */ + sourceCode?: (flyteidl.admin.ISourceCode|null); + + /** DescriptionEntity tags */ + tags?: (string[]|null); + } + + /** Represents a DescriptionEntity. */ + class DescriptionEntity implements IDescriptionEntity { + + /** + * Constructs a new DescriptionEntity. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IDescriptionEntity); + + /** DescriptionEntity id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** DescriptionEntity shortDescription. */ + public shortDescription: string; + + /** DescriptionEntity longDescription. */ + public longDescription?: (flyteidl.admin.IDescription|null); + + /** DescriptionEntity sourceCode. */ + public sourceCode?: (flyteidl.admin.ISourceCode|null); + + /** DescriptionEntity tags. */ + public tags: string[]; + + /** + * Creates a new DescriptionEntity instance using the specified properties. + * @param [properties] Properties to set + * @returns DescriptionEntity instance + */ + public static create(properties?: flyteidl.admin.IDescriptionEntity): flyteidl.admin.DescriptionEntity; + + /** + * Encodes the specified DescriptionEntity message. Does not implicitly {@link flyteidl.admin.DescriptionEntity.verify|verify} messages. + * @param message DescriptionEntity message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IDescriptionEntity, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DescriptionEntity message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DescriptionEntity + * @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.admin.DescriptionEntity; + + /** + * Verifies a DescriptionEntity 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); + } + + /** DescriptionFormat enum. */ + enum DescriptionFormat { + DESCRIPTION_FORMAT_UNKNOWN = 0, + DESCRIPTION_FORMAT_MARKDOWN = 1, + DESCRIPTION_FORMAT_HTML = 2, + DESCRIPTION_FORMAT_RST = 3 + } + + /** Properties of a Description. */ + interface IDescription { + + /** Description value */ + value?: (string|null); + + /** Description uri */ + uri?: (string|null); + + /** Description format */ + format?: (flyteidl.admin.DescriptionFormat|null); + + /** Description iconLink */ + iconLink?: (string|null); + } + + /** Represents a Description. */ + class Description implements IDescription { + + /** + * Constructs a new Description. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IDescription); + + /** Description value. */ + public value: string; + + /** Description uri. */ + public uri: string; + + /** Description format. */ + public format: flyteidl.admin.DescriptionFormat; + + /** Description iconLink. */ + public iconLink: string; + + /** Description content. */ + public content?: ("value"|"uri"); + + /** + * Creates a new Description instance using the specified properties. + * @param [properties] Properties to set + * @returns Description instance + */ + public static create(properties?: flyteidl.admin.IDescription): flyteidl.admin.Description; + + /** + * Encodes the specified Description message. Does not implicitly {@link flyteidl.admin.Description.verify|verify} messages. + * @param message Description message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IDescription, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Description message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Description + * @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.admin.Description; + + /** + * Verifies a Description 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 SourceCode. */ + interface ISourceCode { + + /** SourceCode link */ + link?: (string|null); + } + + /** Represents a SourceCode. */ + class SourceCode implements ISourceCode { + + /** + * Constructs a new SourceCode. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISourceCode); + + /** SourceCode link. */ + public link: string; + + /** + * Creates a new SourceCode instance using the specified properties. + * @param [properties] Properties to set + * @returns SourceCode instance + */ + public static create(properties?: flyteidl.admin.ISourceCode): flyteidl.admin.SourceCode; + + /** + * Encodes the specified SourceCode message. Does not implicitly {@link flyteidl.admin.SourceCode.verify|verify} messages. + * @param message SourceCode message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISourceCode, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SourceCode message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SourceCode + * @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.admin.SourceCode; + + /** + * Verifies a SourceCode 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 DescriptionEntityList. */ + interface IDescriptionEntityList { + + /** DescriptionEntityList descriptionEntities */ + descriptionEntities?: (flyteidl.admin.IDescriptionEntity[]|null); + + /** DescriptionEntityList token */ + token?: (string|null); + } + + /** Represents a DescriptionEntityList. */ + class DescriptionEntityList implements IDescriptionEntityList { + + /** + * Constructs a new DescriptionEntityList. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IDescriptionEntityList); + + /** DescriptionEntityList descriptionEntities. */ + public descriptionEntities: flyteidl.admin.IDescriptionEntity[]; + + /** DescriptionEntityList token. */ + public token: string; + + /** + * Creates a new DescriptionEntityList instance using the specified properties. + * @param [properties] Properties to set + * @returns DescriptionEntityList instance + */ + public static create(properties?: flyteidl.admin.IDescriptionEntityList): flyteidl.admin.DescriptionEntityList; + + /** + * Encodes the specified DescriptionEntityList message. Does not implicitly {@link flyteidl.admin.DescriptionEntityList.verify|verify} messages. + * @param message DescriptionEntityList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IDescriptionEntityList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DescriptionEntityList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DescriptionEntityList + * @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.admin.DescriptionEntityList; + + /** + * Verifies a DescriptionEntityList 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 DescriptionEntityListRequest. */ + interface IDescriptionEntityListRequest { + + /** DescriptionEntityListRequest resourceType */ + resourceType?: (flyteidl.core.ResourceType|null); + + /** DescriptionEntityListRequest id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); + + /** DescriptionEntityListRequest limit */ + limit?: (number|null); + + /** DescriptionEntityListRequest token */ + token?: (string|null); + + /** DescriptionEntityListRequest filters */ + filters?: (string|null); + + /** DescriptionEntityListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + } + + /** Represents a DescriptionEntityListRequest. */ + class DescriptionEntityListRequest implements IDescriptionEntityListRequest { + + /** + * Constructs a new DescriptionEntityListRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IDescriptionEntityListRequest); + + /** DescriptionEntityListRequest resourceType. */ + public resourceType: flyteidl.core.ResourceType; + + /** DescriptionEntityListRequest id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); + + /** DescriptionEntityListRequest limit. */ + public limit: number; + + /** DescriptionEntityListRequest token. */ + public token: string; + + /** DescriptionEntityListRequest filters. */ + public filters: string; + + /** DescriptionEntityListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); + + /** + * Creates a new DescriptionEntityListRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns DescriptionEntityListRequest instance + */ + public static create(properties?: flyteidl.admin.IDescriptionEntityListRequest): flyteidl.admin.DescriptionEntityListRequest; + + /** + * Encodes the specified DescriptionEntityListRequest message. Does not implicitly {@link flyteidl.admin.DescriptionEntityListRequest.verify|verify} messages. + * @param message DescriptionEntityListRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IDescriptionEntityListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DescriptionEntityListRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DescriptionEntityListRequest + * @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.admin.DescriptionEntityListRequest; + + /** + * Verifies a DescriptionEntityListRequest 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 EventErrorAlreadyInTerminalState. */ + interface IEventErrorAlreadyInTerminalState { + + /** EventErrorAlreadyInTerminalState currentPhase */ + currentPhase?: (string|null); + } + + /** Represents an EventErrorAlreadyInTerminalState. */ + class EventErrorAlreadyInTerminalState implements IEventErrorAlreadyInTerminalState { + + /** + * Constructs a new EventErrorAlreadyInTerminalState. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IEventErrorAlreadyInTerminalState); + + /** EventErrorAlreadyInTerminalState currentPhase. */ + public currentPhase: string; + + /** + * Creates a new EventErrorAlreadyInTerminalState instance using the specified properties. + * @param [properties] Properties to set + * @returns EventErrorAlreadyInTerminalState instance + */ + public static create(properties?: flyteidl.admin.IEventErrorAlreadyInTerminalState): flyteidl.admin.EventErrorAlreadyInTerminalState; + + /** + * Encodes the specified EventErrorAlreadyInTerminalState message. Does not implicitly {@link flyteidl.admin.EventErrorAlreadyInTerminalState.verify|verify} messages. + * @param message EventErrorAlreadyInTerminalState message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IEventErrorAlreadyInTerminalState, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EventErrorAlreadyInTerminalState message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EventErrorAlreadyInTerminalState + * @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.admin.EventErrorAlreadyInTerminalState; + + /** + * Verifies an EventErrorAlreadyInTerminalState 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 EventErrorIncompatibleCluster. */ + interface IEventErrorIncompatibleCluster { + + /** EventErrorIncompatibleCluster cluster */ + cluster?: (string|null); + } + + /** Represents an EventErrorIncompatibleCluster. */ + class EventErrorIncompatibleCluster implements IEventErrorIncompatibleCluster { + + /** + * Constructs a new EventErrorIncompatibleCluster. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IEventErrorIncompatibleCluster); + + /** EventErrorIncompatibleCluster cluster. */ + public cluster: string; + + /** + * Creates a new EventErrorIncompatibleCluster instance using the specified properties. + * @param [properties] Properties to set + * @returns EventErrorIncompatibleCluster instance + */ + public static create(properties?: flyteidl.admin.IEventErrorIncompatibleCluster): flyteidl.admin.EventErrorIncompatibleCluster; + + /** + * Encodes the specified EventErrorIncompatibleCluster message. Does not implicitly {@link flyteidl.admin.EventErrorIncompatibleCluster.verify|verify} messages. + * @param message EventErrorIncompatibleCluster message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IEventErrorIncompatibleCluster, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EventErrorIncompatibleCluster message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EventErrorIncompatibleCluster + * @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.admin.EventErrorIncompatibleCluster; + + /** + * Verifies an EventErrorIncompatibleCluster 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 EventFailureReason. */ + interface IEventFailureReason { + + /** EventFailureReason alreadyInTerminalState */ + alreadyInTerminalState?: (flyteidl.admin.IEventErrorAlreadyInTerminalState|null); + + /** EventFailureReason incompatibleCluster */ + incompatibleCluster?: (flyteidl.admin.IEventErrorIncompatibleCluster|null); + } + + /** Represents an EventFailureReason. */ + class EventFailureReason implements IEventFailureReason { + + /** + * Constructs a new EventFailureReason. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IEventFailureReason); + + /** EventFailureReason alreadyInTerminalState. */ + public alreadyInTerminalState?: (flyteidl.admin.IEventErrorAlreadyInTerminalState|null); + + /** EventFailureReason incompatibleCluster. */ + public incompatibleCluster?: (flyteidl.admin.IEventErrorIncompatibleCluster|null); + + /** EventFailureReason reason. */ + public reason?: ("alreadyInTerminalState"|"incompatibleCluster"); + + /** + * Creates a new EventFailureReason instance using the specified properties. + * @param [properties] Properties to set + * @returns EventFailureReason instance + */ + public static create(properties?: flyteidl.admin.IEventFailureReason): flyteidl.admin.EventFailureReason; + + /** + * Encodes the specified EventFailureReason message. Does not implicitly {@link flyteidl.admin.EventFailureReason.verify|verify} messages. + * @param message EventFailureReason message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IEventFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EventFailureReason message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EventFailureReason + * @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.admin.EventFailureReason; + + /** + * Verifies an EventFailureReason 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 WorkflowExecutionEventRequest. */ + interface IWorkflowExecutionEventRequest { + + /** WorkflowExecutionEventRequest requestId */ + requestId?: (string|null); + + /** WorkflowExecutionEventRequest event */ + event?: (flyteidl.event.IWorkflowExecutionEvent|null); + } + + /** Represents a WorkflowExecutionEventRequest. */ + class WorkflowExecutionEventRequest implements IWorkflowExecutionEventRequest { + + /** + * Constructs a new WorkflowExecutionEventRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowExecutionEventRequest); + + /** WorkflowExecutionEventRequest requestId. */ + public requestId: string; + + /** WorkflowExecutionEventRequest event. */ + public event?: (flyteidl.event.IWorkflowExecutionEvent|null); + + /** + * Creates a new WorkflowExecutionEventRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowExecutionEventRequest instance + */ + public static create(properties?: flyteidl.admin.IWorkflowExecutionEventRequest): flyteidl.admin.WorkflowExecutionEventRequest; + + /** + * Encodes the specified WorkflowExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionEventRequest.verify|verify} messages. + * @param message WorkflowExecutionEventRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowExecutionEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowExecutionEventRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowExecutionEventRequest + * @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.admin.WorkflowExecutionEventRequest; + + /** + * Verifies a WorkflowExecutionEventRequest 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 WorkflowExecutionEventResponse. */ + interface IWorkflowExecutionEventResponse { + } + + /** Represents a WorkflowExecutionEventResponse. */ + class WorkflowExecutionEventResponse implements IWorkflowExecutionEventResponse { + + /** + * Constructs a new WorkflowExecutionEventResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowExecutionEventResponse); + + /** + * Creates a new WorkflowExecutionEventResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowExecutionEventResponse instance + */ + public static create(properties?: flyteidl.admin.IWorkflowExecutionEventResponse): flyteidl.admin.WorkflowExecutionEventResponse; + + /** + * Encodes the specified WorkflowExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionEventResponse.verify|verify} messages. + * @param message WorkflowExecutionEventResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowExecutionEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowExecutionEventResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowExecutionEventResponse + * @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.admin.WorkflowExecutionEventResponse; + + /** + * Verifies a WorkflowExecutionEventResponse 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 NodeExecutionEventRequest. */ + interface INodeExecutionEventRequest { + + /** NodeExecutionEventRequest requestId */ + requestId?: (string|null); + + /** NodeExecutionEventRequest event */ + event?: (flyteidl.event.INodeExecutionEvent|null); + } + + /** Represents a NodeExecutionEventRequest. */ + class NodeExecutionEventRequest implements INodeExecutionEventRequest { + + /** + * Constructs a new NodeExecutionEventRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INodeExecutionEventRequest); + + /** NodeExecutionEventRequest requestId. */ + public requestId: string; + + /** NodeExecutionEventRequest event. */ + public event?: (flyteidl.event.INodeExecutionEvent|null); + + /** + * Creates a new NodeExecutionEventRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecutionEventRequest instance + */ + public static create(properties?: flyteidl.admin.INodeExecutionEventRequest): flyteidl.admin.NodeExecutionEventRequest; + + /** + * Encodes the specified NodeExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionEventRequest.verify|verify} messages. + * @param message NodeExecutionEventRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INodeExecutionEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NodeExecutionEventRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NodeExecutionEventRequest + * @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.admin.NodeExecutionEventRequest; + + /** + * Verifies a NodeExecutionEventRequest 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 NodeExecutionEventResponse. */ + interface INodeExecutionEventResponse { + } + + /** Represents a NodeExecutionEventResponse. */ + class NodeExecutionEventResponse implements INodeExecutionEventResponse { + + /** + * Constructs a new NodeExecutionEventResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INodeExecutionEventResponse); + + /** + * Creates a new NodeExecutionEventResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecutionEventResponse instance + */ + public static create(properties?: flyteidl.admin.INodeExecutionEventResponse): flyteidl.admin.NodeExecutionEventResponse; + + /** + * Encodes the specified NodeExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionEventResponse.verify|verify} messages. + * @param message NodeExecutionEventResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INodeExecutionEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NodeExecutionEventResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NodeExecutionEventResponse + * @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.admin.NodeExecutionEventResponse; + + /** + * Verifies a NodeExecutionEventResponse 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 TaskExecutionEventRequest. */ + interface ITaskExecutionEventRequest { + + /** TaskExecutionEventRequest requestId */ + requestId?: (string|null); + + /** TaskExecutionEventRequest event */ + event?: (flyteidl.event.ITaskExecutionEvent|null); + } + + /** Represents a TaskExecutionEventRequest. */ + class TaskExecutionEventRequest implements ITaskExecutionEventRequest { + + /** + * Constructs a new TaskExecutionEventRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskExecutionEventRequest); + + /** TaskExecutionEventRequest requestId. */ + public requestId: string; + + /** TaskExecutionEventRequest event. */ + public event?: (flyteidl.event.ITaskExecutionEvent|null); + + /** + * Creates a new TaskExecutionEventRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskExecutionEventRequest instance + */ + public static create(properties?: flyteidl.admin.ITaskExecutionEventRequest): flyteidl.admin.TaskExecutionEventRequest; + + /** + * Encodes the specified TaskExecutionEventRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionEventRequest.verify|verify} messages. + * @param message TaskExecutionEventRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskExecutionEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskExecutionEventRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskExecutionEventRequest + * @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.admin.TaskExecutionEventRequest; + + /** + * Verifies a TaskExecutionEventRequest 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 TaskExecutionEventResponse. */ + interface ITaskExecutionEventResponse { + } + + /** Represents a TaskExecutionEventResponse. */ + class TaskExecutionEventResponse implements ITaskExecutionEventResponse { + + /** + * Constructs a new TaskExecutionEventResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskExecutionEventResponse); + + /** + * Creates a new TaskExecutionEventResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskExecutionEventResponse instance + */ + public static create(properties?: flyteidl.admin.ITaskExecutionEventResponse): flyteidl.admin.TaskExecutionEventResponse; + + /** + * Encodes the specified TaskExecutionEventResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionEventResponse.verify|verify} messages. + * @param message TaskExecutionEventResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskExecutionEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskExecutionEventResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskExecutionEventResponse + * @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.admin.TaskExecutionEventResponse; + + /** + * Verifies a TaskExecutionEventResponse 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 ExecutionCreateRequest. */ + interface IExecutionCreateRequest { + + /** ExecutionCreateRequest project */ + project?: (string|null); + + /** ExecutionCreateRequest domain */ + domain?: (string|null); + + /** ExecutionCreateRequest name */ + name?: (string|null); + + /** ExecutionCreateRequest spec */ + spec?: (flyteidl.admin.IExecutionSpec|null); + + /** ExecutionCreateRequest inputs */ + inputs?: (flyteidl.core.ILiteralMap|null); + + /** ExecutionCreateRequest org */ + org?: (string|null); + } + + /** Represents an ExecutionCreateRequest. */ + class ExecutionCreateRequest implements IExecutionCreateRequest { + + /** + * Constructs a new ExecutionCreateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionCreateRequest); + + /** ExecutionCreateRequest project. */ + public project: string; + + /** ExecutionCreateRequest domain. */ + public domain: string; + + /** ExecutionCreateRequest name. */ + public name: string; + + /** ExecutionCreateRequest spec. */ + public spec?: (flyteidl.admin.IExecutionSpec|null); + + /** ExecutionCreateRequest inputs. */ + public inputs?: (flyteidl.core.ILiteralMap|null); + + /** ExecutionCreateRequest org. */ + public org: string; + + /** + * Creates a new ExecutionCreateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionCreateRequest instance + */ + public static create(properties?: flyteidl.admin.IExecutionCreateRequest): flyteidl.admin.ExecutionCreateRequest; + + /** + * Encodes the specified ExecutionCreateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionCreateRequest.verify|verify} messages. + * @param message ExecutionCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionCreateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionCreateRequest + * @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.admin.ExecutionCreateRequest; + + /** + * Verifies an ExecutionCreateRequest 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 ExecutionRelaunchRequest. */ + interface IExecutionRelaunchRequest { + + /** ExecutionRelaunchRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** ExecutionRelaunchRequest name */ + name?: (string|null); + + /** ExecutionRelaunchRequest overwriteCache */ + overwriteCache?: (boolean|null); + } + + /** Represents an ExecutionRelaunchRequest. */ + class ExecutionRelaunchRequest implements IExecutionRelaunchRequest { + + /** + * Constructs a new ExecutionRelaunchRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionRelaunchRequest); + + /** ExecutionRelaunchRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** ExecutionRelaunchRequest name. */ + public name: string; + + /** ExecutionRelaunchRequest overwriteCache. */ + public overwriteCache: boolean; + + /** + * Creates a new ExecutionRelaunchRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionRelaunchRequest instance + */ + public static create(properties?: flyteidl.admin.IExecutionRelaunchRequest): flyteidl.admin.ExecutionRelaunchRequest; + + /** + * Encodes the specified ExecutionRelaunchRequest message. Does not implicitly {@link flyteidl.admin.ExecutionRelaunchRequest.verify|verify} messages. + * @param message ExecutionRelaunchRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionRelaunchRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionRelaunchRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionRelaunchRequest + * @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.admin.ExecutionRelaunchRequest; + + /** + * Verifies an ExecutionRelaunchRequest 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 ExecutionRecoverRequest. */ + interface IExecutionRecoverRequest { + + /** ExecutionRecoverRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** ExecutionRecoverRequest name */ + name?: (string|null); + + /** ExecutionRecoverRequest metadata */ + metadata?: (flyteidl.admin.IExecutionMetadata|null); + } + + /** Represents an ExecutionRecoverRequest. */ + class ExecutionRecoverRequest implements IExecutionRecoverRequest { + + /** + * Constructs a new ExecutionRecoverRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionRecoverRequest); + + /** ExecutionRecoverRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** ExecutionRecoverRequest name. */ + public name: string; + + /** ExecutionRecoverRequest metadata. */ + public metadata?: (flyteidl.admin.IExecutionMetadata|null); + + /** + * Creates a new ExecutionRecoverRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionRecoverRequest instance + */ + public static create(properties?: flyteidl.admin.IExecutionRecoverRequest): flyteidl.admin.ExecutionRecoverRequest; + + /** + * Encodes the specified ExecutionRecoverRequest message. Does not implicitly {@link flyteidl.admin.ExecutionRecoverRequest.verify|verify} messages. + * @param message ExecutionRecoverRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionRecoverRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionRecoverRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionRecoverRequest + * @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.admin.ExecutionRecoverRequest; + + /** + * Verifies an ExecutionRecoverRequest 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 ExecutionCreateResponse. */ + interface IExecutionCreateResponse { + + /** ExecutionCreateResponse id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + } + + /** Represents an ExecutionCreateResponse. */ + class ExecutionCreateResponse implements IExecutionCreateResponse { + + /** + * Constructs a new ExecutionCreateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionCreateResponse); + + /** ExecutionCreateResponse id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** + * Creates a new ExecutionCreateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionCreateResponse instance + */ + public static create(properties?: flyteidl.admin.IExecutionCreateResponse): flyteidl.admin.ExecutionCreateResponse; + + /** + * Encodes the specified ExecutionCreateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionCreateResponse.verify|verify} messages. + * @param message ExecutionCreateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionCreateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionCreateResponse + * @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.admin.ExecutionCreateResponse; + + /** + * Verifies an ExecutionCreateResponse 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 WorkflowExecutionGetRequest. */ + interface IWorkflowExecutionGetRequest { + + /** WorkflowExecutionGetRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + } + + /** Represents a WorkflowExecutionGetRequest. */ + class WorkflowExecutionGetRequest implements IWorkflowExecutionGetRequest { + + /** + * Constructs a new WorkflowExecutionGetRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetRequest); + + /** WorkflowExecutionGetRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** + * Creates a new WorkflowExecutionGetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowExecutionGetRequest instance + */ + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetRequest): flyteidl.admin.WorkflowExecutionGetRequest; + + /** + * Encodes the specified WorkflowExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetRequest.verify|verify} messages. + * @param message WorkflowExecutionGetRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowExecutionGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowExecutionGetRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowExecutionGetRequest + * @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.admin.WorkflowExecutionGetRequest; + + /** + * Verifies a WorkflowExecutionGetRequest 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 Execution. */ + interface IExecution { + + /** Execution id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** Execution spec */ + spec?: (flyteidl.admin.IExecutionSpec|null); + + /** Execution closure */ + closure?: (flyteidl.admin.IExecutionClosure|null); + } + + /** Represents an Execution. */ + class Execution implements IExecution { + + /** + * Constructs a new Execution. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecution); + + /** Execution id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** Execution spec. */ + public spec?: (flyteidl.admin.IExecutionSpec|null); + + /** Execution closure. */ + public closure?: (flyteidl.admin.IExecutionClosure|null); + + /** + * Creates a new Execution instance using the specified properties. + * @param [properties] Properties to set + * @returns Execution instance + */ + public static create(properties?: flyteidl.admin.IExecution): flyteidl.admin.Execution; + + /** + * Encodes the specified Execution message. Does not implicitly {@link flyteidl.admin.Execution.verify|verify} messages. + * @param message Execution message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecution, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Execution message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Execution + * @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.admin.Execution; + + /** + * Verifies an Execution 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 ExecutionList. */ + interface IExecutionList { + + /** ExecutionList executions */ + executions?: (flyteidl.admin.IExecution[]|null); + + /** ExecutionList token */ + token?: (string|null); + } + + /** Represents an ExecutionList. */ + class ExecutionList implements IExecutionList { + + /** + * Constructs a new ExecutionList. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionList); + + /** ExecutionList executions. */ + public executions: flyteidl.admin.IExecution[]; + + /** ExecutionList token. */ + public token: string; + + /** + * Creates a new ExecutionList instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionList instance + */ + public static create(properties?: flyteidl.admin.IExecutionList): flyteidl.admin.ExecutionList; + + /** + * Encodes the specified ExecutionList message. Does not implicitly {@link flyteidl.admin.ExecutionList.verify|verify} messages. + * @param message ExecutionList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionList + * @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.admin.ExecutionList; + + /** + * Verifies an ExecutionList 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 LiteralMapBlob. */ + interface ILiteralMapBlob { + + /** LiteralMapBlob values */ + values?: (flyteidl.core.ILiteralMap|null); + + /** LiteralMapBlob uri */ + uri?: (string|null); + } + + /** Represents a LiteralMapBlob. */ + class LiteralMapBlob implements ILiteralMapBlob { + + /** + * Constructs a new LiteralMapBlob. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ILiteralMapBlob); + + /** LiteralMapBlob values. */ + public values?: (flyteidl.core.ILiteralMap|null); + + /** LiteralMapBlob uri. */ + public uri: string; + + /** LiteralMapBlob data. */ + public data?: ("values"|"uri"); + + /** + * Creates a new LiteralMapBlob instance using the specified properties. + * @param [properties] Properties to set + * @returns LiteralMapBlob instance + */ + public static create(properties?: flyteidl.admin.ILiteralMapBlob): flyteidl.admin.LiteralMapBlob; + + /** + * Encodes the specified LiteralMapBlob message. Does not implicitly {@link flyteidl.admin.LiteralMapBlob.verify|verify} messages. + * @param message LiteralMapBlob message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ILiteralMapBlob, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LiteralMapBlob message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LiteralMapBlob + * @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.admin.LiteralMapBlob; + + /** + * Verifies a LiteralMapBlob 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 AbortMetadata. */ + interface IAbortMetadata { + + /** AbortMetadata cause */ + cause?: (string|null); + + /** AbortMetadata principal */ + principal?: (string|null); + } + + /** Represents an AbortMetadata. */ + class AbortMetadata implements IAbortMetadata { + + /** + * Constructs a new AbortMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IAbortMetadata); + + /** AbortMetadata cause. */ + public cause: string; + + /** AbortMetadata principal. */ + public principal: string; + + /** + * Creates a new AbortMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns AbortMetadata instance + */ + public static create(properties?: flyteidl.admin.IAbortMetadata): flyteidl.admin.AbortMetadata; + + /** + * Encodes the specified AbortMetadata message. Does not implicitly {@link flyteidl.admin.AbortMetadata.verify|verify} messages. + * @param message AbortMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IAbortMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AbortMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AbortMetadata + * @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.admin.AbortMetadata; + + /** + * Verifies an AbortMetadata 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 ExecutionClosure. */ + interface IExecutionClosure { + + /** ExecutionClosure outputs */ + outputs?: (flyteidl.admin.ILiteralMapBlob|null); + + /** ExecutionClosure error */ + error?: (flyteidl.core.IExecutionError|null); + + /** ExecutionClosure abortCause */ + abortCause?: (string|null); + + /** ExecutionClosure abortMetadata */ + abortMetadata?: (flyteidl.admin.IAbortMetadata|null); + + /** ExecutionClosure outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); + + /** ExecutionClosure computedInputs */ + computedInputs?: (flyteidl.core.ILiteralMap|null); + + /** ExecutionClosure phase */ + phase?: (flyteidl.core.WorkflowExecution.Phase|null); + + /** ExecutionClosure startedAt */ + startedAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionClosure duration */ + duration?: (google.protobuf.IDuration|null); + + /** ExecutionClosure createdAt */ + createdAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionClosure updatedAt */ + updatedAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionClosure notifications */ + notifications?: (flyteidl.admin.INotification[]|null); + + /** ExecutionClosure workflowId */ + workflowId?: (flyteidl.core.IIdentifier|null); + + /** ExecutionClosure stateChangeDetails */ + stateChangeDetails?: (flyteidl.admin.IExecutionStateChangeDetails|null); + } + + /** Represents an ExecutionClosure. */ + class ExecutionClosure implements IExecutionClosure { + + /** + * Constructs a new ExecutionClosure. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionClosure); + + /** ExecutionClosure outputs. */ + public outputs?: (flyteidl.admin.ILiteralMapBlob|null); + + /** ExecutionClosure error. */ + public error?: (flyteidl.core.IExecutionError|null); + + /** ExecutionClosure abortCause. */ + public abortCause: string; + + /** ExecutionClosure abortMetadata. */ + public abortMetadata?: (flyteidl.admin.IAbortMetadata|null); + + /** ExecutionClosure outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); + + /** ExecutionClosure computedInputs. */ + public computedInputs?: (flyteidl.core.ILiteralMap|null); + + /** ExecutionClosure phase. */ + public phase: flyteidl.core.WorkflowExecution.Phase; + + /** ExecutionClosure startedAt. */ + public startedAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionClosure duration. */ + public duration?: (google.protobuf.IDuration|null); + + /** ExecutionClosure createdAt. */ + public createdAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionClosure updatedAt. */ + public updatedAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionClosure notifications. */ + public notifications: flyteidl.admin.INotification[]; + + /** ExecutionClosure workflowId. */ + public workflowId?: (flyteidl.core.IIdentifier|null); + + /** ExecutionClosure stateChangeDetails. */ + public stateChangeDetails?: (flyteidl.admin.IExecutionStateChangeDetails|null); + + /** ExecutionClosure outputResult. */ + public outputResult?: ("outputs"|"error"|"abortCause"|"abortMetadata"|"outputData"); + + /** + * Creates a new ExecutionClosure instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionClosure instance + */ + public static create(properties?: flyteidl.admin.IExecutionClosure): flyteidl.admin.ExecutionClosure; + + /** + * Encodes the specified ExecutionClosure message. Does not implicitly {@link flyteidl.admin.ExecutionClosure.verify|verify} messages. + * @param message ExecutionClosure message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionClosure, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionClosure message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionClosure + * @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.admin.ExecutionClosure; + + /** + * Verifies an ExecutionClosure 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 SystemMetadata. */ + interface ISystemMetadata { + + /** SystemMetadata executionCluster */ + executionCluster?: (string|null); + + /** SystemMetadata namespace */ + namespace?: (string|null); + } + + /** Represents a SystemMetadata. */ + class SystemMetadata implements ISystemMetadata { + + /** + * Constructs a new SystemMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISystemMetadata); + + /** SystemMetadata executionCluster. */ + public executionCluster: string; + + /** SystemMetadata namespace. */ + public namespace: string; + + /** + * Creates a new SystemMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns SystemMetadata instance + */ + public static create(properties?: flyteidl.admin.ISystemMetadata): flyteidl.admin.SystemMetadata; + + /** + * Encodes the specified SystemMetadata message. Does not implicitly {@link flyteidl.admin.SystemMetadata.verify|verify} messages. + * @param message SystemMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISystemMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SystemMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SystemMetadata + * @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.admin.SystemMetadata; + + /** + * Verifies a SystemMetadata 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 ExecutionMetadata. */ + interface IExecutionMetadata { + + /** ExecutionMetadata mode */ + mode?: (flyteidl.admin.ExecutionMetadata.ExecutionMode|null); + + /** ExecutionMetadata principal */ + principal?: (string|null); + + /** ExecutionMetadata nesting */ + nesting?: (number|null); + + /** ExecutionMetadata scheduledAt */ + scheduledAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionMetadata parentNodeExecution */ + parentNodeExecution?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** ExecutionMetadata referenceExecution */ + referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** ExecutionMetadata systemMetadata */ + systemMetadata?: (flyteidl.admin.ISystemMetadata|null); + + /** ExecutionMetadata artifactIds */ + artifactIds?: (flyteidl.core.IArtifactID[]|null); + } + + /** Represents an ExecutionMetadata. */ + class ExecutionMetadata implements IExecutionMetadata { + + /** + * Constructs a new ExecutionMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionMetadata); + + /** ExecutionMetadata mode. */ + public mode: flyteidl.admin.ExecutionMetadata.ExecutionMode; + + /** ExecutionMetadata principal. */ + public principal: string; + + /** ExecutionMetadata nesting. */ + public nesting: number; + + /** ExecutionMetadata scheduledAt. */ + public scheduledAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionMetadata parentNodeExecution. */ + public parentNodeExecution?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** ExecutionMetadata referenceExecution. */ + public referenceExecution?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** ExecutionMetadata systemMetadata. */ + public systemMetadata?: (flyteidl.admin.ISystemMetadata|null); + + /** ExecutionMetadata artifactIds. */ + public artifactIds: flyteidl.core.IArtifactID[]; + + /** + * Creates a new ExecutionMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionMetadata instance + */ + public static create(properties?: flyteidl.admin.IExecutionMetadata): flyteidl.admin.ExecutionMetadata; + + /** + * Encodes the specified ExecutionMetadata message. Does not implicitly {@link flyteidl.admin.ExecutionMetadata.verify|verify} messages. + * @param message ExecutionMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionMetadata + * @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.admin.ExecutionMetadata; + + /** + * Verifies an ExecutionMetadata 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 ExecutionMetadata { + + /** ExecutionMode enum. */ + enum ExecutionMode { + MANUAL = 0, + SCHEDULED = 1, + SYSTEM = 2, + RELAUNCH = 3, + CHILD_WORKFLOW = 4, + RECOVERED = 5, + TRIGGER = 6 + } + } + + /** Properties of a NotificationList. */ + interface INotificationList { + + /** NotificationList notifications */ + notifications?: (flyteidl.admin.INotification[]|null); + } + + /** Represents a NotificationList. */ + class NotificationList implements INotificationList { + + /** + * Constructs a new NotificationList. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INotificationList); + + /** NotificationList notifications. */ + public notifications: flyteidl.admin.INotification[]; + + /** + * Creates a new NotificationList instance using the specified properties. + * @param [properties] Properties to set + * @returns NotificationList instance + */ + public static create(properties?: flyteidl.admin.INotificationList): flyteidl.admin.NotificationList; + + /** + * Encodes the specified NotificationList message. Does not implicitly {@link flyteidl.admin.NotificationList.verify|verify} messages. + * @param message NotificationList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INotificationList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NotificationList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NotificationList + * @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.admin.NotificationList; + + /** + * Verifies a NotificationList 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 ExecutionSpec. */ + interface IExecutionSpec { + + /** ExecutionSpec launchPlan */ + launchPlan?: (flyteidl.core.IIdentifier|null); + + /** ExecutionSpec inputs */ + inputs?: (flyteidl.core.ILiteralMap|null); + + /** ExecutionSpec metadata */ + metadata?: (flyteidl.admin.IExecutionMetadata|null); + + /** ExecutionSpec notifications */ + notifications?: (flyteidl.admin.INotificationList|null); + + /** ExecutionSpec disableAll */ + disableAll?: (boolean|null); + + /** ExecutionSpec labels */ + labels?: (flyteidl.admin.ILabels|null); + + /** ExecutionSpec annotations */ + annotations?: (flyteidl.admin.IAnnotations|null); + + /** ExecutionSpec securityContext */ + securityContext?: (flyteidl.core.ISecurityContext|null); + + /** ExecutionSpec authRole */ + authRole?: (flyteidl.admin.IAuthRole|null); + + /** ExecutionSpec qualityOfService */ + qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** ExecutionSpec maxParallelism */ + maxParallelism?: (number|null); + + /** ExecutionSpec rawOutputDataConfig */ + rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); + + /** ExecutionSpec clusterAssignment */ + clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + + /** ExecutionSpec interruptible */ + interruptible?: (google.protobuf.IBoolValue|null); + + /** ExecutionSpec overwriteCache */ + overwriteCache?: (boolean|null); + + /** ExecutionSpec envs */ + envs?: (flyteidl.admin.IEnvs|null); + + /** ExecutionSpec tags */ + tags?: (string[]|null); + + /** ExecutionSpec executionClusterLabel */ + executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); + + /** ExecutionSpec executionEnvAssignments */ + executionEnvAssignments?: (flyteidl.core.IExecutionEnvAssignment[]|null); + } + + /** Represents an ExecutionSpec. */ + class ExecutionSpec implements IExecutionSpec { + + /** + * Constructs a new ExecutionSpec. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionSpec); + + /** ExecutionSpec launchPlan. */ + public launchPlan?: (flyteidl.core.IIdentifier|null); + + /** ExecutionSpec inputs. */ + public inputs?: (flyteidl.core.ILiteralMap|null); + + /** ExecutionSpec metadata. */ + public metadata?: (flyteidl.admin.IExecutionMetadata|null); + + /** ExecutionSpec notifications. */ + public notifications?: (flyteidl.admin.INotificationList|null); + + /** ExecutionSpec disableAll. */ + public disableAll: boolean; + + /** ExecutionSpec labels. */ + public labels?: (flyteidl.admin.ILabels|null); + + /** ExecutionSpec annotations. */ + public annotations?: (flyteidl.admin.IAnnotations|null); + + /** ExecutionSpec securityContext. */ + public securityContext?: (flyteidl.core.ISecurityContext|null); + + /** ExecutionSpec authRole. */ + public authRole?: (flyteidl.admin.IAuthRole|null); + + /** ExecutionSpec qualityOfService. */ + public qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** ExecutionSpec maxParallelism. */ + public maxParallelism: number; + + /** ExecutionSpec rawOutputDataConfig. */ + public rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); + + /** ExecutionSpec clusterAssignment. */ + public clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + + /** ExecutionSpec interruptible. */ + public interruptible?: (google.protobuf.IBoolValue|null); + + /** ExecutionSpec overwriteCache. */ + public overwriteCache: boolean; + + /** ExecutionSpec envs. */ + public envs?: (flyteidl.admin.IEnvs|null); + + /** ExecutionSpec tags. */ + public tags: string[]; + + /** ExecutionSpec executionClusterLabel. */ + public executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); + + /** ExecutionSpec executionEnvAssignments. */ + public executionEnvAssignments: flyteidl.core.IExecutionEnvAssignment[]; + + /** ExecutionSpec notificationOverrides. */ + public notificationOverrides?: ("notifications"|"disableAll"); + + /** + * Creates a new ExecutionSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionSpec instance + */ + public static create(properties?: flyteidl.admin.IExecutionSpec): flyteidl.admin.ExecutionSpec; + + /** + * Encodes the specified ExecutionSpec message. Does not implicitly {@link flyteidl.admin.ExecutionSpec.verify|verify} messages. + * @param message ExecutionSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionSpec + * @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.admin.ExecutionSpec; + + /** + * Verifies an ExecutionSpec 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 ExecutionTerminateRequest. */ + interface IExecutionTerminateRequest { + + /** ExecutionTerminateRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** ExecutionTerminateRequest cause */ + cause?: (string|null); + } + + /** Represents an ExecutionTerminateRequest. */ + class ExecutionTerminateRequest implements IExecutionTerminateRequest { + + /** + * Constructs a new ExecutionTerminateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionTerminateRequest); + + /** ExecutionTerminateRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** ExecutionTerminateRequest cause. */ + public cause: string; + + /** + * Creates a new ExecutionTerminateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionTerminateRequest instance + */ + public static create(properties?: flyteidl.admin.IExecutionTerminateRequest): flyteidl.admin.ExecutionTerminateRequest; + + /** + * Encodes the specified ExecutionTerminateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionTerminateRequest.verify|verify} messages. + * @param message ExecutionTerminateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionTerminateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionTerminateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionTerminateRequest + * @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.admin.ExecutionTerminateRequest; + + /** + * Verifies an ExecutionTerminateRequest 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 ExecutionTerminateResponse. */ + interface IExecutionTerminateResponse { + } + + /** Represents an ExecutionTerminateResponse. */ + class ExecutionTerminateResponse implements IExecutionTerminateResponse { + + /** + * Constructs a new ExecutionTerminateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionTerminateResponse); + + /** + * Creates a new ExecutionTerminateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionTerminateResponse instance + */ + public static create(properties?: flyteidl.admin.IExecutionTerminateResponse): flyteidl.admin.ExecutionTerminateResponse; + + /** + * Encodes the specified ExecutionTerminateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionTerminateResponse.verify|verify} messages. + * @param message ExecutionTerminateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionTerminateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionTerminateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionTerminateResponse + * @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.admin.ExecutionTerminateResponse; + + /** + * Verifies an ExecutionTerminateResponse 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 WorkflowExecutionGetDataRequest. */ + interface IWorkflowExecutionGetDataRequest { + + /** WorkflowExecutionGetDataRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + } + + /** Represents a WorkflowExecutionGetDataRequest. */ + class WorkflowExecutionGetDataRequest implements IWorkflowExecutionGetDataRequest { + + /** + * Constructs a new WorkflowExecutionGetDataRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetDataRequest); + + /** WorkflowExecutionGetDataRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** + * Creates a new WorkflowExecutionGetDataRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowExecutionGetDataRequest instance + */ + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetDataRequest): flyteidl.admin.WorkflowExecutionGetDataRequest; + + /** + * Encodes the specified WorkflowExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetDataRequest.verify|verify} messages. + * @param message WorkflowExecutionGetDataRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowExecutionGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowExecutionGetDataRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowExecutionGetDataRequest + * @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.admin.WorkflowExecutionGetDataRequest; + + /** + * Verifies a WorkflowExecutionGetDataRequest 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 WorkflowExecutionGetDataResponse. */ + interface IWorkflowExecutionGetDataResponse { + + /** WorkflowExecutionGetDataResponse outputs */ + outputs?: (flyteidl.admin.IUrlBlob|null); + + /** WorkflowExecutionGetDataResponse inputs */ + inputs?: (flyteidl.admin.IUrlBlob|null); + + /** WorkflowExecutionGetDataResponse fullInputs */ + fullInputs?: (flyteidl.core.ILiteralMap|null); + + /** WorkflowExecutionGetDataResponse fullOutputs */ + fullOutputs?: (flyteidl.core.ILiteralMap|null); + } + + /** Represents a WorkflowExecutionGetDataResponse. */ + class WorkflowExecutionGetDataResponse implements IWorkflowExecutionGetDataResponse { + + /** + * Constructs a new WorkflowExecutionGetDataResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetDataResponse); + + /** WorkflowExecutionGetDataResponse outputs. */ + public outputs?: (flyteidl.admin.IUrlBlob|null); + + /** WorkflowExecutionGetDataResponse inputs. */ + public inputs?: (flyteidl.admin.IUrlBlob|null); + + /** WorkflowExecutionGetDataResponse fullInputs. */ + public fullInputs?: (flyteidl.core.ILiteralMap|null); + + /** WorkflowExecutionGetDataResponse fullOutputs. */ + public fullOutputs?: (flyteidl.core.ILiteralMap|null); + + /** + * Creates a new WorkflowExecutionGetDataResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowExecutionGetDataResponse instance + */ + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetDataResponse): flyteidl.admin.WorkflowExecutionGetDataResponse; + + /** + * Encodes the specified WorkflowExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetDataResponse.verify|verify} messages. + * @param message WorkflowExecutionGetDataResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowExecutionGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowExecutionGetDataResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowExecutionGetDataResponse + * @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.admin.WorkflowExecutionGetDataResponse; + + /** + * Verifies a WorkflowExecutionGetDataResponse 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); + } + + /** ExecutionState enum. */ + enum ExecutionState { + EXECUTION_ACTIVE = 0, + EXECUTION_ARCHIVED = 1 + } + + /** Properties of an ExecutionUpdateRequest. */ + interface IExecutionUpdateRequest { + + /** ExecutionUpdateRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** ExecutionUpdateRequest state */ + state?: (flyteidl.admin.ExecutionState|null); + } + + /** Represents an ExecutionUpdateRequest. */ + class ExecutionUpdateRequest implements IExecutionUpdateRequest { + + /** + * Constructs a new ExecutionUpdateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionUpdateRequest); + + /** ExecutionUpdateRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** ExecutionUpdateRequest state. */ + public state: flyteidl.admin.ExecutionState; + + /** + * Creates a new ExecutionUpdateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionUpdateRequest instance + */ + public static create(properties?: flyteidl.admin.IExecutionUpdateRequest): flyteidl.admin.ExecutionUpdateRequest; + + /** + * Encodes the specified ExecutionUpdateRequest message. Does not implicitly {@link flyteidl.admin.ExecutionUpdateRequest.verify|verify} messages. + * @param message ExecutionUpdateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionUpdateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionUpdateRequest + * @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.admin.ExecutionUpdateRequest; + + /** + * Verifies an ExecutionUpdateRequest 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 ExecutionStateChangeDetails. */ + interface IExecutionStateChangeDetails { + + /** ExecutionStateChangeDetails state */ + state?: (flyteidl.admin.ExecutionState|null); + + /** ExecutionStateChangeDetails occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionStateChangeDetails principal */ + principal?: (string|null); + } + + /** Represents an ExecutionStateChangeDetails. */ + class ExecutionStateChangeDetails implements IExecutionStateChangeDetails { + + /** + * Constructs a new ExecutionStateChangeDetails. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionStateChangeDetails); + + /** ExecutionStateChangeDetails state. */ + public state: flyteidl.admin.ExecutionState; + + /** ExecutionStateChangeDetails occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); + + /** ExecutionStateChangeDetails principal. */ + public principal: string; + + /** + * Creates a new ExecutionStateChangeDetails instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionStateChangeDetails instance + */ + public static create(properties?: flyteidl.admin.IExecutionStateChangeDetails): flyteidl.admin.ExecutionStateChangeDetails; + + /** + * Encodes the specified ExecutionStateChangeDetails message. Does not implicitly {@link flyteidl.admin.ExecutionStateChangeDetails.verify|verify} messages. + * @param message ExecutionStateChangeDetails message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionStateChangeDetails, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionStateChangeDetails message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionStateChangeDetails + * @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.admin.ExecutionStateChangeDetails; + + /** + * Verifies an ExecutionStateChangeDetails 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 ExecutionUpdateResponse. */ + interface IExecutionUpdateResponse { + } + + /** Represents an ExecutionUpdateResponse. */ + class ExecutionUpdateResponse implements IExecutionUpdateResponse { + + /** + * Constructs a new ExecutionUpdateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionUpdateResponse); + + /** + * Creates a new ExecutionUpdateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionUpdateResponse instance + */ + public static create(properties?: flyteidl.admin.IExecutionUpdateResponse): flyteidl.admin.ExecutionUpdateResponse; + + /** + * Encodes the specified ExecutionUpdateResponse message. Does not implicitly {@link flyteidl.admin.ExecutionUpdateResponse.verify|verify} messages. + * @param message ExecutionUpdateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionUpdateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionUpdateResponse + * @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.admin.ExecutionUpdateResponse; + + /** + * Verifies an ExecutionUpdateResponse 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 WorkflowExecutionGetMetricsRequest. */ + interface IWorkflowExecutionGetMetricsRequest { + + /** WorkflowExecutionGetMetricsRequest id */ + id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** WorkflowExecutionGetMetricsRequest depth */ + depth?: (number|null); + } + + /** Represents a WorkflowExecutionGetMetricsRequest. */ + class WorkflowExecutionGetMetricsRequest implements IWorkflowExecutionGetMetricsRequest { + + /** + * Constructs a new WorkflowExecutionGetMetricsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsRequest); + + /** WorkflowExecutionGetMetricsRequest id. */ + public id?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** WorkflowExecutionGetMetricsRequest depth. */ + public depth: number; + + /** + * Creates a new WorkflowExecutionGetMetricsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowExecutionGetMetricsRequest instance + */ + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsRequest): flyteidl.admin.WorkflowExecutionGetMetricsRequest; + + /** + * Encodes the specified WorkflowExecutionGetMetricsRequest message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsRequest.verify|verify} messages. + * @param message WorkflowExecutionGetMetricsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowExecutionGetMetricsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowExecutionGetMetricsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowExecutionGetMetricsRequest + * @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.admin.WorkflowExecutionGetMetricsRequest; + + /** + * Verifies a WorkflowExecutionGetMetricsRequest 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 WorkflowExecutionGetMetricsResponse. */ + interface IWorkflowExecutionGetMetricsResponse { + + /** WorkflowExecutionGetMetricsResponse span */ + span?: (flyteidl.core.ISpan|null); + } + + /** Represents a WorkflowExecutionGetMetricsResponse. */ + class WorkflowExecutionGetMetricsResponse implements IWorkflowExecutionGetMetricsResponse { + + /** + * Constructs a new WorkflowExecutionGetMetricsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsResponse); + + /** WorkflowExecutionGetMetricsResponse span. */ + public span?: (flyteidl.core.ISpan|null); + + /** + * Creates a new WorkflowExecutionGetMetricsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowExecutionGetMetricsResponse instance + */ + public static create(properties?: flyteidl.admin.IWorkflowExecutionGetMetricsResponse): flyteidl.admin.WorkflowExecutionGetMetricsResponse; + + /** + * Encodes the specified WorkflowExecutionGetMetricsResponse message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionGetMetricsResponse.verify|verify} messages. + * @param message WorkflowExecutionGetMetricsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowExecutionGetMetricsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowExecutionGetMetricsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowExecutionGetMetricsResponse + * @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.admin.WorkflowExecutionGetMetricsResponse; + + /** + * Verifies a WorkflowExecutionGetMetricsResponse 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); + } + + /** MatchableResource enum. */ + enum MatchableResource { + TASK_RESOURCE = 0, + CLUSTER_RESOURCE = 1, + EXECUTION_QUEUE = 2, + EXECUTION_CLUSTER_LABEL = 3, + QUALITY_OF_SERVICE_SPECIFICATION = 4, + PLUGIN_OVERRIDE = 5, + WORKFLOW_EXECUTION_CONFIG = 6, + CLUSTER_ASSIGNMENT = 7 + } + + /** Properties of a TaskResourceSpec. */ + interface ITaskResourceSpec { + + /** TaskResourceSpec cpu */ + cpu?: (string|null); + + /** TaskResourceSpec gpu */ + gpu?: (string|null); + + /** TaskResourceSpec memory */ + memory?: (string|null); + + /** TaskResourceSpec storage */ + storage?: (string|null); + + /** TaskResourceSpec ephemeralStorage */ + ephemeralStorage?: (string|null); + } + + /** Represents a TaskResourceSpec. */ + class TaskResourceSpec implements ITaskResourceSpec { + + /** + * Constructs a new TaskResourceSpec. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskResourceSpec); + + /** TaskResourceSpec cpu. */ + public cpu: string; + + /** TaskResourceSpec gpu. */ + public gpu: string; + + /** TaskResourceSpec memory. */ + public memory: string; + + /** TaskResourceSpec storage. */ + public storage: string; + + /** TaskResourceSpec ephemeralStorage. */ + public ephemeralStorage: string; + + /** + * Creates a new TaskResourceSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskResourceSpec instance + */ + public static create(properties?: flyteidl.admin.ITaskResourceSpec): flyteidl.admin.TaskResourceSpec; + + /** + * Encodes the specified TaskResourceSpec message. Does not implicitly {@link flyteidl.admin.TaskResourceSpec.verify|verify} messages. + * @param message TaskResourceSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskResourceSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskResourceSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskResourceSpec + * @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.admin.TaskResourceSpec; + + /** + * Verifies a TaskResourceSpec 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 TaskResourceAttributes. */ + interface ITaskResourceAttributes { + + /** TaskResourceAttributes defaults */ + defaults?: (flyteidl.admin.ITaskResourceSpec|null); + + /** TaskResourceAttributes limits */ + limits?: (flyteidl.admin.ITaskResourceSpec|null); + } + + /** Represents a TaskResourceAttributes. */ + class TaskResourceAttributes implements ITaskResourceAttributes { + + /** + * Constructs a new TaskResourceAttributes. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskResourceAttributes); + + /** TaskResourceAttributes defaults. */ + public defaults?: (flyteidl.admin.ITaskResourceSpec|null); + + /** TaskResourceAttributes limits. */ + public limits?: (flyteidl.admin.ITaskResourceSpec|null); + + /** + * Creates a new TaskResourceAttributes instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskResourceAttributes instance + */ + public static create(properties?: flyteidl.admin.ITaskResourceAttributes): flyteidl.admin.TaskResourceAttributes; + + /** + * Encodes the specified TaskResourceAttributes message. Does not implicitly {@link flyteidl.admin.TaskResourceAttributes.verify|verify} messages. + * @param message TaskResourceAttributes message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskResourceAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskResourceAttributes message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskResourceAttributes + * @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.admin.TaskResourceAttributes; + + /** + * Verifies a TaskResourceAttributes 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 ClusterResourceAttributes. */ + interface IClusterResourceAttributes { + + /** ClusterResourceAttributes attributes */ + attributes?: ({ [k: string]: string }|null); + } + + /** Represents a ClusterResourceAttributes. */ + class ClusterResourceAttributes implements IClusterResourceAttributes { + + /** + * Constructs a new ClusterResourceAttributes. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IClusterResourceAttributes); + + /** ClusterResourceAttributes attributes. */ + public attributes: { [k: string]: string }; + + /** + * Creates a new ClusterResourceAttributes instance using the specified properties. + * @param [properties] Properties to set + * @returns ClusterResourceAttributes instance + */ + public static create(properties?: flyteidl.admin.IClusterResourceAttributes): flyteidl.admin.ClusterResourceAttributes; + + /** + * Encodes the specified ClusterResourceAttributes message. Does not implicitly {@link flyteidl.admin.ClusterResourceAttributes.verify|verify} messages. + * @param message ClusterResourceAttributes message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IClusterResourceAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ClusterResourceAttributes message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ClusterResourceAttributes + * @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.admin.ClusterResourceAttributes; + + /** + * Verifies a ClusterResourceAttributes 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 ExecutionQueueAttributes. */ + interface IExecutionQueueAttributes { + + /** ExecutionQueueAttributes tags */ + tags?: (string[]|null); + } + + /** Represents an ExecutionQueueAttributes. */ + class ExecutionQueueAttributes implements IExecutionQueueAttributes { + + /** + * Constructs a new ExecutionQueueAttributes. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionQueueAttributes); + + /** ExecutionQueueAttributes tags. */ + public tags: string[]; + + /** + * Creates a new ExecutionQueueAttributes instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionQueueAttributes instance + */ + public static create(properties?: flyteidl.admin.IExecutionQueueAttributes): flyteidl.admin.ExecutionQueueAttributes; + + /** + * Encodes the specified ExecutionQueueAttributes message. Does not implicitly {@link flyteidl.admin.ExecutionQueueAttributes.verify|verify} messages. + * @param message ExecutionQueueAttributes message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionQueueAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionQueueAttributes message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionQueueAttributes + * @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.admin.ExecutionQueueAttributes; + + /** + * Verifies an ExecutionQueueAttributes 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 ExecutionClusterLabel. */ + interface IExecutionClusterLabel { + + /** ExecutionClusterLabel value */ + value?: (string|null); + } + + /** Represents an ExecutionClusterLabel. */ + class ExecutionClusterLabel implements IExecutionClusterLabel { + + /** + * Constructs a new ExecutionClusterLabel. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionClusterLabel); + + /** ExecutionClusterLabel value. */ + public value: string; + + /** + * Creates a new ExecutionClusterLabel instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionClusterLabel instance + */ + public static create(properties?: flyteidl.admin.IExecutionClusterLabel): flyteidl.admin.ExecutionClusterLabel; + + /** + * Encodes the specified ExecutionClusterLabel message. Does not implicitly {@link flyteidl.admin.ExecutionClusterLabel.verify|verify} messages. + * @param message ExecutionClusterLabel message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionClusterLabel, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionClusterLabel message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionClusterLabel + * @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.admin.ExecutionClusterLabel; + + /** + * Verifies an ExecutionClusterLabel 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 PluginOverride. */ + interface IPluginOverride { + + /** PluginOverride taskType */ + taskType?: (string|null); + + /** PluginOverride pluginId */ + pluginId?: (string[]|null); + + /** PluginOverride missingPluginBehavior */ + missingPluginBehavior?: (flyteidl.admin.PluginOverride.MissingPluginBehavior|null); + } + + /** Represents a PluginOverride. */ + class PluginOverride implements IPluginOverride { + + /** + * Constructs a new PluginOverride. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IPluginOverride); + + /** PluginOverride taskType. */ + public taskType: string; + + /** PluginOverride pluginId. */ + public pluginId: string[]; + + /** PluginOverride missingPluginBehavior. */ + public missingPluginBehavior: flyteidl.admin.PluginOverride.MissingPluginBehavior; + + /** + * Creates a new PluginOverride instance using the specified properties. + * @param [properties] Properties to set + * @returns PluginOverride instance + */ + public static create(properties?: flyteidl.admin.IPluginOverride): flyteidl.admin.PluginOverride; + + /** + * Encodes the specified PluginOverride message. Does not implicitly {@link flyteidl.admin.PluginOverride.verify|verify} messages. + * @param message PluginOverride message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IPluginOverride, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PluginOverride message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PluginOverride + * @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.admin.PluginOverride; + + /** + * Verifies a PluginOverride 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 PluginOverride { + + /** MissingPluginBehavior enum. */ + enum MissingPluginBehavior { + FAIL = 0, + USE_DEFAULT = 1 + } + } + + /** Properties of a PluginOverrides. */ + interface IPluginOverrides { + + /** PluginOverrides overrides */ + overrides?: (flyteidl.admin.IPluginOverride[]|null); + } + + /** Represents a PluginOverrides. */ + class PluginOverrides implements IPluginOverrides { + + /** + * Constructs a new PluginOverrides. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IPluginOverrides); + + /** PluginOverrides overrides. */ + public overrides: flyteidl.admin.IPluginOverride[]; + + /** + * Creates a new PluginOverrides instance using the specified properties. + * @param [properties] Properties to set + * @returns PluginOverrides instance + */ + public static create(properties?: flyteidl.admin.IPluginOverrides): flyteidl.admin.PluginOverrides; + + /** + * Encodes the specified PluginOverrides message. Does not implicitly {@link flyteidl.admin.PluginOverrides.verify|verify} messages. + * @param message PluginOverrides message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IPluginOverrides, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PluginOverrides message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PluginOverrides + * @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.admin.PluginOverrides; + + /** + * Verifies a PluginOverrides 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 WorkflowExecutionConfig. */ + interface IWorkflowExecutionConfig { + + /** WorkflowExecutionConfig maxParallelism */ + maxParallelism?: (number|null); + + /** WorkflowExecutionConfig securityContext */ + securityContext?: (flyteidl.core.ISecurityContext|null); + + /** WorkflowExecutionConfig rawOutputDataConfig */ + rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); + + /** WorkflowExecutionConfig labels */ + labels?: (flyteidl.admin.ILabels|null); + + /** WorkflowExecutionConfig annotations */ + annotations?: (flyteidl.admin.IAnnotations|null); + + /** WorkflowExecutionConfig interruptible */ + interruptible?: (google.protobuf.IBoolValue|null); + + /** WorkflowExecutionConfig overwriteCache */ + overwriteCache?: (boolean|null); + + /** WorkflowExecutionConfig envs */ + envs?: (flyteidl.admin.IEnvs|null); + + /** WorkflowExecutionConfig executionEnvAssignments */ + executionEnvAssignments?: (flyteidl.core.IExecutionEnvAssignment[]|null); + } + + /** Represents a WorkflowExecutionConfig. */ + class WorkflowExecutionConfig implements IWorkflowExecutionConfig { + + /** + * Constructs a new WorkflowExecutionConfig. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowExecutionConfig); + + /** WorkflowExecutionConfig maxParallelism. */ + public maxParallelism: number; + + /** WorkflowExecutionConfig securityContext. */ + public securityContext?: (flyteidl.core.ISecurityContext|null); + + /** WorkflowExecutionConfig rawOutputDataConfig. */ + public rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); + + /** WorkflowExecutionConfig labels. */ + public labels?: (flyteidl.admin.ILabels|null); + + /** WorkflowExecutionConfig annotations. */ + public annotations?: (flyteidl.admin.IAnnotations|null); + + /** WorkflowExecutionConfig interruptible. */ + public interruptible?: (google.protobuf.IBoolValue|null); + + /** WorkflowExecutionConfig overwriteCache. */ + public overwriteCache: boolean; + + /** WorkflowExecutionConfig envs. */ + public envs?: (flyteidl.admin.IEnvs|null); + + /** WorkflowExecutionConfig executionEnvAssignments. */ + public executionEnvAssignments: flyteidl.core.IExecutionEnvAssignment[]; + + /** + * Creates a new WorkflowExecutionConfig instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowExecutionConfig instance + */ + public static create(properties?: flyteidl.admin.IWorkflowExecutionConfig): flyteidl.admin.WorkflowExecutionConfig; + + /** + * Encodes the specified WorkflowExecutionConfig message. Does not implicitly {@link flyteidl.admin.WorkflowExecutionConfig.verify|verify} messages. + * @param message WorkflowExecutionConfig message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowExecutionConfig, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowExecutionConfig message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowExecutionConfig + * @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.admin.WorkflowExecutionConfig; + + /** + * Verifies a WorkflowExecutionConfig 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 MatchingAttributes. */ + interface IMatchingAttributes { + + /** MatchingAttributes taskResourceAttributes */ + taskResourceAttributes?: (flyteidl.admin.ITaskResourceAttributes|null); + + /** MatchingAttributes clusterResourceAttributes */ + clusterResourceAttributes?: (flyteidl.admin.IClusterResourceAttributes|null); + + /** MatchingAttributes executionQueueAttributes */ + executionQueueAttributes?: (flyteidl.admin.IExecutionQueueAttributes|null); + + /** MatchingAttributes executionClusterLabel */ + executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); + + /** MatchingAttributes qualityOfService */ + qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** MatchingAttributes pluginOverrides */ + pluginOverrides?: (flyteidl.admin.IPluginOverrides|null); + + /** MatchingAttributes workflowExecutionConfig */ + workflowExecutionConfig?: (flyteidl.admin.IWorkflowExecutionConfig|null); + + /** MatchingAttributes clusterAssignment */ + clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + } + + /** Represents a MatchingAttributes. */ + class MatchingAttributes implements IMatchingAttributes { + + /** + * Constructs a new MatchingAttributes. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IMatchingAttributes); + + /** MatchingAttributes taskResourceAttributes. */ + public taskResourceAttributes?: (flyteidl.admin.ITaskResourceAttributes|null); + + /** MatchingAttributes clusterResourceAttributes. */ + public clusterResourceAttributes?: (flyteidl.admin.IClusterResourceAttributes|null); + + /** MatchingAttributes executionQueueAttributes. */ + public executionQueueAttributes?: (flyteidl.admin.IExecutionQueueAttributes|null); + + /** MatchingAttributes executionClusterLabel. */ + public executionClusterLabel?: (flyteidl.admin.IExecutionClusterLabel|null); + + /** MatchingAttributes qualityOfService. */ + public qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** MatchingAttributes pluginOverrides. */ + public pluginOverrides?: (flyteidl.admin.IPluginOverrides|null); + + /** MatchingAttributes workflowExecutionConfig. */ + public workflowExecutionConfig?: (flyteidl.admin.IWorkflowExecutionConfig|null); + + /** MatchingAttributes clusterAssignment. */ + public clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + + /** MatchingAttributes target. */ + public target?: ("taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|"executionClusterLabel"|"qualityOfService"|"pluginOverrides"|"workflowExecutionConfig"|"clusterAssignment"); + + /** + * Creates a new MatchingAttributes instance using the specified properties. + * @param [properties] Properties to set + * @returns MatchingAttributes instance + */ + public static create(properties?: flyteidl.admin.IMatchingAttributes): flyteidl.admin.MatchingAttributes; + + /** + * Encodes the specified MatchingAttributes message. Does not implicitly {@link flyteidl.admin.MatchingAttributes.verify|verify} messages. + * @param message MatchingAttributes message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IMatchingAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MatchingAttributes message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MatchingAttributes + * @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.admin.MatchingAttributes; + + /** + * Verifies a MatchingAttributes 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 MatchableAttributesConfiguration. */ + interface IMatchableAttributesConfiguration { + + /** MatchableAttributesConfiguration attributes */ + attributes?: (flyteidl.admin.IMatchingAttributes|null); + + /** MatchableAttributesConfiguration domain */ + domain?: (string|null); + + /** MatchableAttributesConfiguration project */ + project?: (string|null); + + /** MatchableAttributesConfiguration workflow */ + workflow?: (string|null); + + /** MatchableAttributesConfiguration launchPlan */ + launchPlan?: (string|null); + + /** MatchableAttributesConfiguration org */ + org?: (string|null); + } + + /** Represents a MatchableAttributesConfiguration. */ + class MatchableAttributesConfiguration implements IMatchableAttributesConfiguration { + + /** + * Constructs a new MatchableAttributesConfiguration. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IMatchableAttributesConfiguration); + + /** MatchableAttributesConfiguration attributes. */ + public attributes?: (flyteidl.admin.IMatchingAttributes|null); + + /** MatchableAttributesConfiguration domain. */ + public domain: string; + + /** MatchableAttributesConfiguration project. */ + public project: string; + + /** MatchableAttributesConfiguration workflow. */ + public workflow: string; + + /** MatchableAttributesConfiguration launchPlan. */ + public launchPlan: string; + + /** MatchableAttributesConfiguration org. */ + public org: string; + + /** + * Creates a new MatchableAttributesConfiguration instance using the specified properties. + * @param [properties] Properties to set + * @returns MatchableAttributesConfiguration instance + */ + public static create(properties?: flyteidl.admin.IMatchableAttributesConfiguration): flyteidl.admin.MatchableAttributesConfiguration; + + /** + * Encodes the specified MatchableAttributesConfiguration message. Does not implicitly {@link flyteidl.admin.MatchableAttributesConfiguration.verify|verify} messages. + * @param message MatchableAttributesConfiguration message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IMatchableAttributesConfiguration, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MatchableAttributesConfiguration message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MatchableAttributesConfiguration + * @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.admin.MatchableAttributesConfiguration; + + /** + * Verifies a MatchableAttributesConfiguration 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 ListMatchableAttributesRequest. */ + interface IListMatchableAttributesRequest { + + /** ListMatchableAttributesRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); + + /** ListMatchableAttributesRequest org */ + org?: (string|null); + } + + /** Represents a ListMatchableAttributesRequest. */ + class ListMatchableAttributesRequest implements IListMatchableAttributesRequest { + + /** + * Constructs a new ListMatchableAttributesRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IListMatchableAttributesRequest); + + /** ListMatchableAttributesRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; + + /** ListMatchableAttributesRequest org. */ + public org: string; + + /** + * Creates a new ListMatchableAttributesRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ListMatchableAttributesRequest instance + */ + public static create(properties?: flyteidl.admin.IListMatchableAttributesRequest): flyteidl.admin.ListMatchableAttributesRequest; + + /** + * Encodes the specified ListMatchableAttributesRequest message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesRequest.verify|verify} messages. + * @param message ListMatchableAttributesRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IListMatchableAttributesRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ListMatchableAttributesRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ListMatchableAttributesRequest + * @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.admin.ListMatchableAttributesRequest; + + /** + * Verifies a ListMatchableAttributesRequest 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 ListMatchableAttributesResponse. */ + interface IListMatchableAttributesResponse { + + /** ListMatchableAttributesResponse configurations */ + configurations?: (flyteidl.admin.IMatchableAttributesConfiguration[]|null); + } + + /** Represents a ListMatchableAttributesResponse. */ + class ListMatchableAttributesResponse implements IListMatchableAttributesResponse { + + /** + * Constructs a new ListMatchableAttributesResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IListMatchableAttributesResponse); + + /** ListMatchableAttributesResponse configurations. */ + public configurations: flyteidl.admin.IMatchableAttributesConfiguration[]; + + /** + * Creates a new ListMatchableAttributesResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ListMatchableAttributesResponse instance + */ + public static create(properties?: flyteidl.admin.IListMatchableAttributesResponse): flyteidl.admin.ListMatchableAttributesResponse; + + /** + * Encodes the specified ListMatchableAttributesResponse message. Does not implicitly {@link flyteidl.admin.ListMatchableAttributesResponse.verify|verify} messages. + * @param message ListMatchableAttributesResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IListMatchableAttributesResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ListMatchableAttributesResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ListMatchableAttributesResponse + * @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.admin.ListMatchableAttributesResponse; + + /** + * Verifies a ListMatchableAttributesResponse 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 LaunchPlanCreateRequest. */ + interface ILaunchPlanCreateRequest { + + /** LaunchPlanCreateRequest id */ + id?: (flyteidl.core.IIdentifier|null); + + /** LaunchPlanCreateRequest spec */ + spec?: (flyteidl.admin.ILaunchPlanSpec|null); + } + + /** Represents a LaunchPlanCreateRequest. */ + class LaunchPlanCreateRequest implements ILaunchPlanCreateRequest { + + /** + * Constructs a new LaunchPlanCreateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ILaunchPlanCreateRequest); + + /** LaunchPlanCreateRequest id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** LaunchPlanCreateRequest spec. */ + public spec?: (flyteidl.admin.ILaunchPlanSpec|null); + + /** + * Creates a new LaunchPlanCreateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns LaunchPlanCreateRequest instance + */ + public static create(properties?: flyteidl.admin.ILaunchPlanCreateRequest): flyteidl.admin.LaunchPlanCreateRequest; + + /** + * Encodes the specified LaunchPlanCreateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateRequest.verify|verify} messages. + * @param message LaunchPlanCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ILaunchPlanCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LaunchPlanCreateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LaunchPlanCreateRequest + * @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.admin.LaunchPlanCreateRequest; + + /** + * Verifies a LaunchPlanCreateRequest 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 LaunchPlanCreateResponse. */ + interface ILaunchPlanCreateResponse { + } + + /** Represents a LaunchPlanCreateResponse. */ + class LaunchPlanCreateResponse implements ILaunchPlanCreateResponse { + + /** + * Constructs a new LaunchPlanCreateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ILaunchPlanCreateResponse); + + /** + * Creates a new LaunchPlanCreateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns LaunchPlanCreateResponse instance + */ + public static create(properties?: flyteidl.admin.ILaunchPlanCreateResponse): flyteidl.admin.LaunchPlanCreateResponse; + + /** + * Encodes the specified LaunchPlanCreateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanCreateResponse.verify|verify} messages. + * @param message LaunchPlanCreateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ILaunchPlanCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LaunchPlanCreateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LaunchPlanCreateResponse + * @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.admin.LaunchPlanCreateResponse; + + /** + * Verifies a LaunchPlanCreateResponse 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); + } + + /** LaunchPlanState enum. */ + enum LaunchPlanState { + INACTIVE = 0, + ACTIVE = 1 + } + + /** Properties of a LaunchPlan. */ + interface ILaunchPlan { + + /** LaunchPlan id */ + id?: (flyteidl.core.IIdentifier|null); + + /** LaunchPlan spec */ + spec?: (flyteidl.admin.ILaunchPlanSpec|null); + + /** LaunchPlan closure */ + closure?: (flyteidl.admin.ILaunchPlanClosure|null); + } + + /** Represents a LaunchPlan. */ + class LaunchPlan implements ILaunchPlan { + + /** + * Constructs a new LaunchPlan. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ILaunchPlan); + + /** LaunchPlan id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** LaunchPlan spec. */ + public spec?: (flyteidl.admin.ILaunchPlanSpec|null); + + /** LaunchPlan closure. */ + public closure?: (flyteidl.admin.ILaunchPlanClosure|null); + + /** + * Creates a new LaunchPlan instance using the specified properties. + * @param [properties] Properties to set + * @returns LaunchPlan instance + */ + public static create(properties?: flyteidl.admin.ILaunchPlan): flyteidl.admin.LaunchPlan; + + /** + * Encodes the specified LaunchPlan message. Does not implicitly {@link flyteidl.admin.LaunchPlan.verify|verify} messages. + * @param message LaunchPlan message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ILaunchPlan, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LaunchPlan message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LaunchPlan + * @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.admin.LaunchPlan; + + /** + * Verifies a LaunchPlan 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 LaunchPlanList. */ + interface ILaunchPlanList { + + /** LaunchPlanList launchPlans */ + launchPlans?: (flyteidl.admin.ILaunchPlan[]|null); + + /** LaunchPlanList token */ + token?: (string|null); + } + + /** Represents a LaunchPlanList. */ + class LaunchPlanList implements ILaunchPlanList { + + /** + * Constructs a new LaunchPlanList. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ILaunchPlanList); + + /** LaunchPlanList launchPlans. */ + public launchPlans: flyteidl.admin.ILaunchPlan[]; + + /** LaunchPlanList token. */ + public token: string; + + /** + * Creates a new LaunchPlanList instance using the specified properties. + * @param [properties] Properties to set + * @returns LaunchPlanList instance + */ + public static create(properties?: flyteidl.admin.ILaunchPlanList): flyteidl.admin.LaunchPlanList; + + /** + * Encodes the specified LaunchPlanList message. Does not implicitly {@link flyteidl.admin.LaunchPlanList.verify|verify} messages. + * @param message LaunchPlanList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ILaunchPlanList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LaunchPlanList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LaunchPlanList + * @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.admin.LaunchPlanList; + + /** + * Verifies a LaunchPlanList 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 Auth. */ + interface IAuth { + + /** Auth assumableIamRole */ + assumableIamRole?: (string|null); + + /** Auth kubernetesServiceAccount */ + kubernetesServiceAccount?: (string|null); + } + + /** Represents an Auth. */ + class Auth implements IAuth { + + /** + * Constructs a new Auth. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IAuth); + + /** Auth assumableIamRole. */ + public assumableIamRole: string; + + /** Auth kubernetesServiceAccount. */ + public kubernetesServiceAccount: string; + + /** + * Creates a new Auth instance using the specified properties. + * @param [properties] Properties to set + * @returns Auth instance + */ + public static create(properties?: flyteidl.admin.IAuth): flyteidl.admin.Auth; + + /** + * Encodes the specified Auth message. Does not implicitly {@link flyteidl.admin.Auth.verify|verify} messages. + * @param message Auth message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IAuth, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Auth message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Auth + * @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.admin.Auth; + + /** + * Verifies an Auth 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 LaunchPlanSpec. */ + interface ILaunchPlanSpec { + + /** LaunchPlanSpec workflowId */ + workflowId?: (flyteidl.core.IIdentifier|null); + + /** LaunchPlanSpec entityMetadata */ + entityMetadata?: (flyteidl.admin.ILaunchPlanMetadata|null); + + /** LaunchPlanSpec defaultInputs */ + defaultInputs?: (flyteidl.core.IParameterMap|null); + + /** LaunchPlanSpec fixedInputs */ + fixedInputs?: (flyteidl.core.ILiteralMap|null); + + /** LaunchPlanSpec role */ + role?: (string|null); + + /** LaunchPlanSpec labels */ + labels?: (flyteidl.admin.ILabels|null); + + /** LaunchPlanSpec annotations */ + annotations?: (flyteidl.admin.IAnnotations|null); + + /** LaunchPlanSpec auth */ + auth?: (flyteidl.admin.IAuth|null); + + /** LaunchPlanSpec authRole */ + authRole?: (flyteidl.admin.IAuthRole|null); + + /** LaunchPlanSpec securityContext */ + securityContext?: (flyteidl.core.ISecurityContext|null); + + /** LaunchPlanSpec qualityOfService */ + qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** LaunchPlanSpec rawOutputDataConfig */ + rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); + + /** LaunchPlanSpec maxParallelism */ + maxParallelism?: (number|null); + + /** LaunchPlanSpec interruptible */ + interruptible?: (google.protobuf.IBoolValue|null); + + /** LaunchPlanSpec overwriteCache */ + overwriteCache?: (boolean|null); + + /** LaunchPlanSpec envs */ + envs?: (flyteidl.admin.IEnvs|null); + + /** LaunchPlanSpec executionEnvAssignments */ + executionEnvAssignments?: (flyteidl.core.IExecutionEnvAssignment[]|null); + + /** LaunchPlanSpec clusterAssignment */ + clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + } + + /** Represents a LaunchPlanSpec. */ + class LaunchPlanSpec implements ILaunchPlanSpec { + + /** + * Constructs a new LaunchPlanSpec. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ILaunchPlanSpec); + + /** LaunchPlanSpec workflowId. */ + public workflowId?: (flyteidl.core.IIdentifier|null); + + /** LaunchPlanSpec entityMetadata. */ + public entityMetadata?: (flyteidl.admin.ILaunchPlanMetadata|null); + + /** LaunchPlanSpec defaultInputs. */ + public defaultInputs?: (flyteidl.core.IParameterMap|null); + + /** LaunchPlanSpec fixedInputs. */ + public fixedInputs?: (flyteidl.core.ILiteralMap|null); + + /** LaunchPlanSpec role. */ + public role: string; + + /** LaunchPlanSpec labels. */ + public labels?: (flyteidl.admin.ILabels|null); + + /** LaunchPlanSpec annotations. */ + public annotations?: (flyteidl.admin.IAnnotations|null); + + /** LaunchPlanSpec auth. */ + public auth?: (flyteidl.admin.IAuth|null); + + /** LaunchPlanSpec authRole. */ + public authRole?: (flyteidl.admin.IAuthRole|null); + + /** LaunchPlanSpec securityContext. */ + public securityContext?: (flyteidl.core.ISecurityContext|null); + + /** LaunchPlanSpec qualityOfService. */ + public qualityOfService?: (flyteidl.core.IQualityOfService|null); + + /** LaunchPlanSpec rawOutputDataConfig. */ + public rawOutputDataConfig?: (flyteidl.admin.IRawOutputDataConfig|null); + + /** LaunchPlanSpec maxParallelism. */ + public maxParallelism: number; + + /** LaunchPlanSpec interruptible. */ + public interruptible?: (google.protobuf.IBoolValue|null); + + /** LaunchPlanSpec overwriteCache. */ + public overwriteCache: boolean; + + /** LaunchPlanSpec envs. */ + public envs?: (flyteidl.admin.IEnvs|null); + + /** LaunchPlanSpec executionEnvAssignments. */ + public executionEnvAssignments: flyteidl.core.IExecutionEnvAssignment[]; + + /** LaunchPlanSpec clusterAssignment. */ + public clusterAssignment?: (flyteidl.admin.IClusterAssignment|null); + + /** + * Creates a new LaunchPlanSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns LaunchPlanSpec instance + */ + public static create(properties?: flyteidl.admin.ILaunchPlanSpec): flyteidl.admin.LaunchPlanSpec; + + /** + * Encodes the specified LaunchPlanSpec message. Does not implicitly {@link flyteidl.admin.LaunchPlanSpec.verify|verify} messages. + * @param message LaunchPlanSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ILaunchPlanSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LaunchPlanSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LaunchPlanSpec + * @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.admin.LaunchPlanSpec; + + /** + * Verifies a LaunchPlanSpec 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 LaunchPlanClosure. */ + interface ILaunchPlanClosure { + + /** LaunchPlanClosure state */ + state?: (flyteidl.admin.LaunchPlanState|null); + + /** LaunchPlanClosure expectedInputs */ + expectedInputs?: (flyteidl.core.IParameterMap|null); + + /** LaunchPlanClosure expectedOutputs */ + expectedOutputs?: (flyteidl.core.IVariableMap|null); + + /** LaunchPlanClosure createdAt */ + createdAt?: (google.protobuf.ITimestamp|null); + + /** LaunchPlanClosure updatedAt */ + updatedAt?: (google.protobuf.ITimestamp|null); + } + + /** Represents a LaunchPlanClosure. */ + class LaunchPlanClosure implements ILaunchPlanClosure { + + /** + * Constructs a new LaunchPlanClosure. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ILaunchPlanClosure); + + /** LaunchPlanClosure state. */ + public state: flyteidl.admin.LaunchPlanState; + + /** LaunchPlanClosure expectedInputs. */ + public expectedInputs?: (flyteidl.core.IParameterMap|null); + + /** LaunchPlanClosure expectedOutputs. */ + public expectedOutputs?: (flyteidl.core.IVariableMap|null); + + /** LaunchPlanClosure createdAt. */ + public createdAt?: (google.protobuf.ITimestamp|null); + + /** LaunchPlanClosure updatedAt. */ + public updatedAt?: (google.protobuf.ITimestamp|null); + + /** + * Creates a new LaunchPlanClosure instance using the specified properties. + * @param [properties] Properties to set + * @returns LaunchPlanClosure instance + */ + public static create(properties?: flyteidl.admin.ILaunchPlanClosure): flyteidl.admin.LaunchPlanClosure; + + /** + * Encodes the specified LaunchPlanClosure message. Does not implicitly {@link flyteidl.admin.LaunchPlanClosure.verify|verify} messages. + * @param message LaunchPlanClosure message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ILaunchPlanClosure, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LaunchPlanClosure message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LaunchPlanClosure + * @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.admin.LaunchPlanClosure; + + /** + * Verifies a LaunchPlanClosure 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 LaunchPlanMetadata. */ + interface ILaunchPlanMetadata { + + /** LaunchPlanMetadata schedule */ + schedule?: (flyteidl.admin.ISchedule|null); + + /** LaunchPlanMetadata notifications */ + notifications?: (flyteidl.admin.INotification[]|null); + + /** LaunchPlanMetadata launchConditions */ + launchConditions?: (google.protobuf.IAny|null); + } + + /** Represents a LaunchPlanMetadata. */ + class LaunchPlanMetadata implements ILaunchPlanMetadata { + + /** + * Constructs a new LaunchPlanMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ILaunchPlanMetadata); + + /** LaunchPlanMetadata schedule. */ + public schedule?: (flyteidl.admin.ISchedule|null); + + /** LaunchPlanMetadata notifications. */ + public notifications: flyteidl.admin.INotification[]; + + /** LaunchPlanMetadata launchConditions. */ + public launchConditions?: (google.protobuf.IAny|null); + + /** + * Creates a new LaunchPlanMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns LaunchPlanMetadata instance + */ + public static create(properties?: flyteidl.admin.ILaunchPlanMetadata): flyteidl.admin.LaunchPlanMetadata; + + /** + * Encodes the specified LaunchPlanMetadata message. Does not implicitly {@link flyteidl.admin.LaunchPlanMetadata.verify|verify} messages. + * @param message LaunchPlanMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ILaunchPlanMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LaunchPlanMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LaunchPlanMetadata + * @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.admin.LaunchPlanMetadata; + + /** + * Verifies a LaunchPlanMetadata 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 LaunchPlanUpdateRequest. */ + interface ILaunchPlanUpdateRequest { + + /** LaunchPlanUpdateRequest id */ + id?: (flyteidl.core.IIdentifier|null); + + /** LaunchPlanUpdateRequest state */ + state?: (flyteidl.admin.LaunchPlanState|null); + } + + /** Represents a LaunchPlanUpdateRequest. */ + class LaunchPlanUpdateRequest implements ILaunchPlanUpdateRequest { + + /** + * Constructs a new LaunchPlanUpdateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ILaunchPlanUpdateRequest); + + /** LaunchPlanUpdateRequest id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** LaunchPlanUpdateRequest state. */ + public state: flyteidl.admin.LaunchPlanState; + + /** + * Creates a new LaunchPlanUpdateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns LaunchPlanUpdateRequest instance + */ + public static create(properties?: flyteidl.admin.ILaunchPlanUpdateRequest): flyteidl.admin.LaunchPlanUpdateRequest; + + /** + * Encodes the specified LaunchPlanUpdateRequest message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateRequest.verify|verify} messages. + * @param message LaunchPlanUpdateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ILaunchPlanUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LaunchPlanUpdateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LaunchPlanUpdateRequest + * @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.admin.LaunchPlanUpdateRequest; + + /** + * Verifies a LaunchPlanUpdateRequest 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 LaunchPlanUpdateResponse. */ + interface ILaunchPlanUpdateResponse { + } + + /** Represents a LaunchPlanUpdateResponse. */ + class LaunchPlanUpdateResponse implements ILaunchPlanUpdateResponse { + + /** + * Constructs a new LaunchPlanUpdateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ILaunchPlanUpdateResponse); + + /** + * Creates a new LaunchPlanUpdateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns LaunchPlanUpdateResponse instance + */ + public static create(properties?: flyteidl.admin.ILaunchPlanUpdateResponse): flyteidl.admin.LaunchPlanUpdateResponse; + + /** + * Encodes the specified LaunchPlanUpdateResponse message. Does not implicitly {@link flyteidl.admin.LaunchPlanUpdateResponse.verify|verify} messages. + * @param message LaunchPlanUpdateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ILaunchPlanUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LaunchPlanUpdateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LaunchPlanUpdateResponse + * @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.admin.LaunchPlanUpdateResponse; + + /** + * Verifies a LaunchPlanUpdateResponse 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 ActiveLaunchPlanRequest. */ + interface IActiveLaunchPlanRequest { + + /** ActiveLaunchPlanRequest id */ + id?: (flyteidl.admin.INamedEntityIdentifier|null); + } + + /** Represents an ActiveLaunchPlanRequest. */ + class ActiveLaunchPlanRequest implements IActiveLaunchPlanRequest { + + /** + * Constructs a new ActiveLaunchPlanRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IActiveLaunchPlanRequest); + + /** ActiveLaunchPlanRequest id. */ + public id?: (flyteidl.admin.INamedEntityIdentifier|null); + + /** + * Creates a new ActiveLaunchPlanRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ActiveLaunchPlanRequest instance + */ + public static create(properties?: flyteidl.admin.IActiveLaunchPlanRequest): flyteidl.admin.ActiveLaunchPlanRequest; + + /** + * Encodes the specified ActiveLaunchPlanRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanRequest.verify|verify} messages. + * @param message ActiveLaunchPlanRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IActiveLaunchPlanRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ActiveLaunchPlanRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ActiveLaunchPlanRequest + * @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.admin.ActiveLaunchPlanRequest; + + /** + * Verifies an ActiveLaunchPlanRequest 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 ActiveLaunchPlanListRequest. */ + interface IActiveLaunchPlanListRequest { + + /** ActiveLaunchPlanListRequest project */ + project?: (string|null); + + /** ActiveLaunchPlanListRequest domain */ + domain?: (string|null); + + /** ActiveLaunchPlanListRequest limit */ + limit?: (number|null); + + /** ActiveLaunchPlanListRequest token */ + token?: (string|null); + + /** ActiveLaunchPlanListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + + /** ActiveLaunchPlanListRequest org */ + org?: (string|null); + } + + /** Represents an ActiveLaunchPlanListRequest. */ + class ActiveLaunchPlanListRequest implements IActiveLaunchPlanListRequest { + + /** + * Constructs a new ActiveLaunchPlanListRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IActiveLaunchPlanListRequest); + + /** ActiveLaunchPlanListRequest project. */ + public project: string; + + /** ActiveLaunchPlanListRequest domain. */ + public domain: string; + + /** ActiveLaunchPlanListRequest limit. */ + public limit: number; + + /** ActiveLaunchPlanListRequest token. */ + public token: string; + + /** ActiveLaunchPlanListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); + + /** ActiveLaunchPlanListRequest org. */ + public org: string; + + /** + * Creates a new ActiveLaunchPlanListRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ActiveLaunchPlanListRequest instance + */ + public static create(properties?: flyteidl.admin.IActiveLaunchPlanListRequest): flyteidl.admin.ActiveLaunchPlanListRequest; + + /** + * Encodes the specified ActiveLaunchPlanListRequest message. Does not implicitly {@link flyteidl.admin.ActiveLaunchPlanListRequest.verify|verify} messages. + * @param message ActiveLaunchPlanListRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IActiveLaunchPlanListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ActiveLaunchPlanListRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ActiveLaunchPlanListRequest + * @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.admin.ActiveLaunchPlanListRequest; + + /** + * Verifies an ActiveLaunchPlanListRequest 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); + } + + /** FixedRateUnit enum. */ + enum FixedRateUnit { + MINUTE = 0, + HOUR = 1, + DAY = 2 + } + + /** Properties of a FixedRate. */ + interface IFixedRate { + + /** FixedRate value */ + value?: (number|null); + + /** FixedRate unit */ + unit?: (flyteidl.admin.FixedRateUnit|null); + } + + /** Represents a FixedRate. */ + class FixedRate implements IFixedRate { + + /** + * Constructs a new FixedRate. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IFixedRate); + + /** FixedRate value. */ + public value: number; + + /** FixedRate unit. */ + public unit: flyteidl.admin.FixedRateUnit; + + /** + * Creates a new FixedRate instance using the specified properties. + * @param [properties] Properties to set + * @returns FixedRate instance + */ + public static create(properties?: flyteidl.admin.IFixedRate): flyteidl.admin.FixedRate; + + /** + * Encodes the specified FixedRate message. Does not implicitly {@link flyteidl.admin.FixedRate.verify|verify} messages. + * @param message FixedRate message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IFixedRate, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FixedRate message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FixedRate + * @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.admin.FixedRate; + + /** + * Verifies a FixedRate 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 CronSchedule. */ + interface ICronSchedule { + + /** CronSchedule schedule */ + schedule?: (string|null); + + /** CronSchedule offset */ + offset?: (string|null); + } + + /** Represents a CronSchedule. */ + class CronSchedule implements ICronSchedule { + + /** + * Constructs a new CronSchedule. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ICronSchedule); + + /** CronSchedule schedule. */ + public schedule: string; + + /** CronSchedule offset. */ + public offset: string; + + /** + * Creates a new CronSchedule instance using the specified properties. + * @param [properties] Properties to set + * @returns CronSchedule instance + */ + public static create(properties?: flyteidl.admin.ICronSchedule): flyteidl.admin.CronSchedule; + + /** + * Encodes the specified CronSchedule message. Does not implicitly {@link flyteidl.admin.CronSchedule.verify|verify} messages. + * @param message CronSchedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ICronSchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CronSchedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CronSchedule + * @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.admin.CronSchedule; + + /** + * Verifies a CronSchedule 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 Schedule. */ + interface ISchedule { + + /** Schedule cronExpression */ + cronExpression?: (string|null); + + /** Schedule rate */ + rate?: (flyteidl.admin.IFixedRate|null); + + /** Schedule cronSchedule */ + cronSchedule?: (flyteidl.admin.ICronSchedule|null); + + /** Schedule kickoffTimeInputArg */ + kickoffTimeInputArg?: (string|null); + } + + /** Represents a Schedule. */ + class Schedule implements ISchedule { + + /** + * Constructs a new Schedule. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISchedule); + + /** Schedule cronExpression. */ + public cronExpression: string; + + /** Schedule rate. */ + public rate?: (flyteidl.admin.IFixedRate|null); + + /** Schedule cronSchedule. */ + public cronSchedule?: (flyteidl.admin.ICronSchedule|null); + + /** Schedule kickoffTimeInputArg. */ + public kickoffTimeInputArg: string; + + /** Schedule ScheduleExpression. */ + public ScheduleExpression?: ("cronExpression"|"rate"|"cronSchedule"); + + /** + * Creates a new Schedule instance using the specified properties. + * @param [properties] Properties to set + * @returns Schedule instance + */ + public static create(properties?: flyteidl.admin.ISchedule): flyteidl.admin.Schedule; + + /** + * Encodes the specified Schedule message. Does not implicitly {@link flyteidl.admin.Schedule.verify|verify} messages. + * @param message Schedule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISchedule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Schedule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Schedule + * @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.admin.Schedule; + + /** + * Verifies a Schedule 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 NodeExecutionGetRequest. */ + interface INodeExecutionGetRequest { + + /** NodeExecutionGetRequest id */ + id?: (flyteidl.core.INodeExecutionIdentifier|null); + } + + /** Represents a NodeExecutionGetRequest. */ + class NodeExecutionGetRequest implements INodeExecutionGetRequest { + + /** + * Constructs a new NodeExecutionGetRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INodeExecutionGetRequest); + + /** NodeExecutionGetRequest id. */ + public id?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** + * Creates a new NodeExecutionGetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecutionGetRequest instance + */ + public static create(properties?: flyteidl.admin.INodeExecutionGetRequest): flyteidl.admin.NodeExecutionGetRequest; + + /** + * Encodes the specified NodeExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetRequest.verify|verify} messages. + * @param message NodeExecutionGetRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INodeExecutionGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NodeExecutionGetRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NodeExecutionGetRequest + * @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.admin.NodeExecutionGetRequest; + + /** + * Verifies a NodeExecutionGetRequest 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 NodeExecutionListRequest. */ + interface INodeExecutionListRequest { + + /** NodeExecutionListRequest workflowExecutionId */ + workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** NodeExecutionListRequest limit */ + limit?: (number|null); + + /** NodeExecutionListRequest token */ + token?: (string|null); + + /** NodeExecutionListRequest filters */ + filters?: (string|null); + + /** NodeExecutionListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + + /** NodeExecutionListRequest uniqueParentId */ + uniqueParentId?: (string|null); + } + + /** Represents a NodeExecutionListRequest. */ + class NodeExecutionListRequest implements INodeExecutionListRequest { + + /** + * Constructs a new NodeExecutionListRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INodeExecutionListRequest); + + /** NodeExecutionListRequest workflowExecutionId. */ + public workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** NodeExecutionListRequest limit. */ + public limit: number; + + /** NodeExecutionListRequest token. */ + public token: string; + + /** NodeExecutionListRequest filters. */ + public filters: string; + + /** NodeExecutionListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); + + /** NodeExecutionListRequest uniqueParentId. */ + public uniqueParentId: string; + + /** + * Creates a new NodeExecutionListRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecutionListRequest instance + */ + public static create(properties?: flyteidl.admin.INodeExecutionListRequest): flyteidl.admin.NodeExecutionListRequest; + + /** + * Encodes the specified NodeExecutionListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionListRequest.verify|verify} messages. + * @param message NodeExecutionListRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INodeExecutionListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NodeExecutionListRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NodeExecutionListRequest + * @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.admin.NodeExecutionListRequest; + + /** + * Verifies a NodeExecutionListRequest 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 NodeExecutionForTaskListRequest. */ + interface INodeExecutionForTaskListRequest { + + /** NodeExecutionForTaskListRequest taskExecutionId */ + taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** NodeExecutionForTaskListRequest limit */ + limit?: (number|null); + + /** NodeExecutionForTaskListRequest token */ + token?: (string|null); + + /** NodeExecutionForTaskListRequest filters */ + filters?: (string|null); + + /** NodeExecutionForTaskListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + } + + /** Represents a NodeExecutionForTaskListRequest. */ + class NodeExecutionForTaskListRequest implements INodeExecutionForTaskListRequest { + + /** + * Constructs a new NodeExecutionForTaskListRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INodeExecutionForTaskListRequest); + + /** NodeExecutionForTaskListRequest taskExecutionId. */ + public taskExecutionId?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** NodeExecutionForTaskListRequest limit. */ + public limit: number; + + /** NodeExecutionForTaskListRequest token. */ + public token: string; + + /** NodeExecutionForTaskListRequest filters. */ + public filters: string; + + /** NodeExecutionForTaskListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); + + /** + * Creates a new NodeExecutionForTaskListRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecutionForTaskListRequest instance + */ + public static create(properties?: flyteidl.admin.INodeExecutionForTaskListRequest): flyteidl.admin.NodeExecutionForTaskListRequest; + + /** + * Encodes the specified NodeExecutionForTaskListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionForTaskListRequest.verify|verify} messages. + * @param message NodeExecutionForTaskListRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INodeExecutionForTaskListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NodeExecutionForTaskListRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NodeExecutionForTaskListRequest + * @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.admin.NodeExecutionForTaskListRequest; + + /** + * Verifies a NodeExecutionForTaskListRequest 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 NodeExecution. */ + interface INodeExecution { + + /** NodeExecution id */ + id?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** NodeExecution inputUri */ + inputUri?: (string|null); + + /** NodeExecution closure */ + closure?: (flyteidl.admin.INodeExecutionClosure|null); + + /** NodeExecution metadata */ + metadata?: (flyteidl.admin.INodeExecutionMetaData|null); + } + + /** Represents a NodeExecution. */ + class NodeExecution implements INodeExecution { + + /** + * Constructs a new NodeExecution. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INodeExecution); + + /** NodeExecution id. */ + public id?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** NodeExecution inputUri. */ + public inputUri: string; + + /** NodeExecution closure. */ + public closure?: (flyteidl.admin.INodeExecutionClosure|null); + + /** NodeExecution metadata. */ + public metadata?: (flyteidl.admin.INodeExecutionMetaData|null); + + /** + * Creates a new NodeExecution instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecution instance + */ + public static create(properties?: flyteidl.admin.INodeExecution): flyteidl.admin.NodeExecution; + + /** + * Encodes the specified NodeExecution message. Does not implicitly {@link flyteidl.admin.NodeExecution.verify|verify} messages. + * @param message NodeExecution message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INodeExecution, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NodeExecution message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NodeExecution + * @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.admin.NodeExecution; + + /** + * Verifies a NodeExecution 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 NodeExecutionMetaData. */ + interface INodeExecutionMetaData { + + /** NodeExecutionMetaData retryGroup */ + retryGroup?: (string|null); + + /** NodeExecutionMetaData isParentNode */ + isParentNode?: (boolean|null); + + /** NodeExecutionMetaData specNodeId */ + specNodeId?: (string|null); + + /** NodeExecutionMetaData isDynamic */ + isDynamic?: (boolean|null); + + /** NodeExecutionMetaData isArray */ + isArray?: (boolean|null); + + /** NodeExecutionMetaData isEager */ + isEager?: (boolean|null); + } + + /** Represents a NodeExecutionMetaData. */ + class NodeExecutionMetaData implements INodeExecutionMetaData { + + /** + * Constructs a new NodeExecutionMetaData. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INodeExecutionMetaData); + + /** NodeExecutionMetaData retryGroup. */ + public retryGroup: string; + + /** NodeExecutionMetaData isParentNode. */ + public isParentNode: boolean; + + /** NodeExecutionMetaData specNodeId. */ + public specNodeId: string; + + /** NodeExecutionMetaData isDynamic. */ + public isDynamic: boolean; + + /** NodeExecutionMetaData isArray. */ + public isArray: boolean; + + /** NodeExecutionMetaData isEager. */ + public isEager: boolean; + + /** + * Creates a new NodeExecutionMetaData instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecutionMetaData instance + */ + public static create(properties?: flyteidl.admin.INodeExecutionMetaData): flyteidl.admin.NodeExecutionMetaData; + + /** + * Encodes the specified NodeExecutionMetaData message. Does not implicitly {@link flyteidl.admin.NodeExecutionMetaData.verify|verify} messages. + * @param message NodeExecutionMetaData message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INodeExecutionMetaData, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NodeExecutionMetaData message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NodeExecutionMetaData + * @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.admin.NodeExecutionMetaData; + + /** + * Verifies a NodeExecutionMetaData 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 NodeExecutionList. */ + interface INodeExecutionList { + + /** NodeExecutionList nodeExecutions */ + nodeExecutions?: (flyteidl.admin.INodeExecution[]|null); + + /** NodeExecutionList token */ + token?: (string|null); + } + + /** Represents a NodeExecutionList. */ + class NodeExecutionList implements INodeExecutionList { + + /** + * Constructs a new NodeExecutionList. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INodeExecutionList); + + /** NodeExecutionList nodeExecutions. */ + public nodeExecutions: flyteidl.admin.INodeExecution[]; + + /** NodeExecutionList token. */ + public token: string; + + /** + * Creates a new NodeExecutionList instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecutionList instance + */ + public static create(properties?: flyteidl.admin.INodeExecutionList): flyteidl.admin.NodeExecutionList; + + /** + * Encodes the specified NodeExecutionList message. Does not implicitly {@link flyteidl.admin.NodeExecutionList.verify|verify} messages. + * @param message NodeExecutionList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INodeExecutionList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NodeExecutionList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NodeExecutionList + * @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.admin.NodeExecutionList; + + /** + * Verifies a NodeExecutionList 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 NodeExecutionClosure. */ + interface INodeExecutionClosure { + + /** NodeExecutionClosure outputUri */ + outputUri?: (string|null); + + /** NodeExecutionClosure error */ + error?: (flyteidl.core.IExecutionError|null); + + /** NodeExecutionClosure outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionClosure phase */ + phase?: (flyteidl.core.NodeExecution.Phase|null); + + /** NodeExecutionClosure startedAt */ + startedAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionClosure duration */ + duration?: (google.protobuf.IDuration|null); + + /** NodeExecutionClosure createdAt */ + createdAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionClosure updatedAt */ + updatedAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionClosure workflowNodeMetadata */ + workflowNodeMetadata?: (flyteidl.admin.IWorkflowNodeMetadata|null); + + /** NodeExecutionClosure taskNodeMetadata */ + taskNodeMetadata?: (flyteidl.admin.ITaskNodeMetadata|null); + + /** NodeExecutionClosure deckUri */ + deckUri?: (string|null); + + /** NodeExecutionClosure dynamicJobSpecUri */ + dynamicJobSpecUri?: (string|null); + } + + /** Represents a NodeExecutionClosure. */ + class NodeExecutionClosure implements INodeExecutionClosure { + + /** + * Constructs a new NodeExecutionClosure. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INodeExecutionClosure); + + /** NodeExecutionClosure outputUri. */ + public outputUri: string; + + /** NodeExecutionClosure error. */ + public error?: (flyteidl.core.IExecutionError|null); + + /** NodeExecutionClosure outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionClosure phase. */ + public phase: flyteidl.core.NodeExecution.Phase; + + /** NodeExecutionClosure startedAt. */ + public startedAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionClosure duration. */ + public duration?: (google.protobuf.IDuration|null); + + /** NodeExecutionClosure createdAt. */ + public createdAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionClosure updatedAt. */ + public updatedAt?: (google.protobuf.ITimestamp|null); + + /** NodeExecutionClosure workflowNodeMetadata. */ + public workflowNodeMetadata?: (flyteidl.admin.IWorkflowNodeMetadata|null); + + /** NodeExecutionClosure taskNodeMetadata. */ + public taskNodeMetadata?: (flyteidl.admin.ITaskNodeMetadata|null); + + /** NodeExecutionClosure deckUri. */ + public deckUri: string; + + /** NodeExecutionClosure dynamicJobSpecUri. */ + public dynamicJobSpecUri: string; + + /** NodeExecutionClosure outputResult. */ + public outputResult?: ("outputUri"|"error"|"outputData"); + + /** NodeExecutionClosure targetMetadata. */ + public targetMetadata?: ("workflowNodeMetadata"|"taskNodeMetadata"); + + /** + * Creates a new NodeExecutionClosure instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecutionClosure instance + */ + public static create(properties?: flyteidl.admin.INodeExecutionClosure): flyteidl.admin.NodeExecutionClosure; + + /** + * Encodes the specified NodeExecutionClosure message. Does not implicitly {@link flyteidl.admin.NodeExecutionClosure.verify|verify} messages. + * @param message NodeExecutionClosure message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INodeExecutionClosure, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NodeExecutionClosure message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NodeExecutionClosure + * @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.admin.NodeExecutionClosure; + + /** + * Verifies a NodeExecutionClosure 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 WorkflowNodeMetadata. */ + interface IWorkflowNodeMetadata { + + /** WorkflowNodeMetadata executionId */ + executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + } + + /** Represents a WorkflowNodeMetadata. */ + class WorkflowNodeMetadata implements IWorkflowNodeMetadata { + + /** + * Constructs a new WorkflowNodeMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowNodeMetadata); + + /** WorkflowNodeMetadata executionId. */ + public executionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** + * Creates a new WorkflowNodeMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowNodeMetadata instance + */ + public static create(properties?: flyteidl.admin.IWorkflowNodeMetadata): flyteidl.admin.WorkflowNodeMetadata; + + /** + * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.WorkflowNodeMetadata.verify|verify} messages. + * @param message WorkflowNodeMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowNodeMetadata + * @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.admin.WorkflowNodeMetadata; + + /** + * Verifies a WorkflowNodeMetadata 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 TaskNodeMetadata. */ + interface ITaskNodeMetadata { + + /** TaskNodeMetadata cacheStatus */ + cacheStatus?: (flyteidl.core.CatalogCacheStatus|null); + + /** TaskNodeMetadata catalogKey */ + catalogKey?: (flyteidl.core.ICatalogMetadata|null); + + /** TaskNodeMetadata checkpointUri */ + checkpointUri?: (string|null); + } + + /** Represents a TaskNodeMetadata. */ + class TaskNodeMetadata implements ITaskNodeMetadata { + + /** + * Constructs a new TaskNodeMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskNodeMetadata); + + /** TaskNodeMetadata cacheStatus. */ + public cacheStatus: flyteidl.core.CatalogCacheStatus; + + /** TaskNodeMetadata catalogKey. */ + public catalogKey?: (flyteidl.core.ICatalogMetadata|null); + + /** TaskNodeMetadata checkpointUri. */ + public checkpointUri: string; + + /** + * Creates a new TaskNodeMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskNodeMetadata instance + */ + public static create(properties?: flyteidl.admin.ITaskNodeMetadata): flyteidl.admin.TaskNodeMetadata; + + /** + * Encodes the specified TaskNodeMetadata message. Does not implicitly {@link flyteidl.admin.TaskNodeMetadata.verify|verify} messages. + * @param message TaskNodeMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskNodeMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskNodeMetadata + * @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.admin.TaskNodeMetadata; + + /** + * Verifies a TaskNodeMetadata 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 DynamicWorkflowNodeMetadata. */ + interface IDynamicWorkflowNodeMetadata { + + /** DynamicWorkflowNodeMetadata id */ + id?: (flyteidl.core.IIdentifier|null); + + /** DynamicWorkflowNodeMetadata compiledWorkflow */ + compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri */ + dynamicJobSpecUri?: (string|null); + } + + /** Represents a DynamicWorkflowNodeMetadata. */ + class DynamicWorkflowNodeMetadata implements IDynamicWorkflowNodeMetadata { + + /** + * Constructs a new DynamicWorkflowNodeMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IDynamicWorkflowNodeMetadata); + + /** DynamicWorkflowNodeMetadata id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** DynamicWorkflowNodeMetadata compiledWorkflow. */ + public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** DynamicWorkflowNodeMetadata dynamicJobSpecUri. */ + public dynamicJobSpecUri: string; + + /** + * Creates a new DynamicWorkflowNodeMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns DynamicWorkflowNodeMetadata instance + */ + public static create(properties?: flyteidl.admin.IDynamicWorkflowNodeMetadata): flyteidl.admin.DynamicWorkflowNodeMetadata; + + /** + * Encodes the specified DynamicWorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.DynamicWorkflowNodeMetadata.verify|verify} messages. + * @param message DynamicWorkflowNodeMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IDynamicWorkflowNodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DynamicWorkflowNodeMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DynamicWorkflowNodeMetadata + * @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.admin.DynamicWorkflowNodeMetadata; + + /** + * Verifies a DynamicWorkflowNodeMetadata 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 NodeExecutionGetDataRequest. */ + interface INodeExecutionGetDataRequest { + + /** NodeExecutionGetDataRequest id */ + id?: (flyteidl.core.INodeExecutionIdentifier|null); + } + + /** Represents a NodeExecutionGetDataRequest. */ + class NodeExecutionGetDataRequest implements INodeExecutionGetDataRequest { + + /** + * Constructs a new NodeExecutionGetDataRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INodeExecutionGetDataRequest); + + /** NodeExecutionGetDataRequest id. */ + public id?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** + * Creates a new NodeExecutionGetDataRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecutionGetDataRequest instance + */ + public static create(properties?: flyteidl.admin.INodeExecutionGetDataRequest): flyteidl.admin.NodeExecutionGetDataRequest; + + /** + * Encodes the specified NodeExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataRequest.verify|verify} messages. + * @param message NodeExecutionGetDataRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INodeExecutionGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NodeExecutionGetDataRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NodeExecutionGetDataRequest + * @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.admin.NodeExecutionGetDataRequest; + + /** + * Verifies a NodeExecutionGetDataRequest 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 NodeExecutionGetDataResponse. */ + interface INodeExecutionGetDataResponse { + + /** NodeExecutionGetDataResponse inputs */ + inputs?: (flyteidl.admin.IUrlBlob|null); + + /** NodeExecutionGetDataResponse outputs */ + outputs?: (flyteidl.admin.IUrlBlob|null); + + /** NodeExecutionGetDataResponse fullInputs */ + fullInputs?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionGetDataResponse fullOutputs */ + fullOutputs?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionGetDataResponse dynamicWorkflow */ + dynamicWorkflow?: (flyteidl.admin.IDynamicWorkflowNodeMetadata|null); + + /** NodeExecutionGetDataResponse flyteUrls */ + flyteUrls?: (flyteidl.admin.IFlyteURLs|null); + } + + /** Represents a NodeExecutionGetDataResponse. */ + class NodeExecutionGetDataResponse implements INodeExecutionGetDataResponse { + + /** + * Constructs a new NodeExecutionGetDataResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.INodeExecutionGetDataResponse); + + /** NodeExecutionGetDataResponse inputs. */ + public inputs?: (flyteidl.admin.IUrlBlob|null); + + /** NodeExecutionGetDataResponse outputs. */ + public outputs?: (flyteidl.admin.IUrlBlob|null); + + /** NodeExecutionGetDataResponse fullInputs. */ + public fullInputs?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionGetDataResponse fullOutputs. */ + public fullOutputs?: (flyteidl.core.ILiteralMap|null); + + /** NodeExecutionGetDataResponse dynamicWorkflow. */ + public dynamicWorkflow?: (flyteidl.admin.IDynamicWorkflowNodeMetadata|null); + + /** NodeExecutionGetDataResponse flyteUrls. */ + public flyteUrls?: (flyteidl.admin.IFlyteURLs|null); + + /** + * Creates a new NodeExecutionGetDataResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns NodeExecutionGetDataResponse instance + */ + public static create(properties?: flyteidl.admin.INodeExecutionGetDataResponse): flyteidl.admin.NodeExecutionGetDataResponse; + + /** + * Encodes the specified NodeExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataResponse.verify|verify} messages. + * @param message NodeExecutionGetDataResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.INodeExecutionGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NodeExecutionGetDataResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NodeExecutionGetDataResponse + * @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.admin.NodeExecutionGetDataResponse; + + /** + * Verifies a NodeExecutionGetDataResponse 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 GetDynamicNodeWorkflowRequest. */ + interface IGetDynamicNodeWorkflowRequest { + + /** GetDynamicNodeWorkflowRequest id */ + id?: (flyteidl.core.INodeExecutionIdentifier|null); + } + + /** Represents a GetDynamicNodeWorkflowRequest. */ + class GetDynamicNodeWorkflowRequest implements IGetDynamicNodeWorkflowRequest { + + /** + * Constructs a new GetDynamicNodeWorkflowRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGetDynamicNodeWorkflowRequest); + + /** GetDynamicNodeWorkflowRequest id. */ + public id?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** + * Creates a new GetDynamicNodeWorkflowRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetDynamicNodeWorkflowRequest instance + */ + public static create(properties?: flyteidl.admin.IGetDynamicNodeWorkflowRequest): flyteidl.admin.GetDynamicNodeWorkflowRequest; + + /** + * Encodes the specified GetDynamicNodeWorkflowRequest message. Does not implicitly {@link flyteidl.admin.GetDynamicNodeWorkflowRequest.verify|verify} messages. + * @param message GetDynamicNodeWorkflowRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGetDynamicNodeWorkflowRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetDynamicNodeWorkflowRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetDynamicNodeWorkflowRequest + * @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.admin.GetDynamicNodeWorkflowRequest; + + /** + * Verifies a GetDynamicNodeWorkflowRequest 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 DynamicNodeWorkflowResponse. */ + interface IDynamicNodeWorkflowResponse { + + /** DynamicNodeWorkflowResponse compiledWorkflow */ + compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + } + + /** Represents a DynamicNodeWorkflowResponse. */ + class DynamicNodeWorkflowResponse implements IDynamicNodeWorkflowResponse { + + /** + * Constructs a new DynamicNodeWorkflowResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IDynamicNodeWorkflowResponse); + + /** DynamicNodeWorkflowResponse compiledWorkflow. */ + public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** + * Creates a new DynamicNodeWorkflowResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns DynamicNodeWorkflowResponse instance + */ + public static create(properties?: flyteidl.admin.IDynamicNodeWorkflowResponse): flyteidl.admin.DynamicNodeWorkflowResponse; + + /** + * Encodes the specified DynamicNodeWorkflowResponse message. Does not implicitly {@link flyteidl.admin.DynamicNodeWorkflowResponse.verify|verify} messages. + * @param message DynamicNodeWorkflowResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IDynamicNodeWorkflowResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DynamicNodeWorkflowResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DynamicNodeWorkflowResponse + * @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.admin.DynamicNodeWorkflowResponse; + + /** + * Verifies a DynamicNodeWorkflowResponse 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 EmailMessage. */ + interface IEmailMessage { + + /** EmailMessage recipientsEmail */ + recipientsEmail?: (string[]|null); + + /** EmailMessage senderEmail */ + senderEmail?: (string|null); + + /** EmailMessage subjectLine */ + subjectLine?: (string|null); + + /** EmailMessage body */ + body?: (string|null); + } + + /** Represents an EmailMessage. */ + class EmailMessage implements IEmailMessage { + + /** + * Constructs a new EmailMessage. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IEmailMessage); + + /** EmailMessage recipientsEmail. */ + public recipientsEmail: string[]; + + /** EmailMessage senderEmail. */ + public senderEmail: string; + + /** EmailMessage subjectLine. */ + public subjectLine: string; + + /** EmailMessage body. */ + public body: string; + + /** + * Creates a new EmailMessage instance using the specified properties. + * @param [properties] Properties to set + * @returns EmailMessage instance + */ + public static create(properties?: flyteidl.admin.IEmailMessage): flyteidl.admin.EmailMessage; + + /** + * Encodes the specified EmailMessage message. Does not implicitly {@link flyteidl.admin.EmailMessage.verify|verify} messages. + * @param message EmailMessage message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IEmailMessage, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EmailMessage message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EmailMessage + * @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.admin.EmailMessage; + + /** + * Verifies an EmailMessage 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 GetDomainRequest. */ + interface IGetDomainRequest { + } + + /** Represents a GetDomainRequest. */ + class GetDomainRequest implements IGetDomainRequest { + + /** + * Constructs a new GetDomainRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGetDomainRequest); + + /** + * Creates a new GetDomainRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetDomainRequest instance + */ + public static create(properties?: flyteidl.admin.IGetDomainRequest): flyteidl.admin.GetDomainRequest; + + /** + * Encodes the specified GetDomainRequest message. Does not implicitly {@link flyteidl.admin.GetDomainRequest.verify|verify} messages. + * @param message GetDomainRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGetDomainRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetDomainRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetDomainRequest + * @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.admin.GetDomainRequest; + + /** + * Verifies a GetDomainRequest 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 Domain. */ + interface IDomain { + + /** Domain id */ + id?: (string|null); + + /** Domain name */ + name?: (string|null); + } + + /** Represents a Domain. */ + class Domain implements IDomain { + + /** + * Constructs a new Domain. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IDomain); + + /** Domain id. */ + public id: string; + + /** Domain name. */ + public name: string; + + /** + * Creates a new Domain instance using the specified properties. + * @param [properties] Properties to set + * @returns Domain instance + */ + public static create(properties?: flyteidl.admin.IDomain): flyteidl.admin.Domain; + + /** + * Encodes the specified Domain message. Does not implicitly {@link flyteidl.admin.Domain.verify|verify} messages. + * @param message Domain message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IDomain, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Domain message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Domain + * @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.admin.Domain; + + /** + * Verifies a Domain 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 GetDomainsResponse. */ + interface IGetDomainsResponse { + + /** GetDomainsResponse domains */ + domains?: (flyteidl.admin.IDomain[]|null); + } + + /** Represents a GetDomainsResponse. */ + class GetDomainsResponse implements IGetDomainsResponse { + + /** + * Constructs a new GetDomainsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGetDomainsResponse); + + /** GetDomainsResponse domains. */ + public domains: flyteidl.admin.IDomain[]; + + /** + * Creates a new GetDomainsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetDomainsResponse instance + */ + public static create(properties?: flyteidl.admin.IGetDomainsResponse): flyteidl.admin.GetDomainsResponse; + + /** + * Encodes the specified GetDomainsResponse message. Does not implicitly {@link flyteidl.admin.GetDomainsResponse.verify|verify} messages. + * @param message GetDomainsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGetDomainsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetDomainsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetDomainsResponse + * @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.admin.GetDomainsResponse; + + /** + * Verifies a GetDomainsResponse 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 Project. */ + interface IProject { + + /** Project id */ + id?: (string|null); + + /** Project name */ + name?: (string|null); + + /** Project domains */ + domains?: (flyteidl.admin.IDomain[]|null); + + /** Project description */ + description?: (string|null); + + /** Project labels */ + labels?: (flyteidl.admin.ILabels|null); + + /** Project state */ + state?: (flyteidl.admin.Project.ProjectState|null); + + /** Project org */ + org?: (string|null); + } + + /** Represents a Project. */ + class Project implements IProject { + + /** + * Constructs a new Project. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProject); + + /** Project id. */ + public id: string; + + /** Project name. */ + public name: string; + + /** Project domains. */ + public domains: flyteidl.admin.IDomain[]; + + /** Project description. */ + public description: string; + + /** Project labels. */ + public labels?: (flyteidl.admin.ILabels|null); + + /** Project state. */ + public state: flyteidl.admin.Project.ProjectState; + + /** Project org. */ + public org: string; + + /** + * Creates a new Project instance using the specified properties. + * @param [properties] Properties to set + * @returns Project instance + */ + public static create(properties?: flyteidl.admin.IProject): flyteidl.admin.Project; + + /** + * Encodes the specified Project message. Does not implicitly {@link flyteidl.admin.Project.verify|verify} messages. + * @param message Project message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProject, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Project message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Project + * @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.admin.Project; + + /** + * Verifies a Project 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 Project { + + /** ProjectState enum. */ + enum ProjectState { + ACTIVE = 0, + ARCHIVED = 1, + SYSTEM_GENERATED = 2, + SYSTEM_ARCHIVED = 3 + } + } + + /** Properties of a Projects. */ + interface IProjects { + + /** Projects projects */ + projects?: (flyteidl.admin.IProject[]|null); + + /** Projects token */ + token?: (string|null); + } + + /** Represents a Projects. */ + class Projects implements IProjects { + + /** + * Constructs a new Projects. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjects); + + /** Projects projects. */ + public projects: flyteidl.admin.IProject[]; + + /** Projects token. */ + public token: string; + + /** + * Creates a new Projects instance using the specified properties. + * @param [properties] Properties to set + * @returns Projects instance + */ + public static create(properties?: flyteidl.admin.IProjects): flyteidl.admin.Projects; + + /** + * Encodes the specified Projects message. Does not implicitly {@link flyteidl.admin.Projects.verify|verify} messages. + * @param message Projects message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjects, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Projects message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Projects + * @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.admin.Projects; + + /** + * Verifies a Projects 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 ProjectListRequest. */ + interface IProjectListRequest { + + /** ProjectListRequest limit */ + limit?: (number|null); + + /** ProjectListRequest token */ + token?: (string|null); + + /** ProjectListRequest filters */ + filters?: (string|null); + + /** ProjectListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + + /** ProjectListRequest org */ + org?: (string|null); + } + + /** Represents a ProjectListRequest. */ + class ProjectListRequest implements IProjectListRequest { + + /** + * Constructs a new ProjectListRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectListRequest); + + /** ProjectListRequest limit. */ + public limit: number; + + /** ProjectListRequest token. */ + public token: string; + + /** ProjectListRequest filters. */ + public filters: string; + + /** ProjectListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); + + /** ProjectListRequest org. */ + public org: string; + + /** + * Creates a new ProjectListRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectListRequest instance + */ + public static create(properties?: flyteidl.admin.IProjectListRequest): flyteidl.admin.ProjectListRequest; + + /** + * Encodes the specified ProjectListRequest message. Does not implicitly {@link flyteidl.admin.ProjectListRequest.verify|verify} messages. + * @param message ProjectListRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectListRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectListRequest + * @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.admin.ProjectListRequest; + + /** + * Verifies a ProjectListRequest 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 ProjectRegisterRequest. */ + interface IProjectRegisterRequest { + + /** ProjectRegisterRequest project */ + project?: (flyteidl.admin.IProject|null); + } + + /** Represents a ProjectRegisterRequest. */ + class ProjectRegisterRequest implements IProjectRegisterRequest { + + /** + * Constructs a new ProjectRegisterRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectRegisterRequest); + + /** ProjectRegisterRequest project. */ + public project?: (flyteidl.admin.IProject|null); + + /** + * Creates a new ProjectRegisterRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectRegisterRequest instance + */ + public static create(properties?: flyteidl.admin.IProjectRegisterRequest): flyteidl.admin.ProjectRegisterRequest; + + /** + * Encodes the specified ProjectRegisterRequest message. Does not implicitly {@link flyteidl.admin.ProjectRegisterRequest.verify|verify} messages. + * @param message ProjectRegisterRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectRegisterRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectRegisterRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectRegisterRequest + * @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.admin.ProjectRegisterRequest; + + /** + * Verifies a ProjectRegisterRequest 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 ProjectRegisterResponse. */ + interface IProjectRegisterResponse { + } + + /** Represents a ProjectRegisterResponse. */ + class ProjectRegisterResponse implements IProjectRegisterResponse { + + /** + * Constructs a new ProjectRegisterResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectRegisterResponse); + + /** + * Creates a new ProjectRegisterResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectRegisterResponse instance + */ + public static create(properties?: flyteidl.admin.IProjectRegisterResponse): flyteidl.admin.ProjectRegisterResponse; + + /** + * Encodes the specified ProjectRegisterResponse message. Does not implicitly {@link flyteidl.admin.ProjectRegisterResponse.verify|verify} messages. + * @param message ProjectRegisterResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectRegisterResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectRegisterResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectRegisterResponse + * @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.admin.ProjectRegisterResponse; + + /** + * Verifies a ProjectRegisterResponse 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 ProjectUpdateResponse. */ + interface IProjectUpdateResponse { + } + + /** Represents a ProjectUpdateResponse. */ + class ProjectUpdateResponse implements IProjectUpdateResponse { + + /** + * Constructs a new ProjectUpdateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectUpdateResponse); + + /** + * Creates a new ProjectUpdateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectUpdateResponse instance + */ + public static create(properties?: flyteidl.admin.IProjectUpdateResponse): flyteidl.admin.ProjectUpdateResponse; + + /** + * Encodes the specified ProjectUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectUpdateResponse.verify|verify} messages. + * @param message ProjectUpdateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectUpdateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectUpdateResponse + * @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.admin.ProjectUpdateResponse; + + /** + * Verifies a ProjectUpdateResponse 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 ProjectGetRequest. */ + interface IProjectGetRequest { + + /** ProjectGetRequest id */ + id?: (string|null); + + /** ProjectGetRequest org */ + org?: (string|null); + } + + /** Represents a ProjectGetRequest. */ + class ProjectGetRequest implements IProjectGetRequest { + + /** + * Constructs a new ProjectGetRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectGetRequest); + + /** ProjectGetRequest id. */ + public id: string; + + /** ProjectGetRequest org. */ + public org: string; + + /** + * Creates a new ProjectGetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectGetRequest instance + */ + public static create(properties?: flyteidl.admin.IProjectGetRequest): flyteidl.admin.ProjectGetRequest; + + /** + * Encodes the specified ProjectGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectGetRequest.verify|verify} messages. + * @param message ProjectGetRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectGetRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectGetRequest + * @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.admin.ProjectGetRequest; + + /** + * Verifies a ProjectGetRequest 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 InactiveProject. */ + interface IInactiveProject { + + /** InactiveProject id */ + id?: (string|null); + + /** InactiveProject org */ + org?: (string|null); + } + + /** Represents an InactiveProject. */ + class InactiveProject implements IInactiveProject { + + /** + * Constructs a new InactiveProject. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IInactiveProject); + + /** InactiveProject id. */ + public id: string; + + /** InactiveProject org. */ + public org: string; + + /** + * Creates a new InactiveProject instance using the specified properties. + * @param [properties] Properties to set + * @returns InactiveProject instance + */ + public static create(properties?: flyteidl.admin.IInactiveProject): flyteidl.admin.InactiveProject; + + /** + * Encodes the specified InactiveProject message. Does not implicitly {@link flyteidl.admin.InactiveProject.verify|verify} messages. + * @param message InactiveProject message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IInactiveProject, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an InactiveProject message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns InactiveProject + * @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.admin.InactiveProject; + + /** + * Verifies an InactiveProject 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 ProjectAttributes. */ + interface IProjectAttributes { + + /** ProjectAttributes project */ + project?: (string|null); + + /** ProjectAttributes matchingAttributes */ + matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + + /** ProjectAttributes org */ + org?: (string|null); + } + + /** Represents a ProjectAttributes. */ + class ProjectAttributes implements IProjectAttributes { + + /** + * Constructs a new ProjectAttributes. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectAttributes); + + /** ProjectAttributes project. */ + public project: string; + + /** ProjectAttributes matchingAttributes. */ + public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + + /** ProjectAttributes org. */ + public org: string; + + /** + * Creates a new ProjectAttributes instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectAttributes instance + */ + public static create(properties?: flyteidl.admin.IProjectAttributes): flyteidl.admin.ProjectAttributes; + + /** + * Encodes the specified ProjectAttributes message. Does not implicitly {@link flyteidl.admin.ProjectAttributes.verify|verify} messages. + * @param message ProjectAttributes message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectAttributes message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectAttributes + * @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.admin.ProjectAttributes; + + /** + * Verifies a ProjectAttributes 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 ProjectAttributesUpdateRequest. */ + interface IProjectAttributesUpdateRequest { + + /** ProjectAttributesUpdateRequest attributes */ + attributes?: (flyteidl.admin.IProjectAttributes|null); + } + + /** Represents a ProjectAttributesUpdateRequest. */ + class ProjectAttributesUpdateRequest implements IProjectAttributesUpdateRequest { + + /** + * Constructs a new ProjectAttributesUpdateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectAttributesUpdateRequest); + + /** ProjectAttributesUpdateRequest attributes. */ + public attributes?: (flyteidl.admin.IProjectAttributes|null); + + /** + * Creates a new ProjectAttributesUpdateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectAttributesUpdateRequest instance + */ + public static create(properties?: flyteidl.admin.IProjectAttributesUpdateRequest): flyteidl.admin.ProjectAttributesUpdateRequest; + + /** + * Encodes the specified ProjectAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateRequest.verify|verify} messages. + * @param message ProjectAttributesUpdateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectAttributesUpdateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectAttributesUpdateRequest + * @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.admin.ProjectAttributesUpdateRequest; + + /** + * Verifies a ProjectAttributesUpdateRequest 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 ProjectAttributesUpdateResponse. */ + interface IProjectAttributesUpdateResponse { + } + + /** Represents a ProjectAttributesUpdateResponse. */ + class ProjectAttributesUpdateResponse implements IProjectAttributesUpdateResponse { + + /** + * Constructs a new ProjectAttributesUpdateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectAttributesUpdateResponse); + + /** + * Creates a new ProjectAttributesUpdateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectAttributesUpdateResponse instance + */ + public static create(properties?: flyteidl.admin.IProjectAttributesUpdateResponse): flyteidl.admin.ProjectAttributesUpdateResponse; + + /** + * Encodes the specified ProjectAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateResponse.verify|verify} messages. + * @param message ProjectAttributesUpdateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectAttributesUpdateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectAttributesUpdateResponse + * @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.admin.ProjectAttributesUpdateResponse; + + /** + * Verifies a ProjectAttributesUpdateResponse 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 ProjectAttributesGetRequest. */ + interface IProjectAttributesGetRequest { + + /** ProjectAttributesGetRequest project */ + project?: (string|null); + + /** ProjectAttributesGetRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); + + /** ProjectAttributesGetRequest org */ + org?: (string|null); + } + + /** Represents a ProjectAttributesGetRequest. */ + class ProjectAttributesGetRequest implements IProjectAttributesGetRequest { + + /** + * Constructs a new ProjectAttributesGetRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectAttributesGetRequest); + + /** ProjectAttributesGetRequest project. */ + public project: string; + + /** ProjectAttributesGetRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; + + /** ProjectAttributesGetRequest org. */ + public org: string; + + /** + * Creates a new ProjectAttributesGetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectAttributesGetRequest instance + */ + public static create(properties?: flyteidl.admin.IProjectAttributesGetRequest): flyteidl.admin.ProjectAttributesGetRequest; + + /** + * Encodes the specified ProjectAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesGetRequest.verify|verify} messages. + * @param message ProjectAttributesGetRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectAttributesGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectAttributesGetRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectAttributesGetRequest + * @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.admin.ProjectAttributesGetRequest; + + /** + * Verifies a ProjectAttributesGetRequest 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 ProjectAttributesGetResponse. */ + interface IProjectAttributesGetResponse { + + /** ProjectAttributesGetResponse attributes */ + attributes?: (flyteidl.admin.IProjectAttributes|null); + } + + /** Represents a ProjectAttributesGetResponse. */ + class ProjectAttributesGetResponse implements IProjectAttributesGetResponse { + + /** + * Constructs a new ProjectAttributesGetResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectAttributesGetResponse); + + /** ProjectAttributesGetResponse attributes. */ + public attributes?: (flyteidl.admin.IProjectAttributes|null); + + /** + * Creates a new ProjectAttributesGetResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectAttributesGetResponse instance + */ + public static create(properties?: flyteidl.admin.IProjectAttributesGetResponse): flyteidl.admin.ProjectAttributesGetResponse; + + /** + * Encodes the specified ProjectAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesGetResponse.verify|verify} messages. + * @param message ProjectAttributesGetResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectAttributesGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectAttributesGetResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectAttributesGetResponse + * @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.admin.ProjectAttributesGetResponse; + + /** + * Verifies a ProjectAttributesGetResponse 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 ProjectAttributesDeleteRequest. */ + interface IProjectAttributesDeleteRequest { + + /** ProjectAttributesDeleteRequest project */ + project?: (string|null); + + /** ProjectAttributesDeleteRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); + + /** ProjectAttributesDeleteRequest org */ + org?: (string|null); + } + + /** Represents a ProjectAttributesDeleteRequest. */ + class ProjectAttributesDeleteRequest implements IProjectAttributesDeleteRequest { + + /** + * Constructs a new ProjectAttributesDeleteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectAttributesDeleteRequest); + + /** ProjectAttributesDeleteRequest project. */ + public project: string; + + /** ProjectAttributesDeleteRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; + + /** ProjectAttributesDeleteRequest org. */ + public org: string; + + /** + * Creates a new ProjectAttributesDeleteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectAttributesDeleteRequest instance + */ + public static create(properties?: flyteidl.admin.IProjectAttributesDeleteRequest): flyteidl.admin.ProjectAttributesDeleteRequest; + + /** + * Encodes the specified ProjectAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesDeleteRequest.verify|verify} messages. + * @param message ProjectAttributesDeleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectAttributesDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectAttributesDeleteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectAttributesDeleteRequest + * @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.admin.ProjectAttributesDeleteRequest; + + /** + * Verifies a ProjectAttributesDeleteRequest 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 ProjectAttributesDeleteResponse. */ + interface IProjectAttributesDeleteResponse { + } + + /** Represents a ProjectAttributesDeleteResponse. */ + class ProjectAttributesDeleteResponse implements IProjectAttributesDeleteResponse { + + /** + * Constructs a new ProjectAttributesDeleteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectAttributesDeleteResponse); + + /** + * Creates a new ProjectAttributesDeleteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectAttributesDeleteResponse instance + */ + public static create(properties?: flyteidl.admin.IProjectAttributesDeleteResponse): flyteidl.admin.ProjectAttributesDeleteResponse; + + /** + * Encodes the specified ProjectAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesDeleteResponse.verify|verify} messages. + * @param message ProjectAttributesDeleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectAttributesDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectAttributesDeleteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectAttributesDeleteResponse + * @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.admin.ProjectAttributesDeleteResponse; + + /** + * Verifies a ProjectAttributesDeleteResponse 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 ProjectDomainAttributes. */ + interface IProjectDomainAttributes { + + /** ProjectDomainAttributes project */ + project?: (string|null); + + /** ProjectDomainAttributes domain */ + domain?: (string|null); + + /** ProjectDomainAttributes matchingAttributes */ + matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + + /** ProjectDomainAttributes org */ + org?: (string|null); + } + + /** Represents a ProjectDomainAttributes. */ + class ProjectDomainAttributes implements IProjectDomainAttributes { + + /** + * Constructs a new ProjectDomainAttributes. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectDomainAttributes); + + /** ProjectDomainAttributes project. */ + public project: string; + + /** ProjectDomainAttributes domain. */ + public domain: string; + + /** ProjectDomainAttributes matchingAttributes. */ + public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + + /** ProjectDomainAttributes org. */ + public org: string; + + /** + * Creates a new ProjectDomainAttributes instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectDomainAttributes instance + */ + public static create(properties?: flyteidl.admin.IProjectDomainAttributes): flyteidl.admin.ProjectDomainAttributes; + + /** + * Encodes the specified ProjectDomainAttributes message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributes.verify|verify} messages. + * @param message ProjectDomainAttributes message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectDomainAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectDomainAttributes message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectDomainAttributes + * @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.admin.ProjectDomainAttributes; + + /** + * Verifies a ProjectDomainAttributes 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 ProjectDomainAttributesUpdateRequest. */ + interface IProjectDomainAttributesUpdateRequest { + + /** ProjectDomainAttributesUpdateRequest attributes */ + attributes?: (flyteidl.admin.IProjectDomainAttributes|null); + } + + /** Represents a ProjectDomainAttributesUpdateRequest. */ + class ProjectDomainAttributesUpdateRequest implements IProjectDomainAttributesUpdateRequest { + + /** + * Constructs a new ProjectDomainAttributesUpdateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectDomainAttributesUpdateRequest); + + /** ProjectDomainAttributesUpdateRequest attributes. */ + public attributes?: (flyteidl.admin.IProjectDomainAttributes|null); + + /** + * Creates a new ProjectDomainAttributesUpdateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectDomainAttributesUpdateRequest instance + */ + public static create(properties?: flyteidl.admin.IProjectDomainAttributesUpdateRequest): flyteidl.admin.ProjectDomainAttributesUpdateRequest; + + /** + * Encodes the specified ProjectDomainAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateRequest.verify|verify} messages. + * @param message ProjectDomainAttributesUpdateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectDomainAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectDomainAttributesUpdateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectDomainAttributesUpdateRequest + * @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.admin.ProjectDomainAttributesUpdateRequest; + + /** + * Verifies a ProjectDomainAttributesUpdateRequest 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 ProjectDomainAttributesUpdateResponse. */ + interface IProjectDomainAttributesUpdateResponse { + } + + /** Represents a ProjectDomainAttributesUpdateResponse. */ + class ProjectDomainAttributesUpdateResponse implements IProjectDomainAttributesUpdateResponse { + + /** + * Constructs a new ProjectDomainAttributesUpdateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectDomainAttributesUpdateResponse); + + /** + * Creates a new ProjectDomainAttributesUpdateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectDomainAttributesUpdateResponse instance + */ + public static create(properties?: flyteidl.admin.IProjectDomainAttributesUpdateResponse): flyteidl.admin.ProjectDomainAttributesUpdateResponse; + + /** + * Encodes the specified ProjectDomainAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateResponse.verify|verify} messages. + * @param message ProjectDomainAttributesUpdateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectDomainAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectDomainAttributesUpdateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectDomainAttributesUpdateResponse + * @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.admin.ProjectDomainAttributesUpdateResponse; + + /** + * Verifies a ProjectDomainAttributesUpdateResponse 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 ProjectDomainAttributesGetRequest. */ + interface IProjectDomainAttributesGetRequest { + + /** ProjectDomainAttributesGetRequest project */ + project?: (string|null); + + /** ProjectDomainAttributesGetRequest domain */ + domain?: (string|null); + + /** ProjectDomainAttributesGetRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); + + /** ProjectDomainAttributesGetRequest org */ + org?: (string|null); + } + + /** Represents a ProjectDomainAttributesGetRequest. */ + class ProjectDomainAttributesGetRequest implements IProjectDomainAttributesGetRequest { + + /** + * Constructs a new ProjectDomainAttributesGetRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectDomainAttributesGetRequest); + + /** ProjectDomainAttributesGetRequest project. */ + public project: string; + + /** ProjectDomainAttributesGetRequest domain. */ + public domain: string; + + /** ProjectDomainAttributesGetRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; + + /** ProjectDomainAttributesGetRequest org. */ + public org: string; + + /** + * Creates a new ProjectDomainAttributesGetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectDomainAttributesGetRequest instance + */ + public static create(properties?: flyteidl.admin.IProjectDomainAttributesGetRequest): flyteidl.admin.ProjectDomainAttributesGetRequest; + + /** + * Encodes the specified ProjectDomainAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesGetRequest.verify|verify} messages. + * @param message ProjectDomainAttributesGetRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectDomainAttributesGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectDomainAttributesGetRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectDomainAttributesGetRequest + * @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.admin.ProjectDomainAttributesGetRequest; + + /** + * Verifies a ProjectDomainAttributesGetRequest 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 ProjectDomainAttributesGetResponse. */ + interface IProjectDomainAttributesGetResponse { + + /** ProjectDomainAttributesGetResponse attributes */ + attributes?: (flyteidl.admin.IProjectDomainAttributes|null); + } + + /** Represents a ProjectDomainAttributesGetResponse. */ + class ProjectDomainAttributesGetResponse implements IProjectDomainAttributesGetResponse { + + /** + * Constructs a new ProjectDomainAttributesGetResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectDomainAttributesGetResponse); + + /** ProjectDomainAttributesGetResponse attributes. */ + public attributes?: (flyteidl.admin.IProjectDomainAttributes|null); + + /** + * Creates a new ProjectDomainAttributesGetResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectDomainAttributesGetResponse instance + */ + public static create(properties?: flyteidl.admin.IProjectDomainAttributesGetResponse): flyteidl.admin.ProjectDomainAttributesGetResponse; + + /** + * Encodes the specified ProjectDomainAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesGetResponse.verify|verify} messages. + * @param message ProjectDomainAttributesGetResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectDomainAttributesGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectDomainAttributesGetResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectDomainAttributesGetResponse + * @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.admin.ProjectDomainAttributesGetResponse; + + /** + * Verifies a ProjectDomainAttributesGetResponse 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 ProjectDomainAttributesDeleteRequest. */ + interface IProjectDomainAttributesDeleteRequest { + + /** ProjectDomainAttributesDeleteRequest project */ + project?: (string|null); + + /** ProjectDomainAttributesDeleteRequest domain */ + domain?: (string|null); + + /** ProjectDomainAttributesDeleteRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); + + /** ProjectDomainAttributesDeleteRequest org */ + org?: (string|null); + } + + /** Represents a ProjectDomainAttributesDeleteRequest. */ + class ProjectDomainAttributesDeleteRequest implements IProjectDomainAttributesDeleteRequest { + + /** + * Constructs a new ProjectDomainAttributesDeleteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectDomainAttributesDeleteRequest); + + /** ProjectDomainAttributesDeleteRequest project. */ + public project: string; + + /** ProjectDomainAttributesDeleteRequest domain. */ + public domain: string; + + /** ProjectDomainAttributesDeleteRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; + + /** ProjectDomainAttributesDeleteRequest org. */ + public org: string; + + /** + * Creates a new ProjectDomainAttributesDeleteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectDomainAttributesDeleteRequest instance + */ + public static create(properties?: flyteidl.admin.IProjectDomainAttributesDeleteRequest): flyteidl.admin.ProjectDomainAttributesDeleteRequest; + + /** + * Encodes the specified ProjectDomainAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesDeleteRequest.verify|verify} messages. + * @param message ProjectDomainAttributesDeleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectDomainAttributesDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectDomainAttributesDeleteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectDomainAttributesDeleteRequest + * @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.admin.ProjectDomainAttributesDeleteRequest; + + /** + * Verifies a ProjectDomainAttributesDeleteRequest 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 ProjectDomainAttributesDeleteResponse. */ + interface IProjectDomainAttributesDeleteResponse { + } + + /** Represents a ProjectDomainAttributesDeleteResponse. */ + class ProjectDomainAttributesDeleteResponse implements IProjectDomainAttributesDeleteResponse { + + /** + * Constructs a new ProjectDomainAttributesDeleteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectDomainAttributesDeleteResponse); + + /** + * Creates a new ProjectDomainAttributesDeleteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectDomainAttributesDeleteResponse instance + */ + public static create(properties?: flyteidl.admin.IProjectDomainAttributesDeleteResponse): flyteidl.admin.ProjectDomainAttributesDeleteResponse; + + /** + * Encodes the specified ProjectDomainAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesDeleteResponse.verify|verify} messages. + * @param message ProjectDomainAttributesDeleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectDomainAttributesDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectDomainAttributesDeleteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectDomainAttributesDeleteResponse + * @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.admin.ProjectDomainAttributesDeleteResponse; + + /** + * Verifies a ProjectDomainAttributesDeleteResponse 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 SignalGetOrCreateRequest. */ + interface ISignalGetOrCreateRequest { + + /** SignalGetOrCreateRequest id */ + id?: (flyteidl.core.ISignalIdentifier|null); + + /** SignalGetOrCreateRequest type */ + type?: (flyteidl.core.ILiteralType|null); + } + + /** Represents a SignalGetOrCreateRequest. */ + class SignalGetOrCreateRequest implements ISignalGetOrCreateRequest { + + /** + * Constructs a new SignalGetOrCreateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISignalGetOrCreateRequest); + + /** SignalGetOrCreateRequest id. */ + public id?: (flyteidl.core.ISignalIdentifier|null); + + /** SignalGetOrCreateRequest type. */ + public type?: (flyteidl.core.ILiteralType|null); + + /** + * Creates a new SignalGetOrCreateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns SignalGetOrCreateRequest instance + */ + public static create(properties?: flyteidl.admin.ISignalGetOrCreateRequest): flyteidl.admin.SignalGetOrCreateRequest; + + /** + * Encodes the specified SignalGetOrCreateRequest message. Does not implicitly {@link flyteidl.admin.SignalGetOrCreateRequest.verify|verify} messages. + * @param message SignalGetOrCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISignalGetOrCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SignalGetOrCreateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SignalGetOrCreateRequest + * @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.admin.SignalGetOrCreateRequest; + + /** + * Verifies a SignalGetOrCreateRequest 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 SignalListRequest. */ + interface ISignalListRequest { + + /** SignalListRequest workflowExecutionId */ + workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** SignalListRequest limit */ + limit?: (number|null); + + /** SignalListRequest token */ + token?: (string|null); + + /** SignalListRequest filters */ + filters?: (string|null); + + /** SignalListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + } + + /** Represents a SignalListRequest. */ + class SignalListRequest implements ISignalListRequest { + + /** + * Constructs a new SignalListRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISignalListRequest); + + /** SignalListRequest workflowExecutionId. */ + public workflowExecutionId?: (flyteidl.core.IWorkflowExecutionIdentifier|null); + + /** SignalListRequest limit. */ + public limit: number; + + /** SignalListRequest token. */ + public token: string; + + /** SignalListRequest filters. */ + public filters: string; + + /** SignalListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); + + /** + * Creates a new SignalListRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns SignalListRequest instance + */ + public static create(properties?: flyteidl.admin.ISignalListRequest): flyteidl.admin.SignalListRequest; + + /** + * Encodes the specified SignalListRequest message. Does not implicitly {@link flyteidl.admin.SignalListRequest.verify|verify} messages. + * @param message SignalListRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISignalListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SignalListRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SignalListRequest + * @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.admin.SignalListRequest; + + /** + * Verifies a SignalListRequest 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 SignalList. */ + interface ISignalList { + + /** SignalList signals */ + signals?: (flyteidl.admin.ISignal[]|null); + + /** SignalList token */ + token?: (string|null); + } + + /** Represents a SignalList. */ + class SignalList implements ISignalList { + + /** + * Constructs a new SignalList. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISignalList); + + /** SignalList signals. */ + public signals: flyteidl.admin.ISignal[]; + + /** SignalList token. */ + public token: string; + + /** + * Creates a new SignalList instance using the specified properties. + * @param [properties] Properties to set + * @returns SignalList instance + */ + public static create(properties?: flyteidl.admin.ISignalList): flyteidl.admin.SignalList; + + /** + * Encodes the specified SignalList message. Does not implicitly {@link flyteidl.admin.SignalList.verify|verify} messages. + * @param message SignalList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISignalList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SignalList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SignalList + * @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.admin.SignalList; + + /** + * Verifies a SignalList 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 SignalSetRequest. */ + interface ISignalSetRequest { + + /** SignalSetRequest id */ + id?: (flyteidl.core.ISignalIdentifier|null); + + /** SignalSetRequest value */ + value?: (flyteidl.core.ILiteral|null); + } + + /** Represents a SignalSetRequest. */ + class SignalSetRequest implements ISignalSetRequest { + + /** + * Constructs a new SignalSetRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISignalSetRequest); + + /** SignalSetRequest id. */ + public id?: (flyteidl.core.ISignalIdentifier|null); + + /** SignalSetRequest value. */ + public value?: (flyteidl.core.ILiteral|null); + + /** + * Creates a new SignalSetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns SignalSetRequest instance + */ + public static create(properties?: flyteidl.admin.ISignalSetRequest): flyteidl.admin.SignalSetRequest; + + /** + * Encodes the specified SignalSetRequest message. Does not implicitly {@link flyteidl.admin.SignalSetRequest.verify|verify} messages. + * @param message SignalSetRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISignalSetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SignalSetRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SignalSetRequest + * @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.admin.SignalSetRequest; + + /** + * Verifies a SignalSetRequest 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 SignalSetResponse. */ + interface ISignalSetResponse { + } + + /** Represents a SignalSetResponse. */ + class SignalSetResponse implements ISignalSetResponse { + + /** + * Constructs a new SignalSetResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISignalSetResponse); + + /** + * Creates a new SignalSetResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns SignalSetResponse instance + */ + public static create(properties?: flyteidl.admin.ISignalSetResponse): flyteidl.admin.SignalSetResponse; + + /** + * Encodes the specified SignalSetResponse message. Does not implicitly {@link flyteidl.admin.SignalSetResponse.verify|verify} messages. + * @param message SignalSetResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISignalSetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SignalSetResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SignalSetResponse + * @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.admin.SignalSetResponse; + + /** + * Verifies a SignalSetResponse 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 Signal. */ + interface ISignal { + + /** Signal id */ + id?: (flyteidl.core.ISignalIdentifier|null); + + /** Signal type */ + type?: (flyteidl.core.ILiteralType|null); + + /** Signal value */ + value?: (flyteidl.core.ILiteral|null); + } + + /** Represents a Signal. */ + class Signal implements ISignal { + + /** + * Constructs a new Signal. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISignal); + + /** Signal id. */ + public id?: (flyteidl.core.ISignalIdentifier|null); + + /** Signal type. */ + public type?: (flyteidl.core.ILiteralType|null); + + /** Signal value. */ + public value?: (flyteidl.core.ILiteral|null); + + /** + * Creates a new Signal instance using the specified properties. + * @param [properties] Properties to set + * @returns Signal instance + */ + public static create(properties?: flyteidl.admin.ISignal): flyteidl.admin.Signal; + + /** + * Encodes the specified Signal message. Does not implicitly {@link flyteidl.admin.Signal.verify|verify} messages. + * @param message Signal message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISignal, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Signal message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Signal + * @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.admin.Signal; + + /** + * Verifies a Signal 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 TaskCreateRequest. */ + interface ITaskCreateRequest { + + /** TaskCreateRequest id */ + id?: (flyteidl.core.IIdentifier|null); + + /** TaskCreateRequest spec */ + spec?: (flyteidl.admin.ITaskSpec|null); + } + + /** Represents a TaskCreateRequest. */ + class TaskCreateRequest implements ITaskCreateRequest { + + /** + * Constructs a new TaskCreateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskCreateRequest); + + /** TaskCreateRequest id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** TaskCreateRequest spec. */ + public spec?: (flyteidl.admin.ITaskSpec|null); + + /** + * Creates a new TaskCreateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskCreateRequest instance + */ + public static create(properties?: flyteidl.admin.ITaskCreateRequest): flyteidl.admin.TaskCreateRequest; + + /** + * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.admin.TaskCreateRequest.verify|verify} messages. + * @param message TaskCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskCreateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskCreateRequest + * @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.admin.TaskCreateRequest; + + /** + * Verifies a TaskCreateRequest 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 TaskCreateResponse. */ + interface ITaskCreateResponse { + } + + /** Represents a TaskCreateResponse. */ + class TaskCreateResponse implements ITaskCreateResponse { + + /** + * Constructs a new TaskCreateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskCreateResponse); + + /** + * Creates a new TaskCreateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskCreateResponse instance + */ + public static create(properties?: flyteidl.admin.ITaskCreateResponse): flyteidl.admin.TaskCreateResponse; + + /** + * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.admin.TaskCreateResponse.verify|verify} messages. + * @param message TaskCreateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskCreateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskCreateResponse + * @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.admin.TaskCreateResponse; + + /** + * Verifies a TaskCreateResponse 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 Task. */ + interface ITask { + + /** Task id */ + id?: (flyteidl.core.IIdentifier|null); + + /** Task closure */ + closure?: (flyteidl.admin.ITaskClosure|null); + + /** Task shortDescription */ + shortDescription?: (string|null); + } + + /** Represents a Task. */ + class Task implements ITask { + + /** + * Constructs a new Task. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITask); + + /** Task id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** Task closure. */ + public closure?: (flyteidl.admin.ITaskClosure|null); + + /** Task shortDescription. */ + public shortDescription: string; + + /** + * Creates a new Task instance using the specified properties. + * @param [properties] Properties to set + * @returns Task instance + */ + public static create(properties?: flyteidl.admin.ITask): flyteidl.admin.Task; + + /** + * Encodes the specified Task message. Does not implicitly {@link flyteidl.admin.Task.verify|verify} messages. + * @param message Task message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITask, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Task message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Task + * @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.admin.Task; + + /** + * Verifies a Task 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 TaskList. */ + interface ITaskList { + + /** TaskList tasks */ + tasks?: (flyteidl.admin.ITask[]|null); + + /** TaskList token */ + token?: (string|null); + } + + /** Represents a TaskList. */ + class TaskList implements ITaskList { + + /** + * Constructs a new TaskList. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskList); + + /** TaskList tasks. */ + public tasks: flyteidl.admin.ITask[]; + + /** TaskList token. */ + public token: string; + + /** + * Creates a new TaskList instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskList instance + */ + public static create(properties?: flyteidl.admin.ITaskList): flyteidl.admin.TaskList; + + /** + * Encodes the specified TaskList message. Does not implicitly {@link flyteidl.admin.TaskList.verify|verify} messages. + * @param message TaskList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskList + * @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.admin.TaskList; + + /** + * Verifies a TaskList 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 TaskSpec. */ + interface ITaskSpec { + + /** TaskSpec template */ + template?: (flyteidl.core.ITaskTemplate|null); + + /** TaskSpec description */ + description?: (flyteidl.admin.IDescriptionEntity|null); + } + + /** Represents a TaskSpec. */ + class TaskSpec implements ITaskSpec { + + /** + * Constructs a new TaskSpec. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskSpec); + + /** TaskSpec template. */ + public template?: (flyteidl.core.ITaskTemplate|null); + + /** TaskSpec description. */ + public description?: (flyteidl.admin.IDescriptionEntity|null); + + /** + * Creates a new TaskSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskSpec instance + */ + public static create(properties?: flyteidl.admin.ITaskSpec): flyteidl.admin.TaskSpec; + + /** + * Encodes the specified TaskSpec message. Does not implicitly {@link flyteidl.admin.TaskSpec.verify|verify} messages. + * @param message TaskSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskSpec + * @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.admin.TaskSpec; + + /** + * Verifies a TaskSpec 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 TaskClosure. */ + interface ITaskClosure { + + /** TaskClosure compiledTask */ + compiledTask?: (flyteidl.core.ICompiledTask|null); + + /** TaskClosure createdAt */ + createdAt?: (google.protobuf.ITimestamp|null); + } + + /** Represents a TaskClosure. */ + class TaskClosure implements ITaskClosure { + + /** + * Constructs a new TaskClosure. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskClosure); + + /** TaskClosure compiledTask. */ + public compiledTask?: (flyteidl.core.ICompiledTask|null); + + /** TaskClosure createdAt. */ + public createdAt?: (google.protobuf.ITimestamp|null); + + /** + * Creates a new TaskClosure instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskClosure instance + */ + public static create(properties?: flyteidl.admin.ITaskClosure): flyteidl.admin.TaskClosure; + + /** + * Encodes the specified TaskClosure message. Does not implicitly {@link flyteidl.admin.TaskClosure.verify|verify} messages. + * @param message TaskClosure message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskClosure, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskClosure message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskClosure + * @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.admin.TaskClosure; + + /** + * Verifies a TaskClosure 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 TaskExecutionGetRequest. */ + interface ITaskExecutionGetRequest { + + /** TaskExecutionGetRequest id */ + id?: (flyteidl.core.ITaskExecutionIdentifier|null); + } + + /** Represents a TaskExecutionGetRequest. */ + class TaskExecutionGetRequest implements ITaskExecutionGetRequest { + + /** + * Constructs a new TaskExecutionGetRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskExecutionGetRequest); + + /** TaskExecutionGetRequest id. */ + public id?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** + * Creates a new TaskExecutionGetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskExecutionGetRequest instance + */ + public static create(properties?: flyteidl.admin.ITaskExecutionGetRequest): flyteidl.admin.TaskExecutionGetRequest; + + /** + * Encodes the specified TaskExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetRequest.verify|verify} messages. + * @param message TaskExecutionGetRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskExecutionGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskExecutionGetRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskExecutionGetRequest + * @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.admin.TaskExecutionGetRequest; + + /** + * Verifies a TaskExecutionGetRequest 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 TaskExecutionListRequest. */ + interface ITaskExecutionListRequest { + + /** TaskExecutionListRequest nodeExecutionId */ + nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** TaskExecutionListRequest limit */ + limit?: (number|null); + + /** TaskExecutionListRequest token */ + token?: (string|null); + + /** TaskExecutionListRequest filters */ + filters?: (string|null); + + /** TaskExecutionListRequest sortBy */ + sortBy?: (flyteidl.admin.ISort|null); + } + + /** Represents a TaskExecutionListRequest. */ + class TaskExecutionListRequest implements ITaskExecutionListRequest { + + /** + * Constructs a new TaskExecutionListRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskExecutionListRequest); + + /** TaskExecutionListRequest nodeExecutionId. */ + public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** TaskExecutionListRequest limit. */ + public limit: number; + + /** TaskExecutionListRequest token. */ + public token: string; + + /** TaskExecutionListRequest filters. */ + public filters: string; + + /** TaskExecutionListRequest sortBy. */ + public sortBy?: (flyteidl.admin.ISort|null); + + /** + * Creates a new TaskExecutionListRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskExecutionListRequest instance + */ + public static create(properties?: flyteidl.admin.ITaskExecutionListRequest): flyteidl.admin.TaskExecutionListRequest; + + /** + * Encodes the specified TaskExecutionListRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionListRequest.verify|verify} messages. + * @param message TaskExecutionListRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskExecutionListRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskExecutionListRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskExecutionListRequest + * @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.admin.TaskExecutionListRequest; + + /** + * Verifies a TaskExecutionListRequest 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 TaskExecution. */ + interface ITaskExecution { + + /** TaskExecution id */ + id?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** TaskExecution inputUri */ + inputUri?: (string|null); + + /** TaskExecution closure */ + closure?: (flyteidl.admin.ITaskExecutionClosure|null); + + /** TaskExecution isParent */ + isParent?: (boolean|null); + } + + /** Represents a TaskExecution. */ + class TaskExecution implements ITaskExecution { + + /** + * Constructs a new TaskExecution. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskExecution); + + /** TaskExecution id. */ + public id?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** TaskExecution inputUri. */ + public inputUri: string; + + /** TaskExecution closure. */ + public closure?: (flyteidl.admin.ITaskExecutionClosure|null); + + /** TaskExecution isParent. */ + public isParent: boolean; + + /** + * Creates a new TaskExecution instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskExecution instance + */ + public static create(properties?: flyteidl.admin.ITaskExecution): flyteidl.admin.TaskExecution; + + /** + * Encodes the specified TaskExecution message. Does not implicitly {@link flyteidl.admin.TaskExecution.verify|verify} messages. + * @param message TaskExecution message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskExecution, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskExecution message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskExecution + * @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.admin.TaskExecution; + + /** + * Verifies a TaskExecution 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 TaskExecutionList. */ + interface ITaskExecutionList { + + /** TaskExecutionList taskExecutions */ + taskExecutions?: (flyteidl.admin.ITaskExecution[]|null); + + /** TaskExecutionList token */ + token?: (string|null); + } + + /** Represents a TaskExecutionList. */ + class TaskExecutionList implements ITaskExecutionList { + + /** + * Constructs a new TaskExecutionList. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskExecutionList); + + /** TaskExecutionList taskExecutions. */ + public taskExecutions: flyteidl.admin.ITaskExecution[]; + + /** TaskExecutionList token. */ + public token: string; + + /** + * Creates a new TaskExecutionList instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskExecutionList instance + */ + public static create(properties?: flyteidl.admin.ITaskExecutionList): flyteidl.admin.TaskExecutionList; + + /** + * Encodes the specified TaskExecutionList message. Does not implicitly {@link flyteidl.admin.TaskExecutionList.verify|verify} messages. + * @param message TaskExecutionList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskExecutionList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskExecutionList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskExecutionList + * @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.admin.TaskExecutionList; + + /** + * Verifies a TaskExecutionList 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 TaskExecutionClosure. */ + interface ITaskExecutionClosure { + + /** TaskExecutionClosure outputUri */ + outputUri?: (string|null); + + /** TaskExecutionClosure error */ + error?: (flyteidl.core.IExecutionError|null); + + /** TaskExecutionClosure outputData */ + outputData?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionClosure phase */ + phase?: (flyteidl.core.TaskExecution.Phase|null); + + /** TaskExecutionClosure logs */ + logs?: (flyteidl.core.ITaskLog[]|null); + + /** TaskExecutionClosure startedAt */ + startedAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionClosure duration */ + duration?: (google.protobuf.IDuration|null); + + /** TaskExecutionClosure createdAt */ + createdAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionClosure updatedAt */ + updatedAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionClosure customInfo */ + customInfo?: (google.protobuf.IStruct|null); + + /** TaskExecutionClosure reason */ + reason?: (string|null); + + /** TaskExecutionClosure taskType */ + taskType?: (string|null); + + /** TaskExecutionClosure metadata */ + metadata?: (flyteidl.event.ITaskExecutionMetadata|null); + + /** TaskExecutionClosure eventVersion */ + eventVersion?: (number|null); + + /** TaskExecutionClosure reasons */ + reasons?: (flyteidl.admin.IReason[]|null); + } + + /** Represents a TaskExecutionClosure. */ + class TaskExecutionClosure implements ITaskExecutionClosure { + + /** + * Constructs a new TaskExecutionClosure. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskExecutionClosure); + + /** TaskExecutionClosure outputUri. */ + public outputUri: string; + + /** TaskExecutionClosure error. */ + public error?: (flyteidl.core.IExecutionError|null); + + /** TaskExecutionClosure outputData. */ + public outputData?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionClosure phase. */ + public phase: flyteidl.core.TaskExecution.Phase; + + /** TaskExecutionClosure logs. */ + public logs: flyteidl.core.ITaskLog[]; + + /** TaskExecutionClosure startedAt. */ + public startedAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionClosure duration. */ + public duration?: (google.protobuf.IDuration|null); + + /** TaskExecutionClosure createdAt. */ + public createdAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionClosure updatedAt. */ + public updatedAt?: (google.protobuf.ITimestamp|null); + + /** TaskExecutionClosure customInfo. */ + public customInfo?: (google.protobuf.IStruct|null); + + /** TaskExecutionClosure reason. */ + public reason: string; + + /** TaskExecutionClosure taskType. */ + public taskType: string; + + /** TaskExecutionClosure metadata. */ + public metadata?: (flyteidl.event.ITaskExecutionMetadata|null); + + /** TaskExecutionClosure eventVersion. */ + public eventVersion: number; + + /** TaskExecutionClosure reasons. */ + public reasons: flyteidl.admin.IReason[]; + + /** TaskExecutionClosure outputResult. */ + public outputResult?: ("outputUri"|"error"|"outputData"); + + /** + * Creates a new TaskExecutionClosure instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskExecutionClosure instance + */ + public static create(properties?: flyteidl.admin.ITaskExecutionClosure): flyteidl.admin.TaskExecutionClosure; + + /** + * Encodes the specified TaskExecutionClosure message. Does not implicitly {@link flyteidl.admin.TaskExecutionClosure.verify|verify} messages. + * @param message TaskExecutionClosure message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskExecutionClosure, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskExecutionClosure message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskExecutionClosure + * @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.admin.TaskExecutionClosure; + + /** + * Verifies a TaskExecutionClosure 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 Reason. */ + interface IReason { + + /** Reason occurredAt */ + occurredAt?: (google.protobuf.ITimestamp|null); + + /** Reason message */ + message?: (string|null); + } + + /** Represents a Reason. */ + class Reason implements IReason { + + /** + * Constructs a new Reason. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IReason); + + /** Reason occurredAt. */ + public occurredAt?: (google.protobuf.ITimestamp|null); + + /** Reason message. */ + public message: string; + + /** + * Creates a new Reason instance using the specified properties. + * @param [properties] Properties to set + * @returns Reason instance + */ + public static create(properties?: flyteidl.admin.IReason): flyteidl.admin.Reason; + + /** + * Encodes the specified Reason message. Does not implicitly {@link flyteidl.admin.Reason.verify|verify} messages. + * @param message Reason message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IReason, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Reason message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Reason + * @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.admin.Reason; + + /** + * Verifies a Reason 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 TaskExecutionGetDataRequest. */ + interface ITaskExecutionGetDataRequest { + + /** TaskExecutionGetDataRequest id */ + id?: (flyteidl.core.ITaskExecutionIdentifier|null); + } + + /** Represents a TaskExecutionGetDataRequest. */ + class TaskExecutionGetDataRequest implements ITaskExecutionGetDataRequest { + + /** + * Constructs a new TaskExecutionGetDataRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskExecutionGetDataRequest); + + /** TaskExecutionGetDataRequest id. */ + public id?: (flyteidl.core.ITaskExecutionIdentifier|null); + + /** + * Creates a new TaskExecutionGetDataRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskExecutionGetDataRequest instance + */ + public static create(properties?: flyteidl.admin.ITaskExecutionGetDataRequest): flyteidl.admin.TaskExecutionGetDataRequest; + + /** + * Encodes the specified TaskExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataRequest.verify|verify} messages. + * @param message TaskExecutionGetDataRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskExecutionGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskExecutionGetDataRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskExecutionGetDataRequest + * @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.admin.TaskExecutionGetDataRequest; + + /** + * Verifies a TaskExecutionGetDataRequest 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 TaskExecutionGetDataResponse. */ + interface ITaskExecutionGetDataResponse { + + /** TaskExecutionGetDataResponse inputs */ + inputs?: (flyteidl.admin.IUrlBlob|null); + + /** TaskExecutionGetDataResponse outputs */ + outputs?: (flyteidl.admin.IUrlBlob|null); + + /** TaskExecutionGetDataResponse fullInputs */ + fullInputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionGetDataResponse fullOutputs */ + fullOutputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionGetDataResponse flyteUrls */ + flyteUrls?: (flyteidl.admin.IFlyteURLs|null); + } + + /** Represents a TaskExecutionGetDataResponse. */ + class TaskExecutionGetDataResponse implements ITaskExecutionGetDataResponse { + + /** + * Constructs a new TaskExecutionGetDataResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskExecutionGetDataResponse); + + /** TaskExecutionGetDataResponse inputs. */ + public inputs?: (flyteidl.admin.IUrlBlob|null); + + /** TaskExecutionGetDataResponse outputs. */ + public outputs?: (flyteidl.admin.IUrlBlob|null); + + /** TaskExecutionGetDataResponse fullInputs. */ + public fullInputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionGetDataResponse fullOutputs. */ + public fullOutputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskExecutionGetDataResponse flyteUrls. */ + public flyteUrls?: (flyteidl.admin.IFlyteURLs|null); + + /** + * Creates a new TaskExecutionGetDataResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskExecutionGetDataResponse instance + */ + public static create(properties?: flyteidl.admin.ITaskExecutionGetDataResponse): flyteidl.admin.TaskExecutionGetDataResponse; + + /** + * Encodes the specified TaskExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataResponse.verify|verify} messages. + * @param message TaskExecutionGetDataResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskExecutionGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskExecutionGetDataResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskExecutionGetDataResponse + * @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.admin.TaskExecutionGetDataResponse; + + /** + * Verifies a TaskExecutionGetDataResponse 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 GetVersionResponse. */ + interface IGetVersionResponse { + + /** GetVersionResponse controlPlaneVersion */ + controlPlaneVersion?: (flyteidl.admin.IVersion|null); + } + + /** Represents a GetVersionResponse. */ + class GetVersionResponse implements IGetVersionResponse { + + /** + * Constructs a new GetVersionResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGetVersionResponse); + + /** GetVersionResponse controlPlaneVersion. */ + public controlPlaneVersion?: (flyteidl.admin.IVersion|null); + + /** + * Creates a new GetVersionResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetVersionResponse instance + */ + public static create(properties?: flyteidl.admin.IGetVersionResponse): flyteidl.admin.GetVersionResponse; + + /** + * Encodes the specified GetVersionResponse message. Does not implicitly {@link flyteidl.admin.GetVersionResponse.verify|verify} messages. + * @param message GetVersionResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGetVersionResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetVersionResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetVersionResponse + * @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.admin.GetVersionResponse; + + /** + * Verifies a GetVersionResponse 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 Version. */ + interface IVersion { + + /** Version Build */ + Build?: (string|null); + + /** Version Version */ + Version?: (string|null); + + /** Version BuildTime */ + BuildTime?: (string|null); + } + + /** Represents a Version. */ + class Version implements IVersion { + + /** + * Constructs a new Version. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IVersion); + + /** Version Build. */ + public Build: string; + + /** Version Version. */ + public Version: string; + + /** Version BuildTime. */ + public BuildTime: string; + + /** + * Creates a new Version instance using the specified properties. + * @param [properties] Properties to set + * @returns Version instance + */ + public static create(properties?: flyteidl.admin.IVersion): flyteidl.admin.Version; + + /** + * Encodes the specified Version message. Does not implicitly {@link flyteidl.admin.Version.verify|verify} messages. + * @param message Version message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IVersion, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Version message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Version + * @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.admin.Version; + + /** + * Verifies a Version 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 GetVersionRequest. */ + interface IGetVersionRequest { + } + + /** Represents a GetVersionRequest. */ + class GetVersionRequest implements IGetVersionRequest { + + /** + * Constructs a new GetVersionRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGetVersionRequest); + + /** + * Creates a new GetVersionRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetVersionRequest instance + */ + public static create(properties?: flyteidl.admin.IGetVersionRequest): flyteidl.admin.GetVersionRequest; + + /** + * Encodes the specified GetVersionRequest message. Does not implicitly {@link flyteidl.admin.GetVersionRequest.verify|verify} messages. + * @param message GetVersionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGetVersionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetVersionRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetVersionRequest + * @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.admin.GetVersionRequest; + + /** + * Verifies a GetVersionRequest 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 WorkflowCreateRequest. */ + interface IWorkflowCreateRequest { + + /** WorkflowCreateRequest id */ + id?: (flyteidl.core.IIdentifier|null); + + /** WorkflowCreateRequest spec */ + spec?: (flyteidl.admin.IWorkflowSpec|null); + } + + /** Represents a WorkflowCreateRequest. */ + class WorkflowCreateRequest implements IWorkflowCreateRequest { + + /** + * Constructs a new WorkflowCreateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowCreateRequest); + + /** WorkflowCreateRequest id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** WorkflowCreateRequest spec. */ + public spec?: (flyteidl.admin.IWorkflowSpec|null); + + /** + * Creates a new WorkflowCreateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowCreateRequest instance + */ + public static create(properties?: flyteidl.admin.IWorkflowCreateRequest): flyteidl.admin.WorkflowCreateRequest; + + /** + * Encodes the specified WorkflowCreateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowCreateRequest.verify|verify} messages. + * @param message WorkflowCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowCreateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowCreateRequest + * @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.admin.WorkflowCreateRequest; + + /** + * Verifies a WorkflowCreateRequest 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 WorkflowCreateResponse. */ + interface IWorkflowCreateResponse { + } + + /** Represents a WorkflowCreateResponse. */ + class WorkflowCreateResponse implements IWorkflowCreateResponse { + + /** + * Constructs a new WorkflowCreateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowCreateResponse); + + /** + * Creates a new WorkflowCreateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowCreateResponse instance + */ + public static create(properties?: flyteidl.admin.IWorkflowCreateResponse): flyteidl.admin.WorkflowCreateResponse; + + /** + * Encodes the specified WorkflowCreateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowCreateResponse.verify|verify} messages. + * @param message WorkflowCreateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowCreateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowCreateResponse + * @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.admin.WorkflowCreateResponse; + + /** + * Verifies a WorkflowCreateResponse 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 Workflow. */ + interface IWorkflow { + + /** Workflow id */ + id?: (flyteidl.core.IIdentifier|null); + + /** Workflow closure */ + closure?: (flyteidl.admin.IWorkflowClosure|null); + + /** Workflow shortDescription */ + shortDescription?: (string|null); + } + + /** Represents a Workflow. */ + class Workflow implements IWorkflow { + + /** + * Constructs a new Workflow. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflow); + + /** Workflow id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** Workflow closure. */ + public closure?: (flyteidl.admin.IWorkflowClosure|null); + + /** Workflow shortDescription. */ + public shortDescription: string; + + /** + * Creates a new Workflow instance using the specified properties. + * @param [properties] Properties to set + * @returns Workflow instance + */ + public static create(properties?: flyteidl.admin.IWorkflow): flyteidl.admin.Workflow; + + /** + * Encodes the specified Workflow message. Does not implicitly {@link flyteidl.admin.Workflow.verify|verify} messages. + * @param message Workflow message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflow, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Workflow message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Workflow + * @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.admin.Workflow; + + /** + * Verifies a Workflow 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 WorkflowList. */ + interface IWorkflowList { + + /** WorkflowList workflows */ + workflows?: (flyteidl.admin.IWorkflow[]|null); + + /** WorkflowList token */ + token?: (string|null); + } + + /** Represents a WorkflowList. */ + class WorkflowList implements IWorkflowList { + + /** + * Constructs a new WorkflowList. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowList); + + /** WorkflowList workflows. */ + public workflows: flyteidl.admin.IWorkflow[]; + + /** WorkflowList token. */ + public token: string; + + /** + * Creates a new WorkflowList instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowList instance + */ + public static create(properties?: flyteidl.admin.IWorkflowList): flyteidl.admin.WorkflowList; + + /** + * Encodes the specified WorkflowList message. Does not implicitly {@link flyteidl.admin.WorkflowList.verify|verify} messages. + * @param message WorkflowList message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowList, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowList message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowList + * @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.admin.WorkflowList; + + /** + * Verifies a WorkflowList 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 WorkflowSpec. */ + interface IWorkflowSpec { + + /** WorkflowSpec template */ + template?: (flyteidl.core.IWorkflowTemplate|null); + + /** WorkflowSpec subWorkflows */ + subWorkflows?: (flyteidl.core.IWorkflowTemplate[]|null); + + /** WorkflowSpec description */ + description?: (flyteidl.admin.IDescriptionEntity|null); + } + + /** Represents a WorkflowSpec. */ + class WorkflowSpec implements IWorkflowSpec { + + /** + * Constructs a new WorkflowSpec. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowSpec); + + /** WorkflowSpec template. */ + public template?: (flyteidl.core.IWorkflowTemplate|null); + + /** WorkflowSpec subWorkflows. */ + public subWorkflows: flyteidl.core.IWorkflowTemplate[]; + + /** WorkflowSpec description. */ + public description?: (flyteidl.admin.IDescriptionEntity|null); + + /** + * Creates a new WorkflowSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowSpec instance + */ + public static create(properties?: flyteidl.admin.IWorkflowSpec): flyteidl.admin.WorkflowSpec; + + /** + * Encodes the specified WorkflowSpec message. Does not implicitly {@link flyteidl.admin.WorkflowSpec.verify|verify} messages. + * @param message WorkflowSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowSpec + * @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.admin.WorkflowSpec; + + /** + * Verifies a WorkflowSpec 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 WorkflowClosure. */ + interface IWorkflowClosure { + + /** WorkflowClosure compiledWorkflow */ + compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** WorkflowClosure createdAt */ + createdAt?: (google.protobuf.ITimestamp|null); + } + + /** Represents a WorkflowClosure. */ + class WorkflowClosure implements IWorkflowClosure { + + /** + * Constructs a new WorkflowClosure. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowClosure); + + /** WorkflowClosure compiledWorkflow. */ + public compiledWorkflow?: (flyteidl.core.ICompiledWorkflowClosure|null); + + /** WorkflowClosure createdAt. */ + public createdAt?: (google.protobuf.ITimestamp|null); + + /** + * Creates a new WorkflowClosure instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowClosure instance + */ + public static create(properties?: flyteidl.admin.IWorkflowClosure): flyteidl.admin.WorkflowClosure; + + /** + * Encodes the specified WorkflowClosure message. Does not implicitly {@link flyteidl.admin.WorkflowClosure.verify|verify} messages. + * @param message WorkflowClosure message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowClosure, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowClosure message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowClosure + * @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.admin.WorkflowClosure; + + /** + * Verifies a WorkflowClosure 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 WorkflowErrorExistsDifferentStructure. */ + interface IWorkflowErrorExistsDifferentStructure { + + /** WorkflowErrorExistsDifferentStructure id */ + id?: (flyteidl.core.IIdentifier|null); + } + + /** Represents a WorkflowErrorExistsDifferentStructure. */ + class WorkflowErrorExistsDifferentStructure implements IWorkflowErrorExistsDifferentStructure { + + /** + * Constructs a new WorkflowErrorExistsDifferentStructure. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowErrorExistsDifferentStructure); + + /** WorkflowErrorExistsDifferentStructure id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** + * Creates a new WorkflowErrorExistsDifferentStructure instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowErrorExistsDifferentStructure instance + */ + public static create(properties?: flyteidl.admin.IWorkflowErrorExistsDifferentStructure): flyteidl.admin.WorkflowErrorExistsDifferentStructure; + + /** + * Encodes the specified WorkflowErrorExistsDifferentStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsDifferentStructure.verify|verify} messages. + * @param message WorkflowErrorExistsDifferentStructure message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowErrorExistsDifferentStructure, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowErrorExistsDifferentStructure message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowErrorExistsDifferentStructure + * @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.admin.WorkflowErrorExistsDifferentStructure; + + /** + * Verifies a WorkflowErrorExistsDifferentStructure 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 WorkflowErrorExistsIdenticalStructure. */ + interface IWorkflowErrorExistsIdenticalStructure { + + /** WorkflowErrorExistsIdenticalStructure id */ + id?: (flyteidl.core.IIdentifier|null); + } + + /** Represents a WorkflowErrorExistsIdenticalStructure. */ + class WorkflowErrorExistsIdenticalStructure implements IWorkflowErrorExistsIdenticalStructure { + + /** + * Constructs a new WorkflowErrorExistsIdenticalStructure. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowErrorExistsIdenticalStructure); + + /** WorkflowErrorExistsIdenticalStructure id. */ + public id?: (flyteidl.core.IIdentifier|null); + + /** + * Creates a new WorkflowErrorExistsIdenticalStructure instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowErrorExistsIdenticalStructure instance + */ + public static create(properties?: flyteidl.admin.IWorkflowErrorExistsIdenticalStructure): flyteidl.admin.WorkflowErrorExistsIdenticalStructure; + + /** + * Encodes the specified WorkflowErrorExistsIdenticalStructure message. Does not implicitly {@link flyteidl.admin.WorkflowErrorExistsIdenticalStructure.verify|verify} messages. + * @param message WorkflowErrorExistsIdenticalStructure message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowErrorExistsIdenticalStructure, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowErrorExistsIdenticalStructure message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowErrorExistsIdenticalStructure + * @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.admin.WorkflowErrorExistsIdenticalStructure; + + /** + * Verifies a WorkflowErrorExistsIdenticalStructure 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 CreateWorkflowFailureReason. */ + interface ICreateWorkflowFailureReason { + + /** CreateWorkflowFailureReason existsDifferentStructure */ + existsDifferentStructure?: (flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null); + + /** CreateWorkflowFailureReason existsIdenticalStructure */ + existsIdenticalStructure?: (flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null); + } + + /** Represents a CreateWorkflowFailureReason. */ + class CreateWorkflowFailureReason implements ICreateWorkflowFailureReason { + + /** + * Constructs a new CreateWorkflowFailureReason. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ICreateWorkflowFailureReason); + + /** CreateWorkflowFailureReason existsDifferentStructure. */ + public existsDifferentStructure?: (flyteidl.admin.IWorkflowErrorExistsDifferentStructure|null); + + /** CreateWorkflowFailureReason existsIdenticalStructure. */ + public existsIdenticalStructure?: (flyteidl.admin.IWorkflowErrorExistsIdenticalStructure|null); + + /** CreateWorkflowFailureReason reason. */ + public reason?: ("existsDifferentStructure"|"existsIdenticalStructure"); + + /** + * Creates a new CreateWorkflowFailureReason instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateWorkflowFailureReason instance + */ + public static create(properties?: flyteidl.admin.ICreateWorkflowFailureReason): flyteidl.admin.CreateWorkflowFailureReason; + + /** + * Encodes the specified CreateWorkflowFailureReason message. Does not implicitly {@link flyteidl.admin.CreateWorkflowFailureReason.verify|verify} messages. + * @param message CreateWorkflowFailureReason message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ICreateWorkflowFailureReason, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateWorkflowFailureReason message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateWorkflowFailureReason + * @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.admin.CreateWorkflowFailureReason; + + /** + * Verifies a CreateWorkflowFailureReason 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 WorkflowAttributes. */ + interface IWorkflowAttributes { + + /** WorkflowAttributes project */ + project?: (string|null); + + /** WorkflowAttributes domain */ + domain?: (string|null); + + /** WorkflowAttributes workflow */ + workflow?: (string|null); + + /** WorkflowAttributes matchingAttributes */ + matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + + /** WorkflowAttributes org */ + org?: (string|null); + } + + /** Represents a WorkflowAttributes. */ + class WorkflowAttributes implements IWorkflowAttributes { + + /** + * Constructs a new WorkflowAttributes. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowAttributes); + + /** WorkflowAttributes project. */ + public project: string; + + /** WorkflowAttributes domain. */ + public domain: string; + + /** WorkflowAttributes workflow. */ + public workflow: string; + + /** WorkflowAttributes matchingAttributes. */ + public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + + /** WorkflowAttributes org. */ + public org: string; + + /** + * Creates a new WorkflowAttributes instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributes instance + */ + public static create(properties?: flyteidl.admin.IWorkflowAttributes): flyteidl.admin.WorkflowAttributes; + + /** + * Encodes the specified WorkflowAttributes message. Does not implicitly {@link flyteidl.admin.WorkflowAttributes.verify|verify} messages. + * @param message WorkflowAttributes message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowAttributes message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowAttributes + * @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.admin.WorkflowAttributes; + + /** + * Verifies a WorkflowAttributes 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 WorkflowAttributesUpdateRequest. */ + interface IWorkflowAttributesUpdateRequest { + + /** WorkflowAttributesUpdateRequest attributes */ + attributes?: (flyteidl.admin.IWorkflowAttributes|null); + } + + /** Represents a WorkflowAttributesUpdateRequest. */ + class WorkflowAttributesUpdateRequest implements IWorkflowAttributesUpdateRequest { + + /** + * Constructs a new WorkflowAttributesUpdateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowAttributesUpdateRequest); + + /** WorkflowAttributesUpdateRequest attributes. */ + public attributes?: (flyteidl.admin.IWorkflowAttributes|null); + + /** + * Creates a new WorkflowAttributesUpdateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributesUpdateRequest instance + */ + public static create(properties?: flyteidl.admin.IWorkflowAttributesUpdateRequest): flyteidl.admin.WorkflowAttributesUpdateRequest; + + /** + * Encodes the specified WorkflowAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateRequest.verify|verify} messages. + * @param message WorkflowAttributesUpdateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowAttributesUpdateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowAttributesUpdateRequest + * @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.admin.WorkflowAttributesUpdateRequest; + + /** + * Verifies a WorkflowAttributesUpdateRequest 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 WorkflowAttributesUpdateResponse. */ + interface IWorkflowAttributesUpdateResponse { + } + + /** Represents a WorkflowAttributesUpdateResponse. */ + class WorkflowAttributesUpdateResponse implements IWorkflowAttributesUpdateResponse { + + /** + * Constructs a new WorkflowAttributesUpdateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowAttributesUpdateResponse); + + /** + * Creates a new WorkflowAttributesUpdateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributesUpdateResponse instance + */ + public static create(properties?: flyteidl.admin.IWorkflowAttributesUpdateResponse): flyteidl.admin.WorkflowAttributesUpdateResponse; + + /** + * Encodes the specified WorkflowAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateResponse.verify|verify} messages. + * @param message WorkflowAttributesUpdateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowAttributesUpdateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowAttributesUpdateResponse + * @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.admin.WorkflowAttributesUpdateResponse; + + /** + * Verifies a WorkflowAttributesUpdateResponse 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 WorkflowAttributesGetRequest. */ + interface IWorkflowAttributesGetRequest { + + /** WorkflowAttributesGetRequest project */ + project?: (string|null); + + /** WorkflowAttributesGetRequest domain */ + domain?: (string|null); + + /** WorkflowAttributesGetRequest workflow */ + workflow?: (string|null); + + /** WorkflowAttributesGetRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); + + /** WorkflowAttributesGetRequest org */ + org?: (string|null); + } + + /** Represents a WorkflowAttributesGetRequest. */ + class WorkflowAttributesGetRequest implements IWorkflowAttributesGetRequest { + + /** + * Constructs a new WorkflowAttributesGetRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowAttributesGetRequest); + + /** WorkflowAttributesGetRequest project. */ + public project: string; + + /** WorkflowAttributesGetRequest domain. */ + public domain: string; + + /** WorkflowAttributesGetRequest workflow. */ + public workflow: string; + + /** WorkflowAttributesGetRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; + + /** WorkflowAttributesGetRequest org. */ + public org: string; + + /** + * Creates a new WorkflowAttributesGetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributesGetRequest instance + */ + public static create(properties?: flyteidl.admin.IWorkflowAttributesGetRequest): flyteidl.admin.WorkflowAttributesGetRequest; + + /** + * Encodes the specified WorkflowAttributesGetRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesGetRequest.verify|verify} messages. + * @param message WorkflowAttributesGetRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowAttributesGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowAttributesGetRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowAttributesGetRequest + * @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.admin.WorkflowAttributesGetRequest; + + /** + * Verifies a WorkflowAttributesGetRequest 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 WorkflowAttributesGetResponse. */ + interface IWorkflowAttributesGetResponse { + + /** WorkflowAttributesGetResponse attributes */ + attributes?: (flyteidl.admin.IWorkflowAttributes|null); + } + + /** Represents a WorkflowAttributesGetResponse. */ + class WorkflowAttributesGetResponse implements IWorkflowAttributesGetResponse { + + /** + * Constructs a new WorkflowAttributesGetResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowAttributesGetResponse); + + /** WorkflowAttributesGetResponse attributes. */ + public attributes?: (flyteidl.admin.IWorkflowAttributes|null); + + /** + * Creates a new WorkflowAttributesGetResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributesGetResponse instance + */ + public static create(properties?: flyteidl.admin.IWorkflowAttributesGetResponse): flyteidl.admin.WorkflowAttributesGetResponse; + + /** + * Encodes the specified WorkflowAttributesGetResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesGetResponse.verify|verify} messages. + * @param message WorkflowAttributesGetResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowAttributesGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowAttributesGetResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowAttributesGetResponse + * @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.admin.WorkflowAttributesGetResponse; + + /** + * Verifies a WorkflowAttributesGetResponse 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 WorkflowAttributesDeleteRequest. */ + interface IWorkflowAttributesDeleteRequest { + + /** WorkflowAttributesDeleteRequest project */ + project?: (string|null); + + /** WorkflowAttributesDeleteRequest domain */ + domain?: (string|null); + + /** WorkflowAttributesDeleteRequest workflow */ + workflow?: (string|null); + + /** WorkflowAttributesDeleteRequest resourceType */ + resourceType?: (flyteidl.admin.MatchableResource|null); + + /** WorkflowAttributesDeleteRequest org */ + org?: (string|null); + } + + /** Represents a WorkflowAttributesDeleteRequest. */ + class WorkflowAttributesDeleteRequest implements IWorkflowAttributesDeleteRequest { + + /** + * Constructs a new WorkflowAttributesDeleteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowAttributesDeleteRequest); + + /** WorkflowAttributesDeleteRequest project. */ + public project: string; + + /** WorkflowAttributesDeleteRequest domain. */ + public domain: string; + + /** WorkflowAttributesDeleteRequest workflow. */ + public workflow: string; + + /** WorkflowAttributesDeleteRequest resourceType. */ + public resourceType: flyteidl.admin.MatchableResource; + + /** WorkflowAttributesDeleteRequest org. */ + public org: string; + + /** + * Creates a new WorkflowAttributesDeleteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributesDeleteRequest instance + */ + public static create(properties?: flyteidl.admin.IWorkflowAttributesDeleteRequest): flyteidl.admin.WorkflowAttributesDeleteRequest; + + /** + * Encodes the specified WorkflowAttributesDeleteRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesDeleteRequest.verify|verify} messages. + * @param message WorkflowAttributesDeleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowAttributesDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowAttributesDeleteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowAttributesDeleteRequest + * @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.admin.WorkflowAttributesDeleteRequest; + + /** + * Verifies a WorkflowAttributesDeleteRequest 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 WorkflowAttributesDeleteResponse. */ + interface IWorkflowAttributesDeleteResponse { + } + + /** Represents a WorkflowAttributesDeleteResponse. */ + class WorkflowAttributesDeleteResponse implements IWorkflowAttributesDeleteResponse { + + /** + * Constructs a new WorkflowAttributesDeleteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowAttributesDeleteResponse); + + /** + * Creates a new WorkflowAttributesDeleteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributesDeleteResponse instance + */ + public static create(properties?: flyteidl.admin.IWorkflowAttributesDeleteResponse): flyteidl.admin.WorkflowAttributesDeleteResponse; + + /** + * Encodes the specified WorkflowAttributesDeleteResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesDeleteResponse.verify|verify} messages. + * @param message WorkflowAttributesDeleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowAttributesDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowAttributesDeleteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowAttributesDeleteResponse + * @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.admin.WorkflowAttributesDeleteResponse; + + /** + * Verifies a WorkflowAttributesDeleteResponse 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 service. */ + namespace service { + + /** Represents an AdminService */ + class AdminService extends $protobuf.rpc.Service { + + /** + * Constructs a new AdminService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new AdminService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AdminService; + + /** + * Calls CreateTask. + * @param request TaskCreateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskCreateResponse + */ + public createTask(request: flyteidl.admin.ITaskCreateRequest, callback: flyteidl.service.AdminService.CreateTaskCallback): void; + + /** + * Calls CreateTask. + * @param request TaskCreateRequest message or plain object + * @returns Promise + */ + public createTask(request: flyteidl.admin.ITaskCreateRequest): Promise; + + /** + * Calls GetTask. + * @param request ObjectGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Task + */ + public getTask(request: flyteidl.admin.IObjectGetRequest, callback: flyteidl.service.AdminService.GetTaskCallback): void; + + /** + * Calls GetTask. + * @param request ObjectGetRequest message or plain object + * @returns Promise + */ + public getTask(request: flyteidl.admin.IObjectGetRequest): Promise; + + /** + * Calls ListTaskIds. + * @param request NamedEntityIdentifierListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NamedEntityIdentifierList + */ + public listTaskIds(request: flyteidl.admin.INamedEntityIdentifierListRequest, callback: flyteidl.service.AdminService.ListTaskIdsCallback): void; + + /** + * Calls ListTaskIds. + * @param request NamedEntityIdentifierListRequest message or plain object + * @returns Promise + */ + public listTaskIds(request: flyteidl.admin.INamedEntityIdentifierListRequest): Promise; + + /** + * Calls ListTasks. + * @param request ResourceListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskList + */ + public listTasks(request: flyteidl.admin.IResourceListRequest, callback: flyteidl.service.AdminService.ListTasksCallback): void; + + /** + * Calls ListTasks. + * @param request ResourceListRequest message or plain object + * @returns Promise + */ + public listTasks(request: flyteidl.admin.IResourceListRequest): Promise; + + /** + * Calls CreateWorkflow. + * @param request WorkflowCreateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowCreateResponse + */ + public createWorkflow(request: flyteidl.admin.IWorkflowCreateRequest, callback: flyteidl.service.AdminService.CreateWorkflowCallback): void; + + /** + * Calls CreateWorkflow. + * @param request WorkflowCreateRequest message or plain object + * @returns Promise + */ + public createWorkflow(request: flyteidl.admin.IWorkflowCreateRequest): Promise; + + /** + * Calls GetWorkflow. + * @param request ObjectGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Workflow + */ + public getWorkflow(request: flyteidl.admin.IObjectGetRequest, callback: flyteidl.service.AdminService.GetWorkflowCallback): void; + + /** + * Calls GetWorkflow. + * @param request ObjectGetRequest message or plain object + * @returns Promise + */ + public getWorkflow(request: flyteidl.admin.IObjectGetRequest): Promise; + + /** + * Calls ListWorkflowIds. + * @param request NamedEntityIdentifierListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NamedEntityIdentifierList + */ + public listWorkflowIds(request: flyteidl.admin.INamedEntityIdentifierListRequest, callback: flyteidl.service.AdminService.ListWorkflowIdsCallback): void; + + /** + * Calls ListWorkflowIds. + * @param request NamedEntityIdentifierListRequest message or plain object + * @returns Promise + */ + public listWorkflowIds(request: flyteidl.admin.INamedEntityIdentifierListRequest): Promise; + + /** + * Calls ListWorkflows. + * @param request ResourceListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowList + */ + public listWorkflows(request: flyteidl.admin.IResourceListRequest, callback: flyteidl.service.AdminService.ListWorkflowsCallback): void; + + /** + * Calls ListWorkflows. + * @param request ResourceListRequest message or plain object + * @returns Promise + */ + public listWorkflows(request: flyteidl.admin.IResourceListRequest): Promise; + + /** + * Calls CreateLaunchPlan. + * @param request LaunchPlanCreateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and LaunchPlanCreateResponse + */ + public createLaunchPlan(request: flyteidl.admin.ILaunchPlanCreateRequest, callback: flyteidl.service.AdminService.CreateLaunchPlanCallback): void; + + /** + * Calls CreateLaunchPlan. + * @param request LaunchPlanCreateRequest message or plain object + * @returns Promise + */ + public createLaunchPlan(request: flyteidl.admin.ILaunchPlanCreateRequest): Promise; + + /** + * Calls GetLaunchPlan. + * @param request ObjectGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and LaunchPlan + */ + public getLaunchPlan(request: flyteidl.admin.IObjectGetRequest, callback: flyteidl.service.AdminService.GetLaunchPlanCallback): void; + + /** + * Calls GetLaunchPlan. + * @param request ObjectGetRequest message or plain object + * @returns Promise + */ + public getLaunchPlan(request: flyteidl.admin.IObjectGetRequest): Promise; + + /** + * Calls GetActiveLaunchPlan. + * @param request ActiveLaunchPlanRequest message or plain object + * @param callback Node-style callback called with the error, if any, and LaunchPlan + */ + public getActiveLaunchPlan(request: flyteidl.admin.IActiveLaunchPlanRequest, callback: flyteidl.service.AdminService.GetActiveLaunchPlanCallback): void; + + /** + * Calls GetActiveLaunchPlan. + * @param request ActiveLaunchPlanRequest message or plain object + * @returns Promise + */ + public getActiveLaunchPlan(request: flyteidl.admin.IActiveLaunchPlanRequest): Promise; + + /** + * Calls ListActiveLaunchPlans. + * @param request ActiveLaunchPlanListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and LaunchPlanList + */ + public listActiveLaunchPlans(request: flyteidl.admin.IActiveLaunchPlanListRequest, callback: flyteidl.service.AdminService.ListActiveLaunchPlansCallback): void; + + /** + * Calls ListActiveLaunchPlans. + * @param request ActiveLaunchPlanListRequest message or plain object + * @returns Promise + */ + public listActiveLaunchPlans(request: flyteidl.admin.IActiveLaunchPlanListRequest): Promise; + + /** + * Calls ListLaunchPlanIds. + * @param request NamedEntityIdentifierListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NamedEntityIdentifierList + */ + public listLaunchPlanIds(request: flyteidl.admin.INamedEntityIdentifierListRequest, callback: flyteidl.service.AdminService.ListLaunchPlanIdsCallback): void; + + /** + * Calls ListLaunchPlanIds. + * @param request NamedEntityIdentifierListRequest message or plain object + * @returns Promise + */ + public listLaunchPlanIds(request: flyteidl.admin.INamedEntityIdentifierListRequest): Promise; + + /** + * Calls ListLaunchPlans. + * @param request ResourceListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and LaunchPlanList + */ + public listLaunchPlans(request: flyteidl.admin.IResourceListRequest, callback: flyteidl.service.AdminService.ListLaunchPlansCallback): void; + + /** + * Calls ListLaunchPlans. + * @param request ResourceListRequest message or plain object + * @returns Promise + */ + public listLaunchPlans(request: flyteidl.admin.IResourceListRequest): Promise; + + /** + * Calls UpdateLaunchPlan. + * @param request LaunchPlanUpdateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and LaunchPlanUpdateResponse + */ + public updateLaunchPlan(request: flyteidl.admin.ILaunchPlanUpdateRequest, callback: flyteidl.service.AdminService.UpdateLaunchPlanCallback): void; + + /** + * Calls UpdateLaunchPlan. + * @param request LaunchPlanUpdateRequest message or plain object + * @returns Promise + */ + public updateLaunchPlan(request: flyteidl.admin.ILaunchPlanUpdateRequest): Promise; + + /** + * Calls CreateExecution. + * @param request ExecutionCreateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ExecutionCreateResponse + */ + public createExecution(request: flyteidl.admin.IExecutionCreateRequest, callback: flyteidl.service.AdminService.CreateExecutionCallback): void; + + /** + * Calls CreateExecution. + * @param request ExecutionCreateRequest message or plain object + * @returns Promise + */ + public createExecution(request: flyteidl.admin.IExecutionCreateRequest): Promise; + + /** + * Calls RelaunchExecution. + * @param request ExecutionRelaunchRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ExecutionCreateResponse + */ + public relaunchExecution(request: flyteidl.admin.IExecutionRelaunchRequest, callback: flyteidl.service.AdminService.RelaunchExecutionCallback): void; + + /** + * Calls RelaunchExecution. + * @param request ExecutionRelaunchRequest message or plain object + * @returns Promise + */ + public relaunchExecution(request: flyteidl.admin.IExecutionRelaunchRequest): Promise; + + /** + * Calls RecoverExecution. + * @param request ExecutionRecoverRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ExecutionCreateResponse + */ + public recoverExecution(request: flyteidl.admin.IExecutionRecoverRequest, callback: flyteidl.service.AdminService.RecoverExecutionCallback): void; + + /** + * Calls RecoverExecution. + * @param request ExecutionRecoverRequest message or plain object + * @returns Promise + */ + public recoverExecution(request: flyteidl.admin.IExecutionRecoverRequest): Promise; + + /** + * Calls GetExecution. + * @param request WorkflowExecutionGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Execution + */ + public getExecution(request: flyteidl.admin.IWorkflowExecutionGetRequest, callback: flyteidl.service.AdminService.GetExecutionCallback): void; + + /** + * Calls GetExecution. + * @param request WorkflowExecutionGetRequest message or plain object + * @returns Promise + */ + public getExecution(request: flyteidl.admin.IWorkflowExecutionGetRequest): Promise; + + /** + * Calls UpdateExecution. + * @param request ExecutionUpdateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ExecutionUpdateResponse + */ + public updateExecution(request: flyteidl.admin.IExecutionUpdateRequest, callback: flyteidl.service.AdminService.UpdateExecutionCallback): void; + + /** + * Calls UpdateExecution. + * @param request ExecutionUpdateRequest message or plain object + * @returns Promise + */ + public updateExecution(request: flyteidl.admin.IExecutionUpdateRequest): Promise; + + /** + * Calls GetExecutionData. + * @param request WorkflowExecutionGetDataRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowExecutionGetDataResponse + */ + public getExecutionData(request: flyteidl.admin.IWorkflowExecutionGetDataRequest, callback: flyteidl.service.AdminService.GetExecutionDataCallback): void; + + /** + * Calls GetExecutionData. + * @param request WorkflowExecutionGetDataRequest message or plain object + * @returns Promise + */ + public getExecutionData(request: flyteidl.admin.IWorkflowExecutionGetDataRequest): Promise; + + /** + * Calls ListExecutions. + * @param request ResourceListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ExecutionList + */ + public listExecutions(request: flyteidl.admin.IResourceListRequest, callback: flyteidl.service.AdminService.ListExecutionsCallback): void; + + /** + * Calls ListExecutions. + * @param request ResourceListRequest message or plain object + * @returns Promise + */ + public listExecutions(request: flyteidl.admin.IResourceListRequest): Promise; + + /** + * Calls TerminateExecution. + * @param request ExecutionTerminateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ExecutionTerminateResponse + */ + public terminateExecution(request: flyteidl.admin.IExecutionTerminateRequest, callback: flyteidl.service.AdminService.TerminateExecutionCallback): void; + + /** + * Calls TerminateExecution. + * @param request ExecutionTerminateRequest message or plain object + * @returns Promise + */ + public terminateExecution(request: flyteidl.admin.IExecutionTerminateRequest): Promise; + + /** + * Calls GetNodeExecution. + * @param request NodeExecutionGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NodeExecution + */ + public getNodeExecution(request: flyteidl.admin.INodeExecutionGetRequest, callback: flyteidl.service.AdminService.GetNodeExecutionCallback): void; + + /** + * Calls GetNodeExecution. + * @param request NodeExecutionGetRequest message or plain object + * @returns Promise + */ + public getNodeExecution(request: flyteidl.admin.INodeExecutionGetRequest): Promise; + + /** + * Calls GetDynamicNodeWorkflow. + * @param request GetDynamicNodeWorkflowRequest message or plain object + * @param callback Node-style callback called with the error, if any, and DynamicNodeWorkflowResponse + */ + public getDynamicNodeWorkflow(request: flyteidl.admin.IGetDynamicNodeWorkflowRequest, callback: flyteidl.service.AdminService.GetDynamicNodeWorkflowCallback): void; + + /** + * Calls GetDynamicNodeWorkflow. + * @param request GetDynamicNodeWorkflowRequest message or plain object + * @returns Promise + */ + public getDynamicNodeWorkflow(request: flyteidl.admin.IGetDynamicNodeWorkflowRequest): Promise; + + /** + * Calls ListNodeExecutions. + * @param request NodeExecutionListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NodeExecutionList + */ + public listNodeExecutions(request: flyteidl.admin.INodeExecutionListRequest, callback: flyteidl.service.AdminService.ListNodeExecutionsCallback): void; + + /** + * Calls ListNodeExecutions. + * @param request NodeExecutionListRequest message or plain object + * @returns Promise + */ + public listNodeExecutions(request: flyteidl.admin.INodeExecutionListRequest): Promise; + + /** + * Calls ListNodeExecutionsForTask. + * @param request NodeExecutionForTaskListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NodeExecutionList + */ + public listNodeExecutionsForTask(request: flyteidl.admin.INodeExecutionForTaskListRequest, callback: flyteidl.service.AdminService.ListNodeExecutionsForTaskCallback): void; + + /** + * Calls ListNodeExecutionsForTask. + * @param request NodeExecutionForTaskListRequest message or plain object + * @returns Promise + */ + public listNodeExecutionsForTask(request: flyteidl.admin.INodeExecutionForTaskListRequest): Promise; + + /** + * Calls GetNodeExecutionData. + * @param request NodeExecutionGetDataRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NodeExecutionGetDataResponse + */ + public getNodeExecutionData(request: flyteidl.admin.INodeExecutionGetDataRequest, callback: flyteidl.service.AdminService.GetNodeExecutionDataCallback): void; + + /** + * Calls GetNodeExecutionData. + * @param request NodeExecutionGetDataRequest message or plain object + * @returns Promise + */ + public getNodeExecutionData(request: flyteidl.admin.INodeExecutionGetDataRequest): Promise; + + /** + * Calls RegisterProject. + * @param request ProjectRegisterRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectRegisterResponse + */ + public registerProject(request: flyteidl.admin.IProjectRegisterRequest, callback: flyteidl.service.AdminService.RegisterProjectCallback): void; + + /** + * Calls RegisterProject. + * @param request ProjectRegisterRequest message or plain object + * @returns Promise + */ + public registerProject(request: flyteidl.admin.IProjectRegisterRequest): Promise; + + /** + * Calls UpdateProject. + * @param request Project message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectUpdateResponse + */ + public updateProject(request: flyteidl.admin.IProject, callback: flyteidl.service.AdminService.UpdateProjectCallback): void; + + /** + * Calls UpdateProject. + * @param request Project message or plain object + * @returns Promise + */ + public updateProject(request: flyteidl.admin.IProject): Promise; + + /** + * Calls GetProject. + * @param request ProjectGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Project + */ + public getProject(request: flyteidl.admin.IProjectGetRequest, callback: flyteidl.service.AdminService.GetProjectCallback): void; + + /** + * Calls GetProject. + * @param request ProjectGetRequest message or plain object + * @returns Promise + */ + public getProject(request: flyteidl.admin.IProjectGetRequest): Promise; + + /** + * Calls ListProjects. + * @param request ProjectListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Projects + */ + public listProjects(request: flyteidl.admin.IProjectListRequest, callback: flyteidl.service.AdminService.ListProjectsCallback): void; + + /** + * Calls ListProjects. + * @param request ProjectListRequest message or plain object + * @returns Promise + */ + public listProjects(request: flyteidl.admin.IProjectListRequest): Promise; + + /** + * Calls GetDomains. + * @param request GetDomainRequest message or plain object + * @param callback Node-style callback called with the error, if any, and GetDomainsResponse + */ + public getDomains(request: flyteidl.admin.IGetDomainRequest, callback: flyteidl.service.AdminService.GetDomainsCallback): void; + + /** + * Calls GetDomains. + * @param request GetDomainRequest message or plain object + * @returns Promise + */ + public getDomains(request: flyteidl.admin.IGetDomainRequest): Promise; + + /** + * Calls CreateWorkflowEvent. + * @param request WorkflowExecutionEventRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowExecutionEventResponse + */ + public createWorkflowEvent(request: flyteidl.admin.IWorkflowExecutionEventRequest, callback: flyteidl.service.AdminService.CreateWorkflowEventCallback): void; + + /** + * Calls CreateWorkflowEvent. + * @param request WorkflowExecutionEventRequest message or plain object + * @returns Promise + */ + public createWorkflowEvent(request: flyteidl.admin.IWorkflowExecutionEventRequest): Promise; + + /** + * Calls CreateNodeEvent. + * @param request NodeExecutionEventRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NodeExecutionEventResponse + */ + public createNodeEvent(request: flyteidl.admin.INodeExecutionEventRequest, callback: flyteidl.service.AdminService.CreateNodeEventCallback): void; + + /** + * Calls CreateNodeEvent. + * @param request NodeExecutionEventRequest message or plain object + * @returns Promise + */ + public createNodeEvent(request: flyteidl.admin.INodeExecutionEventRequest): Promise; + + /** + * Calls CreateTaskEvent. + * @param request TaskExecutionEventRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskExecutionEventResponse + */ + public createTaskEvent(request: flyteidl.admin.ITaskExecutionEventRequest, callback: flyteidl.service.AdminService.CreateTaskEventCallback): void; + + /** + * Calls CreateTaskEvent. + * @param request TaskExecutionEventRequest message or plain object + * @returns Promise + */ + public createTaskEvent(request: flyteidl.admin.ITaskExecutionEventRequest): Promise; + + /** + * Calls GetTaskExecution. + * @param request TaskExecutionGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskExecution + */ + public getTaskExecution(request: flyteidl.admin.ITaskExecutionGetRequest, callback: flyteidl.service.AdminService.GetTaskExecutionCallback): void; + + /** + * Calls GetTaskExecution. + * @param request TaskExecutionGetRequest message or plain object + * @returns Promise + */ + public getTaskExecution(request: flyteidl.admin.ITaskExecutionGetRequest): Promise; + + /** + * Calls ListTaskExecutions. + * @param request TaskExecutionListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskExecutionList + */ + public listTaskExecutions(request: flyteidl.admin.ITaskExecutionListRequest, callback: flyteidl.service.AdminService.ListTaskExecutionsCallback): void; + + /** + * Calls ListTaskExecutions. + * @param request TaskExecutionListRequest message or plain object + * @returns Promise + */ + public listTaskExecutions(request: flyteidl.admin.ITaskExecutionListRequest): Promise; + + /** + * Calls GetTaskExecutionData. + * @param request TaskExecutionGetDataRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskExecutionGetDataResponse + */ + public getTaskExecutionData(request: flyteidl.admin.ITaskExecutionGetDataRequest, callback: flyteidl.service.AdminService.GetTaskExecutionDataCallback): void; + + /** + * Calls GetTaskExecutionData. + * @param request TaskExecutionGetDataRequest message or plain object + * @returns Promise + */ + public getTaskExecutionData(request: flyteidl.admin.ITaskExecutionGetDataRequest): Promise; + + /** + * Calls UpdateProjectDomainAttributes. + * @param request ProjectDomainAttributesUpdateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectDomainAttributesUpdateResponse + */ + public updateProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesUpdateRequest, callback: flyteidl.service.AdminService.UpdateProjectDomainAttributesCallback): void; + + /** + * Calls UpdateProjectDomainAttributes. + * @param request ProjectDomainAttributesUpdateRequest message or plain object + * @returns Promise + */ + public updateProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesUpdateRequest): Promise; + + /** + * Calls GetProjectDomainAttributes. + * @param request ProjectDomainAttributesGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectDomainAttributesGetResponse + */ + public getProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesGetRequest, callback: flyteidl.service.AdminService.GetProjectDomainAttributesCallback): void; + + /** + * Calls GetProjectDomainAttributes. + * @param request ProjectDomainAttributesGetRequest message or plain object + * @returns Promise + */ + public getProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesGetRequest): Promise; + + /** + * Calls DeleteProjectDomainAttributes. + * @param request ProjectDomainAttributesDeleteRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectDomainAttributesDeleteResponse + */ + public deleteProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesDeleteRequest, callback: flyteidl.service.AdminService.DeleteProjectDomainAttributesCallback): void; + + /** + * Calls DeleteProjectDomainAttributes. + * @param request ProjectDomainAttributesDeleteRequest message or plain object + * @returns Promise + */ + public deleteProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesDeleteRequest): Promise; + + /** + * Calls UpdateProjectAttributes. + * @param request ProjectAttributesUpdateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectAttributesUpdateResponse + */ + public updateProjectAttributes(request: flyteidl.admin.IProjectAttributesUpdateRequest, callback: flyteidl.service.AdminService.UpdateProjectAttributesCallback): void; + + /** + * Calls UpdateProjectAttributes. + * @param request ProjectAttributesUpdateRequest message or plain object + * @returns Promise + */ + public updateProjectAttributes(request: flyteidl.admin.IProjectAttributesUpdateRequest): Promise; + + /** + * Calls GetProjectAttributes. + * @param request ProjectAttributesGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectAttributesGetResponse + */ + public getProjectAttributes(request: flyteidl.admin.IProjectAttributesGetRequest, callback: flyteidl.service.AdminService.GetProjectAttributesCallback): void; + + /** + * Calls GetProjectAttributes. + * @param request ProjectAttributesGetRequest message or plain object + * @returns Promise + */ + public getProjectAttributes(request: flyteidl.admin.IProjectAttributesGetRequest): Promise; + + /** + * Calls DeleteProjectAttributes. + * @param request ProjectAttributesDeleteRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectAttributesDeleteResponse + */ + public deleteProjectAttributes(request: flyteidl.admin.IProjectAttributesDeleteRequest, callback: flyteidl.service.AdminService.DeleteProjectAttributesCallback): void; + + /** + * Calls DeleteProjectAttributes. + * @param request ProjectAttributesDeleteRequest message or plain object + * @returns Promise + */ + public deleteProjectAttributes(request: flyteidl.admin.IProjectAttributesDeleteRequest): Promise; + + /** + * Calls UpdateWorkflowAttributes. + * @param request WorkflowAttributesUpdateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowAttributesUpdateResponse + */ + public updateWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesUpdateRequest, callback: flyteidl.service.AdminService.UpdateWorkflowAttributesCallback): void; + + /** + * Calls UpdateWorkflowAttributes. + * @param request WorkflowAttributesUpdateRequest message or plain object + * @returns Promise + */ + public updateWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesUpdateRequest): Promise; + + /** + * Calls GetWorkflowAttributes. + * @param request WorkflowAttributesGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowAttributesGetResponse + */ + public getWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesGetRequest, callback: flyteidl.service.AdminService.GetWorkflowAttributesCallback): void; + + /** + * Calls GetWorkflowAttributes. + * @param request WorkflowAttributesGetRequest message or plain object + * @returns Promise + */ + public getWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesGetRequest): Promise; + + /** + * Calls DeleteWorkflowAttributes. + * @param request WorkflowAttributesDeleteRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowAttributesDeleteResponse + */ + public deleteWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesDeleteRequest, callback: flyteidl.service.AdminService.DeleteWorkflowAttributesCallback): void; + + /** + * Calls DeleteWorkflowAttributes. + * @param request WorkflowAttributesDeleteRequest message or plain object + * @returns Promise + */ + public deleteWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesDeleteRequest): Promise; + + /** + * Calls ListMatchableAttributes. + * @param request ListMatchableAttributesRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ListMatchableAttributesResponse + */ + public listMatchableAttributes(request: flyteidl.admin.IListMatchableAttributesRequest, callback: flyteidl.service.AdminService.ListMatchableAttributesCallback): void; + + /** + * Calls ListMatchableAttributes. + * @param request ListMatchableAttributesRequest message or plain object + * @returns Promise + */ + public listMatchableAttributes(request: flyteidl.admin.IListMatchableAttributesRequest): Promise; + + /** + * Calls ListNamedEntities. + * @param request NamedEntityListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NamedEntityList + */ + public listNamedEntities(request: flyteidl.admin.INamedEntityListRequest, callback: flyteidl.service.AdminService.ListNamedEntitiesCallback): void; + + /** + * Calls ListNamedEntities. + * @param request NamedEntityListRequest message or plain object + * @returns Promise + */ + public listNamedEntities(request: flyteidl.admin.INamedEntityListRequest): Promise; + + /** + * Calls GetNamedEntity. + * @param request NamedEntityGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NamedEntity + */ + public getNamedEntity(request: flyteidl.admin.INamedEntityGetRequest, callback: flyteidl.service.AdminService.GetNamedEntityCallback): void; + + /** + * Calls GetNamedEntity. + * @param request NamedEntityGetRequest message or plain object + * @returns Promise + */ + public getNamedEntity(request: flyteidl.admin.INamedEntityGetRequest): Promise; + + /** + * Calls UpdateNamedEntity. + * @param request NamedEntityUpdateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and NamedEntityUpdateResponse + */ + public updateNamedEntity(request: flyteidl.admin.INamedEntityUpdateRequest, callback: flyteidl.service.AdminService.UpdateNamedEntityCallback): void; + + /** + * Calls UpdateNamedEntity. + * @param request NamedEntityUpdateRequest message or plain object + * @returns Promise + */ + public updateNamedEntity(request: flyteidl.admin.INamedEntityUpdateRequest): Promise; + + /** + * Calls GetVersion. + * @param request GetVersionRequest message or plain object + * @param callback Node-style callback called with the error, if any, and GetVersionResponse + */ + public getVersion(request: flyteidl.admin.IGetVersionRequest, callback: flyteidl.service.AdminService.GetVersionCallback): void; + + /** + * Calls GetVersion. + * @param request GetVersionRequest message or plain object + * @returns Promise + */ + public getVersion(request: flyteidl.admin.IGetVersionRequest): Promise; + + /** + * Calls GetDescriptionEntity. + * @param request ObjectGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and DescriptionEntity + */ + public getDescriptionEntity(request: flyteidl.admin.IObjectGetRequest, callback: flyteidl.service.AdminService.GetDescriptionEntityCallback): void; + + /** + * Calls GetDescriptionEntity. + * @param request ObjectGetRequest message or plain object + * @returns Promise + */ + public getDescriptionEntity(request: flyteidl.admin.IObjectGetRequest): Promise; + + /** + * Calls ListDescriptionEntities. + * @param request DescriptionEntityListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and DescriptionEntityList + */ + public listDescriptionEntities(request: flyteidl.admin.IDescriptionEntityListRequest, callback: flyteidl.service.AdminService.ListDescriptionEntitiesCallback): void; + + /** + * Calls ListDescriptionEntities. + * @param request DescriptionEntityListRequest message or plain object + * @returns Promise + */ + public listDescriptionEntities(request: flyteidl.admin.IDescriptionEntityListRequest): Promise; + + /** + * Calls GetExecutionMetrics. + * @param request WorkflowExecutionGetMetricsRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowExecutionGetMetricsResponse + */ + public getExecutionMetrics(request: flyteidl.admin.IWorkflowExecutionGetMetricsRequest, callback: flyteidl.service.AdminService.GetExecutionMetricsCallback): void; + + /** + * Calls GetExecutionMetrics. + * @param request WorkflowExecutionGetMetricsRequest message or plain object + * @returns Promise + */ + public getExecutionMetrics(request: flyteidl.admin.IWorkflowExecutionGetMetricsRequest): Promise; + } + + namespace AdminService { + + /** + * Callback as used by {@link flyteidl.service.AdminService#createTask}. + * @param error Error, if any + * @param [response] TaskCreateResponse + */ + type CreateTaskCallback = (error: (Error|null), response?: flyteidl.admin.TaskCreateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getTask}. + * @param error Error, if any + * @param [response] Task + */ + type GetTaskCallback = (error: (Error|null), response?: flyteidl.admin.Task) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listTaskIds}. + * @param error Error, if any + * @param [response] NamedEntityIdentifierList + */ + type ListTaskIdsCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntityIdentifierList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listTasks}. + * @param error Error, if any + * @param [response] TaskList + */ + type ListTasksCallback = (error: (Error|null), response?: flyteidl.admin.TaskList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#createWorkflow}. + * @param error Error, if any + * @param [response] WorkflowCreateResponse + */ + type CreateWorkflowCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowCreateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getWorkflow}. + * @param error Error, if any + * @param [response] Workflow + */ + type GetWorkflowCallback = (error: (Error|null), response?: flyteidl.admin.Workflow) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listWorkflowIds}. + * @param error Error, if any + * @param [response] NamedEntityIdentifierList + */ + type ListWorkflowIdsCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntityIdentifierList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listWorkflows}. + * @param error Error, if any + * @param [response] WorkflowList + */ + type ListWorkflowsCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#createLaunchPlan}. + * @param error Error, if any + * @param [response] LaunchPlanCreateResponse + */ + type CreateLaunchPlanCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlanCreateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getLaunchPlan}. + * @param error Error, if any + * @param [response] LaunchPlan + */ + type GetLaunchPlanCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlan) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getActiveLaunchPlan}. + * @param error Error, if any + * @param [response] LaunchPlan + */ + type GetActiveLaunchPlanCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlan) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listActiveLaunchPlans}. + * @param error Error, if any + * @param [response] LaunchPlanList + */ + type ListActiveLaunchPlansCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlanList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listLaunchPlanIds}. + * @param error Error, if any + * @param [response] NamedEntityIdentifierList + */ + type ListLaunchPlanIdsCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntityIdentifierList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listLaunchPlans}. + * @param error Error, if any + * @param [response] LaunchPlanList + */ + type ListLaunchPlansCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlanList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateLaunchPlan}. + * @param error Error, if any + * @param [response] LaunchPlanUpdateResponse + */ + type UpdateLaunchPlanCallback = (error: (Error|null), response?: flyteidl.admin.LaunchPlanUpdateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#createExecution}. + * @param error Error, if any + * @param [response] ExecutionCreateResponse + */ + type CreateExecutionCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionCreateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#relaunchExecution}. + * @param error Error, if any + * @param [response] ExecutionCreateResponse + */ + type RelaunchExecutionCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionCreateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#recoverExecution}. + * @param error Error, if any + * @param [response] ExecutionCreateResponse + */ + type RecoverExecutionCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionCreateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getExecution}. + * @param error Error, if any + * @param [response] Execution + */ + type GetExecutionCallback = (error: (Error|null), response?: flyteidl.admin.Execution) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateExecution}. + * @param error Error, if any + * @param [response] ExecutionUpdateResponse + */ + type UpdateExecutionCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionUpdateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getExecutionData}. + * @param error Error, if any + * @param [response] WorkflowExecutionGetDataResponse + */ + type GetExecutionDataCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowExecutionGetDataResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listExecutions}. + * @param error Error, if any + * @param [response] ExecutionList + */ + type ListExecutionsCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#terminateExecution}. + * @param error Error, if any + * @param [response] ExecutionTerminateResponse + */ + type TerminateExecutionCallback = (error: (Error|null), response?: flyteidl.admin.ExecutionTerminateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getNodeExecution}. + * @param error Error, if any + * @param [response] NodeExecution + */ + type GetNodeExecutionCallback = (error: (Error|null), response?: flyteidl.admin.NodeExecution) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getDynamicNodeWorkflow}. + * @param error Error, if any + * @param [response] DynamicNodeWorkflowResponse + */ + type GetDynamicNodeWorkflowCallback = (error: (Error|null), response?: flyteidl.admin.DynamicNodeWorkflowResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listNodeExecutions}. + * @param error Error, if any + * @param [response] NodeExecutionList + */ + type ListNodeExecutionsCallback = (error: (Error|null), response?: flyteidl.admin.NodeExecutionList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listNodeExecutionsForTask}. + * @param error Error, if any + * @param [response] NodeExecutionList + */ + type ListNodeExecutionsForTaskCallback = (error: (Error|null), response?: flyteidl.admin.NodeExecutionList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getNodeExecutionData}. + * @param error Error, if any + * @param [response] NodeExecutionGetDataResponse + */ + type GetNodeExecutionDataCallback = (error: (Error|null), response?: flyteidl.admin.NodeExecutionGetDataResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#registerProject}. + * @param error Error, if any + * @param [response] ProjectRegisterResponse + */ + type RegisterProjectCallback = (error: (Error|null), response?: flyteidl.admin.ProjectRegisterResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateProject}. + * @param error Error, if any + * @param [response] ProjectUpdateResponse + */ + type UpdateProjectCallback = (error: (Error|null), response?: flyteidl.admin.ProjectUpdateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getProject}. + * @param error Error, if any + * @param [response] Project + */ + type GetProjectCallback = (error: (Error|null), response?: flyteidl.admin.Project) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listProjects}. + * @param error Error, if any + * @param [response] Projects + */ + type ListProjectsCallback = (error: (Error|null), response?: flyteidl.admin.Projects) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getDomains}. + * @param error Error, if any + * @param [response] GetDomainsResponse + */ + type GetDomainsCallback = (error: (Error|null), response?: flyteidl.admin.GetDomainsResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#createWorkflowEvent}. + * @param error Error, if any + * @param [response] WorkflowExecutionEventResponse + */ + type CreateWorkflowEventCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowExecutionEventResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#createNodeEvent}. + * @param error Error, if any + * @param [response] NodeExecutionEventResponse + */ + type CreateNodeEventCallback = (error: (Error|null), response?: flyteidl.admin.NodeExecutionEventResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#createTaskEvent}. + * @param error Error, if any + * @param [response] TaskExecutionEventResponse + */ + type CreateTaskEventCallback = (error: (Error|null), response?: flyteidl.admin.TaskExecutionEventResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getTaskExecution}. + * @param error Error, if any + * @param [response] TaskExecution + */ + type GetTaskExecutionCallback = (error: (Error|null), response?: flyteidl.admin.TaskExecution) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listTaskExecutions}. + * @param error Error, if any + * @param [response] TaskExecutionList + */ + type ListTaskExecutionsCallback = (error: (Error|null), response?: flyteidl.admin.TaskExecutionList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getTaskExecutionData}. + * @param error Error, if any + * @param [response] TaskExecutionGetDataResponse + */ + type GetTaskExecutionDataCallback = (error: (Error|null), response?: flyteidl.admin.TaskExecutionGetDataResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateProjectDomainAttributes}. + * @param error Error, if any + * @param [response] ProjectDomainAttributesUpdateResponse + */ + type UpdateProjectDomainAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectDomainAttributesUpdateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getProjectDomainAttributes}. + * @param error Error, if any + * @param [response] ProjectDomainAttributesGetResponse + */ + type GetProjectDomainAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectDomainAttributesGetResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#deleteProjectDomainAttributes}. + * @param error Error, if any + * @param [response] ProjectDomainAttributesDeleteResponse + */ + type DeleteProjectDomainAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectDomainAttributesDeleteResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateProjectAttributes}. + * @param error Error, if any + * @param [response] ProjectAttributesUpdateResponse + */ + type UpdateProjectAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectAttributesUpdateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getProjectAttributes}. + * @param error Error, if any + * @param [response] ProjectAttributesGetResponse + */ + type GetProjectAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectAttributesGetResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#deleteProjectAttributes}. + * @param error Error, if any + * @param [response] ProjectAttributesDeleteResponse + */ + type DeleteProjectAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectAttributesDeleteResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateWorkflowAttributes}. + * @param error Error, if any + * @param [response] WorkflowAttributesUpdateResponse + */ + type UpdateWorkflowAttributesCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowAttributesUpdateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getWorkflowAttributes}. + * @param error Error, if any + * @param [response] WorkflowAttributesGetResponse + */ + type GetWorkflowAttributesCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowAttributesGetResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#deleteWorkflowAttributes}. + * @param error Error, if any + * @param [response] WorkflowAttributesDeleteResponse + */ + type DeleteWorkflowAttributesCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowAttributesDeleteResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listMatchableAttributes}. + * @param error Error, if any + * @param [response] ListMatchableAttributesResponse + */ + type ListMatchableAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ListMatchableAttributesResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listNamedEntities}. + * @param error Error, if any + * @param [response] NamedEntityList + */ + type ListNamedEntitiesCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntityList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getNamedEntity}. + * @param error Error, if any + * @param [response] NamedEntity + */ + type GetNamedEntityCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntity) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#updateNamedEntity}. + * @param error Error, if any + * @param [response] NamedEntityUpdateResponse + */ + type UpdateNamedEntityCallback = (error: (Error|null), response?: flyteidl.admin.NamedEntityUpdateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getVersion}. + * @param error Error, if any + * @param [response] GetVersionResponse + */ + type GetVersionCallback = (error: (Error|null), response?: flyteidl.admin.GetVersionResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getDescriptionEntity}. + * @param error Error, if any + * @param [response] DescriptionEntity + */ + type GetDescriptionEntityCallback = (error: (Error|null), response?: flyteidl.admin.DescriptionEntity) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#listDescriptionEntities}. + * @param error Error, if any + * @param [response] DescriptionEntityList + */ + type ListDescriptionEntitiesCallback = (error: (Error|null), response?: flyteidl.admin.DescriptionEntityList) => void; + + /** + * Callback as used by {@link flyteidl.service.AdminService#getExecutionMetrics}. + * @param error Error, if any + * @param [response] WorkflowExecutionGetMetricsResponse + */ + type GetExecutionMetricsCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowExecutionGetMetricsResponse) => void; + } + + /** Represents a SyncAgentService */ + class SyncAgentService extends $protobuf.rpc.Service { + + /** + * Constructs a new SyncAgentService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new SyncAgentService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SyncAgentService; + + /** + * Calls ExecuteTaskSync. + * @param request ExecuteTaskSyncRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ExecuteTaskSyncResponse + */ + public executeTaskSync(request: flyteidl.admin.IExecuteTaskSyncRequest, callback: flyteidl.service.SyncAgentService.ExecuteTaskSyncCallback): void; + + /** + * Calls ExecuteTaskSync. + * @param request ExecuteTaskSyncRequest message or plain object + * @returns Promise + */ + public executeTaskSync(request: flyteidl.admin.IExecuteTaskSyncRequest): Promise; + } + + namespace SyncAgentService { + + /** + * Callback as used by {@link flyteidl.service.SyncAgentService#executeTaskSync}. + * @param error Error, if any + * @param [response] ExecuteTaskSyncResponse + */ + type ExecuteTaskSyncCallback = (error: (Error|null), response?: flyteidl.admin.ExecuteTaskSyncResponse) => void; + } + + /** Represents an AsyncAgentService */ + class AsyncAgentService extends $protobuf.rpc.Service { + + /** + * Constructs a new AsyncAgentService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new AsyncAgentService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AsyncAgentService; + + /** + * Calls CreateTask. + * @param request CreateTaskRequest message or plain object + * @param callback Node-style callback called with the error, if any, and CreateTaskResponse + */ + public createTask(request: flyteidl.admin.ICreateTaskRequest, callback: flyteidl.service.AsyncAgentService.CreateTaskCallback): void; + + /** + * Calls CreateTask. + * @param request CreateTaskRequest message or plain object + * @returns Promise + */ + public createTask(request: flyteidl.admin.ICreateTaskRequest): Promise; + + /** + * Calls GetTask. + * @param request GetTaskRequest message or plain object + * @param callback Node-style callback called with the error, if any, and GetTaskResponse + */ + public getTask(request: flyteidl.admin.IGetTaskRequest, callback: flyteidl.service.AsyncAgentService.GetTaskCallback): void; + + /** + * Calls GetTask. + * @param request GetTaskRequest message or plain object + * @returns Promise + */ + public getTask(request: flyteidl.admin.IGetTaskRequest): Promise; + + /** + * Calls DeleteTask. + * @param request DeleteTaskRequest message or plain object + * @param callback Node-style callback called with the error, if any, and DeleteTaskResponse + */ + public deleteTask(request: flyteidl.admin.IDeleteTaskRequest, callback: flyteidl.service.AsyncAgentService.DeleteTaskCallback): void; + + /** + * Calls DeleteTask. + * @param request DeleteTaskRequest message or plain object + * @returns Promise + */ + public deleteTask(request: flyteidl.admin.IDeleteTaskRequest): Promise; + + /** + * Calls GetTaskMetrics. + * @param request GetTaskMetricsRequest message or plain object + * @param callback Node-style callback called with the error, if any, and GetTaskMetricsResponse + */ + public getTaskMetrics(request: flyteidl.admin.IGetTaskMetricsRequest, callback: flyteidl.service.AsyncAgentService.GetTaskMetricsCallback): void; + + /** + * Calls GetTaskMetrics. + * @param request GetTaskMetricsRequest message or plain object + * @returns Promise + */ + public getTaskMetrics(request: flyteidl.admin.IGetTaskMetricsRequest): Promise; + + /** + * Calls GetTaskLogs. + * @param request GetTaskLogsRequest message or plain object + * @param callback Node-style callback called with the error, if any, and GetTaskLogsResponse + */ + public getTaskLogs(request: flyteidl.admin.IGetTaskLogsRequest, callback: flyteidl.service.AsyncAgentService.GetTaskLogsCallback): void; + + /** + * Calls GetTaskLogs. + * @param request GetTaskLogsRequest message or plain object + * @returns Promise + */ + public getTaskLogs(request: flyteidl.admin.IGetTaskLogsRequest): Promise; + } + + namespace AsyncAgentService { + + /** + * Callback as used by {@link flyteidl.service.AsyncAgentService#createTask}. + * @param error Error, if any + * @param [response] CreateTaskResponse + */ + type CreateTaskCallback = (error: (Error|null), response?: flyteidl.admin.CreateTaskResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AsyncAgentService#getTask}. + * @param error Error, if any + * @param [response] GetTaskResponse + */ + type GetTaskCallback = (error: (Error|null), response?: flyteidl.admin.GetTaskResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AsyncAgentService#deleteTask}. + * @param error Error, if any + * @param [response] DeleteTaskResponse + */ + type DeleteTaskCallback = (error: (Error|null), response?: flyteidl.admin.DeleteTaskResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AsyncAgentService#getTaskMetrics}. + * @param error Error, if any + * @param [response] GetTaskMetricsResponse + */ + type GetTaskMetricsCallback = (error: (Error|null), response?: flyteidl.admin.GetTaskMetricsResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AsyncAgentService#getTaskLogs}. + * @param error Error, if any + * @param [response] GetTaskLogsResponse + */ + type GetTaskLogsCallback = (error: (Error|null), response?: flyteidl.admin.GetTaskLogsResponse) => void; + } + + /** Represents an AgentMetadataService */ + class AgentMetadataService extends $protobuf.rpc.Service { + + /** + * Constructs a new AgentMetadataService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new AgentMetadataService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AgentMetadataService; + + /** + * Calls GetAgent. + * @param request GetAgentRequest message or plain object + * @param callback Node-style callback called with the error, if any, and GetAgentResponse + */ + public getAgent(request: flyteidl.admin.IGetAgentRequest, callback: flyteidl.service.AgentMetadataService.GetAgentCallback): void; + + /** + * Calls GetAgent. + * @param request GetAgentRequest message or plain object + * @returns Promise + */ + public getAgent(request: flyteidl.admin.IGetAgentRequest): Promise; + + /** + * Calls ListAgents. + * @param request ListAgentsRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ListAgentsResponse + */ + public listAgents(request: flyteidl.admin.IListAgentsRequest, callback: flyteidl.service.AgentMetadataService.ListAgentsCallback): void; + + /** + * Calls ListAgents. + * @param request ListAgentsRequest message or plain object + * @returns Promise + */ + public listAgents(request: flyteidl.admin.IListAgentsRequest): Promise; + } + + namespace AgentMetadataService { + + /** + * Callback as used by {@link flyteidl.service.AgentMetadataService#getAgent}. + * @param error Error, if any + * @param [response] GetAgentResponse + */ + type GetAgentCallback = (error: (Error|null), response?: flyteidl.admin.GetAgentResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AgentMetadataService#listAgents}. + * @param error Error, if any + * @param [response] ListAgentsResponse + */ + type ListAgentsCallback = (error: (Error|null), response?: flyteidl.admin.ListAgentsResponse) => void; + } + + /** Properties of a OAuth2MetadataRequest. */ + interface IOAuth2MetadataRequest { + } + + /** Represents a OAuth2MetadataRequest. */ + class OAuth2MetadataRequest implements IOAuth2MetadataRequest { + + /** + * Constructs a new OAuth2MetadataRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IOAuth2MetadataRequest); + + /** + * Creates a new OAuth2MetadataRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns OAuth2MetadataRequest instance + */ + public static create(properties?: flyteidl.service.IOAuth2MetadataRequest): flyteidl.service.OAuth2MetadataRequest; + + /** + * Encodes the specified OAuth2MetadataRequest message. Does not implicitly {@link flyteidl.service.OAuth2MetadataRequest.verify|verify} messages. + * @param message OAuth2MetadataRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IOAuth2MetadataRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a OAuth2MetadataRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns OAuth2MetadataRequest + * @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.service.OAuth2MetadataRequest; + + /** + * Verifies a OAuth2MetadataRequest 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 OAuth2MetadataResponse. */ + interface IOAuth2MetadataResponse { + + /** OAuth2MetadataResponse issuer */ + issuer?: (string|null); + + /** OAuth2MetadataResponse authorizationEndpoint */ + authorizationEndpoint?: (string|null); + + /** OAuth2MetadataResponse tokenEndpoint */ + tokenEndpoint?: (string|null); + + /** OAuth2MetadataResponse responseTypesSupported */ + responseTypesSupported?: (string[]|null); + + /** OAuth2MetadataResponse scopesSupported */ + scopesSupported?: (string[]|null); + + /** OAuth2MetadataResponse tokenEndpointAuthMethodsSupported */ + tokenEndpointAuthMethodsSupported?: (string[]|null); + + /** OAuth2MetadataResponse jwksUri */ + jwksUri?: (string|null); + + /** OAuth2MetadataResponse codeChallengeMethodsSupported */ + codeChallengeMethodsSupported?: (string[]|null); + + /** OAuth2MetadataResponse grantTypesSupported */ + grantTypesSupported?: (string[]|null); + + /** OAuth2MetadataResponse deviceAuthorizationEndpoint */ + deviceAuthorizationEndpoint?: (string|null); + } + + /** Represents a OAuth2MetadataResponse. */ + class OAuth2MetadataResponse implements IOAuth2MetadataResponse { + + /** + * Constructs a new OAuth2MetadataResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IOAuth2MetadataResponse); + + /** OAuth2MetadataResponse issuer. */ + public issuer: string; + + /** OAuth2MetadataResponse authorizationEndpoint. */ + public authorizationEndpoint: string; + + /** OAuth2MetadataResponse tokenEndpoint. */ + public tokenEndpoint: string; + + /** OAuth2MetadataResponse responseTypesSupported. */ + public responseTypesSupported: string[]; + + /** OAuth2MetadataResponse scopesSupported. */ + public scopesSupported: string[]; + + /** OAuth2MetadataResponse tokenEndpointAuthMethodsSupported. */ + public tokenEndpointAuthMethodsSupported: string[]; + + /** OAuth2MetadataResponse jwksUri. */ + public jwksUri: string; + + /** OAuth2MetadataResponse codeChallengeMethodsSupported. */ + public codeChallengeMethodsSupported: string[]; + + /** OAuth2MetadataResponse grantTypesSupported. */ + public grantTypesSupported: string[]; + + /** OAuth2MetadataResponse deviceAuthorizationEndpoint. */ + public deviceAuthorizationEndpoint: string; + + /** + * Creates a new OAuth2MetadataResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns OAuth2MetadataResponse instance + */ + public static create(properties?: flyteidl.service.IOAuth2MetadataResponse): flyteidl.service.OAuth2MetadataResponse; + + /** + * Encodes the specified OAuth2MetadataResponse message. Does not implicitly {@link flyteidl.service.OAuth2MetadataResponse.verify|verify} messages. + * @param message OAuth2MetadataResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IOAuth2MetadataResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a OAuth2MetadataResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns OAuth2MetadataResponse + * @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.service.OAuth2MetadataResponse; + + /** + * Verifies a OAuth2MetadataResponse 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 PublicClientAuthConfigRequest. */ + interface IPublicClientAuthConfigRequest { + } + + /** Represents a PublicClientAuthConfigRequest. */ + class PublicClientAuthConfigRequest implements IPublicClientAuthConfigRequest { + + /** + * Constructs a new PublicClientAuthConfigRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IPublicClientAuthConfigRequest); + + /** + * Creates a new PublicClientAuthConfigRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns PublicClientAuthConfigRequest instance + */ + public static create(properties?: flyteidl.service.IPublicClientAuthConfigRequest): flyteidl.service.PublicClientAuthConfigRequest; + + /** + * Encodes the specified PublicClientAuthConfigRequest message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigRequest.verify|verify} messages. + * @param message PublicClientAuthConfigRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IPublicClientAuthConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PublicClientAuthConfigRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PublicClientAuthConfigRequest + * @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.service.PublicClientAuthConfigRequest; + + /** + * Verifies a PublicClientAuthConfigRequest 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 PublicClientAuthConfigResponse. */ + interface IPublicClientAuthConfigResponse { + + /** PublicClientAuthConfigResponse clientId */ + clientId?: (string|null); + + /** PublicClientAuthConfigResponse redirectUri */ + redirectUri?: (string|null); + + /** PublicClientAuthConfigResponse scopes */ + scopes?: (string[]|null); + + /** PublicClientAuthConfigResponse authorizationMetadataKey */ + authorizationMetadataKey?: (string|null); + + /** PublicClientAuthConfigResponse serviceHttpEndpoint */ + serviceHttpEndpoint?: (string|null); + + /** PublicClientAuthConfigResponse audience */ + audience?: (string|null); + } + + /** Represents a PublicClientAuthConfigResponse. */ + class PublicClientAuthConfigResponse implements IPublicClientAuthConfigResponse { + + /** + * Constructs a new PublicClientAuthConfigResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IPublicClientAuthConfigResponse); + + /** PublicClientAuthConfigResponse clientId. */ + public clientId: string; + + /** PublicClientAuthConfigResponse redirectUri. */ + public redirectUri: string; + + /** PublicClientAuthConfigResponse scopes. */ + public scopes: string[]; + + /** PublicClientAuthConfigResponse authorizationMetadataKey. */ + public authorizationMetadataKey: string; + + /** PublicClientAuthConfigResponse serviceHttpEndpoint. */ + public serviceHttpEndpoint: string; + + /** PublicClientAuthConfigResponse audience. */ + public audience: string; + + /** + * Creates a new PublicClientAuthConfigResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns PublicClientAuthConfigResponse instance + */ + public static create(properties?: flyteidl.service.IPublicClientAuthConfigResponse): flyteidl.service.PublicClientAuthConfigResponse; + + /** + * Encodes the specified PublicClientAuthConfigResponse message. Does not implicitly {@link flyteidl.service.PublicClientAuthConfigResponse.verify|verify} messages. + * @param message PublicClientAuthConfigResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IPublicClientAuthConfigResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PublicClientAuthConfigResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PublicClientAuthConfigResponse + * @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.service.PublicClientAuthConfigResponse; + + /** + * Verifies a PublicClientAuthConfigResponse 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); + } + + /** Represents an AuthMetadataService */ + class AuthMetadataService extends $protobuf.rpc.Service { + + /** + * Constructs a new AuthMetadataService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new AuthMetadataService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): AuthMetadataService; + + /** + * Calls GetOAuth2Metadata. + * @param request OAuth2MetadataRequest message or plain object + * @param callback Node-style callback called with the error, if any, and OAuth2MetadataResponse + */ + public getOAuth2Metadata(request: flyteidl.service.IOAuth2MetadataRequest, callback: flyteidl.service.AuthMetadataService.GetOAuth2MetadataCallback): void; + + /** + * Calls GetOAuth2Metadata. + * @param request OAuth2MetadataRequest message or plain object + * @returns Promise + */ + public getOAuth2Metadata(request: flyteidl.service.IOAuth2MetadataRequest): Promise; + + /** + * Calls GetPublicClientConfig. + * @param request PublicClientAuthConfigRequest message or plain object + * @param callback Node-style callback called with the error, if any, and PublicClientAuthConfigResponse + */ + public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest, callback: flyteidl.service.AuthMetadataService.GetPublicClientConfigCallback): void; + + /** + * Calls GetPublicClientConfig. + * @param request PublicClientAuthConfigRequest message or plain object + * @returns Promise + */ + public getPublicClientConfig(request: flyteidl.service.IPublicClientAuthConfigRequest): Promise; + } + + namespace AuthMetadataService { + + /** + * Callback as used by {@link flyteidl.service.AuthMetadataService#getOAuth2Metadata}. + * @param error Error, if any + * @param [response] OAuth2MetadataResponse + */ + type GetOAuth2MetadataCallback = (error: (Error|null), response?: flyteidl.service.OAuth2MetadataResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.AuthMetadataService#getPublicClientConfig}. + * @param error Error, if any + * @param [response] PublicClientAuthConfigResponse + */ + type GetPublicClientConfigCallback = (error: (Error|null), response?: flyteidl.service.PublicClientAuthConfigResponse) => void; + } + + /** Properties of a CreateUploadLocationResponse. */ + interface ICreateUploadLocationResponse { + + /** CreateUploadLocationResponse signedUrl */ + signedUrl?: (string|null); + + /** CreateUploadLocationResponse nativeUrl */ + nativeUrl?: (string|null); + + /** CreateUploadLocationResponse expiresAt */ + expiresAt?: (google.protobuf.ITimestamp|null); + + /** CreateUploadLocationResponse headers */ + headers?: ({ [k: string]: string }|null); + } + + /** Represents a CreateUploadLocationResponse. */ + class CreateUploadLocationResponse implements ICreateUploadLocationResponse { + + /** + * Constructs a new CreateUploadLocationResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ICreateUploadLocationResponse); + + /** CreateUploadLocationResponse signedUrl. */ + public signedUrl: string; + + /** CreateUploadLocationResponse nativeUrl. */ + public nativeUrl: string; + + /** CreateUploadLocationResponse expiresAt. */ + public expiresAt?: (google.protobuf.ITimestamp|null); + + /** CreateUploadLocationResponse headers. */ + public headers: { [k: string]: string }; + + /** + * Creates a new CreateUploadLocationResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateUploadLocationResponse instance + */ + public static create(properties?: flyteidl.service.ICreateUploadLocationResponse): flyteidl.service.CreateUploadLocationResponse; + + /** + * Encodes the specified CreateUploadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateUploadLocationResponse.verify|verify} messages. + * @param message CreateUploadLocationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ICreateUploadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateUploadLocationResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateUploadLocationResponse + * @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.service.CreateUploadLocationResponse; + + /** + * Verifies a CreateUploadLocationResponse 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 CreateUploadLocationRequest. */ + interface ICreateUploadLocationRequest { + + /** CreateUploadLocationRequest project */ + project?: (string|null); + + /** CreateUploadLocationRequest domain */ + domain?: (string|null); + + /** CreateUploadLocationRequest filename */ + filename?: (string|null); + + /** CreateUploadLocationRequest expiresIn */ + expiresIn?: (google.protobuf.IDuration|null); + + /** CreateUploadLocationRequest contentMd5 */ + contentMd5?: (Uint8Array|null); + + /** CreateUploadLocationRequest filenameRoot */ + filenameRoot?: (string|null); + + /** CreateUploadLocationRequest addContentMd5Metadata */ + addContentMd5Metadata?: (boolean|null); + + /** CreateUploadLocationRequest org */ + org?: (string|null); + } + + /** Represents a CreateUploadLocationRequest. */ + class CreateUploadLocationRequest implements ICreateUploadLocationRequest { + + /** + * Constructs a new CreateUploadLocationRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ICreateUploadLocationRequest); + + /** CreateUploadLocationRequest project. */ + public project: string; + + /** CreateUploadLocationRequest domain. */ + public domain: string; + + /** CreateUploadLocationRequest filename. */ + public filename: string; + + /** CreateUploadLocationRequest expiresIn. */ + public expiresIn?: (google.protobuf.IDuration|null); + + /** CreateUploadLocationRequest contentMd5. */ + public contentMd5: Uint8Array; + + /** CreateUploadLocationRequest filenameRoot. */ + public filenameRoot: string; + + /** CreateUploadLocationRequest addContentMd5Metadata. */ + public addContentMd5Metadata: boolean; + + /** CreateUploadLocationRequest org. */ + public org: string; + + /** + * Creates a new CreateUploadLocationRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateUploadLocationRequest instance + */ + public static create(properties?: flyteidl.service.ICreateUploadLocationRequest): flyteidl.service.CreateUploadLocationRequest; + + /** + * Encodes the specified CreateUploadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateUploadLocationRequest.verify|verify} messages. + * @param message CreateUploadLocationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ICreateUploadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateUploadLocationRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateUploadLocationRequest + * @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.service.CreateUploadLocationRequest; + + /** + * Verifies a CreateUploadLocationRequest 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 CreateDownloadLocationRequest. */ + interface ICreateDownloadLocationRequest { + + /** CreateDownloadLocationRequest nativeUrl */ + nativeUrl?: (string|null); + + /** CreateDownloadLocationRequest expiresIn */ + expiresIn?: (google.protobuf.IDuration|null); + } + + /** Represents a CreateDownloadLocationRequest. */ + class CreateDownloadLocationRequest implements ICreateDownloadLocationRequest { + + /** + * Constructs a new CreateDownloadLocationRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ICreateDownloadLocationRequest); + + /** CreateDownloadLocationRequest nativeUrl. */ + public nativeUrl: string; + + /** CreateDownloadLocationRequest expiresIn. */ + public expiresIn?: (google.protobuf.IDuration|null); + + /** + * Creates a new CreateDownloadLocationRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateDownloadLocationRequest instance + */ + public static create(properties?: flyteidl.service.ICreateDownloadLocationRequest): flyteidl.service.CreateDownloadLocationRequest; + + /** + * Encodes the specified CreateDownloadLocationRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationRequest.verify|verify} messages. + * @param message CreateDownloadLocationRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ICreateDownloadLocationRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateDownloadLocationRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateDownloadLocationRequest + * @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.service.CreateDownloadLocationRequest; + + /** + * Verifies a CreateDownloadLocationRequest 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 CreateDownloadLocationResponse. */ + interface ICreateDownloadLocationResponse { + + /** CreateDownloadLocationResponse signedUrl */ + signedUrl?: (string|null); + + /** CreateDownloadLocationResponse expiresAt */ + expiresAt?: (google.protobuf.ITimestamp|null); + } + + /** Represents a CreateDownloadLocationResponse. */ + class CreateDownloadLocationResponse implements ICreateDownloadLocationResponse { + + /** + * Constructs a new CreateDownloadLocationResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ICreateDownloadLocationResponse); + + /** CreateDownloadLocationResponse signedUrl. */ + public signedUrl: string; + + /** CreateDownloadLocationResponse expiresAt. */ + public expiresAt?: (google.protobuf.ITimestamp|null); + + /** + * Creates a new CreateDownloadLocationResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateDownloadLocationResponse instance + */ + public static create(properties?: flyteidl.service.ICreateDownloadLocationResponse): flyteidl.service.CreateDownloadLocationResponse; + + /** + * Encodes the specified CreateDownloadLocationResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLocationResponse.verify|verify} messages. + * @param message CreateDownloadLocationResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ICreateDownloadLocationResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateDownloadLocationResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateDownloadLocationResponse + * @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.service.CreateDownloadLocationResponse; + + /** + * Verifies a CreateDownloadLocationResponse 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); + } + + /** ArtifactType enum. */ + enum ArtifactType { + ARTIFACT_TYPE_UNDEFINED = 0, + ARTIFACT_TYPE_DECK = 1 + } + + /** Properties of a CreateDownloadLinkRequest. */ + interface ICreateDownloadLinkRequest { + + /** CreateDownloadLinkRequest artifactType */ + artifactType?: (flyteidl.service.ArtifactType|null); + + /** CreateDownloadLinkRequest expiresIn */ + expiresIn?: (google.protobuf.IDuration|null); + + /** CreateDownloadLinkRequest nodeExecutionId */ + nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + } + + /** Represents a CreateDownloadLinkRequest. */ + class CreateDownloadLinkRequest implements ICreateDownloadLinkRequest { + + /** + * Constructs a new CreateDownloadLinkRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ICreateDownloadLinkRequest); + + /** CreateDownloadLinkRequest artifactType. */ + public artifactType: flyteidl.service.ArtifactType; + + /** CreateDownloadLinkRequest expiresIn. */ + public expiresIn?: (google.protobuf.IDuration|null); + + /** CreateDownloadLinkRequest nodeExecutionId. */ + public nodeExecutionId?: (flyteidl.core.INodeExecutionIdentifier|null); + + /** CreateDownloadLinkRequest source. */ + public source?: "nodeExecutionId"; + + /** + * Creates a new CreateDownloadLinkRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateDownloadLinkRequest instance + */ + public static create(properties?: flyteidl.service.ICreateDownloadLinkRequest): flyteidl.service.CreateDownloadLinkRequest; + + /** + * Encodes the specified CreateDownloadLinkRequest message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkRequest.verify|verify} messages. + * @param message CreateDownloadLinkRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ICreateDownloadLinkRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateDownloadLinkRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateDownloadLinkRequest + * @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.service.CreateDownloadLinkRequest; + + /** + * Verifies a CreateDownloadLinkRequest 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 CreateDownloadLinkResponse. */ + interface ICreateDownloadLinkResponse { + + /** CreateDownloadLinkResponse signedUrl */ + signedUrl?: (string[]|null); + + /** CreateDownloadLinkResponse expiresAt */ + expiresAt?: (google.protobuf.ITimestamp|null); + + /** CreateDownloadLinkResponse preSignedUrls */ + preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); + } + + /** Represents a CreateDownloadLinkResponse. */ + class CreateDownloadLinkResponse implements ICreateDownloadLinkResponse { + + /** + * Constructs a new CreateDownloadLinkResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ICreateDownloadLinkResponse); + + /** CreateDownloadLinkResponse signedUrl. */ + public signedUrl: string[]; + + /** CreateDownloadLinkResponse expiresAt. */ + public expiresAt?: (google.protobuf.ITimestamp|null); + + /** CreateDownloadLinkResponse preSignedUrls. */ + public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); + + /** + * Creates a new CreateDownloadLinkResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateDownloadLinkResponse instance + */ + public static create(properties?: flyteidl.service.ICreateDownloadLinkResponse): flyteidl.service.CreateDownloadLinkResponse; + + /** + * Encodes the specified CreateDownloadLinkResponse message. Does not implicitly {@link flyteidl.service.CreateDownloadLinkResponse.verify|verify} messages. + * @param message CreateDownloadLinkResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ICreateDownloadLinkResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateDownloadLinkResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateDownloadLinkResponse + * @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.service.CreateDownloadLinkResponse; + + /** + * Verifies a CreateDownloadLinkResponse 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 PreSignedURLs. */ + interface IPreSignedURLs { + + /** PreSignedURLs signedUrl */ + signedUrl?: (string[]|null); + + /** PreSignedURLs expiresAt */ + expiresAt?: (google.protobuf.ITimestamp|null); + } + + /** Represents a PreSignedURLs. */ + class PreSignedURLs implements IPreSignedURLs { + + /** + * Constructs a new PreSignedURLs. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IPreSignedURLs); + + /** PreSignedURLs signedUrl. */ + public signedUrl: string[]; + + /** PreSignedURLs expiresAt. */ + public expiresAt?: (google.protobuf.ITimestamp|null); + + /** + * Creates a new PreSignedURLs instance using the specified properties. + * @param [properties] Properties to set + * @returns PreSignedURLs instance + */ + public static create(properties?: flyteidl.service.IPreSignedURLs): flyteidl.service.PreSignedURLs; + + /** + * Encodes the specified PreSignedURLs message. Does not implicitly {@link flyteidl.service.PreSignedURLs.verify|verify} messages. + * @param message PreSignedURLs message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IPreSignedURLs, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a PreSignedURLs message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns PreSignedURLs + * @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.service.PreSignedURLs; + + /** + * Verifies a PreSignedURLs 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 GetDataRequest. */ + interface IGetDataRequest { + + /** GetDataRequest flyteUrl */ + flyteUrl?: (string|null); + } + + /** Represents a GetDataRequest. */ + class GetDataRequest implements IGetDataRequest { + + /** + * Constructs a new GetDataRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IGetDataRequest); + + /** GetDataRequest flyteUrl. */ + public flyteUrl: string; + + /** + * Creates a new GetDataRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetDataRequest instance + */ + public static create(properties?: flyteidl.service.IGetDataRequest): flyteidl.service.GetDataRequest; + + /** + * Encodes the specified GetDataRequest message. Does not implicitly {@link flyteidl.service.GetDataRequest.verify|verify} messages. + * @param message GetDataRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IGetDataRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetDataRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetDataRequest + * @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.service.GetDataRequest; + + /** + * Verifies a GetDataRequest 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 GetDataResponse. */ + interface IGetDataResponse { + + /** GetDataResponse literalMap */ + literalMap?: (flyteidl.core.ILiteralMap|null); + + /** GetDataResponse preSignedUrls */ + preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); + + /** GetDataResponse literal */ + literal?: (flyteidl.core.ILiteral|null); + } + + /** Represents a GetDataResponse. */ + class GetDataResponse implements IGetDataResponse { + + /** + * Constructs a new GetDataResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IGetDataResponse); + + /** GetDataResponse literalMap. */ + public literalMap?: (flyteidl.core.ILiteralMap|null); + + /** GetDataResponse preSignedUrls. */ + public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null); + + /** GetDataResponse literal. */ + public literal?: (flyteidl.core.ILiteral|null); + + /** GetDataResponse data. */ + public data?: ("literalMap"|"preSignedUrls"|"literal"); + + /** + * Creates a new GetDataResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns GetDataResponse instance + */ + public static create(properties?: flyteidl.service.IGetDataResponse): flyteidl.service.GetDataResponse; + + /** + * Encodes the specified GetDataResponse message. Does not implicitly {@link flyteidl.service.GetDataResponse.verify|verify} messages. + * @param message GetDataResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IGetDataResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetDataResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetDataResponse + * @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.service.GetDataResponse; + + /** + * Verifies a GetDataResponse 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); + } + + /** Represents a DataProxyService */ + class DataProxyService extends $protobuf.rpc.Service { + + /** + * Constructs a new DataProxyService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new DataProxyService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DataProxyService; + + /** + * Calls CreateUploadLocation. + * @param request CreateUploadLocationRequest message or plain object + * @param callback Node-style callback called with the error, if any, and CreateUploadLocationResponse + */ + public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest, callback: flyteidl.service.DataProxyService.CreateUploadLocationCallback): void; + + /** + * Calls CreateUploadLocation. + * @param request CreateUploadLocationRequest message or plain object + * @returns Promise + */ + public createUploadLocation(request: flyteidl.service.ICreateUploadLocationRequest): Promise; + + /** + * Calls CreateDownloadLocation. + * @param request CreateDownloadLocationRequest message or plain object + * @param callback Node-style callback called with the error, if any, and CreateDownloadLocationResponse + */ + public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLocationCallback): void; + + /** + * Calls CreateDownloadLocation. + * @param request CreateDownloadLocationRequest message or plain object + * @returns Promise + */ + public createDownloadLocation(request: flyteidl.service.ICreateDownloadLocationRequest): Promise; + + /** + * Calls CreateDownloadLink. + * @param request CreateDownloadLinkRequest message or plain object + * @param callback Node-style callback called with the error, if any, and CreateDownloadLinkResponse + */ + public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest, callback: flyteidl.service.DataProxyService.CreateDownloadLinkCallback): void; + + /** + * Calls CreateDownloadLink. + * @param request CreateDownloadLinkRequest message or plain object + * @returns Promise + */ + public createDownloadLink(request: flyteidl.service.ICreateDownloadLinkRequest): Promise; + + /** + * Calls GetData. + * @param request GetDataRequest message or plain object + * @param callback Node-style callback called with the error, if any, and GetDataResponse + */ + public getData(request: flyteidl.service.IGetDataRequest, callback: flyteidl.service.DataProxyService.GetDataCallback): void; + + /** + * Calls GetData. + * @param request GetDataRequest message or plain object + * @returns Promise + */ + public getData(request: flyteidl.service.IGetDataRequest): Promise; + } + + namespace DataProxyService { + + /** + * Callback as used by {@link flyteidl.service.DataProxyService#createUploadLocation}. + * @param error Error, if any + * @param [response] CreateUploadLocationResponse + */ + type CreateUploadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateUploadLocationResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLocation}. + * @param error Error, if any + * @param [response] CreateDownloadLocationResponse + */ + type CreateDownloadLocationCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLocationResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.DataProxyService#createDownloadLink}. + * @param error Error, if any + * @param [response] CreateDownloadLinkResponse + */ + type CreateDownloadLinkCallback = (error: (Error|null), response?: flyteidl.service.CreateDownloadLinkResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.DataProxyService#getData}. + * @param error Error, if any + * @param [response] GetDataResponse + */ + type GetDataCallback = (error: (Error|null), response?: flyteidl.service.GetDataResponse) => void; + } + + /** Represents an ExternalPluginService */ + class ExternalPluginService extends $protobuf.rpc.Service { + + /** + * Constructs a new ExternalPluginService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new ExternalPluginService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ExternalPluginService; + + /** + * Calls CreateTask. + * @param request TaskCreateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskCreateResponse + */ + public createTask(request: flyteidl.service.ITaskCreateRequest, callback: flyteidl.service.ExternalPluginService.CreateTaskCallback): void; + + /** + * Calls CreateTask. + * @param request TaskCreateRequest message or plain object + * @returns Promise + */ + public createTask(request: flyteidl.service.ITaskCreateRequest): Promise; + + /** + * Calls GetTask. + * @param request TaskGetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskGetResponse + */ + public getTask(request: flyteidl.service.ITaskGetRequest, callback: flyteidl.service.ExternalPluginService.GetTaskCallback): void; + + /** + * Calls GetTask. + * @param request TaskGetRequest message or plain object + * @returns Promise + */ + public getTask(request: flyteidl.service.ITaskGetRequest): Promise; + + /** + * Calls DeleteTask. + * @param request TaskDeleteRequest message or plain object + * @param callback Node-style callback called with the error, if any, and TaskDeleteResponse + */ + public deleteTask(request: flyteidl.service.ITaskDeleteRequest, callback: flyteidl.service.ExternalPluginService.DeleteTaskCallback): void; + + /** + * Calls DeleteTask. + * @param request TaskDeleteRequest message or plain object + * @returns Promise + */ + public deleteTask(request: flyteidl.service.ITaskDeleteRequest): Promise; + } + + namespace ExternalPluginService { + + /** + * Callback as used by {@link flyteidl.service.ExternalPluginService#createTask}. + * @param error Error, if any + * @param [response] TaskCreateResponse + */ + type CreateTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskCreateResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.ExternalPluginService#getTask}. + * @param error Error, if any + * @param [response] TaskGetResponse + */ + type GetTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskGetResponse) => void; + + /** + * Callback as used by {@link flyteidl.service.ExternalPluginService#deleteTask}. + * @param error Error, if any + * @param [response] TaskDeleteResponse + */ + type DeleteTaskCallback = (error: (Error|null), response?: flyteidl.service.TaskDeleteResponse) => void; + } + + /** State enum. */ + enum State { + RETRYABLE_FAILURE = 0, + PERMANENT_FAILURE = 1, + PENDING = 2, + RUNNING = 3, + SUCCEEDED = 4 + } + + /** Properties of a TaskCreateRequest. */ + interface ITaskCreateRequest { + + /** TaskCreateRequest inputs */ + inputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskCreateRequest template */ + template?: (flyteidl.core.ITaskTemplate|null); + + /** TaskCreateRequest outputPrefix */ + outputPrefix?: (string|null); + } + + /** Represents a TaskCreateRequest. */ + class TaskCreateRequest implements ITaskCreateRequest { + + /** + * Constructs a new TaskCreateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ITaskCreateRequest); + + /** TaskCreateRequest inputs. */ + public inputs?: (flyteidl.core.ILiteralMap|null); + + /** TaskCreateRequest template. */ + public template?: (flyteidl.core.ITaskTemplate|null); + + /** TaskCreateRequest outputPrefix. */ + public outputPrefix: string; + + /** + * Creates a new TaskCreateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskCreateRequest instance + */ + public static create(properties?: flyteidl.service.ITaskCreateRequest): flyteidl.service.TaskCreateRequest; + + /** + * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.service.TaskCreateRequest.verify|verify} messages. + * @param message TaskCreateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ITaskCreateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskCreateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskCreateRequest + * @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.service.TaskCreateRequest; + + /** + * Verifies a TaskCreateRequest 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 TaskCreateResponse. */ + interface ITaskCreateResponse { + + /** TaskCreateResponse jobId */ + jobId?: (string|null); + } + + /** Represents a TaskCreateResponse. */ + class TaskCreateResponse implements ITaskCreateResponse { + + /** + * Constructs a new TaskCreateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ITaskCreateResponse); + + /** TaskCreateResponse jobId. */ + public jobId: string; + + /** + * Creates a new TaskCreateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskCreateResponse instance + */ + public static create(properties?: flyteidl.service.ITaskCreateResponse): flyteidl.service.TaskCreateResponse; + + /** + * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.service.TaskCreateResponse.verify|verify} messages. + * @param message TaskCreateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ITaskCreateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskCreateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskCreateResponse + * @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.service.TaskCreateResponse; + + /** + * Verifies a TaskCreateResponse 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 TaskGetRequest. */ + interface ITaskGetRequest { + + /** TaskGetRequest taskType */ + taskType?: (string|null); + + /** TaskGetRequest jobId */ + jobId?: (string|null); + } + + /** Represents a TaskGetRequest. */ + class TaskGetRequest implements ITaskGetRequest { + + /** + * Constructs a new TaskGetRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ITaskGetRequest); + + /** TaskGetRequest taskType. */ + public taskType: string; + + /** TaskGetRequest jobId. */ + public jobId: string; + + /** + * Creates a new TaskGetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskGetRequest instance + */ + public static create(properties?: flyteidl.service.ITaskGetRequest): flyteidl.service.TaskGetRequest; + + /** + * Encodes the specified TaskGetRequest message. Does not implicitly {@link flyteidl.service.TaskGetRequest.verify|verify} messages. + * @param message TaskGetRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ITaskGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskGetRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskGetRequest + * @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.service.TaskGetRequest; + + /** + * Verifies a TaskGetRequest 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 TaskGetResponse. */ + interface ITaskGetResponse { + + /** TaskGetResponse state */ + state?: (flyteidl.service.State|null); + + /** TaskGetResponse outputs */ + outputs?: (flyteidl.core.ILiteralMap|null); + } + + /** Represents a TaskGetResponse. */ + class TaskGetResponse implements ITaskGetResponse { + + /** + * Constructs a new TaskGetResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ITaskGetResponse); + + /** TaskGetResponse state. */ + public state: flyteidl.service.State; + + /** TaskGetResponse outputs. */ + public outputs?: (flyteidl.core.ILiteralMap|null); + + /** + * Creates a new TaskGetResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskGetResponse instance + */ + public static create(properties?: flyteidl.service.ITaskGetResponse): flyteidl.service.TaskGetResponse; + + /** + * Encodes the specified TaskGetResponse message. Does not implicitly {@link flyteidl.service.TaskGetResponse.verify|verify} messages. + * @param message TaskGetResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ITaskGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskGetResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskGetResponse + * @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.service.TaskGetResponse; + + /** + * Verifies a TaskGetResponse 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 TaskDeleteRequest. */ + interface ITaskDeleteRequest { + + /** TaskDeleteRequest taskType */ + taskType?: (string|null); + + /** TaskDeleteRequest jobId */ + jobId?: (string|null); + } + + /** Represents a TaskDeleteRequest. */ + class TaskDeleteRequest implements ITaskDeleteRequest { + + /** + * Constructs a new TaskDeleteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ITaskDeleteRequest); + + /** TaskDeleteRequest taskType. */ + public taskType: string; + + /** TaskDeleteRequest jobId. */ + public jobId: string; + + /** + * Creates a new TaskDeleteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskDeleteRequest instance + */ + public static create(properties?: flyteidl.service.ITaskDeleteRequest): flyteidl.service.TaskDeleteRequest; + + /** + * Encodes the specified TaskDeleteRequest message. Does not implicitly {@link flyteidl.service.TaskDeleteRequest.verify|verify} messages. + * @param message TaskDeleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ITaskDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskDeleteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskDeleteRequest + * @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.service.TaskDeleteRequest; + + /** + * Verifies a TaskDeleteRequest 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 TaskDeleteResponse. */ + interface ITaskDeleteResponse { + } + + /** Represents a TaskDeleteResponse. */ + class TaskDeleteResponse implements ITaskDeleteResponse { + + /** + * Constructs a new TaskDeleteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.ITaskDeleteResponse); + + /** + * Creates a new TaskDeleteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskDeleteResponse instance + */ + public static create(properties?: flyteidl.service.ITaskDeleteResponse): flyteidl.service.TaskDeleteResponse; + + /** + * Encodes the specified TaskDeleteResponse message. Does not implicitly {@link flyteidl.service.TaskDeleteResponse.verify|verify} messages. + * @param message TaskDeleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.ITaskDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskDeleteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskDeleteResponse + * @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.service.TaskDeleteResponse; + + /** + * Verifies a TaskDeleteResponse 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 UserInfoRequest. */ + interface IUserInfoRequest { + } + + /** Represents a UserInfoRequest. */ + class UserInfoRequest implements IUserInfoRequest { + + /** + * Constructs a new UserInfoRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IUserInfoRequest); + + /** + * Creates a new UserInfoRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns UserInfoRequest instance + */ + public static create(properties?: flyteidl.service.IUserInfoRequest): flyteidl.service.UserInfoRequest; + + /** + * Encodes the specified UserInfoRequest message. Does not implicitly {@link flyteidl.service.UserInfoRequest.verify|verify} messages. + * @param message UserInfoRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IUserInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a UserInfoRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UserInfoRequest + * @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.service.UserInfoRequest; + + /** + * Verifies a UserInfoRequest 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 UserInfoResponse. */ + interface IUserInfoResponse { + + /** UserInfoResponse subject */ + subject?: (string|null); + + /** UserInfoResponse name */ + name?: (string|null); + + /** UserInfoResponse preferredUsername */ + preferredUsername?: (string|null); + + /** UserInfoResponse givenName */ + givenName?: (string|null); + + /** UserInfoResponse familyName */ + familyName?: (string|null); + + /** UserInfoResponse email */ + email?: (string|null); + + /** UserInfoResponse picture */ + picture?: (string|null); + + /** UserInfoResponse additionalClaims */ + additionalClaims?: (google.protobuf.IStruct|null); + } + + /** Represents a UserInfoResponse. */ + class UserInfoResponse implements IUserInfoResponse { + + /** + * Constructs a new UserInfoResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.service.IUserInfoResponse); + + /** UserInfoResponse subject. */ + public subject: string; + + /** UserInfoResponse name. */ + public name: string; + + /** UserInfoResponse preferredUsername. */ + public preferredUsername: string; + + /** UserInfoResponse givenName. */ + public givenName: string; + + /** UserInfoResponse familyName. */ + public familyName: string; + + /** UserInfoResponse email. */ + public email: string; + + /** UserInfoResponse picture. */ + public picture: string; + + /** UserInfoResponse additionalClaims. */ + public additionalClaims?: (google.protobuf.IStruct|null); + + /** + * Creates a new UserInfoResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns UserInfoResponse instance + */ + public static create(properties?: flyteidl.service.IUserInfoResponse): flyteidl.service.UserInfoResponse; + + /** + * Encodes the specified UserInfoResponse message. Does not implicitly {@link flyteidl.service.UserInfoResponse.verify|verify} messages. + * @param message UserInfoResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.service.IUserInfoResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a UserInfoResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UserInfoResponse + * @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.service.UserInfoResponse; + + /** + * Verifies a UserInfoResponse 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); + } + + /** Represents an IdentityService */ + class IdentityService extends $protobuf.rpc.Service { + + /** + * Constructs a new IdentityService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new IdentityService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): IdentityService; + + /** + * Calls UserInfo. + * @param request UserInfoRequest message or plain object + * @param callback Node-style callback called with the error, if any, and UserInfoResponse + */ + public userInfo(request: flyteidl.service.IUserInfoRequest, callback: flyteidl.service.IdentityService.UserInfoCallback): void; + + /** + * Calls UserInfo. + * @param request UserInfoRequest message or plain object + * @returns Promise + */ + public userInfo(request: flyteidl.service.IUserInfoRequest): Promise; + } + + namespace IdentityService { + + /** + * Callback as used by {@link flyteidl.service.IdentityService#userInfo}. + * @param error Error, if any + * @param [response] UserInfoResponse + */ + type UserInfoCallback = (error: (Error|null), response?: flyteidl.service.UserInfoResponse) => void; + } + + /** Represents a SignalService */ + class SignalService extends $protobuf.rpc.Service { + + /** + * Constructs a new SignalService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new SignalService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SignalService; + + /** + * Calls GetOrCreateSignal. + * @param request SignalGetOrCreateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Signal + */ + public getOrCreateSignal(request: flyteidl.admin.ISignalGetOrCreateRequest, callback: flyteidl.service.SignalService.GetOrCreateSignalCallback): void; + + /** + * Calls GetOrCreateSignal. + * @param request SignalGetOrCreateRequest message or plain object + * @returns Promise + */ + public getOrCreateSignal(request: flyteidl.admin.ISignalGetOrCreateRequest): Promise; + + /** + * Calls ListSignals. + * @param request SignalListRequest message or plain object + * @param callback Node-style callback called with the error, if any, and SignalList + */ + public listSignals(request: flyteidl.admin.ISignalListRequest, callback: flyteidl.service.SignalService.ListSignalsCallback): void; + + /** + * Calls ListSignals. + * @param request SignalListRequest message or plain object + * @returns Promise + */ + public listSignals(request: flyteidl.admin.ISignalListRequest): Promise; + + /** + * Calls SetSignal. + * @param request SignalSetRequest message or plain object + * @param callback Node-style callback called with the error, if any, and SignalSetResponse + */ + public setSignal(request: flyteidl.admin.ISignalSetRequest, callback: flyteidl.service.SignalService.SetSignalCallback): void; + + /** + * Calls SetSignal. + * @param request SignalSetRequest message or plain object + * @returns Promise + */ + public setSignal(request: flyteidl.admin.ISignalSetRequest): Promise; + } + + namespace SignalService { + + /** + * Callback as used by {@link flyteidl.service.SignalService#getOrCreateSignal}. + * @param error Error, if any + * @param [response] Signal + */ + type GetOrCreateSignalCallback = (error: (Error|null), response?: flyteidl.admin.Signal) => void; + + /** + * Callback as used by {@link flyteidl.service.SignalService#listSignals}. + * @param error Error, if any + * @param [response] SignalList + */ + type ListSignalsCallback = (error: (Error|null), response?: flyteidl.admin.SignalList) => void; + + /** + * Callback as used by {@link flyteidl.service.SignalService#setSignal}. + * @param error Error, if any + * @param [response] SignalSetResponse + */ + type SetSignalCallback = (error: (Error|null), response?: flyteidl.admin.SignalSetResponse) => void; + } + } +} + +/** Namespace google. */ +export namespace google { + + /** Namespace protobuf. */ + namespace protobuf { + + /** Properties of a Timestamp. */ + interface ITimestamp { + + /** Timestamp seconds */ + seconds?: (Long|null); + + /** Timestamp nanos */ + nanos?: (number|null); + } + + /** Represents a Timestamp. */ + class Timestamp implements ITimestamp { + + /** + * Constructs a new Timestamp. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.ITimestamp); + + /** Timestamp seconds. */ + public seconds: Long; + + /** Timestamp nanos. */ + public nanos: number; + + /** + * Creates a new Timestamp instance using the specified properties. + * @param [properties] Properties to set + * @returns Timestamp instance + */ + public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp; + + /** + * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages. + * @param message Timestamp message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Timestamp message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Timestamp + * @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): google.protobuf.Timestamp; + + /** + * Verifies a Timestamp 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 Struct. */ + interface IStruct { + + /** Struct fields */ + fields?: ({ [k: string]: google.protobuf.IValue }|null); + } + + /** Represents a Struct. */ + class Struct implements IStruct { + + /** + * Constructs a new Struct. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IStruct); + + /** Struct fields. */ + public fields: { [k: string]: google.protobuf.IValue }; + + /** + * Creates a new Struct instance using the specified properties. + * @param [properties] Properties to set + * @returns Struct instance + */ + public static create(properties?: google.protobuf.IStruct): google.protobuf.Struct; + + /** + * Encodes the specified Struct message. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages. + * @param message Struct message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IStruct, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Struct message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Struct + * @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): google.protobuf.Struct; + + /** + * Verifies a Struct 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 Value. */ + interface IValue { + + /** Value nullValue */ + nullValue?: (google.protobuf.NullValue|null); + + /** Value numberValue */ + numberValue?: (number|null); + + /** Value stringValue */ + stringValue?: (string|null); + + /** Value boolValue */ + boolValue?: (boolean|null); + + /** Value structValue */ + structValue?: (google.protobuf.IStruct|null); + + /** Value listValue */ + listValue?: (google.protobuf.IListValue|null); + } + + /** Represents a Value. */ + class Value implements IValue { + + /** + * Constructs a new Value. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IValue); + + /** Value nullValue. */ + public nullValue: google.protobuf.NullValue; + + /** Value numberValue. */ + public numberValue: number; + + /** Value stringValue. */ + public stringValue: string; + + /** Value boolValue. */ + public boolValue: boolean; + + /** Value structValue. */ + public structValue?: (google.protobuf.IStruct|null); + + /** Value listValue. */ + public listValue?: (google.protobuf.IListValue|null); + + /** Value kind. */ + public kind?: ("nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"); + + /** + * Creates a new Value instance using the specified properties. + * @param [properties] Properties to set + * @returns Value instance + */ + public static create(properties?: google.protobuf.IValue): google.protobuf.Value; + + /** + * Encodes the specified Value message. Does not implicitly {@link google.protobuf.Value.verify|verify} messages. + * @param message Value message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IValue, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Value message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Value + * @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): google.protobuf.Value; + + /** + * Verifies a Value 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); + } + + /** NullValue enum. */ + enum NullValue { + NULL_VALUE = 0 + } + + /** Properties of a ListValue. */ + interface IListValue { + + /** ListValue values */ + values?: (google.protobuf.IValue[]|null); + } + + /** Represents a ListValue. */ + class ListValue implements IListValue { + + /** + * Constructs a new ListValue. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IListValue); + + /** ListValue values. */ + public values: google.protobuf.IValue[]; + + /** + * Creates a new ListValue instance using the specified properties. + * @param [properties] Properties to set + * @returns ListValue instance + */ + public static create(properties?: google.protobuf.IListValue): google.protobuf.ListValue; + + /** + * Encodes the specified ListValue message. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages. + * @param message ListValue message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IListValue, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ListValue message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ListValue + * @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): google.protobuf.ListValue; + + /** + * Verifies a ListValue 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 Duration. */ + interface IDuration { + + /** Duration seconds */ + seconds?: (Long|null); + + /** Duration nanos */ + nanos?: (number|null); + } + + /** Represents a Duration. */ + class Duration implements IDuration { + + /** + * Constructs a new Duration. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IDuration); + + /** Duration seconds. */ + public seconds: Long; + + /** Duration nanos. */ + public nanos: number; + + /** + * Creates a new Duration instance using the specified properties. + * @param [properties] Properties to set + * @returns Duration instance + */ + public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration; + + /** + * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages. + * @param message Duration message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Duration message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Duration + * @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): google.protobuf.Duration; + + /** + * Verifies a Duration 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 DoubleValue. */ + interface IDoubleValue { + + /** DoubleValue value */ + value?: (number|null); + } + + /** Represents a DoubleValue. */ + class DoubleValue implements IDoubleValue { + + /** + * Constructs a new DoubleValue. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IDoubleValue); + + /** DoubleValue value. */ + public value: number; + + /** + * Creates a new DoubleValue instance using the specified properties. + * @param [properties] Properties to set + * @returns DoubleValue instance + */ + public static create(properties?: google.protobuf.IDoubleValue): google.protobuf.DoubleValue; + + /** + * Encodes the specified DoubleValue message. Does not implicitly {@link google.protobuf.DoubleValue.verify|verify} messages. + * @param message DoubleValue message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IDoubleValue, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DoubleValue message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DoubleValue + * @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): google.protobuf.DoubleValue; + + /** + * Verifies a DoubleValue 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 FloatValue. */ + interface IFloatValue { + + /** FloatValue value */ + value?: (number|null); + } + + /** Represents a FloatValue. */ + class FloatValue implements IFloatValue { + + /** + * Constructs a new FloatValue. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IFloatValue); + + /** FloatValue value. */ + public value: number; + + /** + * Creates a new FloatValue instance using the specified properties. + * @param [properties] Properties to set + * @returns FloatValue instance + */ + public static create(properties?: google.protobuf.IFloatValue): google.protobuf.FloatValue; + + /** + * Encodes the specified FloatValue message. Does not implicitly {@link google.protobuf.FloatValue.verify|verify} messages. + * @param message FloatValue message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IFloatValue, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FloatValue message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FloatValue + * @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): google.protobuf.FloatValue; + + /** + * Verifies a FloatValue 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 Int64Value. */ + interface IInt64Value { + + /** Int64Value value */ + value?: (Long|null); + } + + /** Represents an Int64Value. */ + class Int64Value implements IInt64Value { + + /** + * Constructs a new Int64Value. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IInt64Value); + + /** Int64Value value. */ + public value: Long; + + /** + * Creates a new Int64Value instance using the specified properties. + * @param [properties] Properties to set + * @returns Int64Value instance + */ + public static create(properties?: google.protobuf.IInt64Value): google.protobuf.Int64Value; + + /** + * Encodes the specified Int64Value message. Does not implicitly {@link google.protobuf.Int64Value.verify|verify} messages. + * @param message Int64Value message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IInt64Value, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Int64Value message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Int64Value + * @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): google.protobuf.Int64Value; + + /** + * Verifies an Int64Value 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 UInt64Value. */ + interface IUInt64Value { + + /** UInt64Value value */ + value?: (Long|null); + } + + /** Represents a UInt64Value. */ + class UInt64Value implements IUInt64Value { + + /** + * Constructs a new UInt64Value. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IUInt64Value); + + /** UInt64Value value. */ + public value: Long; + + /** + * Creates a new UInt64Value instance using the specified properties. + * @param [properties] Properties to set + * @returns UInt64Value instance + */ + public static create(properties?: google.protobuf.IUInt64Value): google.protobuf.UInt64Value; + + /** + * Encodes the specified UInt64Value message. Does not implicitly {@link google.protobuf.UInt64Value.verify|verify} messages. + * @param message UInt64Value message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IUInt64Value, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a UInt64Value message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UInt64Value + * @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): google.protobuf.UInt64Value; + + /** + * Verifies a UInt64Value 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 Int32Value. */ + interface IInt32Value { + + /** Int32Value value */ + value?: (number|null); + } + + /** Represents an Int32Value. */ + class Int32Value implements IInt32Value { + + /** + * Constructs a new Int32Value. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IInt32Value); + + /** Int32Value value. */ + public value: number; + + /** + * Creates a new Int32Value instance using the specified properties. + * @param [properties] Properties to set + * @returns Int32Value instance + */ + public static create(properties?: google.protobuf.IInt32Value): google.protobuf.Int32Value; + + /** + * Encodes the specified Int32Value message. Does not implicitly {@link google.protobuf.Int32Value.verify|verify} messages. + * @param message Int32Value message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IInt32Value, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Int32Value message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Int32Value + * @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): google.protobuf.Int32Value; + + /** + * Verifies an Int32Value 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 UInt32Value. */ + interface IUInt32Value { + + /** UInt32Value value */ + value?: (number|null); + } + + /** Represents a UInt32Value. */ + class UInt32Value implements IUInt32Value { + + /** + * Constructs a new UInt32Value. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IUInt32Value); + + /** UInt32Value value. */ + public value: number; + + /** + * Creates a new UInt32Value instance using the specified properties. + * @param [properties] Properties to set + * @returns UInt32Value instance + */ + public static create(properties?: google.protobuf.IUInt32Value): google.protobuf.UInt32Value; + + /** + * Encodes the specified UInt32Value message. Does not implicitly {@link google.protobuf.UInt32Value.verify|verify} messages. + * @param message UInt32Value message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IUInt32Value, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a UInt32Value message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UInt32Value + * @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): google.protobuf.UInt32Value; + + /** + * Verifies a UInt32Value 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 BoolValue. */ + interface IBoolValue { + + /** BoolValue value */ + value?: (boolean|null); + } + + /** Represents a BoolValue. */ + class BoolValue implements IBoolValue { + + /** + * Constructs a new BoolValue. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IBoolValue); + + /** BoolValue value. */ + public value: boolean; + + /** + * Creates a new BoolValue instance using the specified properties. + * @param [properties] Properties to set + * @returns BoolValue instance + */ + public static create(properties?: google.protobuf.IBoolValue): google.protobuf.BoolValue; + + /** + * Encodes the specified BoolValue message. Does not implicitly {@link google.protobuf.BoolValue.verify|verify} messages. + * @param message BoolValue message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IBoolValue, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BoolValue message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BoolValue + * @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): google.protobuf.BoolValue; + + /** + * Verifies a BoolValue 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 StringValue. */ + interface IStringValue { + + /** StringValue value */ + value?: (string|null); + } + + /** Represents a StringValue. */ + class StringValue implements IStringValue { + + /** + * Constructs a new StringValue. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IStringValue); + + /** StringValue value. */ + public value: string; + + /** + * Creates a new StringValue instance using the specified properties. + * @param [properties] Properties to set + * @returns StringValue instance + */ + public static create(properties?: google.protobuf.IStringValue): google.protobuf.StringValue; + + /** + * Encodes the specified StringValue message. Does not implicitly {@link google.protobuf.StringValue.verify|verify} messages. + * @param message StringValue message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IStringValue, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a StringValue message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns StringValue + * @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): google.protobuf.StringValue; + + /** + * Verifies a StringValue 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 BytesValue. */ + interface IBytesValue { + + /** BytesValue value */ + value?: (Uint8Array|null); + } + + /** Represents a BytesValue. */ + class BytesValue implements IBytesValue { + + /** + * Constructs a new BytesValue. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IBytesValue); + + /** BytesValue value. */ + public value: Uint8Array; + + /** + * Creates a new BytesValue instance using the specified properties. + * @param [properties] Properties to set + * @returns BytesValue instance + */ + public static create(properties?: google.protobuf.IBytesValue): google.protobuf.BytesValue; + + /** + * Encodes the specified BytesValue message. Does not implicitly {@link google.protobuf.BytesValue.verify|verify} messages. + * @param message BytesValue message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IBytesValue, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a BytesValue message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns BytesValue + * @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): google.protobuf.BytesValue; + + /** + * Verifies a BytesValue 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 Any. */ + interface IAny { + + /** Any type_url */ + type_url?: (string|null); + + /** Any value */ + value?: (Uint8Array|null); + } + + /** Represents an Any. */ + class Any implements IAny { + + /** + * Constructs a new Any. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IAny); + + /** Any type_url. */ + public type_url: string; + + /** Any value. */ + public value: Uint8Array; + + /** + * Creates a new Any instance using the specified properties. + * @param [properties] Properties to set + * @returns Any instance + */ + public static create(properties?: google.protobuf.IAny): google.protobuf.Any; + + /** + * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages. + * @param message Any message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Any message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Any + * @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): google.protobuf.Any; + + /** + * Verifies an Any 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 FileDescriptorSet. */ + interface IFileDescriptorSet { + + /** FileDescriptorSet file */ + file?: (google.protobuf.IFileDescriptorProto[]|null); + } + + /** Represents a FileDescriptorSet. */ + class FileDescriptorSet implements IFileDescriptorSet { + + /** + * Constructs a new FileDescriptorSet. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IFileDescriptorSet); + + /** FileDescriptorSet file. */ + public file: google.protobuf.IFileDescriptorProto[]; + + /** + * Creates a new FileDescriptorSet instance using the specified properties. + * @param [properties] Properties to set + * @returns FileDescriptorSet instance + */ + public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet; + + /** + * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages. + * @param message FileDescriptorSet message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FileDescriptorSet message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FileDescriptorSet + * @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): google.protobuf.FileDescriptorSet; + + /** + * Verifies a FileDescriptorSet 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 FileDescriptorProto. */ + interface IFileDescriptorProto { + + /** FileDescriptorProto name */ + name?: (string|null); + + /** FileDescriptorProto package */ + "package"?: (string|null); + + /** FileDescriptorProto dependency */ + dependency?: (string[]|null); + + /** FileDescriptorProto publicDependency */ + publicDependency?: (number[]|null); + + /** FileDescriptorProto weakDependency */ + weakDependency?: (number[]|null); + + /** FileDescriptorProto messageType */ + messageType?: (google.protobuf.IDescriptorProto[]|null); + + /** FileDescriptorProto enumType */ + enumType?: (google.protobuf.IEnumDescriptorProto[]|null); + + /** FileDescriptorProto service */ + service?: (google.protobuf.IServiceDescriptorProto[]|null); + + /** FileDescriptorProto extension */ + extension?: (google.protobuf.IFieldDescriptorProto[]|null); + + /** FileDescriptorProto options */ + options?: (google.protobuf.IFileOptions|null); + + /** FileDescriptorProto sourceCodeInfo */ + sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null); + + /** FileDescriptorProto syntax */ + syntax?: (string|null); + } + + /** Represents a FileDescriptorProto. */ + class FileDescriptorProto implements IFileDescriptorProto { + + /** + * Constructs a new FileDescriptorProto. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IFileDescriptorProto); + + /** FileDescriptorProto name. */ + public name: string; + + /** FileDescriptorProto package. */ + public package: string; + + /** FileDescriptorProto dependency. */ + public dependency: string[]; + + /** FileDescriptorProto publicDependency. */ + public publicDependency: number[]; + + /** FileDescriptorProto weakDependency. */ + public weakDependency: number[]; + + /** FileDescriptorProto messageType. */ + public messageType: google.protobuf.IDescriptorProto[]; + + /** FileDescriptorProto enumType. */ + public enumType: google.protobuf.IEnumDescriptorProto[]; + + /** FileDescriptorProto service. */ + public service: google.protobuf.IServiceDescriptorProto[]; + + /** FileDescriptorProto extension. */ + public extension: google.protobuf.IFieldDescriptorProto[]; + + /** FileDescriptorProto options. */ + public options?: (google.protobuf.IFileOptions|null); + + /** FileDescriptorProto sourceCodeInfo. */ + public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null); + + /** FileDescriptorProto syntax. */ + public syntax: string; + + /** + * Creates a new FileDescriptorProto instance using the specified properties. + * @param [properties] Properties to set + * @returns FileDescriptorProto instance + */ + public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto; + + /** + * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages. + * @param message FileDescriptorProto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FileDescriptorProto message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FileDescriptorProto + * @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): google.protobuf.FileDescriptorProto; + + /** + * Verifies a FileDescriptorProto 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 DescriptorProto. */ + interface IDescriptorProto { + + /** DescriptorProto name */ + name?: (string|null); + + /** DescriptorProto field */ + field?: (google.protobuf.IFieldDescriptorProto[]|null); + + /** DescriptorProto extension */ + extension?: (google.protobuf.IFieldDescriptorProto[]|null); + + /** DescriptorProto nestedType */ + nestedType?: (google.protobuf.IDescriptorProto[]|null); + + /** DescriptorProto enumType */ + enumType?: (google.protobuf.IEnumDescriptorProto[]|null); + + /** DescriptorProto extensionRange */ + extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null); + + /** DescriptorProto oneofDecl */ + oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null); + + /** DescriptorProto options */ + options?: (google.protobuf.IMessageOptions|null); + + /** DescriptorProto reservedRange */ + reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null); + + /** DescriptorProto reservedName */ + reservedName?: (string[]|null); + } + + /** Represents a DescriptorProto. */ + class DescriptorProto implements IDescriptorProto { + + /** + * Constructs a new DescriptorProto. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IDescriptorProto); + + /** DescriptorProto name. */ + public name: string; + + /** DescriptorProto field. */ + public field: google.protobuf.IFieldDescriptorProto[]; + + /** DescriptorProto extension. */ + public extension: google.protobuf.IFieldDescriptorProto[]; + + /** DescriptorProto nestedType. */ + public nestedType: google.protobuf.IDescriptorProto[]; + + /** DescriptorProto enumType. */ + public enumType: google.protobuf.IEnumDescriptorProto[]; + + /** DescriptorProto extensionRange. */ + public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[]; + + /** DescriptorProto oneofDecl. */ + public oneofDecl: google.protobuf.IOneofDescriptorProto[]; + + /** DescriptorProto options. */ + public options?: (google.protobuf.IMessageOptions|null); + + /** DescriptorProto reservedRange. */ + public reservedRange: google.protobuf.DescriptorProto.IReservedRange[]; + + /** DescriptorProto reservedName. */ + public reservedName: string[]; + + /** + * Creates a new DescriptorProto instance using the specified properties. + * @param [properties] Properties to set + * @returns DescriptorProto instance + */ + public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto; + + /** + * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages. + * @param message DescriptorProto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DescriptorProto message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DescriptorProto + * @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): google.protobuf.DescriptorProto; + + /** + * Verifies a DescriptorProto 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 DescriptorProto { + + /** Properties of an ExtensionRange. */ + interface IExtensionRange { + + /** ExtensionRange start */ + start?: (number|null); + + /** ExtensionRange end */ + end?: (number|null); + } + + /** Represents an ExtensionRange. */ + class ExtensionRange implements IExtensionRange { + + /** + * Constructs a new ExtensionRange. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange); + + /** ExtensionRange start. */ + public start: number; + + /** ExtensionRange end. */ + public end: number; + + /** + * Creates a new ExtensionRange instance using the specified properties. + * @param [properties] Properties to set + * @returns ExtensionRange instance + */ + public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange; + + /** + * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages. + * @param message ExtensionRange message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExtensionRange message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExtensionRange + * @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): google.protobuf.DescriptorProto.ExtensionRange; + + /** + * Verifies an ExtensionRange 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 ReservedRange. */ + interface IReservedRange { + + /** ReservedRange start */ + start?: (number|null); + + /** ReservedRange end */ + end?: (number|null); + } + + /** Represents a ReservedRange. */ + class ReservedRange implements IReservedRange { + + /** + * Constructs a new ReservedRange. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.DescriptorProto.IReservedRange); + + /** ReservedRange start. */ + public start: number; + + /** ReservedRange end. */ + public end: number; + + /** + * Creates a new ReservedRange instance using the specified properties. + * @param [properties] Properties to set + * @returns ReservedRange instance + */ + public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange; + + /** + * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages. + * @param message ReservedRange message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ReservedRange message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ReservedRange + * @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): google.protobuf.DescriptorProto.ReservedRange; + + /** + * Verifies a ReservedRange 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 FieldDescriptorProto. */ + interface IFieldDescriptorProto { + + /** FieldDescriptorProto name */ + name?: (string|null); + + /** FieldDescriptorProto number */ + number?: (number|null); + + /** FieldDescriptorProto label */ + label?: (google.protobuf.FieldDescriptorProto.Label|null); + + /** FieldDescriptorProto type */ + type?: (google.protobuf.FieldDescriptorProto.Type|null); + + /** FieldDescriptorProto typeName */ + typeName?: (string|null); + + /** FieldDescriptorProto extendee */ + extendee?: (string|null); + + /** FieldDescriptorProto defaultValue */ + defaultValue?: (string|null); + + /** FieldDescriptorProto oneofIndex */ + oneofIndex?: (number|null); + + /** FieldDescriptorProto jsonName */ + jsonName?: (string|null); + + /** FieldDescriptorProto options */ + options?: (google.protobuf.IFieldOptions|null); + } + + /** Represents a FieldDescriptorProto. */ + class FieldDescriptorProto implements IFieldDescriptorProto { + + /** + * Constructs a new FieldDescriptorProto. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IFieldDescriptorProto); + + /** FieldDescriptorProto name. */ + public name: string; + + /** FieldDescriptorProto number. */ + public number: number; + + /** FieldDescriptorProto label. */ + public label: google.protobuf.FieldDescriptorProto.Label; + + /** FieldDescriptorProto type. */ + public type: google.protobuf.FieldDescriptorProto.Type; + + /** FieldDescriptorProto typeName. */ + public typeName: string; + + /** FieldDescriptorProto extendee. */ + public extendee: string; + + /** FieldDescriptorProto defaultValue. */ + public defaultValue: string; + + /** FieldDescriptorProto oneofIndex. */ + public oneofIndex: number; + + /** FieldDescriptorProto jsonName. */ + public jsonName: string; + + /** FieldDescriptorProto options. */ + public options?: (google.protobuf.IFieldOptions|null); + + /** + * Creates a new FieldDescriptorProto instance using the specified properties. + * @param [properties] Properties to set + * @returns FieldDescriptorProto instance + */ + public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto; + + /** + * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. + * @param message FieldDescriptorProto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FieldDescriptorProto message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FieldDescriptorProto + * @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): google.protobuf.FieldDescriptorProto; + + /** + * Verifies a FieldDescriptorProto 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 FieldDescriptorProto { + + /** Type enum. */ + enum Type { + TYPE_DOUBLE = 1, + TYPE_FLOAT = 2, + TYPE_INT64 = 3, + TYPE_UINT64 = 4, + TYPE_INT32 = 5, + TYPE_FIXED64 = 6, + TYPE_FIXED32 = 7, + TYPE_BOOL = 8, + TYPE_STRING = 9, + TYPE_GROUP = 10, + TYPE_MESSAGE = 11, + TYPE_BYTES = 12, + TYPE_UINT32 = 13, + TYPE_ENUM = 14, + TYPE_SFIXED32 = 15, + TYPE_SFIXED64 = 16, + TYPE_SINT32 = 17, + TYPE_SINT64 = 18 + } + + /** Label enum. */ + enum Label { + LABEL_OPTIONAL = 1, + LABEL_REQUIRED = 2, + LABEL_REPEATED = 3 + } + } + + /** Properties of an OneofDescriptorProto. */ + interface IOneofDescriptorProto { + + /** OneofDescriptorProto name */ + name?: (string|null); + + /** OneofDescriptorProto options */ + options?: (google.protobuf.IOneofOptions|null); + } + + /** Represents an OneofDescriptorProto. */ + class OneofDescriptorProto implements IOneofDescriptorProto { + + /** + * Constructs a new OneofDescriptorProto. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IOneofDescriptorProto); + + /** OneofDescriptorProto name. */ + public name: string; + + /** OneofDescriptorProto options. */ + public options?: (google.protobuf.IOneofOptions|null); + + /** + * Creates a new OneofDescriptorProto instance using the specified properties. + * @param [properties] Properties to set + * @returns OneofDescriptorProto instance + */ + public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto; + + /** + * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. + * @param message OneofDescriptorProto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an OneofDescriptorProto message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns OneofDescriptorProto + * @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): google.protobuf.OneofDescriptorProto; + + /** + * Verifies an OneofDescriptorProto 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 EnumDescriptorProto. */ + interface IEnumDescriptorProto { + + /** EnumDescriptorProto name */ + name?: (string|null); + + /** EnumDescriptorProto value */ + value?: (google.protobuf.IEnumValueDescriptorProto[]|null); + + /** EnumDescriptorProto options */ + options?: (google.protobuf.IEnumOptions|null); + } + + /** Represents an EnumDescriptorProto. */ + class EnumDescriptorProto implements IEnumDescriptorProto { + + /** + * Constructs a new EnumDescriptorProto. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IEnumDescriptorProto); + + /** EnumDescriptorProto name. */ + public name: string; + + /** EnumDescriptorProto value. */ + public value: google.protobuf.IEnumValueDescriptorProto[]; + + /** EnumDescriptorProto options. */ + public options?: (google.protobuf.IEnumOptions|null); + + /** + * Creates a new EnumDescriptorProto instance using the specified properties. + * @param [properties] Properties to set + * @returns EnumDescriptorProto instance + */ + public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto; + + /** + * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. + * @param message EnumDescriptorProto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EnumDescriptorProto message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EnumDescriptorProto + * @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): google.protobuf.EnumDescriptorProto; + + /** + * Verifies an EnumDescriptorProto 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 EnumValueDescriptorProto. */ + interface IEnumValueDescriptorProto { + + /** EnumValueDescriptorProto name */ + name?: (string|null); + + /** EnumValueDescriptorProto number */ + number?: (number|null); + + /** EnumValueDescriptorProto options */ + options?: (google.protobuf.IEnumValueOptions|null); + } + + /** Represents an EnumValueDescriptorProto. */ + class EnumValueDescriptorProto implements IEnumValueDescriptorProto { + + /** + * Constructs a new EnumValueDescriptorProto. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IEnumValueDescriptorProto); + + /** EnumValueDescriptorProto name. */ + public name: string; + + /** EnumValueDescriptorProto number. */ + public number: number; + + /** EnumValueDescriptorProto options. */ + public options?: (google.protobuf.IEnumValueOptions|null); + + /** + * Creates a new EnumValueDescriptorProto instance using the specified properties. + * @param [properties] Properties to set + * @returns EnumValueDescriptorProto instance + */ + public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto; + + /** + * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. + * @param message EnumValueDescriptorProto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EnumValueDescriptorProto message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EnumValueDescriptorProto + * @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): google.protobuf.EnumValueDescriptorProto; + + /** + * Verifies an EnumValueDescriptorProto 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 ServiceDescriptorProto. */ + interface IServiceDescriptorProto { + + /** ServiceDescriptorProto name */ + name?: (string|null); + + /** ServiceDescriptorProto method */ + method?: (google.protobuf.IMethodDescriptorProto[]|null); + + /** ServiceDescriptorProto options */ + options?: (google.protobuf.IServiceOptions|null); + } + + /** Represents a ServiceDescriptorProto. */ + class ServiceDescriptorProto implements IServiceDescriptorProto { + + /** + * Constructs a new ServiceDescriptorProto. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IServiceDescriptorProto); + + /** ServiceDescriptorProto name. */ + public name: string; + + /** ServiceDescriptorProto method. */ + public method: google.protobuf.IMethodDescriptorProto[]; + + /** ServiceDescriptorProto options. */ + public options?: (google.protobuf.IServiceOptions|null); + + /** + * Creates a new ServiceDescriptorProto instance using the specified properties. + * @param [properties] Properties to set + * @returns ServiceDescriptorProto instance + */ + public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto; + + /** + * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. + * @param message ServiceDescriptorProto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ServiceDescriptorProto message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ServiceDescriptorProto + * @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): google.protobuf.ServiceDescriptorProto; + + /** + * Verifies a ServiceDescriptorProto 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 MethodDescriptorProto. */ + interface IMethodDescriptorProto { + + /** MethodDescriptorProto name */ + name?: (string|null); + + /** MethodDescriptorProto inputType */ + inputType?: (string|null); + + /** MethodDescriptorProto outputType */ + outputType?: (string|null); + + /** MethodDescriptorProto options */ + options?: (google.protobuf.IMethodOptions|null); + + /** MethodDescriptorProto clientStreaming */ + clientStreaming?: (boolean|null); + + /** MethodDescriptorProto serverStreaming */ + serverStreaming?: (boolean|null); + } + + /** Represents a MethodDescriptorProto. */ + class MethodDescriptorProto implements IMethodDescriptorProto { + + /** + * Constructs a new MethodDescriptorProto. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IMethodDescriptorProto); + + /** MethodDescriptorProto name. */ + public name: string; + + /** MethodDescriptorProto inputType. */ + public inputType: string; + + /** MethodDescriptorProto outputType. */ + public outputType: string; + + /** MethodDescriptorProto options. */ + public options?: (google.protobuf.IMethodOptions|null); + + /** MethodDescriptorProto clientStreaming. */ + public clientStreaming: boolean; + + /** MethodDescriptorProto serverStreaming. */ + public serverStreaming: boolean; + + /** + * Creates a new MethodDescriptorProto instance using the specified properties. + * @param [properties] Properties to set + * @returns MethodDescriptorProto instance + */ + public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto; + + /** + * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. + * @param message MethodDescriptorProto message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MethodDescriptorProto message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MethodDescriptorProto + * @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): google.protobuf.MethodDescriptorProto; + + /** + * Verifies a MethodDescriptorProto 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 FileOptions. */ + interface IFileOptions { + + /** FileOptions javaPackage */ + javaPackage?: (string|null); + + /** FileOptions javaOuterClassname */ + javaOuterClassname?: (string|null); + + /** FileOptions javaMultipleFiles */ + javaMultipleFiles?: (boolean|null); + + /** FileOptions javaGenerateEqualsAndHash */ + javaGenerateEqualsAndHash?: (boolean|null); + + /** FileOptions javaStringCheckUtf8 */ + javaStringCheckUtf8?: (boolean|null); + + /** FileOptions optimizeFor */ + optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|null); + + /** FileOptions goPackage */ + goPackage?: (string|null); + + /** FileOptions ccGenericServices */ + ccGenericServices?: (boolean|null); + + /** FileOptions javaGenericServices */ + javaGenericServices?: (boolean|null); + + /** FileOptions pyGenericServices */ + pyGenericServices?: (boolean|null); + + /** FileOptions deprecated */ + deprecated?: (boolean|null); + + /** FileOptions ccEnableArenas */ + ccEnableArenas?: (boolean|null); + + /** FileOptions objcClassPrefix */ + objcClassPrefix?: (string|null); + + /** FileOptions csharpNamespace */ + csharpNamespace?: (string|null); + + /** FileOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); + } + + /** Represents a FileOptions. */ + class FileOptions implements IFileOptions { + + /** + * Constructs a new FileOptions. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IFileOptions); + + /** FileOptions javaPackage. */ + public javaPackage: string; + + /** FileOptions javaOuterClassname. */ + public javaOuterClassname: string; + + /** FileOptions javaMultipleFiles. */ + public javaMultipleFiles: boolean; + + /** FileOptions javaGenerateEqualsAndHash. */ + public javaGenerateEqualsAndHash: boolean; + + /** FileOptions javaStringCheckUtf8. */ + public javaStringCheckUtf8: boolean; + + /** FileOptions optimizeFor. */ + public optimizeFor: google.protobuf.FileOptions.OptimizeMode; + + /** FileOptions goPackage. */ + public goPackage: string; + + /** FileOptions ccGenericServices. */ + public ccGenericServices: boolean; + + /** FileOptions javaGenericServices. */ + public javaGenericServices: boolean; + + /** FileOptions pyGenericServices. */ + public pyGenericServices: boolean; + + /** FileOptions deprecated. */ + public deprecated: boolean; + + /** FileOptions ccEnableArenas. */ + public ccEnableArenas: boolean; + + /** FileOptions objcClassPrefix. */ + public objcClassPrefix: string; + + /** FileOptions csharpNamespace. */ + public csharpNamespace: string; + + /** FileOptions uninterpretedOption. */ + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + + /** + * Creates a new FileOptions instance using the specified properties. + * @param [properties] Properties to set + * @returns FileOptions instance + */ + public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions; + + /** + * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. + * @param message FileOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FileOptions message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FileOptions + * @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): google.protobuf.FileOptions; + + /** + * Verifies a FileOptions 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 FileOptions { + + /** OptimizeMode enum. */ + enum OptimizeMode { + SPEED = 1, + CODE_SIZE = 2, + LITE_RUNTIME = 3 + } + } + + /** Properties of a MessageOptions. */ + interface IMessageOptions { + + /** MessageOptions messageSetWireFormat */ + messageSetWireFormat?: (boolean|null); + + /** MessageOptions noStandardDescriptorAccessor */ + noStandardDescriptorAccessor?: (boolean|null); + + /** MessageOptions deprecated */ + deprecated?: (boolean|null); + + /** MessageOptions mapEntry */ + mapEntry?: (boolean|null); + + /** MessageOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); + } + + /** Represents a MessageOptions. */ + class MessageOptions implements IMessageOptions { + + /** + * Constructs a new MessageOptions. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IMessageOptions); + + /** MessageOptions messageSetWireFormat. */ + public messageSetWireFormat: boolean; + + /** MessageOptions noStandardDescriptorAccessor. */ + public noStandardDescriptorAccessor: boolean; + + /** MessageOptions deprecated. */ + public deprecated: boolean; + + /** MessageOptions mapEntry. */ + public mapEntry: boolean; + + /** MessageOptions uninterpretedOption. */ + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + + /** + * Creates a new MessageOptions instance using the specified properties. + * @param [properties] Properties to set + * @returns MessageOptions instance + */ + public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions; + + /** + * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. + * @param message MessageOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MessageOptions message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MessageOptions + * @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): google.protobuf.MessageOptions; + + /** + * Verifies a MessageOptions 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 FieldOptions. */ + interface IFieldOptions { + + /** FieldOptions ctype */ + ctype?: (google.protobuf.FieldOptions.CType|null); + + /** FieldOptions packed */ + packed?: (boolean|null); + + /** FieldOptions jstype */ + jstype?: (google.protobuf.FieldOptions.JSType|null); + + /** FieldOptions lazy */ + lazy?: (boolean|null); + + /** FieldOptions deprecated */ + deprecated?: (boolean|null); + + /** FieldOptions weak */ + weak?: (boolean|null); + + /** FieldOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); + } + + /** Represents a FieldOptions. */ + class FieldOptions implements IFieldOptions { + + /** + * Constructs a new FieldOptions. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IFieldOptions); + + /** FieldOptions ctype. */ + public ctype: google.protobuf.FieldOptions.CType; + + /** FieldOptions packed. */ + public packed: boolean; + + /** FieldOptions jstype. */ + public jstype: google.protobuf.FieldOptions.JSType; + + /** FieldOptions lazy. */ + public lazy: boolean; + + /** FieldOptions deprecated. */ + public deprecated: boolean; + + /** FieldOptions weak. */ + public weak: boolean; + + /** FieldOptions uninterpretedOption. */ + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + + /** + * Creates a new FieldOptions instance using the specified properties. + * @param [properties] Properties to set + * @returns FieldOptions instance + */ + public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions; + + /** + * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. + * @param message FieldOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FieldOptions message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FieldOptions + * @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): google.protobuf.FieldOptions; + + /** + * Verifies a FieldOptions 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 FieldOptions { + + /** CType enum. */ + enum CType { + STRING = 0, + CORD = 1, + STRING_PIECE = 2 + } + + /** JSType enum. */ + enum JSType { + JS_NORMAL = 0, + JS_STRING = 1, + JS_NUMBER = 2 + } + } + + /** Properties of an OneofOptions. */ + interface IOneofOptions { + + /** OneofOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); + } + + /** Represents an OneofOptions. */ + class OneofOptions implements IOneofOptions { + + /** + * Constructs a new OneofOptions. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IOneofOptions); + + /** OneofOptions uninterpretedOption. */ + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + + /** + * Creates a new OneofOptions instance using the specified properties. + * @param [properties] Properties to set + * @returns OneofOptions instance + */ + public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions; + + /** + * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. + * @param message OneofOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an OneofOptions message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns OneofOptions + * @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): google.protobuf.OneofOptions; + + /** + * Verifies an OneofOptions 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 EnumOptions. */ + interface IEnumOptions { + + /** EnumOptions allowAlias */ + allowAlias?: (boolean|null); + + /** EnumOptions deprecated */ + deprecated?: (boolean|null); + + /** EnumOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); + } + + /** Represents an EnumOptions. */ + class EnumOptions implements IEnumOptions { + + /** + * Constructs a new EnumOptions. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IEnumOptions); + + /** EnumOptions allowAlias. */ + public allowAlias: boolean; + + /** EnumOptions deprecated. */ + public deprecated: boolean; + + /** EnumOptions uninterpretedOption. */ + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + + /** + * Creates a new EnumOptions instance using the specified properties. + * @param [properties] Properties to set + * @returns EnumOptions instance + */ + public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions; + + /** + * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. + * @param message EnumOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EnumOptions message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EnumOptions + * @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): google.protobuf.EnumOptions; + + /** + * Verifies an EnumOptions 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 EnumValueOptions. */ + interface IEnumValueOptions { + + /** EnumValueOptions deprecated */ + deprecated?: (boolean|null); + + /** EnumValueOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); + } + + /** Represents an EnumValueOptions. */ + class EnumValueOptions implements IEnumValueOptions { + + /** + * Constructs a new EnumValueOptions. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IEnumValueOptions); + + /** EnumValueOptions deprecated. */ + public deprecated: boolean; + + /** EnumValueOptions uninterpretedOption. */ + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + + /** + * Creates a new EnumValueOptions instance using the specified properties. + * @param [properties] Properties to set + * @returns EnumValueOptions instance + */ + public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions; + + /** + * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. + * @param message EnumValueOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EnumValueOptions message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EnumValueOptions + * @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): google.protobuf.EnumValueOptions; + + /** + * Verifies an EnumValueOptions 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 ServiceOptions. */ + interface IServiceOptions { + + /** ServiceOptions deprecated */ + deprecated?: (boolean|null); + + /** ServiceOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); + } + + /** Represents a ServiceOptions. */ + class ServiceOptions implements IServiceOptions { + + /** + * Constructs a new ServiceOptions. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IServiceOptions); + + /** ServiceOptions deprecated. */ + public deprecated: boolean; + + /** ServiceOptions uninterpretedOption. */ + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + + /** + * Creates a new ServiceOptions instance using the specified properties. + * @param [properties] Properties to set + * @returns ServiceOptions instance + */ + public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions; + + /** + * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. + * @param message ServiceOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ServiceOptions message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ServiceOptions + * @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): google.protobuf.ServiceOptions; + + /** + * Verifies a ServiceOptions 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 MethodOptions. */ + interface IMethodOptions { + + /** MethodOptions deprecated */ + deprecated?: (boolean|null); + + /** MethodOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); + + /** MethodOptions .google.api.http */ + ".google.api.http"?: (google.api.IHttpRule|null); + } + + /** Represents a MethodOptions. */ + class MethodOptions implements IMethodOptions { + + /** + * Constructs a new MethodOptions. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IMethodOptions); + + /** MethodOptions deprecated. */ + public deprecated: boolean; + + /** MethodOptions uninterpretedOption. */ + public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + + /** + * Creates a new MethodOptions instance using the specified properties. + * @param [properties] Properties to set + * @returns MethodOptions instance + */ + public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions; + + /** + * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. + * @param message MethodOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MethodOptions message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MethodOptions + * @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): google.protobuf.MethodOptions; + + /** + * Verifies a MethodOptions 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 UninterpretedOption. */ + interface IUninterpretedOption { + + /** UninterpretedOption name */ + name?: (google.protobuf.UninterpretedOption.INamePart[]|null); + + /** UninterpretedOption identifierValue */ + identifierValue?: (string|null); + + /** UninterpretedOption positiveIntValue */ + positiveIntValue?: (Long|null); + + /** UninterpretedOption negativeIntValue */ + negativeIntValue?: (Long|null); + + /** UninterpretedOption doubleValue */ + doubleValue?: (number|null); + + /** UninterpretedOption stringValue */ + stringValue?: (Uint8Array|null); + + /** UninterpretedOption aggregateValue */ + aggregateValue?: (string|null); + } + + /** Represents an UninterpretedOption. */ + class UninterpretedOption implements IUninterpretedOption { + + /** + * Constructs a new UninterpretedOption. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IUninterpretedOption); + + /** UninterpretedOption name. */ + public name: google.protobuf.UninterpretedOption.INamePart[]; + + /** UninterpretedOption identifierValue. */ + public identifierValue: string; + + /** UninterpretedOption positiveIntValue. */ + public positiveIntValue: Long; + + /** UninterpretedOption negativeIntValue. */ + public negativeIntValue: Long; + + /** UninterpretedOption doubleValue. */ + public doubleValue: number; + + /** UninterpretedOption stringValue. */ + public stringValue: Uint8Array; + + /** UninterpretedOption aggregateValue. */ + public aggregateValue: string; + + /** + * Creates a new UninterpretedOption instance using the specified properties. + * @param [properties] Properties to set + * @returns UninterpretedOption instance + */ + public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption; + + /** + * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. + * @param message UninterpretedOption message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an UninterpretedOption message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UninterpretedOption + * @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): google.protobuf.UninterpretedOption; + + /** + * Verifies an UninterpretedOption 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 UninterpretedOption { + + /** Properties of a NamePart. */ + interface INamePart { + + /** NamePart namePart */ + namePart: string; + + /** NamePart isExtension */ + isExtension: boolean; + } + + /** Represents a NamePart. */ + class NamePart implements INamePart { + + /** + * Constructs a new NamePart. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.UninterpretedOption.INamePart); + + /** NamePart namePart. */ + public namePart: string; + + /** NamePart isExtension. */ + public isExtension: boolean; + + /** + * Creates a new NamePart instance using the specified properties. + * @param [properties] Properties to set + * @returns NamePart instance + */ + public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart; + + /** + * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. + * @param message NamePart message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NamePart message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns NamePart + * @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): google.protobuf.UninterpretedOption.NamePart; + + /** + * Verifies a NamePart 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 SourceCodeInfo. */ + interface ISourceCodeInfo { + + /** SourceCodeInfo location */ + location?: (google.protobuf.SourceCodeInfo.ILocation[]|null); + } + + /** Represents a SourceCodeInfo. */ + class SourceCodeInfo implements ISourceCodeInfo { + + /** + * Constructs a new SourceCodeInfo. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.ISourceCodeInfo); + + /** SourceCodeInfo location. */ + public location: google.protobuf.SourceCodeInfo.ILocation[]; + + /** + * Creates a new SourceCodeInfo instance using the specified properties. + * @param [properties] Properties to set + * @returns SourceCodeInfo instance + */ + public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo; + + /** + * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages. + * @param message SourceCodeInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SourceCodeInfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SourceCodeInfo + * @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): google.protobuf.SourceCodeInfo; + + /** + * Verifies a SourceCodeInfo 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 SourceCodeInfo { + + /** Properties of a Location. */ + interface ILocation { + + /** Location path */ + path?: (number[]|null); + + /** Location span */ + span?: (number[]|null); + + /** Location leadingComments */ + leadingComments?: (string|null); + + /** Location trailingComments */ + trailingComments?: (string|null); + + /** Location leadingDetachedComments */ + leadingDetachedComments?: (string[]|null); + } + + /** Represents a Location. */ + class Location implements ILocation { + + /** + * Constructs a new Location. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.SourceCodeInfo.ILocation); + + /** Location path. */ + public path: number[]; + + /** Location span. */ + public span: number[]; + + /** Location leadingComments. */ + public leadingComments: string; + + /** Location trailingComments. */ + public trailingComments: string; + + /** Location leadingDetachedComments. */ + public leadingDetachedComments: string[]; + + /** + * Creates a new Location instance using the specified properties. + * @param [properties] Properties to set + * @returns Location instance + */ + public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location; + + /** + * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages. + * @param message Location message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Location message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Location + * @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): google.protobuf.SourceCodeInfo.Location; + + /** + * Verifies a Location 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 GeneratedCodeInfo. */ + interface IGeneratedCodeInfo { + + /** GeneratedCodeInfo annotation */ + annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null); + } + + /** Represents a GeneratedCodeInfo. */ + class GeneratedCodeInfo implements IGeneratedCodeInfo { + + /** + * Constructs a new GeneratedCodeInfo. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.IGeneratedCodeInfo); + + /** GeneratedCodeInfo annotation. */ + public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[]; + + /** + * Creates a new GeneratedCodeInfo instance using the specified properties. + * @param [properties] Properties to set + * @returns GeneratedCodeInfo instance + */ + public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo; + + /** + * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages. + * @param message GeneratedCodeInfo message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GeneratedCodeInfo message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GeneratedCodeInfo + * @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): google.protobuf.GeneratedCodeInfo; + + /** + * Verifies a GeneratedCodeInfo 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 GeneratedCodeInfo { + + /** Properties of an Annotation. */ + interface IAnnotation { + + /** Annotation path */ + path?: (number[]|null); + + /** Annotation sourceFile */ + sourceFile?: (string|null); + + /** Annotation begin */ + begin?: (number|null); + + /** Annotation end */ + end?: (number|null); + } + + /** Represents an Annotation. */ + class Annotation implements IAnnotation { + + /** + * Constructs a new Annotation. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation); + + /** Annotation path. */ + public path: number[]; + + /** Annotation sourceFile. */ + public sourceFile: string; + + /** Annotation begin. */ + public begin: number; + + /** Annotation end. */ + public end: number; + + /** + * Creates a new Annotation instance using the specified properties. + * @param [properties] Properties to set + * @returns Annotation instance + */ + public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation; + + /** + * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages. + * @param message Annotation message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an Annotation message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Annotation + * @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): google.protobuf.GeneratedCodeInfo.Annotation; + + /** + * Verifies an Annotation 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 api. */ + namespace api { + + /** Properties of a Http. */ + interface IHttp { + + /** Http rules */ + rules?: (google.api.IHttpRule[]|null); + } + + /** Represents a Http. */ + class Http implements IHttp { + + /** + * Constructs a new Http. + * @param [properties] Properties to set + */ + constructor(properties?: google.api.IHttp); + + /** Http rules. */ + public rules: google.api.IHttpRule[]; + + /** + * Creates a new Http instance using the specified properties. + * @param [properties] Properties to set + * @returns Http instance + */ + public static create(properties?: google.api.IHttp): google.api.Http; + + /** + * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages. + * @param message Http message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Http message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Http + * @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): google.api.Http; + + /** + * Verifies a Http 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 HttpRule. */ + interface IHttpRule { + + /** HttpRule get */ + get?: (string|null); + + /** HttpRule put */ + put?: (string|null); + + /** HttpRule post */ + post?: (string|null); + + /** HttpRule delete */ + "delete"?: (string|null); + + /** HttpRule patch */ + patch?: (string|null); + + /** HttpRule custom */ + custom?: (google.api.ICustomHttpPattern|null); + + /** HttpRule selector */ + selector?: (string|null); + + /** HttpRule body */ + body?: (string|null); + + /** HttpRule additionalBindings */ + additionalBindings?: (google.api.IHttpRule[]|null); + } + + /** Represents a HttpRule. */ + class HttpRule implements IHttpRule { + + /** + * Constructs a new HttpRule. + * @param [properties] Properties to set + */ + constructor(properties?: google.api.IHttpRule); + + /** HttpRule get. */ + public get: string; + + /** HttpRule put. */ + public put: string; + + /** HttpRule post. */ + public post: string; + + /** HttpRule delete. */ + public delete: string; + + /** HttpRule patch. */ + public patch: string; + + /** HttpRule custom. */ + public custom?: (google.api.ICustomHttpPattern|null); + + /** HttpRule selector. */ + public selector: string; + + /** HttpRule body. */ + public body: string; + + /** HttpRule additionalBindings. */ + public additionalBindings: google.api.IHttpRule[]; + + /** HttpRule pattern. */ + public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom"); + + /** + * Creates a new HttpRule instance using the specified properties. + * @param [properties] Properties to set + * @returns HttpRule instance + */ + public static create(properties?: google.api.IHttpRule): google.api.HttpRule; + + /** + * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages. + * @param message HttpRule message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a HttpRule message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns HttpRule + * @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): google.api.HttpRule; + + /** + * Verifies a HttpRule 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 CustomHttpPattern. */ + interface ICustomHttpPattern { + + /** CustomHttpPattern kind */ + kind?: (string|null); + + /** CustomHttpPattern path */ + path?: (string|null); + } + + /** Represents a CustomHttpPattern. */ + class CustomHttpPattern implements ICustomHttpPattern { + + /** + * Constructs a new CustomHttpPattern. + * @param [properties] Properties to set + */ + constructor(properties?: google.api.ICustomHttpPattern); + + /** CustomHttpPattern kind. */ + public kind: string; + + /** CustomHttpPattern path. */ + public path: string; + + /** + * Creates a new CustomHttpPattern instance using the specified properties. + * @param [properties] Properties to set + * @returns CustomHttpPattern instance + */ + public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern; + + /** + * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages. + * @param message CustomHttpPattern message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CustomHttpPattern message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CustomHttpPattern + * @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): google.api.CustomHttpPattern; + + /** + * Verifies a CustomHttpPattern 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); + } + } +}