#[non_exhaustive]pub struct PipelineTaskDetail {Show 13 fields
pub task_id: i64,
pub parent_task_id: i64,
pub task_name: String,
pub create_time: Option<Timestamp>,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub executor_detail: Option<PipelineTaskExecutorDetail>,
pub state: State,
pub execution: Option<Execution>,
pub error: Option<Status>,
pub pipeline_task_status: Vec<PipelineTaskStatus>,
pub inputs: HashMap<String, ArtifactList>,
pub outputs: HashMap<String, ArtifactList>,
/* private fields */
}Expand description
The runtime detail of a task execution.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.task_id: i64Output only. The system generated ID of the task.
parent_task_id: i64Output only. The id of the parent task if the task is within a component scope. Empty if the task is at the root level.
task_name: StringOutput only. The user specified name of the task that is defined in pipeline_spec.
create_time: Option<Timestamp>Output only. Task create time.
start_time: Option<Timestamp>Output only. Task start time.
end_time: Option<Timestamp>Output only. Task end time.
executor_detail: Option<PipelineTaskExecutorDetail>Output only. The detailed execution info.
state: StateOutput only. State of the task.
execution: Option<Execution>Output only. The execution metadata of the task.
error: Option<Status>Output only. The error that occurred during task execution. Only populated when the task’s state is FAILED or CANCELLED.
pipeline_task_status: Vec<PipelineTaskStatus>Output only. A list of task status. This field keeps a record of task status evolving over time.
inputs: HashMap<String, ArtifactList>Output only. The runtime input artifacts of the task.
outputs: HashMap<String, ArtifactList>Output only. The runtime output artifacts of the task.
Implementations§
Source§impl PipelineTaskDetail
impl PipelineTaskDetail
pub fn new() -> Self
Sourcepub fn set_task_id<T: Into<i64>>(self, v: T) -> Self
pub fn set_task_id<T: Into<i64>>(self, v: T) -> Self
Sets the value of task_id.
Sourcepub fn set_parent_task_id<T: Into<i64>>(self, v: T) -> Self
pub fn set_parent_task_id<T: Into<i64>>(self, v: T) -> Self
Sets the value of parent_task_id.
Sourcepub fn set_task_name<T: Into<String>>(self, v: T) -> Self
pub fn set_task_name<T: Into<String>>(self, v: T) -> Self
Sets the value of task_name.
Sourcepub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_start_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_start_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of start_time.
Sourcepub fn set_end_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_end_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of end_time.
Sourcepub fn set_executor_detail<T: Into<Option<PipelineTaskExecutorDetail>>>(
self,
v: T,
) -> Self
pub fn set_executor_detail<T: Into<Option<PipelineTaskExecutorDetail>>>( self, v: T, ) -> Self
Sets the value of executor_detail.
Sourcepub fn set_execution<T: Into<Option<Execution>>>(self, v: T) -> Self
pub fn set_execution<T: Into<Option<Execution>>>(self, v: T) -> Self
Sets the value of execution.
Sourcepub fn set_pipeline_task_status<T, V>(self, v: T) -> Self
pub fn set_pipeline_task_status<T, V>(self, v: T) -> Self
Sets the value of pipeline_task_status.
Sourcepub fn set_inputs<T, K, V>(self, v: T) -> Self
pub fn set_inputs<T, K, V>(self, v: T) -> Self
Sets the value of inputs.
Sourcepub fn set_outputs<T, K, V>(self, v: T) -> Self
pub fn set_outputs<T, K, V>(self, v: T) -> Self
Sets the value of outputs.
Trait Implementations§
Source§impl Clone for PipelineTaskDetail
impl Clone for PipelineTaskDetail
Source§fn clone(&self) -> PipelineTaskDetail
fn clone(&self) -> PipelineTaskDetail
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more