pipelinespec

package
v0.0.0-...-22a98d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PrimitiveType_PrimitiveTypeEnum_name = map[int32]string{
		0: "PRIMITIVE_TYPE_UNSPECIFIED",
		1: "INT",
		2: "DOUBLE",
		3: "STRING",
	}
	PrimitiveType_PrimitiveTypeEnum_value = map[string]int32{
		"PRIMITIVE_TYPE_UNSPECIFIED": 0,
		"INT":                        1,
		"DOUBLE":                     2,
		"STRING":                     3,
	}
)

Enum value maps for PrimitiveType_PrimitiveTypeEnum.

View Source
var (
	ParameterType_ParameterTypeEnum_name = map[int32]string{
		0: "PARAMETER_TYPE_ENUM_UNSPECIFIED",
		1: "NUMBER_DOUBLE",
		2: "NUMBER_INTEGER",
		3: "STRING",
		4: "BOOLEAN",
		5: "LIST",
		6: "STRUCT",
		7: "TASK_FINAL_STATUS",
	}
	ParameterType_ParameterTypeEnum_value = map[string]int32{
		"PARAMETER_TYPE_ENUM_UNSPECIFIED": 0,
		"NUMBER_DOUBLE":                   1,
		"NUMBER_INTEGER":                  2,
		"STRING":                          3,
		"BOOLEAN":                         4,
		"LIST":                            5,
		"STRUCT":                          6,
		"TASK_FINAL_STATUS":               7,
	}
)

Enum value maps for ParameterType_ParameterTypeEnum.

View Source
var (
	PipelineTaskSpec_TriggerPolicy_TriggerStrategy_name = map[int32]string{
		0: "TRIGGER_STRATEGY_UNSPECIFIED",
		1: "ALL_UPSTREAM_TASKS_SUCCEEDED",
		2: "ALL_UPSTREAM_TASKS_COMPLETED",
	}
	PipelineTaskSpec_TriggerPolicy_TriggerStrategy_value = map[string]int32{
		"TRIGGER_STRATEGY_UNSPECIFIED": 0,
		"ALL_UPSTREAM_TASKS_SUCCEEDED": 1,
		"ALL_UPSTREAM_TASKS_COMPLETED": 2,
	}
)

Enum value maps for PipelineTaskSpec_TriggerPolicy_TriggerStrategy.

View Source
var (
	PipelineStateEnum_PipelineTaskState_name = map[int32]string{
		0:  "TASK_STATE_UNSPECIFIED",
		1:  "PENDING",
		2:  "RUNNING_DRIVER",
		3:  "DRIVER_SUCCEEDED",
		4:  "RUNNING_EXECUTOR",
		5:  "SUCCEEDED",
		6:  "CANCEL_PENDING",
		7:  "CANCELLING",
		8:  "CANCELLED",
		9:  "FAILED",
		10: "SKIPPED",
		11: "QUEUED",
		12: "NOT_TRIGGERED",
		13: "UNSCHEDULABLE",
	}
	PipelineStateEnum_PipelineTaskState_value = map[string]int32{
		"TASK_STATE_UNSPECIFIED": 0,
		"PENDING":                1,
		"RUNNING_DRIVER":         2,
		"DRIVER_SUCCEEDED":       3,
		"RUNNING_EXECUTOR":       4,
		"SUCCEEDED":              5,
		"CANCEL_PENDING":         6,
		"CANCELLING":             7,
		"CANCELLED":              8,
		"FAILED":                 9,
		"SKIPPED":                10,
		"QUEUED":                 11,
		"NOT_TRIGGERED":          12,
		"UNSCHEDULABLE":          13,
	}
)

Enum value maps for PipelineStateEnum_PipelineTaskState.

View Source
var File_pipeline_spec_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ArtifactIteratorSpec

type ArtifactIteratorSpec struct {

	// The items to iterate.
	Items *ArtifactIteratorSpec_ItemsSpec `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"`
	// The name of the input artifact channel which has the artifact item from the
	// [items][] collection.
	ItemInput string `protobuf:"bytes,2,opt,name=item_input,json=itemInput,proto3" json:"item_input,omitempty"`
	// contains filtered or unexported fields
}

The spec of an artifact iterator. It supports fan-out a workflow from a list of artifacts.

func (*ArtifactIteratorSpec) Descriptor deprecated

func (*ArtifactIteratorSpec) Descriptor() ([]byte, []int)

Deprecated: Use ArtifactIteratorSpec.ProtoReflect.Descriptor instead.

func (*ArtifactIteratorSpec) GetItemInput

func (x *ArtifactIteratorSpec) GetItemInput() string

func (*ArtifactIteratorSpec) GetItems

func (*ArtifactIteratorSpec) ProtoMessage

func (*ArtifactIteratorSpec) ProtoMessage()

func (*ArtifactIteratorSpec) ProtoReflect

func (x *ArtifactIteratorSpec) ProtoReflect() protoreflect.Message

func (*ArtifactIteratorSpec) Reset

func (x *ArtifactIteratorSpec) Reset()

func (*ArtifactIteratorSpec) String

func (x *ArtifactIteratorSpec) String() string

type ArtifactIteratorSpec_ItemsSpec

type ArtifactIteratorSpec_ItemsSpec struct {

	// The name of the input artifact.
	InputArtifact string `protobuf:"bytes,1,opt,name=input_artifact,json=inputArtifact,proto3" json:"input_artifact,omitempty"`
	// contains filtered or unexported fields
}

Specifies the name of the artifact channel which contains the collection of items to iterate. The iterator will create a sub-task for each item of the collection and pass the item as a new input artifact channel as specified by [item_input][].

func (*ArtifactIteratorSpec_ItemsSpec) Descriptor deprecated

func (*ArtifactIteratorSpec_ItemsSpec) Descriptor() ([]byte, []int)

Deprecated: Use ArtifactIteratorSpec_ItemsSpec.ProtoReflect.Descriptor instead.

func (*ArtifactIteratorSpec_ItemsSpec) GetInputArtifact

func (x *ArtifactIteratorSpec_ItemsSpec) GetInputArtifact() string

func (*ArtifactIteratorSpec_ItemsSpec) ProtoMessage

func (*ArtifactIteratorSpec_ItemsSpec) ProtoMessage()

func (*ArtifactIteratorSpec_ItemsSpec) ProtoReflect

func (*ArtifactIteratorSpec_ItemsSpec) Reset

func (x *ArtifactIteratorSpec_ItemsSpec) Reset()

func (*ArtifactIteratorSpec_ItemsSpec) String

type ArtifactList

type ArtifactList struct {

	// A list of artifacts.
	Artifacts []*RuntimeArtifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
	// contains filtered or unexported fields
}

Message that represents a list of artifacts.

func (*ArtifactList) Descriptor deprecated

func (*ArtifactList) Descriptor() ([]byte, []int)

Deprecated: Use ArtifactList.ProtoReflect.Descriptor instead.

func (*ArtifactList) GetArtifacts

func (x *ArtifactList) GetArtifacts() []*RuntimeArtifact

func (*ArtifactList) ProtoMessage

func (*ArtifactList) ProtoMessage()

func (*ArtifactList) ProtoReflect

func (x *ArtifactList) ProtoReflect() protoreflect.Message

func (*ArtifactList) Reset

func (x *ArtifactList) Reset()

func (*ArtifactList) String

func (x *ArtifactList) String() string

type ArtifactTypeSchema

