Package flyteidl.admin
Interface TaskExecutionOuterClass.TaskExecutionClosureOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TaskExecutionOuterClass.TaskExecutionClosure,TaskExecutionOuterClass.TaskExecutionClosure.Builder
- Enclosing class:
- TaskExecutionOuterClass
public static interface TaskExecutionOuterClass.TaskExecutionClosureOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreatedAt()Time at which the task execution was created.com.google.protobuf.TimestampOrBuildergetCreatedAtOrBuilder()Time at which the task execution was created.com.google.protobuf.StructgetCustomInfo()Custom data specific to the task plugin.com.google.protobuf.StructOrBuildergetCustomInfoOrBuilder()Custom data specific to the task plugin.com.google.protobuf.DurationgetDuration()The amount of time the task execution spent running.com.google.protobuf.DurationOrBuildergetDurationOrBuilder()The amount of time the task execution spent running.Execution.ExecutionErrorgetError()Error information for the task execution.Execution.ExecutionErrorOrBuildergetErrorOrBuilder()Error information for the task execution.intgetEventVersion()The event version is used to indicate versioned changes in how data is maintained using this proto message.Execution.TaskLoggetLogs(int index)Detailed log information output by the task execution.intgetLogsCount()Detailed log information output by the task execution.List<Execution.TaskLog>getLogsList()Detailed log information output by the task execution.Execution.TaskLogOrBuildergetLogsOrBuilder(int index)Detailed log information output by the task execution.List<? extends Execution.TaskLogOrBuilder>getLogsOrBuilderList()Detailed log information output by the task execution.Event.TaskExecutionMetadatagetMetadata()Metadata around how a task was executed.Event.TaskExecutionMetadataOrBuildergetMetadataOrBuilder()Metadata around how a task was executed.Literals.LiteralMapgetOutputData()Deprecated.flyteidl.admin.TaskExecutionClosure.output_data is deprecated.Literals.LiteralMapOrBuildergetOutputDataOrBuilder()Deprecated.TaskExecutionOuterClass.TaskExecutionClosure.OutputResultCasegetOutputResultCase()StringgetOutputUri()Deprecated.flyteidl.admin.TaskExecutionClosure.output_uri is deprecated.com.google.protobuf.ByteStringgetOutputUriBytes()Deprecated.flyteidl.admin.TaskExecutionClosure.output_uri is deprecated.Execution.TaskExecution.PhasegetPhase()The last recorded phase for this task execution.intgetPhaseValue()The last recorded phase for this task execution.StringgetReason()If there is an explanation for the most recent phase transition, the reason will capture it.com.google.protobuf.ByteStringgetReasonBytes()If there is an explanation for the most recent phase transition, the reason will capture it.com.google.protobuf.TimestampgetStartedAt()Time at which the task execution began running.com.google.protobuf.TimestampOrBuildergetStartedAtOrBuilder()Time at which the task execution began running.StringgetTaskType()A predefined yet extensible Task type identifier.com.google.protobuf.ByteStringgetTaskTypeBytes()A predefined yet extensible Task type identifier.com.google.protobuf.TimestampgetUpdatedAt()Time at which the task execution was last updated.com.google.protobuf.TimestampOrBuildergetUpdatedAtOrBuilder()Time at which the task execution was last updated.booleanhasCreatedAt()Time at which the task execution was created.booleanhasCustomInfo()Custom data specific to the task plugin.booleanhasDuration()The amount of time the task execution spent running.booleanhasError()Error information for the task execution.booleanhasMetadata()Metadata around how a task was executed.booleanhasOutputData()Deprecated.flyteidl.admin.TaskExecutionClosure.output_data is deprecated.booleanhasOutputUri()Deprecated.flyteidl.admin.TaskExecutionClosure.output_uri is deprecated.booleanhasStartedAt()Time at which the task execution began running.booleanhasUpdatedAt()Time at which the task execution was last updated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasOutputUri
@Deprecated boolean hasOutputUri()
Deprecated.flyteidl.admin.TaskExecutionClosure.output_uri is deprecated. See flyteidl/admin/task_execution.proto;l=80Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
string output_uri = 1 [deprecated = true];- Returns:
- Whether the outputUri field is set.
-
getOutputUri
@Deprecated String getOutputUri()
Deprecated.flyteidl.admin.TaskExecutionClosure.output_uri is deprecated. See flyteidl/admin/task_execution.proto;l=80Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
string output_uri = 1 [deprecated = true];- Returns:
- The outputUri.
-
getOutputUriBytes
@Deprecated com.google.protobuf.ByteString getOutputUriBytes()
Deprecated.flyteidl.admin.TaskExecutionClosure.output_uri is deprecated. See flyteidl/admin/task_execution.proto;l=80Path to remote data store where output blob is stored if the execution succeeded (and produced outputs). DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
string output_uri = 1 [deprecated = true];- Returns:
- The bytes for outputUri.
-
hasError
boolean hasError()
Error information for the task execution. Populated if the execution failed.
.flyteidl.core.ExecutionError error = 2;- Returns:
- Whether the error field is set.
-
getError
Execution.ExecutionError getError()
Error information for the task execution. Populated if the execution failed.
.flyteidl.core.ExecutionError error = 2;- Returns:
- The error.
-
getErrorOrBuilder
Execution.ExecutionErrorOrBuilder getErrorOrBuilder()
Error information for the task execution. Populated if the execution failed.
.flyteidl.core.ExecutionError error = 2;
-
hasOutputData
@Deprecated boolean hasOutputData()
Deprecated.flyteidl.admin.TaskExecutionClosure.output_data is deprecated. See flyteidl/admin/task_execution.proto;l=87Raw output data produced by this task execution. DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
.flyteidl.core.LiteralMap output_data = 12 [deprecated = true];- Returns:
- Whether the outputData field is set.
-
getOutputData
@Deprecated Literals.LiteralMap getOutputData()
Deprecated.flyteidl.admin.TaskExecutionClosure.output_data is deprecated. See flyteidl/admin/task_execution.proto;l=87Raw output data produced by this task execution. DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
.flyteidl.core.LiteralMap output_data = 12 [deprecated = true];- Returns:
- The outputData.
-
getOutputDataOrBuilder
@Deprecated Literals.LiteralMapOrBuilder getOutputDataOrBuilder()
Deprecated.Raw output data produced by this task execution. DEPRECATED. Use GetTaskExecutionData to fetch output data instead.
.flyteidl.core.LiteralMap output_data = 12 [deprecated = true];
-
getPhaseValue
int getPhaseValue()
The last recorded phase for this task execution.
.flyteidl.core.TaskExecution.Phase phase = 3;- Returns:
- The enum numeric value on the wire for phase.
-
getPhase
Execution.TaskExecution.Phase getPhase()
The last recorded phase for this task execution.
.flyteidl.core.TaskExecution.Phase phase = 3;- Returns:
- The phase.
-
getLogsList
List<Execution.TaskLog> getLogsList()
Detailed log information output by the task execution.
repeated .flyteidl.core.TaskLog logs = 4;
-
getLogs
Execution.TaskLog getLogs(int index)
Detailed log information output by the task execution.
repeated .flyteidl.core.TaskLog logs = 4;
-
getLogsCount
int getLogsCount()
Detailed log information output by the task execution.
repeated .flyteidl.core.TaskLog logs = 4;
-
getLogsOrBuilderList
List<? extends Execution.TaskLogOrBuilder> getLogsOrBuilderList()
Detailed log information output by the task execution.
repeated .flyteidl.core.TaskLog logs = 4;
-
getLogsOrBuilder
Execution.TaskLogOrBuilder getLogsOrBuilder(int index)
Detailed log information output by the task execution.
repeated .flyteidl.core.TaskLog logs = 4;
-
hasStartedAt
boolean hasStartedAt()
Time at which the task execution began running.
.google.protobuf.Timestamp started_at = 5;- Returns:
- Whether the startedAt field is set.
-
getStartedAt
com.google.protobuf.Timestamp getStartedAt()
Time at which the task execution began running.
.google.protobuf.Timestamp started_at = 5;- Returns:
- The startedAt.
-
getStartedAtOrBuilder
com.google.protobuf.TimestampOrBuilder getStartedAtOrBuilder()
Time at which the task execution began running.
.google.protobuf.Timestamp started_at = 5;
-
hasDuration
boolean hasDuration()
The amount of time the task execution spent running.
.google.protobuf.Duration duration = 6;- Returns:
- Whether the duration field is set.
-
getDuration
com.google.protobuf.Duration getDuration()
The amount of time the task execution spent running.
.google.protobuf.Duration duration = 6;- Returns:
- The duration.
-
getDurationOrBuilder
com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
The amount of time the task execution spent running.
.google.protobuf.Duration duration = 6;
-
hasCreatedAt
boolean hasCreatedAt()
Time at which the task execution was created.
.google.protobuf.Timestamp created_at = 7;- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
com.google.protobuf.Timestamp getCreatedAt()
Time at which the task execution was created.
.google.protobuf.Timestamp created_at = 7;- Returns:
- The createdAt.
-
getCreatedAtOrBuilder
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()
Time at which the task execution was created.
.google.protobuf.Timestamp created_at = 7;
-
hasUpdatedAt
boolean hasUpdatedAt()
Time at which the task execution was last updated.
.google.protobuf.Timestamp updated_at = 8;- Returns:
- Whether the updatedAt field is set.
-
getUpdatedAt
com.google.protobuf.Timestamp getUpdatedAt()
Time at which the task execution was last updated.
.google.protobuf.Timestamp updated_at = 8;- Returns:
- The updatedAt.
-
getUpdatedAtOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder()
Time at which the task execution was last updated.
.google.protobuf.Timestamp updated_at = 8;
-
hasCustomInfo
boolean hasCustomInfo()
Custom data specific to the task plugin.
.google.protobuf.Struct custom_info = 9;- Returns:
- Whether the customInfo field is set.
-
getCustomInfo
com.google.protobuf.Struct getCustomInfo()
Custom data specific to the task plugin.
.google.protobuf.Struct custom_info = 9;- Returns:
- The customInfo.
-
getCustomInfoOrBuilder
com.google.protobuf.StructOrBuilder getCustomInfoOrBuilder()
Custom data specific to the task plugin.
.google.protobuf.Struct custom_info = 9;
-
getReason
String getReason()
If there is an explanation for the most recent phase transition, the reason will capture it.
string reason = 10;- Returns:
- The reason.
-
getReasonBytes
com.google.protobuf.ByteString getReasonBytes()
If there is an explanation for the most recent phase transition, the reason will capture it.
string reason = 10;- Returns:
- The bytes for reason.
-
getTaskType
String getTaskType()
A predefined yet extensible Task type identifier.
string task_type = 11;- Returns:
- The taskType.
-
getTaskTypeBytes
com.google.protobuf.ByteString getTaskTypeBytes()
A predefined yet extensible Task type identifier.
string task_type = 11;- Returns:
- The bytes for taskType.
-
hasMetadata
boolean hasMetadata()
Metadata around how a task was executed.
.flyteidl.event.TaskExecutionMetadata metadata = 16;- Returns:
- Whether the metadata field is set.
-
getMetadata
Event.TaskExecutionMetadata getMetadata()
Metadata around how a task was executed.
.flyteidl.event.TaskExecutionMetadata metadata = 16;- Returns:
- The metadata.
-
getMetadataOrBuilder
Event.TaskExecutionMetadataOrBuilder getMetadataOrBuilder()
Metadata around how a task was executed.
.flyteidl.event.TaskExecutionMetadata metadata = 16;
-
getEventVersion
int getEventVersion()
The event version is used to indicate versioned changes in how data is maintained using this proto message. For example, event_verison > 0 means that maps tasks logs use the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message.
int32 event_version = 17;- Returns:
- The eventVersion.
-
getOutputResultCase
TaskExecutionOuterClass.TaskExecutionClosure.OutputResultCase getOutputResultCase()
-
-