UNPKG

@flyteorg/flyteidl2

Version:

Compiled protocol buffers and gRPC service and connect clients/servers for Flyte IDLs

424 lines (368 loc) 13.7 kB
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts" // @generated from file flyteidl2/common/identifier.proto (package flyteidl2.common, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1"; import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file flyteidl2/common/identifier.proto. */ export const file_flyteidl2_common_identifier: GenFile = /*@__PURE__*/ fileDesc("CiFmbHl0ZWlkbDIvY29tbW9uL2lkZW50aWZpZXIucHJvdG8SEGZseXRlaWRsMi5jb21tb24iYgoRUHJvamVjdElkZW50aWZpZXISHQoMb3JnYW5pemF0aW9uGAEgASgJQge6SARyAhABEhcKBmRvbWFpbhgCIAEoCUIHukgEcgIQARIVCgRuYW1lGAMgASgJQge6SARyAhABIkAKEUNsdXN0ZXJJZGVudGlmaWVyEhQKDG9yZ2FuaXphdGlvbhgBIAEoCRIVCgRuYW1lGAIgASgJQge6SARyAhABIjsKFUNsdXN0ZXJQb29sSWRlbnRpZmllchIUCgxvcmdhbml6YXRpb24YASABKAkSDAoEbmFtZRgCIAEoCSJNChdDbHVzdGVyQ29uZmlnSWRlbnRpZmllchIdCgxvcmdhbml6YXRpb24YASABKAlCB7pIBHICEAESEwoCaWQYAiABKAlCB7pIBHICEAEiZwoZQ2x1c3Rlck5vZGVwb29sSWRlbnRpZmllchIUCgxvcmdhbml6YXRpb24YASABKAkSHQoMY2x1c3Rlcl9uYW1lGAIgASgJQge6SARyAhABEhUKBG5hbWUYAyABKAlCB7pIBHICEAEiKgoOVXNlcklkZW50aWZpZXISGAoHc3ViamVjdBgBIAEoCUIHukgEcgIQASIxChVBcHBsaWNhdGlvbklkZW50aWZpZXISGAoHc3ViamVjdBgBIAEoCU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cklkZW50aWZpZXISMwoEbmFtZRgBIAEoCzIdLmZseXRlaWRsMi5jb21tb24uVHJpZ2dlck5hbWVCBrpIA8gBARIZCghyZXZpc2lvbhgCIAEoBEIHukgEMgIgAELAAQoUY29tLmZseXRlaWRsMi5jb21tb25CD0lkZW50aWZpZXJQcm90b0gCUAFaNGdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9jb21tb26iAgNGQ1iqAhBGbHl0ZWlkbDIuQ29tbW9uygIQRmx5dGVpZGwyXENvbW1vbuICHEZseXRlaWRsMlxDb21tb25cR1BCTWV0YWRhdGHqAhFGbHl0ZWlkbDI6OkNvbW1vbmIGcHJvdG8z", [file_buf_validate_validate]); /** * @generated from message flyteidl2.common.ProjectIdentifier */ export type ProjectIdentifier = Message<"flyteidl2.common.ProjectIdentifier"> & { /** * @generated from field: string organization = 1; */ organization: string; /** * @generated from field: string domain = 2; */ domain: string; /** * @generated from field: string name = 3; */ name: string; }; /** * Describes the message flyteidl2.common.ProjectIdentifier. * Use `create(ProjectIdentifierSchema)` to create a new message. */ export const ProjectIdentifierSchema: GenMessage<ProjectIdentifier> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 0); /** * @generated from message flyteidl2.common.ClusterIdentifier */ export type ClusterIdentifier = Message<"flyteidl2.common.ClusterIdentifier"> & { /** * @generated from field: string organization = 1; */ organization: string; /** * @generated from field: string name = 2; */ name: string; }; /** * Describes the message flyteidl2.common.ClusterIdentifier. * Use `create(ClusterIdentifierSchema)` to create a new message. */ export const ClusterIdentifierSchema: GenMessage<ClusterIdentifier> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 1); /** * @generated from message flyteidl2.common.ClusterPoolIdentifier */ export type ClusterPoolIdentifier = Message<"flyteidl2.common.ClusterPoolIdentifier"> & { /** * @generated from field: string organization = 1; */ organization: string; /** * @generated from field: string name = 2; */ name: string; }; /** * Describes the message flyteidl2.common.ClusterPoolIdentifier. * Use `create(ClusterPoolIdentifierSchema)` to create a new message. */ export const ClusterPoolIdentifierSchema: GenMessage<ClusterPoolIdentifier> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 2); /** * @generated from message flyteidl2.common.ClusterConfigIdentifier */ export type ClusterConfigIdentifier = Message<"flyteidl2.common.ClusterConfigIdentifier"> & { /** * @generated from field: string organization = 1; */ organization: string; /** * @generated from field: string id = 2; */ id: string; }; /** * Describes the message flyteidl2.common.ClusterConfigIdentifier. * Use `create(ClusterConfigIdentifierSchema)` to create a new message. */ export const ClusterConfigIdentifierSchema: GenMessage<ClusterConfigIdentifier> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 3); /** * @generated from message flyteidl2.common.ClusterNodepoolIdentifier */ export type ClusterNodepoolIdentifier = Message<"flyteidl2.common.ClusterNodepoolIdentifier"> & { /** * @generated from field: string organization = 1; */ organization: string; /** * @generated from field: string cluster_name = 2; */ clusterName: string; /** * @generated from field: string name = 3; */ name: string; }; /** * Describes the message flyteidl2.common.ClusterNodepoolIdentifier. * Use `create(ClusterNodepoolIdentifierSchema)` to create a new message. */ export const ClusterNodepoolIdentifierSchema: GenMessage<ClusterNodepoolIdentifier> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 4); /** * @generated from message flyteidl2.common.UserIdentifier */ export type UserIdentifier = Message<"flyteidl2.common.UserIdentifier"> & { /** * @generated from field: string subject = 1; */ subject: string; }; /** * Describes the message flyteidl2.common.UserIdentifier. * Use `create(UserIdentifierSchema)` to create a new message. */ export const UserIdentifierSchema: GenMessage<UserIdentifier> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 5); /** * @generated from message flyteidl2.common.ApplicationIdentifier */ export type ApplicationIdentifier = Message<"flyteidl2.common.ApplicationIdentifier"> & { /** * @generated from field: string subject = 1; */ subject: string; }; /** * Describes the message flyteidl2.common.ApplicationIdentifier. * Use `create(ApplicationIdentifierSchema)` to create a new message. */ export const ApplicationIdentifierSchema: GenMessage<ApplicationIdentifier> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 6); /** * @generated from message flyteidl2.common.RoleIdentifier */ export type RoleIdentifier = Message<"flyteidl2.common.RoleIdentifier"> & { /** * @generated from field: string organization = 1; */ organization: string; /** * Unique name for this role within the organization * * @generated from field: string name = 2; */ name: string; }; /** * Describes the message flyteidl2.common.RoleIdentifier. * Use `create(RoleIdentifierSchema)` to create a new message. */ export const RoleIdentifierSchema: GenMessage<RoleIdentifier> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 7); /** * @generated from message flyteidl2.common.OrgIdentifier */ export type OrgIdentifier = Message<"flyteidl2.common.OrgIdentifier"> & { /** * @generated from field: string name = 1; */ name: string; }; /** * Describes the message flyteidl2.common.OrgIdentifier. * Use `create(OrgIdentifierSchema)` to create a new message. */ export const OrgIdentifierSchema: GenMessage<OrgIdentifier> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 8); /** * @generated from message flyteidl2.common.ManagedClusterIdentifier */ export type ManagedClusterIdentifier = Message<"flyteidl2.common.ManagedClusterIdentifier"> & { /** * @generated from field: string name = 2; */ name: string; /** * @generated from field: flyteidl2.common.OrgIdentifier org = 3; */ org?: OrgIdentifier; }; /** * Describes the message flyteidl2.common.ManagedClusterIdentifier. * Use `create(ManagedClusterIdentifierSchema)` to create a new message. */ export const ManagedClusterIdentifierSchema: GenMessage<ManagedClusterIdentifier> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 9); /** * @generated from message flyteidl2.common.PolicyIdentifier */ export type PolicyIdentifier = Message<"flyteidl2.common.PolicyIdentifier"> & { /** * @generated from field: string organization = 1; */ organization: string; /** * Unique name for this policy within the organization * * @generated from field: string name = 2; */ name: string; }; /** * Describes the message flyteidl2.common.PolicyIdentifier. * Use `create(PolicyIdentifierSchema)` to create a new message. */ export const PolicyIdentifierSchema: GenMessage<PolicyIdentifier> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 10); /** * Unique identifier of a run. * * @generated from message flyteidl2.common.RunIdentifier */ export type RunIdentifier = Message<"flyteidl2.common.RunIdentifier"> & { /** * Org this run belongs to. * * @generated from field: string org = 1; */ org: string; /** * Project this run belongs to. * * @generated from field: string project = 2; */ project: string; /** * Domain this run belongs to. * * @generated from field: string domain = 3; */ domain: string; /** * Name of the run. Must be unique across all runs in this org, project, and domain pairing. * * @generated from field: string name = 4; */ name: string; }; /** * Describes the message flyteidl2.common.RunIdentifier. * Use `create(RunIdentifierSchema)` to create a new message. */ export const RunIdentifierSchema: GenMessage<RunIdentifier> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 11); /** * Unique identifier of an action. * * @generated from message flyteidl2.common.ActionIdentifier */ export type ActionIdentifier = Message<"flyteidl2.common.ActionIdentifier"> & { /** * Identifier for the run. * * @generated from field: flyteidl2.common.RunIdentifier run = 1; */ run?: RunIdentifier; /** * Name of the action. Must be unique within the run. * * @generated from field: string name = 2; */ name: string; }; /** * Describes the message flyteidl2.common.ActionIdentifier. * Use `create(ActionIdentifierSchema)` to create a new message. */ export const ActionIdentifierSchema: GenMessage<ActionIdentifier> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 12); /** * Unique identifier of a single action attempt * * @generated from message flyteidl2.common.ActionAttemptIdentifier */ export type ActionAttemptIdentifier = Message<"flyteidl2.common.ActionAttemptIdentifier"> & { /** * @generated from field: flyteidl2.common.ActionIdentifier action_id = 1; */ actionId?: ActionIdentifier; /** * @generated from field: uint32 attempt = 2; */ attempt: number; }; /** * Describes the message flyteidl2.common.ActionAttemptIdentifier. * Use `create(ActionAttemptIdentifierSchema)` to create a new message. */ export const ActionAttemptIdentifierSchema: GenMessage<ActionAttemptIdentifier> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 13); /** * Identifies trigger within an org, project and domain * * @generated from message flyteidl2.common.TriggerName */ export type TriggerName = Message<"flyteidl2.common.TriggerName"> & { /** * Org this trigger belongs to. * * @generated from field: string org = 1; */ org: string; /** * Project this trigger belongs to. * * @generated from field: string project = 2; */ project: string; /** * Domain this trigger belongs to. * * @generated from field: string domain = 3; */ domain: string; /** * Unique name of the trigger. * * @generated from field: string name = 4; */ name: string; /** * @generated from field: string task_name = 5; */ taskName: string; }; /** * Describes the message flyteidl2.common.TriggerName. * Use `create(TriggerNameSchema)` to create a new message. */ export const TriggerNameSchema: GenMessage<TriggerName> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 14); /** * Identifies a trigger revision within an org, project and domain * * @generated from message flyteidl2.common.TriggerIdentifier */ export type TriggerIdentifier = Message<"flyteidl2.common.TriggerIdentifier"> & { /** * @generated from field: flyteidl2.common.TriggerName name = 1; */ name?: TriggerName; /** * Revision of the trigger. * * @generated from field: uint64 revision = 2; */ revision: bigint; }; /** * Describes the message flyteidl2.common.TriggerIdentifier. * Use `create(TriggerIdentifierSchema)` to create a new message. */ export const TriggerIdentifierSchema: GenMessage<TriggerIdentifier> = /*@__PURE__*/ messageDesc(file_flyteidl2_common_identifier, 15);