type ArtifactTypeSchema struct {

	// Types that are assignable to Kind:
	//	*ArtifactTypeSchema_SchemaTitle
	//	*ArtifactTypeSchema_SchemaUri
	//	*ArtifactTypeSchema_InstanceSchema
	Kind isArtifactTypeSchema_Kind `protobuf_oneof:"kind"`
	// The schema version of the artifact. If the value is not set, it defaults
	// to the the latest version in the system.
	SchemaVersion string `protobuf:"bytes,4,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
	// contains filtered or unexported fields
}

The definition of a artifact type in MLMD.

func (*ArtifactTypeSchema) Descriptor deprecated

func (*ArtifactTypeSchema) Descriptor() ([]byte, []int)

Deprecated: Use ArtifactTypeSchema.ProtoReflect.Descriptor instead.

func (*ArtifactTypeSchema) GetInstanceSchema

func (x *ArtifactTypeSchema) GetInstanceSchema() string

func (*ArtifactTypeSchema) GetKind

func (m *ArtifactTypeSchema) GetKind() isArtifactTypeSchema_Kind

func (*ArtifactTypeSchema) GetSchemaTitle

func (x *ArtifactTypeSchema) GetSchemaTitle() string

func (*ArtifactTypeSchema) GetSchemaUri deprecated

func (x *ArtifactTypeSchema) GetSchemaUri() string

Deprecated: Do not use.

func (*ArtifactTypeSchema) GetSchemaVersion

func (x *ArtifactTypeSchema) GetSchemaVersion() string

func (*ArtifactTypeSchema) ProtoMessage

func (*ArtifactTypeSchema) ProtoMessage()

func (*ArtifactTypeSchema) ProtoReflect

func (x *ArtifactTypeSchema) ProtoReflect() protoreflect.Message

func (*ArtifactTypeSchema) Reset

func (x *ArtifactTypeSchema) Reset()

func (*ArtifactTypeSchema) String

func (x *ArtifactTypeSchema) String() string

type ArtifactTypeSchema_InstanceSchema

type ArtifactTypeSchema_InstanceSchema struct {
	// Contains a raw YAML string, describing the format of
	// the properties of the type.
	InstanceSchema string `protobuf:"bytes,3,opt,name=instance_schema,json=instanceSchema,proto3,oneof"`
}

type ArtifactTypeSchema_SchemaTitle

type ArtifactTypeSchema_SchemaTitle struct {
	// The name of the type. The format of the title must be:
	// `<namespace>.<title>`.
	// Examples:
	//  - `aiplatform.Model`
	//  - `acme.CustomModel`
	// When this field is set, the type must be pre-registered in the MLMD
	// store.
	SchemaTitle string `protobuf:"bytes,1,opt,name=schema_title,json=schemaTitle,proto3,oneof"`
}

type ArtifactTypeSchema_SchemaUri

type ArtifactTypeSchema_SchemaUri struct {
	// Points to a YAML file stored on Google Cloud Storage describing the
	// format.
	// Deprecated. Use [PipelineArtifactTypeSchema.schema_title][] or
	// [PipelineArtifactTypeSchema.instance_schema][] instead.
	//
	// Deprecated: Do not use.
	SchemaUri string `protobuf:"bytes,2,opt,name=schema_uri,json=schemaUri,proto3,oneof"`
}

type ComponentInputsSpec

type ComponentInputsSpec struct {

	// Name to artifact input.
	Artifacts map[string]*ComponentInputsSpec_ArtifactSpec `` /* 159-byte string literal not displayed */
	// Name to parameter input.
	Parameters map[string]*ComponentInputsSpec_ParameterSpec `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Definition specification of the component input parameters and artifacts.

func (*ComponentInputsSpec) Descriptor deprecated

func (*ComponentInputsSpec) Descriptor() ([]byte, []int)

Deprecated: Use ComponentInputsSpec.ProtoReflect.Descriptor instead.

func (*ComponentInputsSpec) GetArtifacts

func (*ComponentInputsSpec) GetParameters

func (*ComponentInputsSpec) ProtoMessage

func (*ComponentInputsSpec) ProtoMessage()

func (*ComponentInputsSpec) ProtoReflect

func (x *ComponentInputsSpec) ProtoReflect() protoreflect.Message

func (*ComponentInputsSpec) Reset

func (x *ComponentInputsSpec) Reset()

func (*ComponentInputsSpec) String

func (x *ComponentInputsSpec) String() string

type ComponentInputsSpec_ArtifactSpec

type ComponentInputsSpec_ArtifactSpec struct {
	ArtifactType *ArtifactTypeSchema `protobuf:"bytes,1,opt,name=artifact_type,json=artifactType,proto3" json:"artifact_type,omitempty"`
	// Indicates whether input is a single artifact or list of artifacts
	IsArtifactList bool `protobuf:"varint,2,opt,name=is_artifact_list,json=isArtifactList,proto3" json:"is_artifact_list,omitempty"`
	// Whether this input artifact is optional or not.
	// - If required, the artifact must be able to resolve to an artifact
	// at runtime.
	// - If it's optional, it can be missing from the
	// PipelineTaskInputsSpec.InputArtifactSpec (if it's instantiated into a
	// task), or can be missing from the runtimeArtifact (if it's the root
	// component).
	IsOptional bool `protobuf:"varint,3,opt,name=is_optional,json=isOptional,proto3" json:"is_optional,omitempty"`
	// The description for this input artifact of the component.
	// Should not exceed 1024 characters.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Definition of an artifact input.

func (*ComponentInputsSpec_ArtifactSpec) Descriptor deprecated

func (*ComponentInputsSpec_ArtifactSpec) Descriptor() ([]byte, []int)

Deprecated: Use ComponentInputsSpec_ArtifactSpec.ProtoReflect.Descriptor instead.

func (*ComponentInputsSpec_ArtifactSpec) GetArtifactType

func (*ComponentInputsSpec_ArtifactSpec) GetDescription

func (x *ComponentInputsSpec_ArtifactSpec) GetDescription() string

func (*ComponentInputsSpec_ArtifactSpec) GetIsArtifactList

func (x *ComponentInputsSpec_ArtifactSpec) GetIsArtifactList() bool

func (*ComponentInputsSpec_ArtifactSpec) GetIsOptional

func (x *ComponentInputsSpec_ArtifactSpec) GetIsOptional() bool

func (*ComponentInputsSpec_ArtifactSpec) ProtoMessage

func (*ComponentInputsSpec_ArtifactSpec) ProtoMessage()

func (*ComponentInputsSpec_ArtifactSpec) ProtoReflect

func (*ComponentInputsSpec_ArtifactSpec) Reset

func (*ComponentInputsSpec_ArtifactSpec) String

type ComponentInputsSpec_ParameterSpec

type ComponentInputsSpec_ParameterSpec struct {

	// Specifies an input parameter's type.
	// Deprecated. Use [ParameterSpec.parameter_type][] instead.
	//
	// Deprecated: Do not use.
	Type PrimitiveType_PrimitiveTypeEnum `protobuf:"varint,1,opt,name=type,proto3,enum=ml_pipelines.PrimitiveType_PrimitiveTypeEnum" json:"type,omitempty"`
	// Specifies an input parameter's type.
	ParameterType ParameterType_ParameterTypeEnum `` /* 151-byte string literal not displayed */
	// Optional field. Default value of the input parameter.
	DefaultValue *structpb.Value `protobuf:"bytes,3,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// Whether this input parameter is optional or not.
	// - If required, the parameter should either have a default value, or have
	// to be able to resolve to a concrete value at runtime.
	// - If it's optional, it can be missing from the
	// PipelineTaskInputsSpec.InputParameterSpec (if it's instantiated into a
	// task), or can be missing from the runtimeParameter (if it's the root
	// component). If the value is missing, the default_value will be used. Or
	// if default_value is not provided, the default value of the parameter's
	// type will be used.
	IsOptional bool `protobuf:"varint,4,opt,name=is_optional,json=isOptional,proto3" json:"is_optional,omitempty"`
	// The description for this input parameter of the component.
	// Should not exceed 1024 characters.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Definition of a parameter input.

func (*ComponentInputsSpec_ParameterSpec) Descriptor deprecated

func (*ComponentInputsSpec_ParameterSpec) Descriptor() ([]byte, []int)

Deprecated: Use ComponentInputsSpec_ParameterSpec.ProtoReflect.Descriptor instead.

func (*ComponentInputsSpec_ParameterSpec) GetDefaultValue

func (x *ComponentInputsSpec_ParameterSpec) GetDefaultValue() *structpb.Value

func (*ComponentInputsSpec_ParameterSpec) GetDescription

func (x *ComponentInputsSpec_ParameterSpec) GetDescription() string

func (*ComponentInputsSpec_ParameterSpec) GetIsOptional

func (x *ComponentInputsSpec_ParameterSpec) GetIsOptional() bool

func (*ComponentInputsSpec_ParameterSpec) GetParameterType

func (*ComponentInputsSpec_ParameterSpec) GetType deprecated

Deprecated: Do not use.

func (*ComponentInputsSpec_ParameterSpec) ProtoMessage

func (*ComponentInputsSpec_ParameterSpec) ProtoMessage()

func (*ComponentInputsSpec_ParameterSpec) ProtoReflect

func (*ComponentInputsSpec_ParameterSpec) Reset

func (*ComponentInputsSpec_ParameterSpec) String

type ComponentOutputsSpec

type ComponentOutputsSpec struct {

	// Name to artifact output.
	Artifacts map[string]*ComponentOutputsSpec_ArtifactSpec `` /* 159-byte string literal not displayed */
	// Name to parameter output.
	Parameters map[string]*ComponentOutputsSpec_ParameterSpec `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Definition specification of the component output parameters and artifacts.

func (*ComponentOutputsSpec) Descriptor deprecated

func (*ComponentOutputsSpec) Descriptor() ([]byte, []int)

Deprecated: Use ComponentOutputsSpec.ProtoReflect.Descriptor instead.

func (*ComponentOutputsSpec) GetArtifacts

func (*ComponentOutputsSpec) GetParameters

func (*ComponentOutputsSpec) ProtoMessage

func (*ComponentOutputsSpec) ProtoMessage()

func (*ComponentOutputsSpec) ProtoReflect

func (x *ComponentOutputsSpec) ProtoReflect() protoreflect.Message

func (*ComponentOutputsSpec) Reset

func (x *ComponentOutputsSpec) Reset()

func (*ComponentOutputsSpec) String

func (x *ComponentOutputsSpec) String() string

type ComponentOutputsSpec_ArtifactSpec

type ComponentOutputsSpec_ArtifactSpec struct {
	ArtifactType *ArtifactTypeSchema `protobuf:"bytes,1,opt,name=artifact_type,json=artifactType,proto3" json:"artifact_type,omitempty"`
	// Deprecated. Use [ArtifactSpec.metadata][] instead.
	//
	// Deprecated: Do not use.
	Properties map[string]*ValueOrRuntimeParameter `` /* 161-byte string literal not displayed */
	// Deprecated. Use [ArtifactSpec.metadata][] instead.
	//
	// Deprecated: Do not use.
	CustomProperties map[string]*ValueOrRuntimeParameter `` /* 197-byte string literal not displayed */
	// Properties of the Artifact.
	Metadata *structpb.Struct `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Indicates whether output is a single artifact or list of artifacts
	IsArtifactList bool `protobuf:"varint,5,opt,name=is_artifact_list,json=isArtifactList,proto3" json:"is_artifact_list,omitempty"`
	// The description for this output artifact of the component.
	// Should not exceed 1024 characters.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Definition of an artifact output.

func (*ComponentOutputsSpec_ArtifactSpec) Descriptor deprecated

func (*ComponentOutputsSpec_ArtifactSpec) Descriptor() ([]byte, []int)

Deprecated: Use ComponentOutputsSpec_ArtifactSpec.ProtoReflect.Descriptor instead.

func (*ComponentOutputsSpec_ArtifactSpec) GetArtifactType

func (*ComponentOutputsSpec_ArtifactSpec) GetCustomProperties deprecated

Deprecated: Do not use.

func (*ComponentOutputsSpec_ArtifactSpec) GetDescription

func (x *ComponentOutputsSpec_ArtifactSpec) GetDescription() string

func (*ComponentOutputsSpec_ArtifactSpec) GetIsArtifactList

func (x *ComponentOutputsSpec_ArtifactSpec) GetIsArtifactList() bool

func (*ComponentOutputsSpec_ArtifactSpec) GetMetadata

func (*ComponentOutputsSpec_ArtifactSpec) GetProperties deprecated

Deprecated: Do not use.

func (*ComponentOutputsSpec_ArtifactSpec) ProtoMessage

func (*ComponentOutputsSpec_ArtifactSpec) ProtoMessage()

func (*ComponentOutputsSpec_ArtifactSpec) ProtoReflect

func (*ComponentOutputsSpec_ArtifactSpec) Reset

func (*ComponentOutputsSpec_ArtifactSpec) String

type ComponentOutputsSpec_ParameterSpec

type ComponentOutputsSpec_ParameterSpec struct {

	// Specifies an input parameter's type.
	// Deprecated. Use [ParameterSpec.parameter_type][] instead.
	//
	// Deprecated: Do not use.
	Type PrimitiveType_PrimitiveTypeEnum `protobuf:"varint,1,opt,name=type,proto3,enum=ml_pipelines.PrimitiveType_PrimitiveTypeEnum" json:"type,omitempty"`
	// Specifies an output parameter's type.
	ParameterType ParameterType_ParameterTypeEnum `` /* 151-byte string literal not displayed */
	// The description for this output parameter of the component.
	// Should not exceed 1024 characters.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Definition of a parameter output.

func (*ComponentOutputsSpec_ParameterSpec) Descriptor deprecated

func (*ComponentOutputsSpec_ParameterSpec) Descriptor() ([]byte, []int)

Deprecated: Use ComponentOutputsSpec_ParameterSpec.ProtoReflect.Descriptor instead.

func (*ComponentOutputsSpec_ParameterSpec) GetDescription

func (x *ComponentOutputsSpec_ParameterSpec) GetDescription() string

func (*ComponentOutputsSpec_ParameterSpec) GetParameterType

func (*ComponentOutputsSpec_ParameterSpec) GetType deprecated

Deprecated: Do not use.

func (*ComponentOutputsSpec_ParameterSpec) ProtoMessage

func (*ComponentOutputsSpec_ParameterSpec) ProtoMessage()

func (*ComponentOutputsSpec_ParameterSpec) ProtoReflect

func (*ComponentOutputsSpec_ParameterSpec) Reset

func (*ComponentOutputsSpec_ParameterSpec) String

type ComponentRef

type ComponentRef struct {

	// The name of a component. Refer to the key of the
	// [PipelineSpec.components][] map.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ComponentRef) Descriptor deprecated

func (*ComponentRef) Descriptor() ([]byte, []int)

Deprecated: Use ComponentRef.ProtoReflect.Descriptor instead.

func (*ComponentRef) GetName

func (x *ComponentRef) GetName() string

func (*ComponentRef) ProtoMessage

func (*ComponentRef) ProtoMessage()

func (*ComponentRef) ProtoReflect

func (x *ComponentRef) ProtoReflect() protoreflect.Message

func (*ComponentRef) Reset

func (x *ComponentRef) Reset()

func (*ComponentRef) String

func (x *ComponentRef) String() string

type ComponentSpec

type ComponentSpec struct {

	// Definition of the input parameters and artifacts of the component.
	InputDefinitions *ComponentInputsSpec `protobuf:"bytes,1,opt,name=input_definitions,json=inputDefinitions,proto3" json:"input_definitions,omitempty"`
	// Definition of the output parameters and artifacts of the component.
	OutputDefinitions *ComponentOutputsSpec `protobuf:"bytes,2,opt,name=output_definitions,json=outputDefinitions,proto3" json:"output_definitions,omitempty"`
	// Either a DAG or a single execution.
	//
	// Types that are assignable to Implementation:
	//	*ComponentSpec_Dag
	//	*ComponentSpec_ExecutorLabel
	Implementation isComponentSpec_Implementation `protobuf_oneof:"implementation"`
	// contains filtered or unexported fields
}

Definition of a component.

func (*ComponentSpec) Descriptor deprecated

func (*ComponentSpec) Descriptor() ([]byte, []int)

Deprecated: Use ComponentSpec.ProtoReflect.Descriptor instead.

func (*ComponentSpec) GetDag

func (x *ComponentSpec) GetDag() *DagSpec

func (*ComponentSpec) GetExecutorLabel

func (x *ComponentSpec) GetExecutorLabel() string

func (*ComponentSpec) GetImplementation

func (m *ComponentSpec) GetImplementation() isComponentSpec_Implementation

func (*ComponentSpec) GetInputDefinitions

func (x *ComponentSpec) GetInputDefinitions() *ComponentInputsSpec

func (*ComponentSpec) GetOutputDefinitions

func (x *ComponentSpec) GetOutputDefinitions() *ComponentOutputsSpec

func (*ComponentSpec) ProtoMessage

func (*ComponentSpec) ProtoMessage()

func (*ComponentSpec) ProtoReflect

func (x *ComponentSpec) ProtoReflect() protoreflect.Message

func (*ComponentSpec) Reset

func (x *ComponentSpec) Reset()

func (*ComponentSpec) String

func (x *ComponentSpec) String() string

type ComponentSpec_Dag

type ComponentSpec_Dag struct {
	Dag *DagSpec `protobuf:"bytes,3,opt,name=dag,proto3,oneof"`
}

type ComponentSpec_ExecutorLabel

type ComponentSpec_ExecutorLabel struct {
	ExecutorLabel string `protobuf:"bytes,4,opt,name=executor_label,json=executorLabel,proto3,oneof"`
}

type DagOutputsSpec

type DagOutputsSpec struct {

	// Name to the output artifact channel of the DAG.
	Artifacts map[string]*DagOutputsSpec_DagOutputArtifactSpec `` /* 159-byte string literal not displayed */
	// The name to the output parameter.
	Parameters map[string]*DagOutputsSpec_DagOutputParameterSpec `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Definition of the output artifacts and parameters of the DAG component.

func (*DagOutputsSpec) Descriptor deprecated

func (*DagOutputsSpec) Descriptor() ([]byte, []int)

Deprecated: Use DagOutputsSpec.ProtoReflect.Descriptor instead.

func (*DagOutputsSpec) GetArtifacts

func (*DagOutputsSpec) GetParameters

func (*DagOutputsSpec) ProtoMessage

func (*DagOutputsSpec) ProtoMessage()

func (*DagOutputsSpec) ProtoReflect

func (x *DagOutputsSpec) ProtoReflect() protoreflect.Message

func (*DagOutputsSpec) Reset

func (x *DagOutputsSpec) Reset()

func (*DagOutputsSpec) String

func (x *DagOutputsSpec) String() string

type DagOutputsSpec_ArtifactSelectorSpec

type DagOutputsSpec_ArtifactSelectorSpec struct {

	// The name of the sub task which produces the output that matches with
	// the `output_artifact_key`.
	ProducerSubtask string `protobuf:"bytes,1,opt,name=producer_subtask,json=producerSubtask,proto3" json:"producer_subtask,omitempty"`
	// The key of [ComponentOutputsSpec.artifacts][] map of the producer task.
	OutputArtifactKey string `protobuf:"bytes,2,opt,name=output_artifact_key,json=outputArtifactKey,proto3" json:"output_artifact_key,omitempty"`
	// contains filtered or unexported fields
}

Selects a defined output artifact from a sub task of the DAG.

func (*DagOutputsSpec_ArtifactSelectorSpec) Descriptor deprecated

func (*DagOutputsSpec_ArtifactSelectorSpec) Descriptor() ([]byte, []int)

Deprecated: Use DagOutputsSpec_ArtifactSelectorSpec.ProtoReflect.Descriptor instead.

func (*DagOutputsSpec_ArtifactSelectorSpec) GetOutputArtifactKey

func (x *DagOutputsSpec_ArtifactSelectorSpec) GetOutputArtifactKey() string

func (*DagOutputsSpec_ArtifactSelectorSpec) GetProducerSubtask

func (x *DagOutputsSpec_ArtifactSelectorSpec) GetProducerSubtask() string

func (*DagOutputsSpec_ArtifactSelectorSpec) ProtoMessage

func (*DagOutputsSpec_ArtifactSelectorSpec) ProtoMessage()

func (*DagOutputsSpec_ArtifactSelectorSpec) ProtoReflect

func (*DagOutputsSpec_ArtifactSelectorSpec) Reset

func (*DagOutputsSpec_ArtifactSelectorSpec) String

type DagOutputsSpec_DagOutputArtifactSpec

type DagOutputsSpec_DagOutputArtifactSpec struct {

	// The selected artifacts will be aggregated as output as a single
	// output channel of the DAG.
	ArtifactSelectors []*DagOutputsSpec_ArtifactSelectorSpec `protobuf:"bytes,1,rep,name=artifact_selectors,json=artifactSelectors,proto3" json:"artifact_selectors,omitempty"`
	// contains filtered or unexported fields
}

Selects a list of output artifacts that will be aggregated to the single output artifact channel of the DAG.

func (*DagOutputsSpec_DagOutputArtifactSpec) Descriptor deprecated

func (*DagOutputsSpec_DagOutputArtifactSpec) Descriptor() ([]byte, []int)

Deprecated: Use DagOutputsSpec_DagOutputArtifactSpec.ProtoReflect.Descriptor instead.

func (*DagOutputsSpec_DagOutputArtifactSpec) GetArtifactSelectors

func (*DagOutputsSpec_DagOutputArtifactSpec) ProtoMessage

func (*DagOutputsSpec_DagOutputArtifactSpec) ProtoMessage()

func (*DagOutputsSpec_DagOutputArtifactSpec) ProtoReflect

func (*DagOutputsSpec_DagOutputArtifactSpec) Reset

func (*DagOutputsSpec_DagOutputArtifactSpec) String

type DagOutputsSpec_DagOutputParameterSpec

type DagOutputsSpec_DagOutputParameterSpec struct {

	// Types that are assignable to Kind:
	//	*DagOutputsSpec_DagOutputParameterSpec_ValueFromParameter
	//	*DagOutputsSpec_DagOutputParameterSpec_ValueFromOneof
	Kind isDagOutputsSpec_DagOutputParameterSpec_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

We support four ways to fan-in output parameters from sub tasks to the DAG parent task. 1. Directly expose a single output parameter from a sub task, 2. (Conditional flow) Expose a list of output from multiple tasks (some might be skipped) but allows only one of the output being generated. 3. Expose a list of outputs from multiple tasks (e.g. iterator flow). 4. Expose the aggregation of output parameters as a name-value map.

func (*DagOutputsSpec_DagOutputParameterSpec) Descriptor deprecated

func (*DagOutputsSpec_DagOutputParameterSpec) Descriptor() ([]byte, []int)

Deprecated: Use DagOutputsSpec_DagOutputParameterSpec.ProtoReflect.Descriptor instead.

func (*DagOutputsSpec_DagOutputParameterSpec) GetKind

func (m *DagOutputsSpec_DagOutputParameterSpec) GetKind() isDagOutputsSpec_DagOutputParameterSpec_Kind

func (*DagOutputsSpec_DagOutputParameterSpec) GetValueFromOneof

func (*DagOutputsSpec_DagOutputParameterSpec) GetValueFromParameter

func (*DagOutputsSpec_DagOutputParameterSpec) ProtoMessage

func (*DagOutputsSpec_DagOutputParameterSpec) ProtoMessage()

func (*DagOutputsSpec_DagOutputParameterSpec) ProtoReflect

func (*DagOutputsSpec_DagOutputParameterSpec) Reset

func (*DagOutputsSpec_DagOutputParameterSpec) String

type DagOutputsSpec_DagOutputParameterSpec_ValueFromOneof

type DagOutputsSpec_DagOutputParameterSpec_ValueFromOneof struct {
	// Returns one of the sub-task parameters as a DAG parameter. If there are
	// multiple values are available to select, the DAG will fail. All the
	// selected parameters must have the same type as the DAG parameter type.
	ValueFromOneof *DagOutputsSpec_ParameterSelectorsSpec `protobuf:"bytes,2,opt,name=value_from_oneof,json=valueFromOneof,proto3,oneof"`
}

type DagOutputsSpec_DagOutputParameterSpec_ValueFromParameter

type DagOutputsSpec_DagOutputParameterSpec_ValueFromParameter struct {
	// Returns the sub-task parameter as a DAG parameter.  The selected
	// parameter must have the same type as the DAG parameter type.
	ValueFromParameter *DagOutputsSpec_ParameterSelectorSpec `protobuf:"bytes,1,opt,name=value_from_parameter,json=valueFromParameter,proto3,oneof"`
}

type DagOutputsSpec_MapParameterSelectorsSpec

type DagOutputsSpec_MapParameterSelectorsSpec struct {
	MappedParameters map[string]*DagOutputsSpec_ParameterSelectorSpec `` /* 197-byte string literal not displayed */
	// contains filtered or unexported fields
}

Aggregates output parameters from sub tasks into a map object.

func (*DagOutputsSpec_MapParameterSelectorsSpec) Descriptor deprecated

func (*DagOutputsSpec_MapParameterSelectorsSpec) Descriptor() ([]byte, []int)

Deprecated: Use DagOutputsSpec_MapParameterSelectorsSpec.ProtoReflect.Descriptor instead.

func (*DagOutputsSpec_MapParameterSelectorsSpec) GetMappedParameters

func (*DagOutputsSpec_MapParameterSelectorsSpec) ProtoMessage

func (*DagOutputsSpec_MapParameterSelectorsSpec) ProtoReflect

func (*DagOutputsSpec_MapParameterSelectorsSpec) Reset

func (*DagOutputsSpec_MapParameterSelectorsSpec) String

type DagOutputsSpec_ParameterSelectorSpec

type DagOutputsSpec_ParameterSelectorSpec struct {

	// The name of the sub task which produces the output that matches with
	// the `output_parameter_key`.
	ProducerSubtask string `protobuf:"bytes,1,opt,name=producer_subtask,json=producerSubtask,proto3" json:"producer_subtask,omitempty"`
	// The key of [ComponentOutputsSpec.parameters][] map of the producer task.
	OutputParameterKey string `protobuf:"bytes,2,opt,name=output_parameter_key,json=outputParameterKey,proto3" json:"output_parameter_key,omitempty"`
	// contains filtered or unexported fields
}

Selects a defined output parameter from a sub task of the DAG.

func (*DagOutputsSpec_ParameterSelectorSpec) Descriptor deprecated

func (*DagOutputsSpec_ParameterSelectorSpec) Descriptor() ([]byte, []int)

Deprecated: Use DagOutputsSpec_ParameterSelectorSpec.ProtoReflect.Descriptor instead.

func (*DagOutputsSpec_ParameterSelectorSpec) GetOutputParameterKey

func (x *DagOutputsSpec_ParameterSelectorSpec) GetOutputParameterKey() string

func (*DagOutputsSpec_ParameterSelectorSpec) GetProducerSubtask

func (x *DagOutputsSpec_ParameterSelectorSpec) GetProducerSubtask() string

func (*DagOutputsSpec_ParameterSelectorSpec) ProtoMessage

func (*DagOutputsSpec_ParameterSelectorSpec) ProtoMessage()

func (*DagOutputsSpec_ParameterSelectorSpec) ProtoReflect

func (*DagOutputsSpec_ParameterSelectorSpec) Reset

func (*DagOutputsSpec_ParameterSelectorSpec) String

type DagOutputsSpec_ParameterSelectorsSpec

type DagOutputsSpec_ParameterSelectorsSpec struct {
	ParameterSelectors []*DagOutputsSpec_ParameterSelectorSpec `protobuf:"bytes,1,rep,name=parameter_selectors,json=parameterSelectors,proto3" json:"parameter_selectors,omitempty"`
	// contains filtered or unexported fields
}

Aggregate output parameters from sub tasks into a list object.

func (*DagOutputsSpec_ParameterSelectorsSpec) Descriptor deprecated

func (*DagOutputsSpec_ParameterSelectorsSpec) Descriptor() ([]byte, []int)

Deprecated: Use DagOutputsSpec_ParameterSelectorsSpec.ProtoReflect.Descriptor instead.

func (*DagOutputsSpec_ParameterSelectorsSpec) GetParameterSelectors

func (*DagOutputsSpec_ParameterSelectorsSpec) ProtoMessage

func (*DagOutputsSpec_ParameterSelectorsSpec) ProtoMessage()

func (*DagOutputsSpec_ParameterSelectorsSpec) ProtoReflect

func (*DagOutputsSpec_ParameterSelectorsSpec) Reset

func (*DagOutputsSpec_ParameterSelectorsSpec) String

type DagSpec

type DagSpec struct {

	// The tasks inside the dag.
	Tasks map[string]*PipelineTaskSpec `` /* 151-byte string literal not displayed */
	// Defines how the outputs of the dag are linked to the sub tasks.
	Outputs *DagOutputsSpec `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"`
	// contains filtered or unexported fields
}

A DAG contains multiple tasks.

func (*DagSpec) Descriptor deprecated

func (*DagSpec) Descriptor() ([]byte, []int)

Deprecated: Use DagSpec.ProtoReflect.Descriptor instead.

func (*DagSpec) GetOutputs

func (x *DagSpec) GetOutputs() *DagOutputsSpec

func (*DagSpec) GetTasks

func (x *DagSpec) GetTasks() map[string]*PipelineTaskSpec

func (*DagSpec) ProtoMessage

func (*DagSpec) ProtoMessage()

func (*DagSpec) ProtoReflect

func (x *DagSpec) ProtoReflect() protoreflect.Message

func (*DagSpec) Reset

func (x *DagSpec) Reset()

func (*DagSpec) String

func (x *DagSpec) String() string

type ExecutorInput

type ExecutorInput struct {

	// The runtime input artifacts of the task invocation.
	Inputs *ExecutorInput_Inputs `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"`
	// The runtime output artifacts of the task invocation.
	Outputs *ExecutorInput_Outputs `protobuf:"bytes,2,opt,name=outputs,proto3" json:"outputs,omitempty"`
	// contains filtered or unexported fields
}

The input of an executor, which includes all the data that can be passed into the executor spec by a string based placeholder.

The string based placeholder uses a JSON path to reference to the data in the [ExecutionInput]().

`{{$}}`: prints the full ExecutorInput() as a JSON string. `{{$.inputs.artifacts['<name>'].uri}}`: prints the URI of an input artifact. `{{$.inputs.artifacts['<name>'].properties['<property name>']}}`: prints the

property of an input artifact.

`{{$.inputs.parameters['<name>']}}`: prints the value of an input parameter. `{{$.outputs.artifacts['<name>'].uri}}: prints the URI of an output artifact. `{{$.outputs.artifacts['<name>'].properties['<property name>']}}`: prints the

property of an output artifact.

`{{$.outputs.parameters['<name>'].output_file}}`: prints a file path which points to a file and container can write to it to return the value of the parameter.. `{{$.outputs.output_file}}`: prints a file path of the output metadata file which is used to send output metadata from executor to orchestrator. The contract of the output metadata is ExecutorOutput(). When both parameter output file and executor output metadata files are set by the container, the output metadata file will have higher precedence to set output parameters.

func (*ExecutorInput) Descriptor deprecated

func (*ExecutorInput) Descriptor() ([]byte, []int)

Deprecated: Use ExecutorInput.ProtoReflect.Descriptor instead.

func (*ExecutorInput) GetInputs

func (x *ExecutorInput) GetInputs() *ExecutorInput_Inputs

func (*ExecutorInput) GetOutputs

func (x *ExecutorInput) GetOutputs() *ExecutorInput_Outputs

func (*ExecutorInput) ProtoMessage

func (*ExecutorInput) ProtoMessage()

func (*ExecutorInput) ProtoReflect

func (x *ExecutorInput) ProtoReflect() protoreflect.Message

func (*ExecutorInput) Reset

func (x *ExecutorInput) Reset()

func (*ExecutorInput) String

func (x *ExecutorInput) String() string

type ExecutorInput_Inputs

type ExecutorInput_Inputs struct {

	// Input parameters of the execution.
	// Deprecated. Use [ExecutorInput.Inputs.parameter_values][] instead.
	//
	// Deprecated: Do not use.
	Parameters map[string]*Value `` /* 161-byte string literal not displayed */
	// Input artifacts of the execution.
	Artifacts map[string]*ArtifactList `` /* 159-byte string literal not displayed */
	// Input parameters of the execution.
	ParameterValues map[string]*structpb.Value `` /* 194-byte string literal not displayed */
	// contains filtered or unexported fields
}

The runtime inputs data of the execution.

func (*ExecutorInput_Inputs) Descriptor deprecated

func (*ExecutorInput_Inputs) Descriptor() ([]byte, []int)

Deprecated: Use ExecutorInput_Inputs.ProtoReflect.Descriptor instead.

func (*ExecutorInput_Inputs) GetArtifacts

func (x *ExecutorInput_Inputs) GetArtifacts() map[string]*ArtifactList

func (*ExecutorInput_Inputs) GetParameterValues

func (x *ExecutorInput_Inputs) GetParameterValues() map[string]*structpb.Value

func (*ExecutorInput_Inputs) GetParameters deprecated

func (x *ExecutorInput_Inputs) GetParameters() map[string]*Value

Deprecated: Do not use.

func (*ExecutorInput_Inputs) ProtoMessage

func (*ExecutorInput_Inputs) ProtoMessage()

func (*ExecutorInput_Inputs) ProtoReflect

func (x *ExecutorInput_Inputs) ProtoReflect() protoreflect.Message

func (*ExecutorInput_Inputs) Reset

func (x *ExecutorInput_Inputs) Reset()

func (*ExecutorInput_Inputs) String

func (x *ExecutorInput_Inputs) String() string

type ExecutorInput_OutputParameter

type ExecutorInput_OutputParameter struct {

	// The file path which is used by the executor to pass the parameter value
	// to the system.
	OutputFile string `protobuf:"bytes,1,opt,name=output_file,json=outputFile,proto3" json:"output_file,omitempty"`
	// contains filtered or unexported fields
}

The runtime output parameter.

func (*ExecutorInput_OutputParameter) Descriptor deprecated

func (*ExecutorInput_OutputParameter) Descriptor() ([]byte, []int)

Deprecated: Use ExecutorInput_OutputParameter.ProtoReflect.Descriptor instead.

func (*ExecutorInput_OutputParameter) GetOutputFile

func (x *ExecutorInput_OutputParameter) GetOutputFile() string

func (*ExecutorInput_OutputParameter) ProtoMessage

func (*ExecutorInput_OutputParameter) ProtoMessage()

func (*ExecutorInput_OutputParameter) ProtoReflect

func (*ExecutorInput_OutputParameter) Reset

func (x *ExecutorInput_OutputParameter) Reset()

func (*ExecutorInput_OutputParameter) String

type ExecutorInput_Outputs

type ExecutorInput_Outputs struct {

	// The runtime output parameters.
	Parameters map[string]*ExecutorInput_OutputParameter `` /* 161-byte string literal not displayed */
	// The runtime output artifacts.
	Artifacts map[string]*ArtifactList `` /* 159-byte string literal not displayed */
	// The file path of the full output metadata JSON. The schema of the output
	// file is [ExecutorOutput][].
	//
	// When the full output metadata file is set by the container, the output
	// parameter files will be ignored.
	OutputFile string `protobuf:"bytes,3,opt,name=output_file,json=outputFile,proto3" json:"output_file,omitempty"`
	// contains filtered or unexported fields
}

The runtime outputs data of the execution.

func (*ExecutorInput_Outputs) Descriptor deprecated

func (*ExecutorInput_Outputs) Descriptor() ([]byte, []int)

Deprecated: Use ExecutorInput_Outputs.ProtoReflect.Descriptor instead.

func (*ExecutorInput_Outputs) GetArtifacts

func (x *ExecutorInput_Outputs) GetArtifacts() map[string]*ArtifactList

func (*ExecutorInput_Outputs) GetOutputFile

func (x *ExecutorInput_Outputs) GetOutputFile() string

func (*ExecutorInput_Outputs) GetParameters

func (*ExecutorInput_Outputs) ProtoMessage

func (*ExecutorInput_Outputs) ProtoMessage()

func (*ExecutorInput_Outputs) ProtoReflect

func (x *ExecutorInput_Outputs) ProtoReflect() protoreflect.Message

func (*ExecutorInput_Outputs) Reset

func (x *ExecutorInput_Outputs) Reset()

func (*ExecutorInput_Outputs) String

func (x *ExecutorInput_Outputs) String() string

type ExecutorOutput

type ExecutorOutput struct {

	// The values for output parameters.
	// Deprecated. Use [ExecutorOutput.parameter_values][] instead.
	//
	// Deprecated: Do not use.
	Parameters map[string]*Value `` /* 161-byte string literal not displayed */
	// The updated metadata for output artifact.
	Artifacts map[string]*ArtifactList `` /* 159-byte string literal not displayed */
	// The values for output parameters.
	ParameterValues map[string]*structpb.Value `` /* 194-byte string literal not displayed */
	// contains filtered or unexported fields
}

The schema of the output metadata of an execution. It will be used to parse the output metadata file.

func (*ExecutorOutput) Descriptor deprecated

func (*ExecutorOutput) Descriptor() ([]byte, []int)

Deprecated: Use ExecutorOutput.ProtoReflect.Descriptor instead.

func (*ExecutorOutput) GetArtifacts

func (x *ExecutorOutput) GetArtifacts() map[string]*ArtifactList

func (*ExecutorOutput) GetParameterValues

func (x *ExecutorOutput) GetParameterValues() map[string]*structpb.Value

func (*ExecutorOutput) GetParameters deprecated

func (x *ExecutorOutput) GetParameters() map[string]*Value

Deprecated: Do not use.

func (*ExecutorOutput) ProtoMessage

func (*ExecutorOutput) ProtoMessage()

func (*ExecutorOutput) ProtoReflect

func (x *ExecutorOutput) ProtoReflect() protoreflect.Message

func (*ExecutorOutput) Reset

func (x *ExecutorOutput) Reset()

func (*ExecutorOutput) String

func (x *ExecutorOutput) String() string

type ParameterIteratorSpec

type ParameterIteratorSpec struct {

	// The items to iterate.
	Items *ParameterIteratorSpec_ItemsSpec `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"`
	// The name of the input parameter which has the item value from the
	// [items][] collection.
	ItemInput string `protobuf:"bytes,2,opt,name=item_input,json=itemInput,proto3" json:"item_input,omitempty"`
	// contains filtered or unexported fields
}

The spec of a parameter iterator. It supports fan-out a workflow from a string parameter which contains a JSON array.

func (*ParameterIteratorSpec) Descriptor deprecated

func (*ParameterIteratorSpec) Descriptor() ([]byte, []int)

Deprecated: Use ParameterIteratorSpec.ProtoReflect.Descriptor instead.

func (*ParameterIteratorSpec) GetItemInput

func (x *ParameterIteratorSpec) GetItemInput() string

func (*ParameterIteratorSpec) GetItems

func (*ParameterIteratorSpec) ProtoMessage

func (*ParameterIteratorSpec) ProtoMessage()

func (*ParameterIteratorSpec) ProtoReflect

func (x *ParameterIteratorSpec) ProtoReflect() protoreflect.Message

func (*ParameterIteratorSpec) Reset

func (x *ParameterIteratorSpec) Reset()

func (*ParameterIteratorSpec) String

func (x *ParameterIteratorSpec) String() string

type ParameterIteratorSpec_ItemsSpec

type ParameterIteratorSpec_ItemsSpec struct {

	// Specifies where to get the collection of items to iterate. The iterator
	// will create a sub-task for each item of the collection and pass the item
	// as a new input parameter as specified by [item_input][].
	//
	// Types that are assignable to Kind:
	//	*ParameterIteratorSpec_ItemsSpec_Raw
	//	*ParameterIteratorSpec_ItemsSpec_InputParameter
	Kind isParameterIteratorSpec_ItemsSpec_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

Specifies the spec to decribe the parameter items to iterate.

func (*ParameterIteratorSpec_ItemsSpec) Descriptor deprecated

func (*ParameterIteratorSpec_ItemsSpec) Descriptor() ([]byte, []int)

Deprecated: Use ParameterIteratorSpec_ItemsSpec.ProtoReflect.Descriptor instead.

func (*ParameterIteratorSpec_ItemsSpec) GetInputParameter

func (x *ParameterIteratorSpec_ItemsSpec) GetInputParameter() string

func (*ParameterIteratorSpec_ItemsSpec) GetKind

func (m *ParameterIteratorSpec_ItemsSpec) GetKind() isParameterIteratorSpec_ItemsSpec_Kind

func (*ParameterIteratorSpec_ItemsSpec) GetRaw

func (*ParameterIteratorSpec_ItemsSpec) ProtoMessage

func (*ParameterIteratorSpec_ItemsSpec) ProtoMessage()

func (*ParameterIteratorSpec_ItemsSpec) ProtoReflect

func (*ParameterIteratorSpec_ItemsSpec) Reset

func (*ParameterIteratorSpec_ItemsSpec) String

type ParameterIteratorSpec_ItemsSpec_InputParameter

type ParameterIteratorSpec_ItemsSpec_InputParameter struct {
	// The name of the input parameter whose value has the items collection.
	// The parameter must be in STRING type and its content can be parsed
	// as a JSON array.
	InputParameter string `protobuf:"bytes,2,opt,name=input_parameter,json=inputParameter,proto3,oneof"`
}

type ParameterIteratorSpec_ItemsSpec_Raw

type ParameterIteratorSpec_ItemsSpec_Raw struct {
	// The raw JSON array.
	Raw string `protobuf:"bytes,1,opt,name=raw,proto3,oneof"`
}

type ParameterType

type ParameterType struct {
	// contains filtered or unexported fields
}

Represent parameter types. The wrapper is needed to give a namespace of enum value so we don't need add `PARAMETER_TYPE_` prefix of each enum value.

func (*ParameterType) Descriptor deprecated

func (*ParameterType) Descriptor() ([]byte, []int)

Deprecated: Use ParameterType.ProtoReflect.Descriptor instead.

func (*ParameterType) ProtoMessage

func (*ParameterType) ProtoMessage()

func (*ParameterType) ProtoReflect

func (x *ParameterType) ProtoReflect() protoreflect.Message

func (*ParameterType) Reset

func (x *ParameterType) Reset()

func (*ParameterType) String

func (x *ParameterType) String() string

type ParameterType_ParameterTypeEnum

type ParameterType_ParameterTypeEnum int32

The parameter types.

const (
	// Indicates that the parameter type was not specified.
	ParameterType_PARAMETER_TYPE_ENUM_UNSPECIFIED ParameterType_ParameterTypeEnum = 0
	// Indicates that a parameter is a number that is stored in a field of type
	// `double`.
	ParameterType_NUMBER_DOUBLE ParameterType_ParameterTypeEnum = 1
	// Indicates that a parameter is an integer stored in the `number_field`,
	// which is of type `double`. NUMBER_INTEGER values must be within the range
	// of JavaScript safe integers (-(2^53 - 1) to (2^53 - 1)). If you need to
	// support integers outside the range of JavaScript safe integers, use the
	// `STRING` parameter type to describe your parameter.
	ParameterType_NUMBER_INTEGER ParameterType_ParameterTypeEnum = 2
	// Indicates that a parameter is a string.
	ParameterType_STRING ParameterType_ParameterTypeEnum = 3
	// Indicates that a parameters is a boolean value.
	ParameterType_BOOLEAN ParameterType_ParameterTypeEnum = 4
	// Indicates that a parameter is a list of values. LIST parameters are
	// serialized to JSON when passed as an input or output of a pipeline step.
	ParameterType_LIST ParameterType_ParameterTypeEnum = 5
	// Indicates that a parameter is a struct value; structs represent a data
	// structure like a Python dictionary or a JSON object. STRUCT parameters
	// are serialized to JSON when passed as an input or output of a pipeline
	// step.
	ParameterType_STRUCT ParameterType_ParameterTypeEnum = 6
	// Indicates that a parameter is a TaskFinalStatus type; these types can only accept inputs
	// specified by InputParameterSpec.task_final_status
	ParameterType_TASK_FINAL_STATUS ParameterType_ParameterTypeEnum = 7
)

func (ParameterType_ParameterTypeEnum) Descriptor

func (ParameterType_ParameterTypeEnum) Enum

func (ParameterType_ParameterTypeEnum) EnumDescriptor deprecated

func (ParameterType_ParameterTypeEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use ParameterType_ParameterTypeEnum.Descriptor instead.

func (ParameterType_ParameterTypeEnum) Number

func (ParameterType_ParameterTypeEnum) String

func (ParameterType_ParameterTypeEnum) Type

type PipelineDeploymentConfig

type PipelineDeploymentConfig struct {

	// Map from executor label to executor spec.
	Executors map[string]*PipelineDeploymentConfig_ExecutorSpec `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

The definition of the deployment config of the pipeline. It contains the the platform specific executor configs for KFP OSS.

func (*PipelineDeploymentConfig) Descriptor deprecated

func (*PipelineDeploymentConfig) Descriptor() ([]byte, []int)

Deprecated: Use PipelineDeploymentConfig.ProtoReflect.Descriptor instead.

func (*PipelineDeploymentConfig) GetExecutors

func (*PipelineDeploymentConfig) ProtoMessage

func (*PipelineDeploymentConfig) ProtoMessage()

func (*PipelineDeploymentConfig) ProtoReflect

func (x *PipelineDeploymentConfig) ProtoReflect() protoreflect.Message

func (*PipelineDeploymentConfig) Reset

func (x *PipelineDeploymentConfig) Reset()

func (*PipelineDeploymentConfig) String

func (x *PipelineDeploymentConfig) String() string

type PipelineDeploymentConfig_AIPlatformCustomJobSpec deprecated

type PipelineDeploymentConfig_AIPlatformCustomJobSpec struct {

	// API Specification for invoking a Google Cloud AI Platform CustomJob.
	// The fields must match the field names and structures of CustomJob
	// defined in
	// https://cloud.google.com/ai-platform-unified/docs/reference/rest/v1beta1/projects.locations.customJobs.
	// The field types must be either the same, or be a string containing the
	// string based placeholder contract defined in [ExecutorInput](). The
	// placeholders will be replaced with the actual value during the runtime
	// before the job is launched.
	CustomJob *structpb.Struct `protobuf:"bytes,1,opt,name=custom_job,json=customJob,proto3" json:"custom_job,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: Do not use.

func (*PipelineDeploymentConfig_AIPlatformCustomJobSpec) Descriptor deprecated

Deprecated: Use PipelineDeploymentConfig_AIPlatformCustomJobSpec.ProtoReflect.Descriptor instead.

func (*PipelineDeploymentConfig_AIPlatformCustomJobSpec) GetCustomJob

func (*PipelineDeploymentConfig_AIPlatformCustomJobSpec) ProtoMessage

func (*PipelineDeploymentConfig_AIPlatformCustomJobSpec) ProtoReflect

func (*PipelineDeploymentConfig_AIPlatformCustomJobSpec) Reset

func (*PipelineDeploymentConfig_AIPlatformCustomJobSpec) String

type PipelineDeploymentConfig_ExecutorSpec

type PipelineDeploymentConfig_ExecutorSpec struct {

	// Types that are assignable to Spec:
	//	*PipelineDeploymentConfig_ExecutorSpec_Container
	//	*PipelineDeploymentConfig_ExecutorSpec_Importer
	//	*PipelineDeploymentConfig_ExecutorSpec_Resolver
	//	*PipelineDeploymentConfig_ExecutorSpec_CustomJob
	Spec isPipelineDeploymentConfig_ExecutorSpec_Spec `protobuf_oneof:"spec"`
	// contains filtered or unexported fields
}

The specification of the executor.

func (*PipelineDeploymentConfig_ExecutorSpec) Descriptor deprecated

func (*PipelineDeploymentConfig_ExecutorSpec) Descriptor() ([]byte, []int)

Deprecated: Use PipelineDeploymentConfig_ExecutorSpec.ProtoReflect.Descriptor instead.

func (*PipelineDeploymentConfig_ExecutorSpec) GetContainer

func (*PipelineDeploymentConfig_ExecutorSpec) GetCustomJob deprecated

func (*PipelineDeploymentConfig_ExecutorSpec) GetImporter

func (*PipelineDeploymentConfig_ExecutorSpec) GetResolver

func (*PipelineDeploymentConfig_ExecutorSpec) GetSpec

func (m *PipelineDeploymentConfig_ExecutorSpec) GetSpec() isPipelineDeploymentConfig_ExecutorSpec_Spec

func (*PipelineDeploymentConfig_ExecutorSpec) ProtoMessage

func (*PipelineDeploymentConfig_ExecutorSpec) ProtoMessage()

func (*PipelineDeploymentConfig_ExecutorSpec) ProtoReflect

func (*PipelineDeploymentConfig_ExecutorSpec) Reset

func (*PipelineDeploymentConfig_ExecutorSpec) String

type PipelineDeploymentConfig_ExecutorSpec_Container

type PipelineDeploymentConfig_ExecutorSpec_Container struct {
	// Starts a container.
	Container *PipelineDeploymentConfig_PipelineContainerSpec `protobuf:"bytes,1,opt,name=container,proto3,oneof"`
}

type PipelineDeploymentConfig_ExecutorSpec_CustomJob

type PipelineDeploymentConfig_ExecutorSpec_CustomJob struct {
	// Starts a Google Cloud AI Platform CustomJob.
	//
	// Deprecated: Do not use.
	CustomJob *PipelineDeploymentConfig_AIPlatformCustomJobSpec `protobuf:"bytes,4,opt,name=custom_job,json=customJob,proto3,oneof"`
}

type PipelineDeploymentConfig_ExecutorSpec_Importer

type PipelineDeploymentConfig_ExecutorSpec_Importer struct {
	// Import an artifact.
	Importer *PipelineDeploymentConfig_ImporterSpec `protobuf:"bytes,2,opt,name=importer,proto3,oneof"`
}

type PipelineDeploymentConfig_ExecutorSpec_Resolver

type PipelineDeploymentConfig_ExecutorSpec_Resolver struct {
	// Resolves an existing artifact.
	Resolver *PipelineDeploymentConfig_ResolverSpec `protobuf:"bytes,3,opt,name=resolver,proto3,oneof"`
}

type PipelineDeploymentConfig_ImporterSpec

type PipelineDeploymentConfig_ImporterSpec struct {

	// The URI of the artifact.
	ArtifactUri *ValueOrRuntimeParameter `protobuf:"bytes,1,opt,name=artifact_uri,json=artifactUri,proto3" json:"artifact_uri,omitempty"`
	// The type of the artifact.
	TypeSchema *ArtifactTypeSchema `protobuf:"bytes,2,opt,name=type_schema,json=typeSchema,proto3" json:"type_schema,omitempty"`
	// The properties of the artifact.
	// Deprecated. Use [ImporterSpec.metadata][] instead.
	//
	// Deprecated: Do not use.
	Properties map[string]*ValueOrRuntimeParameter `` /* 161-byte string literal not displayed */
	// The custom properties of the artifact.
	// Deprecated. Use [ImporterSpec.metadata][] instead.
	//
	// Deprecated: Do not use.
	CustomProperties map[string]*ValueOrRuntimeParameter `` /* 197-byte string literal not displayed */
	// Properties of the Artifact.
	Metadata *structpb.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Whether or not import an artifact regardless it has been imported before.
	Reimport bool `protobuf:"varint,5,opt,name=reimport,proto3" json:"reimport,omitempty"`
	// contains filtered or unexported fields
}

The specification to import or reimport a new artifact to the pipeline.

func (*PipelineDeploymentConfig_ImporterSpec) Descriptor deprecated

func (*PipelineDeploymentConfig_ImporterSpec) Descriptor() ([]byte, []int)

Deprecated: Use PipelineDeploymentConfig_ImporterSpec.ProtoReflect.Descriptor instead.

func (*PipelineDeploymentConfig_ImporterSpec) GetArtifactUri

func (*PipelineDeploymentConfig_ImporterSpec) GetCustomProperties deprecated

Deprecated: Do not use.

func (*PipelineDeploymentConfig_ImporterSpec) GetMetadata

func (*PipelineDeploymentConfig_ImporterSpec) GetProperties deprecated

Deprecated: Do not use.

func (*PipelineDeploymentConfig_ImporterSpec) GetReimport

func (*PipelineDeploymentConfig_ImporterSpec) GetTypeSchema

func (*PipelineDeploymentConfig_ImporterSpec) ProtoMessage

func (*PipelineDeploymentConfig_ImporterSpec) ProtoMessage()

func (*PipelineDeploymentConfig_ImporterSpec) ProtoReflect

func (*PipelineDeploymentConfig_ImporterSpec) Reset

func (*PipelineDeploymentConfig_ImporterSpec) String

type PipelineDeploymentConfig_PipelineContainerSpec

type PipelineDeploymentConfig_PipelineContainerSpec struct {

	// The image uri of the container.
	Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// The main entrypoint commands of the container to run. If not provided,
	// fallback to use the entry point command defined in the container image.
	Command []string `protobuf:"bytes,2,rep,name=command,proto3" json:"command,omitempty"`
	// The arguments to pass into the main entrypoint of the container.
	Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	// The lifecycle hooks of the container executor.
	Lifecycle *PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle    `protobuf:"bytes,4,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
	Resources *PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec `protobuf:"bytes,5,opt,name=resources,proto3" json:"resources,omitempty"`
	// Environment variables to be passed to the container.
	Env []*PipelineDeploymentConfig_PipelineContainerSpec_EnvVar `protobuf:"bytes,6,rep,name=env,proto3" json:"env,omitempty"`
	// contains filtered or unexported fields
}

The specification on a container invocation. The string fields of the message support string based placeholder contract defined in ExecutorInput(). The output of the container follows the contract of ExecutorOutput().

func (*PipelineDeploymentConfig_PipelineContainerSpec) Descriptor deprecated

Deprecated: Use PipelineDeploymentConfig_PipelineContainerSpec.ProtoReflect.Descriptor instead.

func (*PipelineDeploymentConfig_PipelineContainerSpec) GetArgs

func (*PipelineDeploymentConfig_PipelineContainerSpec) GetCommand

func (*PipelineDeploymentConfig_PipelineContainerSpec) GetEnv

func (*PipelineDeploymentConfig_PipelineContainerSpec) GetImage

func (*PipelineDeploymentConfig_PipelineContainerSpec) GetLifecycle

func (*PipelineDeploymentConfig_PipelineContainerSpec) GetResources

func (*PipelineDeploymentConfig_PipelineContainerSpec) ProtoMessage

func (*PipelineDeploymentConfig_PipelineContainerSpec) ProtoReflect

func (*PipelineDeploymentConfig_PipelineContainerSpec) Reset

func (*PipelineDeploymentConfig_PipelineContainerSpec) String

type PipelineDeploymentConfig_PipelineContainerSpec_EnvVar

type PipelineDeploymentConfig_PipelineContainerSpec_EnvVar struct {

	// Name of the environment variable. Must be a valid C identifier. It can
	// be composed of characters such as uppercase, lowercase characters,
	// underscore, digits, but the leading character should be either a
	// letter or an underscore.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Variables that reference a $(VAR_NAME) are expanded using the previous
	// defined environment variables in the container and any environment
	// variables defined by the platform runtime that executes this pipeline.
	// If a variable cannot be resolved, the reference in the input string
	// will be unchanged. The $(VAR_NAME) syntax can be escaped with a double
	// $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
	// regardless of whether the variable exists or not.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Environment variables to be passed to the container. Represents an environment variable present in a container.

func (*PipelineDeploymentConfig_PipelineContainerSpec_EnvVar) Descriptor deprecated

Deprecated: Use PipelineDeploymentConfig_PipelineContainerSpec_EnvVar.ProtoReflect.Descriptor instead.

func (*PipelineDeploymentConfig_PipelineContainerSpec_EnvVar) GetName

func (*PipelineDeploymentConfig_PipelineContainerSpec_EnvVar) GetValue

func (*PipelineDeploymentConfig_PipelineContainerSpec_EnvVar) ProtoMessage

func (*PipelineDeploymentConfig_PipelineContainerSpec_EnvVar) ProtoReflect

func (*PipelineDeploymentConfig_PipelineContainerSpec_EnvVar) Reset

func (*PipelineDeploymentConfig_PipelineContainerSpec_EnvVar) String

type PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle

type PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle struct {

	// This hook is invoked before caching check. It can change the properties
	// of the execution and output artifacts before they are used to compute
	// the cache key. The updated metadata will be passed into the main
	// container entrypoint.
	PreCacheCheck *PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec `protobuf:"bytes,1,opt,name=pre_cache_check,json=preCacheCheck,proto3" json:"pre_cache_check,omitempty"`
	// contains filtered or unexported fields
}

The lifecycle hooks of the container. Each hook follows the same I/O contract as the main container entrypoint. See ExecutorInput() and ExecutorOutput() for details. (-- TODO(b/165323565): add more documentation on caching and lifecycle hooks. --)

func (*PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle) Descriptor deprecated

Deprecated: Use PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle.ProtoReflect.Descriptor instead.

func (*PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle) GetPreCacheCheck

func (*PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle) ProtoMessage

func (*PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle) ProtoReflect

func (*PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle) Reset

func (*PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle) String

type PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec

type PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec struct {

	// The command of the exec program.
	Command []string `protobuf:"bytes,2,rep,name=command,proto3" json:"command,omitempty"`
	// The args of the exec program.
	Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

The command and args to execute a program.

func (*PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec) Descriptor deprecated

Deprecated: Use PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec.ProtoReflect.Descriptor instead.

func (*PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec) GetArgs

func (*PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec) GetCommand

func (*PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec) ProtoMessage

func (*PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec) ProtoReflect

func (*PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec) Reset

func (*PipelineDeploymentConfig_PipelineContainerSpec_Lifecycle_Exec) String

type PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec

type PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec struct {

	// The limit of the number of vCPU cores. This container execution needs
	// at most cpu_limit vCPU to run.
	CpuLimit float64 `protobuf:"fixed64,1,opt,name=cpu_limit,json=cpuLimit,proto3" json:"cpu_limit,omitempty"`
	// The memory limit in GB. This container execution needs at most
	// memory_limit RAM to run.
	MemoryLimit float64 `protobuf:"fixed64,2,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
	// The request of the number of vCPU cores. This container execution
	// needs at least cpu_request vCPU to run.
	CpuRequest float64 `protobuf:"fixed64,5,opt,name=cpu_request,json=cpuRequest,proto3" json:"cpu_request,omitempty"`
	// The memory request in GB. This container execution needs at least
	// memory_request RAM to run.
	MemoryRequest float64                                                                        `protobuf:"fixed64,6,opt,name=memory_request,json=memoryRequest,proto3" json:"memory_request,omitempty"`
	Accelerator   *PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig `protobuf:"bytes,3,opt,name=accelerator,proto3" json:"accelerator,omitempty"`
	// contains filtered or unexported fields
}

The specification on the resource requirements of a container execution. This can include specification of vCPU, memory requirements, as well as accelerator types and counts.

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec) Descriptor deprecated

Deprecated: Use PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec.ProtoReflect.Descriptor instead.

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec) GetCpuLimit

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec) GetCpuRequest

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec) GetMemoryLimit

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec) GetMemoryRequest

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec) ProtoMessage

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec) ProtoReflect

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec) Reset

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec) String

type PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig

type PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig struct {

	// The type of accelerators.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// The number of accelerators.
	Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

The specification on the accelerators being attached to this container.

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig) Descriptor deprecated

Deprecated: Use PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig.ProtoReflect.Descriptor instead.

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig) GetCount

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig) GetType

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig) ProtoMessage

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig) ProtoReflect

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig) Reset

func (*PipelineDeploymentConfig_PipelineContainerSpec_ResourceSpec_AcceleratorConfig) String

type PipelineDeploymentConfig_ResolverSpec

type PipelineDeploymentConfig_ResolverSpec struct {

	// A list of resolver output definitions. The
	// key of the map must be exactly the same as
	// the keys in the [PipelineTaskOutputsSpec.artifacts][] map.
	// At least one output must be defined.
	OutputArtifactQueries map[string]*PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec `` /* 214-byte string literal not displayed */
	// contains filtered or unexported fields
}

ResolverSpec resolves artifacts from historical metadata and returns them to the pipeline as output artifacts of the resolver task. The downstream tasks can consume them as their input artifacts.

func (*PipelineDeploymentConfig_ResolverSpec) Descriptor deprecated

func (*PipelineDeploymentConfig_ResolverSpec) Descriptor() ([]byte, []int)

Deprecated: Use PipelineDeploymentConfig_ResolverSpec.ProtoReflect.Descriptor instead.

func (*PipelineDeploymentConfig_ResolverSpec) GetOutputArtifactQueries

func (*PipelineDeploymentConfig_ResolverSpec) ProtoMessage

func (*PipelineDeploymentConfig_ResolverSpec) ProtoMessage()

func (*PipelineDeploymentConfig_ResolverSpec) ProtoReflect

func (*PipelineDeploymentConfig_ResolverSpec) Reset

func (*PipelineDeploymentConfig_ResolverSpec) String

type PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec

type PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec struct {

	// The filter of the artifact query. The supported syntax are:
	// - `in_context("<context name>")`
	// - `artifact_type="<artifact type name>"`
	// - `uri="<uri>"`
	// - `state=<state>`
	// - `name="value"`
	// - `AND` to combine two conditions and returns when both are true.
	// If no `in_context` filter is set, the query will be scoped to the
	// the current pipeline context.
	Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// The maximum number of the artifacts to be returned from the
	// query. If not defined, the default limit is `1`.
	Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

The query to fetch artifacts.

func (*PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec) Descriptor deprecated

Deprecated: Use PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec.ProtoReflect.Descriptor instead.

func (*PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec) GetFilter

func (*PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec) GetLimit

func (*PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec) ProtoMessage

func (*PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec) ProtoReflect

func (*PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec) Reset

func (*PipelineDeploymentConfig_ResolverSpec_ArtifactQuerySpec) String

type PipelineInfo

type PipelineInfo struct {

	// Required field. The name of the pipeline.
	// The name will be used to create or find pipeline context in MLMD.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional fields. The readable display name for the pipeline template.
	// Should not exceed 1024 characters.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional fields. The readable description for the pipeline template.
	// Should not exceed 1024 characters.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Basic info of a pipeline.

func (*PipelineInfo) Descriptor deprecated

func (*PipelineInfo) Descriptor() ([]byte, []int)

Deprecated: Use PipelineInfo.ProtoReflect.Descriptor instead.

func (*PipelineInfo) GetDescription

func (x *PipelineInfo) GetDescription() string

func (*PipelineInfo) GetDisplayName

func (x *PipelineInfo) GetDisplayName() string

func (*PipelineInfo) GetName

func (x *PipelineInfo) GetName() string

func (*PipelineInfo) ProtoMessage

func (*PipelineInfo) ProtoMessage()

func (*PipelineInfo) ProtoReflect

func (x *PipelineInfo) ProtoReflect() protoreflect.Message

func (*PipelineInfo) Reset

func (x *PipelineInfo) Reset()

func (*PipelineInfo) String

func (x *PipelineInfo) String() string

type PipelineJob

type PipelineJob struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of the job.
	// User friendly display name
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Definition of the pipeline that is being executed.
	PipelineSpec *structpb.Struct `protobuf:"bytes,7,opt,name=pipeline_spec,json=pipelineSpec,proto3" json:"pipeline_spec,omitempty"`
	// The labels with user-defined metadata to organize PipelineJob.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// Runtime config of the pipeline.
	RuntimeConfig *PipelineJob_RuntimeConfig `protobuf:"bytes,12,opt,name=runtime_config,json=runtimeConfig,proto3" json:"runtime_config,omitempty"`
	// contains filtered or unexported fields
}

The spec of a pipeline job.

func (*PipelineJob) Descriptor deprecated

func (*PipelineJob) Descriptor() ([]byte, []int)

Deprecated: Use PipelineJob.ProtoReflect.Descriptor instead.

func (*PipelineJob) GetDisplayName

func (x *PipelineJob) GetDisplayName() string

func (*PipelineJob) GetLabels

func (x *PipelineJob) GetLabels() map[string]string

func (*PipelineJob) GetName

func (x *PipelineJob) GetName() string

func (*PipelineJob) GetPipelineSpec

func (x *PipelineJob) GetPipelineSpec() *structpb.Struct

func (*PipelineJob) GetRuntimeConfig

func (x *PipelineJob) GetRuntimeConfig() *PipelineJob_RuntimeConfig

func (*PipelineJob) ProtoMessage

func (*PipelineJob) ProtoMessage()

func (*PipelineJob) ProtoReflect

func (x *PipelineJob) ProtoReflect() protoreflect.Message

func (*PipelineJob) Reset

func (x *PipelineJob) Reset()

func (*PipelineJob) String

func (x *PipelineJob) String() string

type PipelineJob_RuntimeConfig

type PipelineJob_RuntimeConfig struct {

	// Deprecated. Use [RuntimeConfig.parameter_values][] instead.
	//
	// Deprecated: Do not use.
	Parameters map[string]*Value `` /* 161-byte string literal not displayed */
	// A path in a Cloud Storage bucket which will be treated as the root
	// output directory of the pipeline. It is used by the system to
	// generate the paths of output artifacts.
	// This is a GCP-specific optimization.
	GcsOutputDirectory string `protobuf:"bytes,2,opt,name=gcs_output_directory,json=gcsOutputDirectory,proto3" json:"gcs_output_directory,omitempty"`
	// The runtime parameters of the PipelineJob. The parameters will be
	// passed into [PipelineJob.pipeline_spec][] to replace the placeholders
	// at runtime.
	ParameterValues map[string]*structpb.Value `` /* 194-byte string literal not displayed */
	// contains filtered or unexported fields
}

The runtime config of a PipelineJob.

func (*PipelineJob_RuntimeConfig) Descriptor deprecated

func (*PipelineJob_RuntimeConfig) Descriptor() ([]byte, []int)

Deprecated: Use PipelineJob_RuntimeConfig.ProtoReflect.Descriptor instead.

func (*PipelineJob_RuntimeConfig) GetGcsOutputDirectory

func (x *PipelineJob_RuntimeConfig) GetGcsOutputDirectory() string

func (*PipelineJob_RuntimeConfig) GetParameterValues

func (x *PipelineJob_RuntimeConfig) GetParameterValues() map[string]*structpb.Value

func (*PipelineJob_RuntimeConfig) GetParameters deprecated

func (x *PipelineJob_RuntimeConfig) GetParameters() map[string]*Value

Deprecated: Do not use.

func (*PipelineJob_RuntimeConfig) ProtoMessage

func (*PipelineJob_RuntimeConfig) ProtoMessage()

func (*PipelineJob_RuntimeConfig) ProtoReflect

func (*PipelineJob_RuntimeConfig) Reset

func (x *PipelineJob_RuntimeConfig) Reset()

func (*PipelineJob_RuntimeConfig) String

func (x *PipelineJob_RuntimeConfig) String() string

type PipelineSpec

type PipelineSpec struct {

	// The metadata of the pipeline.
	PipelineInfo *PipelineInfo `protobuf:"bytes,1,opt,name=pipeline_info,json=pipelineInfo,proto3" json:"pipeline_info,omitempty"`
	// The deployment config of the pipeline.
	// The deployment config can be extended to provide platform specific configs.
	DeploymentSpec *structpb.Struct `protobuf:"bytes,7,opt,name=deployment_spec,json=deploymentSpec,proto3" json:"deployment_spec,omitempty"`
	// The version of the sdk, which compiles the spec.
	SdkVersion string `protobuf:"bytes,4,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"`
	// The version of the schema.
	SchemaVersion string `protobuf:"bytes,5,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
	// The map of name to definition of all components used in this pipeline.
	Components map[string]*ComponentSpec `` /* 161-byte string literal not displayed */
	// The definition of the main pipeline.  Execution of the pipeline is
	// completed upon the completion of this component.
	Root *ComponentSpec `protobuf:"bytes,9,opt,name=root,proto3" json:"root,omitempty"`
	// Optional field. The default root output directory of the pipeline.
	DefaultPipelineRoot string `protobuf:"bytes,10,opt,name=default_pipeline_root,json=defaultPipelineRoot,proto3" json:"default_pipeline_root,omitempty"`
	// contains filtered or unexported fields
}

The spec of a pipeline.

func (*PipelineSpec) Descriptor deprecated

func (*PipelineSpec) Descriptor() ([]byte, []int)

Deprecated: Use PipelineSpec.ProtoReflect.Descriptor instead.

func (*PipelineSpec) GetComponents

func (x *PipelineSpec) GetComponents() map[string]*ComponentSpec

func (*PipelineSpec) GetDefaultPipelineRoot

func (x *PipelineSpec) GetDefaultPipelineRoot() string

func (*PipelineSpec) GetDeploymentSpec

func (x *PipelineSpec) GetDeploymentSpec() *structpb.Struct

func (*PipelineSpec) GetPipelineInfo

func (x *PipelineSpec) GetPipelineInfo() *PipelineInfo

func (*PipelineSpec) GetRoot

func (x *PipelineSpec) GetRoot() *ComponentSpec

func (*PipelineSpec) GetSchemaVersion

func (x *PipelineSpec) GetSchemaVersion() string

func (*PipelineSpec) GetSdkVersion

func (x *PipelineSpec) GetSdkVersion() string

func (*PipelineSpec) ProtoMessage

func (*PipelineSpec) ProtoMessage()

func (*PipelineSpec) ProtoReflect

func (x *PipelineSpec) ProtoReflect() protoreflect.Message

func (*PipelineSpec) Reset

func (x *PipelineSpec) Reset()

func (*PipelineSpec) String

func (x *PipelineSpec) String() string

type PipelineSpec_RuntimeParameter

type PipelineSpec_RuntimeParameter struct {

	// Required field. The type of the runtime parameter.
	Type PrimitiveType_PrimitiveTypeEnum `protobuf:"varint,1,opt,name=type,proto3,enum=ml_pipelines.PrimitiveType_PrimitiveTypeEnum" json:"type,omitempty"`
	// Optional field. Default value of the runtime parameter. If not set and
	// the runtime parameter value is not provided during runtime, an error will
	// be raised.
	DefaultValue *Value `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// contains filtered or unexported fields
}

The definition of the runtime parameter.

func (*PipelineSpec_RuntimeParameter) Descriptor deprecated

func (*PipelineSpec_RuntimeParameter) Descriptor() ([]byte, []int)

Deprecated: Use PipelineSpec_RuntimeParameter.ProtoReflect.Descriptor instead.

func (*PipelineSpec_RuntimeParameter) GetDefaultValue

func (x *PipelineSpec_RuntimeParameter) GetDefaultValue() *Value

func (*PipelineSpec_RuntimeParameter) GetType

func (*PipelineSpec_RuntimeParameter) ProtoMessage

func (*PipelineSpec_RuntimeParameter) ProtoMessage()

func (*PipelineSpec_RuntimeParameter) ProtoReflect

func (*PipelineSpec_RuntimeParameter) Reset

func (x *PipelineSpec_RuntimeParameter) Reset()

func (*PipelineSpec_RuntimeParameter) String

type PipelineStateEnum

type PipelineStateEnum struct {
	// contains filtered or unexported fields
}

func (*PipelineStateEnum) Descriptor deprecated

func (*PipelineStateEnum) Descriptor() ([]byte, []int)

Deprecated: Use PipelineStateEnum.ProtoReflect.Descriptor instead.

func (*PipelineStateEnum) ProtoMessage

func (*PipelineStateEnum) ProtoMessage()

func (*PipelineStateEnum) ProtoReflect

func (x *PipelineStateEnum) ProtoReflect() protoreflect.Message

func (*PipelineStateEnum) Reset

func (x *PipelineStateEnum) Reset()

func (*PipelineStateEnum) String

func (x *PipelineStateEnum) String() string

type PipelineStateEnum_PipelineTaskState

type PipelineStateEnum_PipelineTaskState int32
const (
	PipelineStateEnum_TASK_STATE_UNSPECIFIED PipelineStateEnum_PipelineTaskState = 0
	PipelineStateEnum_PENDING                PipelineStateEnum_PipelineTaskState = 1
	PipelineStateEnum_RUNNING_DRIVER         PipelineStateEnum_PipelineTaskState = 2
	PipelineStateEnum_DRIVER_SUCCEEDED       PipelineStateEnum_PipelineTaskState = 3
	PipelineStateEnum_RUNNING_EXECUTOR       PipelineStateEnum_PipelineTaskState = 4
	PipelineStateEnum_SUCCEEDED              PipelineStateEnum_PipelineTaskState = 5
	PipelineStateEnum_CANCEL_PENDING         PipelineStateEnum_PipelineTaskState = 6
	PipelineStateEnum_CANCELLING             PipelineStateEnum_PipelineTaskState = 7
	PipelineStateEnum_CANCELLED              PipelineStateEnum_PipelineTaskState = 8
	PipelineStateEnum_FAILED                 PipelineStateEnum_PipelineTaskState = 9
	// Indicates that the task is skipped to run due to a cache hit.
	PipelineStateEnum_SKIPPED PipelineStateEnum_PipelineTaskState = 10
	// Indicates that the task was just populated to the DB but not ready to
	// be scheduled.  Once job handler determined the task being ready to
	// be scheduled, the task state will change to PENDING.  The state
	// transition is depicted below:
	//  * QUEUED(not ready to run) --> PENDING(ready to run) --> RUNNING
	PipelineStateEnum_QUEUED PipelineStateEnum_PipelineTaskState = 11
	// Indicates that the task is not triggered based on the
	// [PipelineTaskSpec.TriggerPolicy.condition][] config.
	PipelineStateEnum_NOT_TRIGGERED PipelineStateEnum_PipelineTaskState = 12
	// Indicates that the tasks will no longer be schedulable.  Usually a task
	// was set to this state because its all upstream tasks are in final state
	// but the [PipelineTaskSpec.TriggerPolicy.strategy][] disallows the task to
	// be triggered.
	// The difference between `NOT_TRIGGERED` is that `UNSCHEDULABLE` must met
	// [PipelineTaskSpec.TriggerPolicy.strategy][], but must not met the
	// [PipelineTaskSpec.TriggerPolicy.condition][].
	PipelineStateEnum_UNSCHEDULABLE PipelineStateEnum_PipelineTaskState = 13
)

func (PipelineStateEnum_PipelineTaskState) Descriptor

func (PipelineStateEnum_PipelineTaskState) Enum

func (PipelineStateEnum_PipelineTaskState) EnumDescriptor deprecated

func (PipelineStateEnum_PipelineTaskState) EnumDescriptor() ([]byte, []int)

Deprecated: Use PipelineStateEnum_PipelineTaskState.Descriptor instead.

func (PipelineStateEnum_PipelineTaskState) Number

func (PipelineStateEnum_PipelineTaskState) String

func (PipelineStateEnum_PipelineTaskState) Type

type PipelineTaskFinalStatus

type PipelineTaskFinalStatus struct {

	// The final state of the task.
	// The value is the string version of [PipelineStateEnum.PipelineTaskState][]
	State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// The error of the task.
	Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// The pipeline job unique id.
	//
	// Deprecated: Do not use.
	PipelineJobUuid int64 `protobuf:"varint,3,opt,name=pipeline_job_uuid,json=pipelineJobUuid,proto3" json:"pipeline_job_uuid,omitempty"`
	// The pipeline job name from the [PipelineJob.name][].
	//
	// Deprecated: Do not use.
	PipelineJobName string `protobuf:"bytes,4,opt,name=pipeline_job_name,json=pipelineJobName,proto3" json:"pipeline_job_name,omitempty"`
	// The pipeline job resource name, in the format of
	// `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`.
	PipelineJobResourceName string `` /* 134-byte string literal not displayed */
	// The pipeline task that produces this status.
	PipelineTaskName string `protobuf:"bytes,6,opt,name=pipeline_task_name,json=pipelineTaskName,proto3" json:"pipeline_task_name,omitempty"`
	// contains filtered or unexported fields
}

The final status of a task. The structure will be passed to input parameter of kind `task_final_status`.

func (*PipelineTaskFinalStatus) Descriptor deprecated

func (*PipelineTaskFinalStatus) Descriptor() ([]byte, []int)

Deprecated: Use PipelineTaskFinalStatus.ProtoReflect.Descriptor instead.

func (*PipelineTaskFinalStatus) GetError

func (x *PipelineTaskFinalStatus) GetError() *status.Status

func (*PipelineTaskFinalStatus) GetPipelineJobName deprecated

func (x *PipelineTaskFinalStatus) GetPipelineJobName() string

Deprecated: Do not use.

func (*PipelineTaskFinalStatus) GetPipelineJobResourceName

func (x *PipelineTaskFinalStatus) GetPipelineJobResourceName() string

func (*PipelineTaskFinalStatus) GetPipelineJobUuid deprecated

func (x *PipelineTaskFinalStatus) GetPipelineJobUuid() int64

Deprecated: Do not use.

func (*PipelineTaskFinalStatus) GetPipelineTaskName

func (x *PipelineTaskFinalStatus) GetPipelineTaskName() string

func (*PipelineTaskFinalStatus) GetState

func (x *PipelineTaskFinalStatus) GetState() string

func (*PipelineTaskFinalStatus) ProtoMessage

func (*PipelineTaskFinalStatus) ProtoMessage()

func (*PipelineTaskFinalStatus) ProtoReflect

func (x *PipelineTaskFinalStatus) ProtoReflect() protoreflect.Message

func (*PipelineTaskFinalStatus) Reset

func (x *PipelineTaskFinalStatus) Reset()

func (*PipelineTaskFinalStatus) String

func (x *PipelineTaskFinalStatus) String() string

type PipelineTaskInfo

type PipelineTaskInfo struct {

	// The display name of the task.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The basic info of a task.

func (*PipelineTaskInfo) Descriptor deprecated

func (*PipelineTaskInfo) Descriptor() ([]byte, []int)

Deprecated: Use PipelineTaskInfo.ProtoReflect.Descriptor instead.

func (*PipelineTaskInfo) GetName

func (x *PipelineTaskInfo) GetName() string

func (*PipelineTaskInfo) ProtoMessage

func (*PipelineTaskInfo) ProtoMessage()

func (*PipelineTaskInfo) ProtoReflect

func (x *PipelineTaskInfo) ProtoReflect() protoreflect.Message

func (*PipelineTaskInfo) Reset

func (x *PipelineTaskInfo) Reset()

func (*PipelineTaskInfo) String

func (x *PipelineTaskInfo) String() string

type PipelineTaskSpec

type PipelineTaskSpec struct {

	// Basic info of a pipeline task.
	TaskInfo *PipelineTaskInfo `protobuf:"bytes,1,opt,name=task_info,json=taskInfo,proto3" json:"task_info,omitempty"`
	// Specification for task inputs which contains parameters and artifacts.
	Inputs *TaskInputsSpec `protobuf:"bytes,2,opt,name=inputs,proto3" json:"inputs,omitempty"`
	// A list of names of upstream tasks that do not provide input
	// artifacts for this task, but nonetheless whose completion this task depends
	// on.
	DependentTasks []string                         `protobuf:"bytes,5,rep,name=dependent_tasks,json=dependentTasks,proto3" json:"dependent_tasks,omitempty"`
	CachingOptions *PipelineTaskSpec_CachingOptions `protobuf:"bytes,6,opt,name=caching_options,json=cachingOptions,proto3" json:"caching_options,omitempty"`
	// Reference to a component.  Use this field to define either a DAG or an
	// executor.
	ComponentRef *ComponentRef `protobuf:"bytes,7,opt,name=component_ref,json=componentRef,proto3" json:"component_ref,omitempty"`
	// Trigger policy of the task.
	TriggerPolicy *PipelineTaskSpec_TriggerPolicy `protobuf:"bytes,8,opt,name=trigger_policy,json=triggerPolicy,proto3" json:"trigger_policy,omitempty"`
	// Iterator supports fanning out the task into multiple sub-tasks based on the
	// values of input artifact or parameter. The current task will become the
	// parent of all the fan-out tasks. The output of the current task follows
	// the following conventions:
	// * Output artifacts with the same name of each iteration will be merged
	//   into one output artifact channel of the parent iterator task.
	// * Output parameters with the same name of each iteration will be merged
	//   into a string output parameter with the same name with content being a
	//   JSON array.
	//
	// For example, if an iterator starts two sub-tasks (t1 and t2) with the
	// following outputs.
	//
	// t1.outputs.parameters = { 'p': 'v1' }
	// t1.outputs.artifacts = { 'a': [a1] }
	// t2.outputs.parameters = { 'p': 'v2' }
	// t2.outputs.artifacts = { 'a': [a2] }
	// parent_task.outputs.parameters = { 'p': '["v1", "v2"]' }
	// parent_task.outputs.aritfacts = { 'a': [a1, a2] }
	//
	// Types that are assignable to Iterator:
	//	*PipelineTaskSpec_ArtifactIterator
	//	*PipelineTaskSpec_ParameterIterator
	Iterator isPipelineTaskSpec_Iterator `protobuf_oneof:"iterator"`
	// User-configured task-level retry.
	// Applicable only to component tasks.
	RetryPolicy *PipelineTaskSpec_RetryPolicy `protobuf:"bytes,11,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"`
	// Iterator related settings.
	IteratorPolicy *PipelineTaskSpec_IteratorPolicy `protobuf:"bytes,12,opt,name=iterator_policy,json=iteratorPolicy,proto3" json:"iterator_policy,omitempty"`
	// contains filtered or unexported fields
}

The spec of a pipeline task.

func (*PipelineTaskSpec) Descriptor deprecated

func (*PipelineTaskSpec) Descriptor() ([]byte, []int)

Deprecated: Use PipelineTaskSpec.ProtoReflect.Descriptor instead.

func (*PipelineTaskSpec) GetArtifactIterator

func (x *PipelineTaskSpec) GetArtifactIterator() *ArtifactIteratorSpec

func (*PipelineTaskSpec) GetCachingOptions

func (x *PipelineTaskSpec) GetCachingOptions() *PipelineTaskSpec_CachingOptions

func (*PipelineTaskSpec) GetComponentRef

func (x *PipelineTaskSpec) GetComponentRef() *ComponentRef

func (*PipelineTaskSpec) GetDependentTasks

func (x *PipelineTaskSpec) GetDependentTasks() []string

func (*PipelineTaskSpec) GetInputs

func (x *PipelineTaskSpec) GetInputs() *TaskInputsSpec

func (*PipelineTaskSpec) GetIterator

func (m *PipelineTaskSpec) GetIterator() isPipelineTaskSpec_Iterator

func (*PipelineTaskSpec) GetIteratorPolicy

func (x *PipelineTaskSpec) GetIteratorPolicy() *PipelineTaskSpec_IteratorPolicy

func (*PipelineTaskSpec) GetParameterIterator

func (x *PipelineTaskSpec) GetParameterIterator() *ParameterIteratorSpec

func (*PipelineTaskSpec) GetRetryPolicy

func (x *PipelineTaskSpec) GetRetryPolicy() *PipelineTaskSpec_RetryPolicy

func (*PipelineTaskSpec) GetTaskInfo

func (x *PipelineTaskSpec) GetTaskInfo() *PipelineTaskInfo

func (*PipelineTaskSpec) GetTriggerPolicy

func (x *PipelineTaskSpec) GetTriggerPolicy() *PipelineTaskSpec_TriggerPolicy

func (*PipelineTaskSpec) ProtoMessage

func (*PipelineTaskSpec) ProtoMessage()

func (*PipelineTaskSpec) ProtoReflect

func (x *PipelineTaskSpec) ProtoReflect() protoreflect.Message

func (*PipelineTaskSpec) Reset

func (x *PipelineTaskSpec) Reset()

func (*PipelineTaskSpec) String

func (x *PipelineTaskSpec) String() string

type PipelineTaskSpec_ArtifactIterator

type PipelineTaskSpec_ArtifactIterator struct {
	// Iterator to iterate over an artifact input.
	ArtifactIterator *ArtifactIteratorSpec `protobuf:"bytes,9,opt,name=artifact_iterator,json=artifactIterator,proto3,oneof"`
}

type PipelineTaskSpec_CachingOptions

type PipelineTaskSpec_CachingOptions struct {

	// Whether or not to enable cache for this task. Defaults to false.
	EnableCache bool `protobuf:"varint,1,opt,name=enable_cache,json=enableCache,proto3" json:"enable_cache,omitempty"`
	// contains filtered or unexported fields
}

func (*PipelineTaskSpec_CachingOptions) Descriptor deprecated

func (*PipelineTaskSpec_CachingOptions) Descriptor() ([]byte, []int)

Deprecated: Use PipelineTaskSpec_CachingOptions.ProtoReflect.Descriptor instead.

func (*PipelineTaskSpec_CachingOptions) GetEnableCache

func (x *PipelineTaskSpec_CachingOptions) GetEnableCache() bool

func (*PipelineTaskSpec_CachingOptions) ProtoMessage

func (*PipelineTaskSpec_CachingOptions) ProtoMessage()

func (*PipelineTaskSpec_CachingOptions) ProtoReflect

func (*PipelineTaskSpec_CachingOptions) Reset

func (*PipelineTaskSpec_CachingOptions) String

type PipelineTaskSpec_IteratorPolicy

type PipelineTaskSpec_IteratorPolicy struct {

	// The limit for the number of concurrent sub-tasks spawned by an iterator
	// task. The value should be a non-negative integer. A value of 0 represents
	// unconstrained parallelism.
	ParallelismLimit int32 `protobuf:"varint,1,opt,name=parallelism_limit,json=parallelismLimit,proto3" json:"parallelism_limit,omitempty"`
	// contains filtered or unexported fields
}

Iterator related settings.

func (*PipelineTaskSpec_IteratorPolicy) Descriptor deprecated

func (*PipelineTaskSpec_IteratorPolicy) Descriptor() ([]byte, []int)

Deprecated: Use PipelineTaskSpec_IteratorPolicy.ProtoReflect.Descriptor instead.

func (*PipelineTaskSpec_IteratorPolicy) GetParallelismLimit

func (x *PipelineTaskSpec_IteratorPolicy) GetParallelismLimit() int32

func (*PipelineTaskSpec_IteratorPolicy) ProtoMessage

func (*PipelineTaskSpec_IteratorPolicy) ProtoMessage()

func (*PipelineTaskSpec_IteratorPolicy) ProtoReflect

func (*PipelineTaskSpec_IteratorPolicy) Reset

func (*PipelineTaskSpec_IteratorPolicy) String

type PipelineTaskSpec_ParameterIterator

type PipelineTaskSpec_ParameterIterator struct {
	// Iterator to iterate over a parameter input.
	ParameterIterator *ParameterIteratorSpec `protobuf:"bytes,10,opt,name=parameter_iterator,json=parameterIterator,proto3,oneof"`
}

type PipelineTaskSpec_RetryPolicy

type PipelineTaskSpec_RetryPolicy struct {

	// Number of retries before considering a task as failed. Set to 0 or
	// unspecified to disallow retry."
	MaxRetryCount int32 `protobuf:"varint,1,opt,name=max_retry_count,json=maxRetryCount,proto3" json:"max_retry_count,omitempty"`
	// The time interval between retries. Defaults to zero (an immediate retry).
	BackoffDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=backoff_duration,json=backoffDuration,proto3" json:"backoff_duration,omitempty"`
	// The exponential backoff factor applied to backoff_duration. If
	// unspecified, will default to 2.
	BackoffFactor float64 `protobuf:"fixed64,3,opt,name=backoff_factor,json=backoffFactor,proto3" json:"backoff_factor,omitempty"`
	// The maximum duration during which the task will be retried according to
	// the backoff strategy. Max allowed is 1 hour - higher value will be capped
	// to this limit. If unspecified, will set to 1 hour.
	BackoffMaxDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=backoff_max_duration,json=backoffMaxDuration,proto3" json:"backoff_max_duration,omitempty"`
	// contains filtered or unexported fields
}

User-configured task-level retry.

func (*PipelineTaskSpec_RetryPolicy) Descriptor deprecated

func (*PipelineTaskSpec_RetryPolicy) Descriptor() ([]byte, []int)

Deprecated: Use PipelineTaskSpec_RetryPolicy.ProtoReflect.Descriptor instead.

func (*PipelineTaskSpec_RetryPolicy) GetBackoffDuration

func (x *PipelineTaskSpec_RetryPolicy) GetBackoffDuration() *durationpb.Duration

func (*PipelineTaskSpec_RetryPolicy) GetBackoffFactor

func (x *PipelineTaskSpec_RetryPolicy) GetBackoffFactor() float64

func (*PipelineTaskSpec_RetryPolicy) GetBackoffMaxDuration

func (x *PipelineTaskSpec_RetryPolicy) GetBackoffMaxDuration() *durationpb.Duration

func (*PipelineTaskSpec_RetryPolicy) GetMaxRetryCount

func (x *PipelineTaskSpec_RetryPolicy) GetMaxRetryCount() int32

func (*PipelineTaskSpec_RetryPolicy) ProtoMessage

func (*PipelineTaskSpec_RetryPolicy) ProtoMessage()

func (*PipelineTaskSpec_RetryPolicy) ProtoReflect

func (*PipelineTaskSpec_RetryPolicy) Reset

func (x *PipelineTaskSpec_RetryPolicy) Reset()

func (*PipelineTaskSpec_RetryPolicy) String

type PipelineTaskSpec_TriggerPolicy

type PipelineTaskSpec_TriggerPolicy struct {

	// An expression which will be evaluated into a boolean value. True to
	// trigger the task to run. The expression follows the language of
	// [CEL Spec][https://github.com/google/cel-spec]. It can access the data
	// from [ExecutorInput][] message of the task.
	// For example:
	// - `inputs.artifacts['model'][0].properties['accuracy']*100 > 90`
	// - `inputs.parameters['type'] == 'foo' && inputs.parameters['num'] == 1`
	Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
	// The trigger strategy of this task.  The `strategy` and `condition` are
	// in logic "AND", as a task will only be tested for the `condition` when
	// the `strategy` is meet.
	// Unset or set to default value of TRIGGER_STRATEGY_UNDEFINED behaves the
	// same as ALL_UPSTREAM_TASKS_SUCCEEDED.
	Strategy PipelineTaskSpec_TriggerPolicy_TriggerStrategy `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

Trigger policy defines how the task gets triggered. If a task is not triggered, it will run into SKIPPED state.

func (*PipelineTaskSpec_TriggerPolicy) Descriptor deprecated

func (*PipelineTaskSpec_TriggerPolicy) Descriptor() ([]byte, []int)

Deprecated: Use PipelineTaskSpec_TriggerPolicy.ProtoReflect.Descriptor instead.

func (*PipelineTaskSpec_TriggerPolicy) GetCondition

func (x *PipelineTaskSpec_TriggerPolicy) GetCondition() string

func (*PipelineTaskSpec_TriggerPolicy) GetStrategy

func (*PipelineTaskSpec_TriggerPolicy) ProtoMessage

func (*PipelineTaskSpec_TriggerPolicy) ProtoMessage()

func (*PipelineTaskSpec_TriggerPolicy) ProtoReflect

func (*PipelineTaskSpec_TriggerPolicy) Reset

func (x *PipelineTaskSpec_TriggerPolicy) Reset()

func (*PipelineTaskSpec_TriggerPolicy) String

type PipelineTaskSpec_TriggerPolicy_TriggerStrategy

type PipelineTaskSpec_TriggerPolicy_TriggerStrategy int32

An enum defines the trigger strategy of when the task will be ready to be triggered. ALL_UPSTREAM_TASKS_SUCCEEDED - all upstream tasks in succeeded state. ALL_UPSTREAM_TASKS_COMPLETED - all upstream tasks in any final state. (Note that CANCELLED is also a final state but job will not trigger new tasks when job is in CANCELLING state, so that the task with the trigger policy at ALL_UPSTREAM_TASKS_COMPLETED will not start when job cancellation is in progress.)

const (
	// Unspecified.  Behave the same as ALL_UPSTREAM_TASKS_SUCCEEDED.
	PipelineTaskSpec_TriggerPolicy_TRIGGER_STRATEGY_UNSPECIFIED PipelineTaskSpec_TriggerPolicy_TriggerStrategy = 0
	// Specifies that all upstream tasks are in succeeded state.
	PipelineTaskSpec_TriggerPolicy_ALL_UPSTREAM_TASKS_SUCCEEDED PipelineTaskSpec_TriggerPolicy_TriggerStrategy = 1
	// Specifies that all upstream tasks are in any final state.
	PipelineTaskSpec_TriggerPolicy_ALL_UPSTREAM_TASKS_COMPLETED PipelineTaskSpec_TriggerPolicy_TriggerStrategy = 2
)

func (PipelineTaskSpec_TriggerPolicy_TriggerStrategy) Descriptor

func (PipelineTaskSpec_TriggerPolicy_TriggerStrategy) Enum

func (PipelineTaskSpec_TriggerPolicy_TriggerStrategy) EnumDescriptor deprecated

Deprecated: Use PipelineTaskSpec_TriggerPolicy_TriggerStrategy.Descriptor instead.

func (PipelineTaskSpec_TriggerPolicy_TriggerStrategy) Number

func (PipelineTaskSpec_TriggerPolicy_TriggerStrategy) String

func (PipelineTaskSpec_TriggerPolicy_TriggerStrategy) Type

type PlatformDeploymentConfig

type PlatformDeploymentConfig struct {

	// Map of executor label to executor-level config
	// Mirrors PipelineSpec.deployment_spec.executors structure
	Executors map[string]*structpb.Struct `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PlatformDeploymentConfig) Descriptor deprecated

func (*PlatformDeploymentConfig) Descriptor() ([]byte, []int)

Deprecated: Use PlatformDeploymentConfig.ProtoReflect.Descriptor instead.

func (*PlatformDeploymentConfig) GetExecutors

func (x *PlatformDeploymentConfig) GetExecutors() map[string]*structpb.Struct

func (*PlatformDeploymentConfig) ProtoMessage

func (*PlatformDeploymentConfig) ProtoMessage()

func (*PlatformDeploymentConfig) ProtoReflect

func (x *PlatformDeploymentConfig) ProtoReflect() protoreflect.Message

func (*PlatformDeploymentConfig) Reset

func (x *PlatformDeploymentConfig) Reset()

func (*PlatformDeploymentConfig) String

func (x *PlatformDeploymentConfig) String() string

type PlatformSpec

type PlatformSpec struct {

	// Platform key to full platform config
	Platforms map[string]*SinglePlatformSpec `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

Spec for all platforms; second document in IR

func (*PlatformSpec) Descriptor deprecated

func (*PlatformSpec) Descriptor() ([]byte, []int)

Deprecated: Use PlatformSpec.ProtoReflect.Descriptor instead.

func (*PlatformSpec) GetPlatforms

func (x *PlatformSpec) GetPlatforms() map[string]*SinglePlatformSpec

func (*PlatformSpec) ProtoMessage

func (*PlatformSpec) ProtoMessage()

func (*PlatformSpec) ProtoReflect

func (x *PlatformSpec) ProtoReflect() protoreflect.Message

func (*PlatformSpec) Reset

func (x *PlatformSpec) Reset()

func (*PlatformSpec) String

func (x *PlatformSpec) String() string

type PrimitiveType deprecated

type PrimitiveType struct {
	// contains filtered or unexported fields
}

Represent primitive types. The wrapper is needed to give a namespace of enum value so we don't need add `PRIMITIVE_TYPE_` prefix of each enum value.

Deprecated: Do not use.

func (*PrimitiveType) Descriptor deprecated

func (*PrimitiveType) Descriptor() ([]byte, []int)

Deprecated: Use PrimitiveType.ProtoReflect.Descriptor instead.

func (*PrimitiveType) ProtoMessage

func (*PrimitiveType) ProtoMessage()

func (*PrimitiveType) ProtoReflect

func (x *PrimitiveType) ProtoReflect() protoreflect.Message

func (*PrimitiveType) Reset

func (x *PrimitiveType) Reset()

func (*PrimitiveType) String

func (x *PrimitiveType) String() string

type PrimitiveType_PrimitiveTypeEnum deprecated

type PrimitiveType_PrimitiveTypeEnum int32

The primitive types. Deprecated. Use [ParameterType.ParameterTypeEnum][] instead.

Deprecated: Do not use.

const (
	PrimitiveType_PRIMITIVE_TYPE_UNSPECIFIED PrimitiveType_PrimitiveTypeEnum = 0
	PrimitiveType_INT                        PrimitiveType_PrimitiveTypeEnum = 1
	PrimitiveType_DOUBLE                     PrimitiveType_PrimitiveTypeEnum = 2
	PrimitiveType_STRING                     PrimitiveType_PrimitiveTypeEnum = 3
)

func (PrimitiveType_PrimitiveTypeEnum) Descriptor

func (PrimitiveType_PrimitiveTypeEnum) Enum

func (PrimitiveType_PrimitiveTypeEnum) EnumDescriptor deprecated

func (PrimitiveType_PrimitiveTypeEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use PrimitiveType_PrimitiveTypeEnum.Descriptor instead.

func (PrimitiveType_PrimitiveTypeEnum) Number

func (PrimitiveType_PrimitiveTypeEnum) String

func (PrimitiveType_PrimitiveTypeEnum) Type

type RuntimeArtifact

type RuntimeArtifact struct {

	// The name of an artifact.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The type of the artifact.
	Type *ArtifactTypeSchema `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// The URI of the artifact.
	Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
	// The properties of the artifact.
	// Deprecated. Use [RuntimeArtifact.metadata][] instead.
	//
	// Deprecated: Do not use.
	Properties map[string]*Value `` /* 161-byte string literal not displayed */
	// The custom properties of the artifact.
	// Deprecated. Use [RuntimeArtifact.metadata][] instead.
	//
	// Deprecated: Do not use.
	CustomProperties map[string]*Value `` /* 197-byte string literal not displayed */
	// Properties of the Artifact.
	Metadata *structpb.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

The definition of a runtime artifact.

func (*RuntimeArtifact) Descriptor deprecated

func (*RuntimeArtifact) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeArtifact.ProtoReflect.Descriptor instead.

func (*RuntimeArtifact) GetCustomProperties deprecated

func (x *RuntimeArtifact) GetCustomProperties() map[string]*Value

Deprecated: Do not use.

func (*RuntimeArtifact) GetMetadata

func (x *RuntimeArtifact) GetMetadata() *structpb.Struct

func (*RuntimeArtifact) GetName

func (x *RuntimeArtifact) GetName() string

func (*RuntimeArtifact) GetProperties deprecated

func (x *RuntimeArtifact) GetProperties() map[string]*Value

Deprecated: Do not use.

func (*RuntimeArtifact) GetType

func (x *RuntimeArtifact) GetType() *ArtifactTypeSchema

func (*RuntimeArtifact) GetUri

func (x *RuntimeArtifact) GetUri() string

func (*RuntimeArtifact) ProtoMessage

func (*RuntimeArtifact) ProtoMessage()

func (*RuntimeArtifact) ProtoReflect

func (x *RuntimeArtifact) ProtoReflect() protoreflect.Message

func (*RuntimeArtifact) Reset

func (x *RuntimeArtifact) Reset()

func (*RuntimeArtifact) String

func (x *RuntimeArtifact) String() string

type SinglePlatformSpec

type SinglePlatformSpec struct {

	// Mirrors PipelineSpec.deployment_spec structure
	DeploymentSpec *PlatformDeploymentConfig `protobuf:"bytes,1,opt,name=deployment_spec,json=deploymentSpec,proto3" json:"deployment_spec,omitempty"`
	// contains filtered or unexported fields
}

func (*SinglePlatformSpec) Descriptor deprecated

func (*SinglePlatformSpec) Descriptor() ([]byte, []int)

Deprecated: Use SinglePlatformSpec.ProtoReflect.Descriptor instead.

func (*SinglePlatformSpec) GetDeploymentSpec

func (x *SinglePlatformSpec) GetDeploymentSpec() *PlatformDeploymentConfig

func (*SinglePlatformSpec) ProtoMessage

func (*SinglePlatformSpec) ProtoMessage()

func (*SinglePlatformSpec) ProtoReflect

func (x *SinglePlatformSpec) ProtoReflect() protoreflect.Message

func (*SinglePlatformSpec) Reset

func (x *SinglePlatformSpec) Reset()

func (*SinglePlatformSpec) String

func (x *SinglePlatformSpec) String() string

type TaskInputsSpec

type TaskInputsSpec struct {

	// A map of input parameters which are small values, stored by the system and
	// can be queriable.
	Parameters map[string]*TaskInputsSpec_InputParameterSpec `` /* 161-byte string literal not displayed */
	// A map of input artifacts.
	Artifacts map[string]*TaskInputsSpec_InputArtifactSpec `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

The spec of task inputs.

func (*TaskInputsSpec) Descriptor deprecated

func (*TaskInputsSpec) Descriptor() ([]byte, []int)

Deprecated: Use TaskInputsSpec.ProtoReflect.Descriptor instead.

func (*TaskInputsSpec) GetArtifacts

func (*TaskInputsSpec) GetParameters

func (*TaskInputsSpec) ProtoMessage

func (*TaskInputsSpec) ProtoMessage()

func (*TaskInputsSpec) ProtoReflect

func (x *TaskInputsSpec) ProtoReflect() protoreflect.Message

func (*TaskInputsSpec) Reset

func (x *TaskInputsSpec) Reset()

func (*TaskInputsSpec) String

func (x *TaskInputsSpec) String() string

type TaskInputsSpec_InputArtifactSpec

type TaskInputsSpec_InputArtifactSpec struct {

	// Types that are assignable to Kind:
	//	*TaskInputsSpec_InputArtifactSpec_TaskOutputArtifact
	//	*TaskInputsSpec_InputArtifactSpec_ComponentInputArtifact
	Kind isTaskInputsSpec_InputArtifactSpec_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

The specification of a task input artifact.

func (*TaskInputsSpec_InputArtifactSpec) Descriptor deprecated

func (*TaskInputsSpec_InputArtifactSpec) Descriptor() ([]byte, []int)

Deprecated: Use TaskInputsSpec_InputArtifactSpec.ProtoReflect.Descriptor instead.

func (*TaskInputsSpec_InputArtifactSpec) GetComponentInputArtifact

func (x *TaskInputsSpec_InputArtifactSpec) GetComponentInputArtifact() string

func (*TaskInputsSpec_InputArtifactSpec) GetKind

func (m *TaskInputsSpec_InputArtifactSpec) GetKind() isTaskInputsSpec_InputArtifactSpec_Kind

func (*TaskInputsSpec_InputArtifactSpec) GetTaskOutputArtifact

func (*TaskInputsSpec_InputArtifactSpec) ProtoMessage

func (*TaskInputsSpec_InputArtifactSpec) ProtoMessage()

func (*TaskInputsSpec_InputArtifactSpec) ProtoReflect

func (*TaskInputsSpec_InputArtifactSpec) Reset

func (*TaskInputsSpec_InputArtifactSpec) String

type TaskInputsSpec_InputArtifactSpec_ComponentInputArtifact

type TaskInputsSpec_InputArtifactSpec_ComponentInputArtifact struct {
	// Pass the input artifact from parent component input artifact.
	ComponentInputArtifact string `protobuf:"bytes,4,opt,name=component_input_artifact,json=componentInputArtifact,proto3,oneof"`
}

type TaskInputsSpec_InputArtifactSpec_TaskOutputArtifact

type TaskInputsSpec_InputArtifactSpec_TaskOutputArtifact struct {
	// Pass the input artifact from another task within the same parent
	// component.
	TaskOutputArtifact *TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec `protobuf:"bytes,3,opt,name=task_output_artifact,json=taskOutputArtifact,proto3,oneof"`
}

type TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec

type TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec struct {

	// The name of the upstream task which produces the output that matches
	// with the `output_artifact_key`.
	ProducerTask string `protobuf:"bytes,1,opt,name=producer_task,json=producerTask,proto3" json:"producer_task,omitempty"`
	// The key of [TaskOutputsSpec.artifacts][] map of the producer task.
	OutputArtifactKey string `protobuf:"bytes,2,opt,name=output_artifact_key,json=outputArtifactKey,proto3" json:"output_artifact_key,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec) Descriptor deprecated

Deprecated: Use TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec.ProtoReflect.Descriptor instead.

func (*TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec) GetOutputArtifactKey

func (*TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec) GetProducerTask

func (*TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec) ProtoMessage

func (*TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec) ProtoReflect

func (*TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec) Reset

func (*TaskInputsSpec_InputArtifactSpec_TaskOutputArtifactSpec) String

type TaskInputsSpec_InputParameterSpec

type TaskInputsSpec_InputParameterSpec struct {

	// Types that are assignable to Kind:
	//	*TaskInputsSpec_InputParameterSpec_TaskOutputParameter
	//	*TaskInputsSpec_InputParameterSpec_RuntimeValue
	//	*TaskInputsSpec_InputParameterSpec_ComponentInputParameter
	//	*TaskInputsSpec_InputParameterSpec_TaskFinalStatus_
	Kind isTaskInputsSpec_InputParameterSpec_Kind `protobuf_oneof:"kind"`
	// Selector expression of Common Expression Language (CEL)
	// that applies to the parameter found from above kind.
	//
	// The expression is applied to the Value type
	// [Value][].  For example,
	// 'size(string_value)' will return the size of the Value.string_value.
	//
	// After applying the selection, the parameter will be returned as a
	// [Value][].  The type of the Value is either deferred from the input
	// definition in the corresponding
	// [ComponentSpec.input_definitions.parameters][], or if not found,
	// automatically deferred as either string value or double value.
	//
	// In addition to the builtin functions in CEL, The value.string_value can
	// be treated as a json string and parsed to the [google.protobuf.Value][]
	// proto message. Then, the CEL expression provided in this field will be
	// used to get the requested field. For examples,
	//  - if Value.string_value is a json array of "[1.1, 2.2, 3.3]",
	//  'parseJson(string_value)[i]' will pass the ith parameter from the list
	//  to the current task, or
	//  - if the Value.string_value is a json map of "{"a": 1.1, "b": 2.2,
	//  "c": 3.3}, 'parseJson(string_value)[key]' will pass the map value from
	//  the struct map to the current task.
	//
	// If unset, the value will be passed directly to the current task.
	ParameterExpressionSelector string `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents an input parameter. The value can be taken from an upstream task's output parameter (if specifying `producer_task` and `output_parameter_key`, or it can be a runtime value, which can either be determined at compile-time, or from a pipeline parameter.

func (*TaskInputsSpec_InputParameterSpec) Descriptor deprecated

func (*TaskInputsSpec_InputParameterSpec) Descriptor() ([]byte, []int)

Deprecated: Use TaskInputsSpec_InputParameterSpec.ProtoReflect.Descriptor instead.

func (*TaskInputsSpec_InputParameterSpec) GetComponentInputParameter

func (x *TaskInputsSpec_InputParameterSpec) GetComponentInputParameter() string

func (*TaskInputsSpec_InputParameterSpec) GetKind

func (m *TaskInputsSpec_InputParameterSpec) GetKind() isTaskInputsSpec_InputParameterSpec_Kind

func (*TaskInputsSpec_InputParameterSpec) GetParameterExpressionSelector

func (x *TaskInputsSpec_InputParameterSpec) GetParameterExpressionSelector() string

func (*TaskInputsSpec_InputParameterSpec) GetRuntimeValue

func (*TaskInputsSpec_InputParameterSpec) GetTaskFinalStatus

func (*TaskInputsSpec_InputParameterSpec) GetTaskOutputParameter

func (*TaskInputsSpec_InputParameterSpec) ProtoMessage

func (*TaskInputsSpec_InputParameterSpec) ProtoMessage()

func (*TaskInputsSpec_InputParameterSpec) ProtoReflect

func (*TaskInputsSpec_InputParameterSpec) Reset

func (*TaskInputsSpec_InputParameterSpec) String

type TaskInputsSpec_InputParameterSpec_ComponentInputParameter

type TaskInputsSpec_InputParameterSpec_ComponentInputParameter struct {
	// Pass the input parameter from parent component input parameter.
	ComponentInputParameter string `protobuf:"bytes,3,opt,name=component_input_parameter,json=componentInputParameter,proto3,oneof"`
}

type TaskInputsSpec_InputParameterSpec_RuntimeValue

type TaskInputsSpec_InputParameterSpec_RuntimeValue struct {
	// A constant value or runtime parameter.
	RuntimeValue *ValueOrRuntimeParameter `protobuf:"bytes,2,opt,name=runtime_value,json=runtimeValue,proto3,oneof"`
}

type TaskInputsSpec_InputParameterSpec_TaskFinalStatus

type TaskInputsSpec_InputParameterSpec_TaskFinalStatus struct {

	// The name of the upsteram task where the final status is coming from.
	ProducerTask string `protobuf:"bytes,1,opt,name=producer_task,json=producerTask,proto3" json:"producer_task,omitempty"`
	// contains filtered or unexported fields
}

Represents an upstream task's final status. The field can only be set if the schema version is `2.0.0`. The resolved input parameter will be a json payload in string type.

func (*TaskInputsSpec_InputParameterSpec_TaskFinalStatus) Descriptor deprecated

Deprecated: Use TaskInputsSpec_InputParameterSpec_TaskFinalStatus.ProtoReflect.Descriptor instead.

func (*TaskInputsSpec_InputParameterSpec_TaskFinalStatus) GetProducerTask

func (*TaskInputsSpec_InputParameterSpec_TaskFinalStatus) ProtoMessage

func (*TaskInputsSpec_InputParameterSpec_TaskFinalStatus) ProtoReflect

func (*TaskInputsSpec_InputParameterSpec_TaskFinalStatus) Reset

func (*TaskInputsSpec_InputParameterSpec_TaskFinalStatus) String

type TaskInputsSpec_InputParameterSpec_TaskFinalStatus_

type TaskInputsSpec_InputParameterSpec_TaskFinalStatus_ struct {
	// The final status of an uptream task.
	TaskFinalStatus *TaskInputsSpec_InputParameterSpec_TaskFinalStatus `protobuf:"bytes,5,opt,name=task_final_status,json=taskFinalStatus,proto3,oneof"`
}

type TaskInputsSpec_InputParameterSpec_TaskOutputParameter

type TaskInputsSpec_InputParameterSpec_TaskOutputParameter struct {
	// Output parameter from an upstream task.
	TaskOutputParameter *TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec `protobuf:"bytes,1,opt,name=task_output_parameter,json=taskOutputParameter,proto3,oneof"`
}

type TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec

type TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec struct {

	// The name of the upstream task which produces the output parameter that
	// matches with the `output_parameter_key`.
	ProducerTask string `protobuf:"bytes,1,opt,name=producer_task,json=producerTask,proto3" json:"producer_task,omitempty"`
	// The key of [TaskOutputsSpec.parameters][] map of the producer task.
	OutputParameterKey string `protobuf:"bytes,2,opt,name=output_parameter_key,json=outputParameterKey,proto3" json:"output_parameter_key,omitempty"`
	// contains filtered or unexported fields
}

Represents an upstream task's output parameter.

func (*TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec) Descriptor deprecated

Deprecated: Use TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec.ProtoReflect.Descriptor instead.

func (*TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec) GetOutputParameterKey

func (*TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec) GetProducerTask

func (*TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec) ProtoMessage

func (*TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec) ProtoReflect

func (*TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec) Reset

func (*TaskInputsSpec_InputParameterSpec_TaskOutputParameterSpec) String

type TaskOutputsSpec

type TaskOutputsSpec struct {

	// A map of output parameters which are small values, stored by the system and
	// can be queriable. The output key is used
	// by [TaskInputsSpec.InputParameterSpec][] of the downstream task to specify
	// the data dependency. The same key will also be used by
	// [ExecutorInput.Inputs][] to reference the output parameter.
	Parameters map[string]*TaskOutputsSpec_OutputParameterSpec `` /* 161-byte string literal not displayed */
	// A map of output artifacts. Keyed by output key. The output key is used
	// by [TaskInputsSpec.InputArtifactSpec][] of the downstream task to specify
	// the data dependency. The same key will also be used by
	// [ExecutorInput.Inputs][] to reference the output artifact.
	Artifacts map[string]*TaskOutputsSpec_OutputArtifactSpec `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

The spec of task outputs.

func (*TaskOutputsSpec) Descriptor deprecated

func (*TaskOutputsSpec) Descriptor() ([]byte, []int)

Deprecated: Use TaskOutputsSpec.ProtoReflect.Descriptor instead.

func (*TaskOutputsSpec) GetArtifacts

func (*TaskOutputsSpec) GetParameters

func (*TaskOutputsSpec) ProtoMessage

func (*TaskOutputsSpec) ProtoMessage()

func (*TaskOutputsSpec) ProtoReflect

func (x *TaskOutputsSpec) ProtoReflect() protoreflect.Message

func (*TaskOutputsSpec) Reset

func (x *TaskOutputsSpec) Reset()

func (*TaskOutputsSpec) String

func (x *TaskOutputsSpec) String() string

type TaskOutputsSpec_OutputArtifactSpec

type TaskOutputsSpec_OutputArtifactSpec struct {

	// The type of the artifact.
	ArtifactType *ArtifactTypeSchema `protobuf:"bytes,1,opt,name=artifact_type,json=artifactType,proto3" json:"artifact_type,omitempty"`
	// The properties of the artifact, which are determined either at
	// compile-time, or at pipeline submission time through runtime parameters
	Properties map[string]*ValueOrRuntimeParameter `` /* 161-byte string literal not displayed */
	// The custom properties of the artifact, which are determined either at
	// compile-time, or at pipeline submission time through runtime parameters
	CustomProperties map[string]*ValueOrRuntimeParameter `` /* 197-byte string literal not displayed */
	// contains filtered or unexported fields
}

The specification of a task output artifact.

func (*TaskOutputsSpec_OutputArtifactSpec) Descriptor deprecated

func (*TaskOutputsSpec_OutputArtifactSpec) Descriptor() ([]byte, []int)

Deprecated: Use TaskOutputsSpec_OutputArtifactSpec.ProtoReflect.Descriptor instead.

func (*TaskOutputsSpec_OutputArtifactSpec) GetArtifactType

func (*TaskOutputsSpec_OutputArtifactSpec) GetCustomProperties

func (*TaskOutputsSpec_OutputArtifactSpec) GetProperties

func (*TaskOutputsSpec_OutputArtifactSpec) ProtoMessage

func (*TaskOutputsSpec_OutputArtifactSpec) ProtoMessage()

func (*TaskOutputsSpec_OutputArtifactSpec) ProtoReflect

func (*TaskOutputsSpec_OutputArtifactSpec) Reset

func (*TaskOutputsSpec_OutputArtifactSpec) String

type TaskOutputsSpec_OutputParameterSpec

type TaskOutputsSpec_OutputParameterSpec struct {

	// Required field. The type of the output parameter.
	Type PrimitiveType_PrimitiveTypeEnum `protobuf:"varint,1,opt,name=type,proto3,enum=ml_pipelines.PrimitiveType_PrimitiveTypeEnum" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Specification for output parameters produced by the task.

func (*TaskOutputsSpec_OutputParameterSpec) Descriptor deprecated

func (*TaskOutputsSpec_OutputParameterSpec) Descriptor() ([]byte, []int)

Deprecated: Use TaskOutputsSpec_OutputParameterSpec.ProtoReflect.Descriptor instead.

func (*TaskOutputsSpec_OutputParameterSpec) GetType

func (*TaskOutputsSpec_OutputParameterSpec) ProtoMessage

func (*TaskOutputsSpec_OutputParameterSpec) ProtoMessage()

func (*TaskOutputsSpec_OutputParameterSpec) ProtoReflect

func (*TaskOutputsSpec_OutputParameterSpec) Reset

func (*TaskOutputsSpec_OutputParameterSpec) String

type Value

type Value struct {

	// Types that are assignable to Value:
	//	*Value_IntValue
	//	*Value_DoubleValue
	//	*Value_StringValue
	Value isValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

Value is the value of the field.

func (*Value) Descriptor deprecated

func (*Value) Descriptor() ([]byte, []int)

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetDoubleValue

func (x *Value) GetDoubleValue() float64

func (*Value) GetIntValue

func (x *Value) GetIntValue() int64

func (*Value) GetStringValue

func (x *Value) GetStringValue() string

func (*Value) GetValue

func (m *Value) GetValue() isValue_Value

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

func (x *Value) ProtoReflect() protoreflect.Message

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

type ValueOrRuntimeParameter

type ValueOrRuntimeParameter struct {

	// Types that are assignable to Value:
	//	*ValueOrRuntimeParameter_ConstantValue
	//	*ValueOrRuntimeParameter_RuntimeParameter
	//	*ValueOrRuntimeParameter_Constant
	Value isValueOrRuntimeParameter_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

Definition for a value or reference to a runtime parameter. A ValueOrRuntimeParameter instance can be either a field value that is determined during compilation time, or a runtime parameter which will be determined during runtime.

func (*ValueOrRuntimeParameter) Descriptor deprecated

func (*ValueOrRuntimeParameter) Descriptor() ([]byte, []int)

Deprecated: Use ValueOrRuntimeParameter.ProtoReflect.Descriptor instead.

func (*ValueOrRuntimeParameter) GetConstant

func (x *ValueOrRuntimeParameter) GetConstant() *structpb.Value

func (*ValueOrRuntimeParameter) GetConstantValue deprecated

func (x *ValueOrRuntimeParameter) GetConstantValue() *Value

Deprecated: Do not use.

func (*ValueOrRuntimeParameter) GetRuntimeParameter

func (x *ValueOrRuntimeParameter) GetRuntimeParameter() string

func (*ValueOrRuntimeParameter) GetValue

func (m *ValueOrRuntimeParameter) GetValue() isValueOrRuntimeParameter_Value

func (*ValueOrRuntimeParameter) ProtoMessage

func (*ValueOrRuntimeParameter) ProtoMessage()

func (*ValueOrRuntimeParameter) ProtoReflect

func (x *ValueOrRuntimeParameter) ProtoReflect() protoreflect.Message

func (*ValueOrRuntimeParameter) Reset

func (x *ValueOrRuntimeParameter) Reset()

func (*ValueOrRuntimeParameter) String

func (x *ValueOrRuntimeParameter) String() string

type ValueOrRuntimeParameter_Constant

type ValueOrRuntimeParameter_Constant struct {
	// Constant value which is determined in compile time.
	Constant *structpb.Value `protobuf:"bytes,3,opt,name=constant,proto3,oneof"`
}

type ValueOrRuntimeParameter_ConstantValue

type ValueOrRuntimeParameter_ConstantValue struct {
	// Constant value which is determined in compile time.
	// Deprecated. Use [ValueOrRuntimeParameter.constant][] instead.
	//
	// Deprecated: Do not use.
	ConstantValue *Value `protobuf:"bytes,1,opt,name=constant_value,json=constantValue,proto3,oneof"`
}

type ValueOrRuntimeParameter_RuntimeParameter

type ValueOrRuntimeParameter_RuntimeParameter struct {
	// The runtime parameter refers to the parent component input parameter.
	RuntimeParameter string `protobuf:"bytes,2,opt,name=runtime_parameter,json=runtimeParameter,proto3,oneof"`
}

type Value_DoubleValue

type Value_DoubleValue struct {
	// A double value
	DoubleValue float64 `protobuf:"fixed64,2,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type Value_IntValue

type Value_IntValue struct {
	// An integer value
	IntValue int64 `protobuf:"varint,1,opt,name=int_value,json=intValue,proto3,oneof"`
}

type Value_StringValue

type Value_StringValue struct {
	// A string value
	StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL