Package flyteidl.event
Class Event.TaskExecutionEvent
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.event.Event.TaskExecutionEvent
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Event.TaskExecutionEventOrBuilder,Serializable
- Enclosing class:
- Event
public static final class Event.TaskExecutionEvent extends com.google.protobuf.GeneratedMessageV3 implements Event.TaskExecutionEventOrBuilder
Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob.
Protobuf typeflyteidl.event.TaskExecutionEvent- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvent.TaskExecutionEvent.BuilderPlugin specific execution event information.static classEvent.TaskExecutionEvent.OutputResultCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateTaskExecutionEvent()privateTaskExecutionEvent(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.StructgetCustomInfo()Custom data that the task plugin sends back.com.google.protobuf.StructOrBuildergetCustomInfoOrBuilder()Custom data that the task plugin sends back.static Event.TaskExecutionEventgetDefaultInstance()Event.TaskExecutionEventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Execution.ExecutionErrorgetError()Error information for the executionExecution.ExecutionErrorOrBuildergetErrorOrBuilder()Error information for the executionintgetEventVersion()The event version is used to indicate versioned changes in how data is reported using this proto message.StringgetInputUri()URI of the input file, it encodes all the information including Cloud source provider.com.google.protobuf.ByteStringgetInputUriBytes()URI of the input file, it encodes all the information including Cloud source provider.Execution.TaskLoggetLogs(int index)log information for the task executionintgetLogsCount()log information for the task executionList<Execution.TaskLog>getLogsList()log information for the task executionExecution.TaskLogOrBuildergetLogsOrBuilder(int index)log information for the task executionList<? extends Execution.TaskLogOrBuilder>getLogsOrBuilderList()log information for the task executionEvent.TaskExecutionMetadatagetMetadata()Metadata around how a task was executed.Event.TaskExecutionMetadataOrBuildergetMetadataOrBuilder()Metadata around how a task was executed.com.google.protobuf.TimestampgetOccurredAt()This timestamp represents when the original event occurred, it is generated by the executor of the task.com.google.protobuf.TimestampOrBuildergetOccurredAtOrBuilder()This timestamp represents when the original event occurred, it is generated by the executor of the task.Literals.LiteralMapgetOutputData()Raw output data produced by this task execution.Literals.LiteralMapOrBuildergetOutputDataOrBuilder()Raw output data produced by this task execution.Event.TaskExecutionEvent.OutputResultCasegetOutputResultCase()StringgetOutputUri()URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider.com.google.protobuf.ByteStringgetOutputUriBytes()URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider.IdentifierOuterClass.NodeExecutionIdentifiergetParentNodeExecutionId()A task execution is always kicked off by a node execution, the event consumer will use the parent_id to relate the task to it's parent node executionIdentifierOuterClass.NodeExecutionIdentifierOrBuildergetParentNodeExecutionIdOrBuilder()A task execution is always kicked off by a node execution, the event consumer will use the parent_id to relate the task to it's parent node executioncom.google.protobuf.Parser<Event.TaskExecutionEvent>getParserForType()Execution.TaskExecution.PhasegetPhase()Phase associated with the eventintgetPhaseValue()Phase associated with the eventintgetPhaseVersion()Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc) that should be recorded regardless of the lack of phase change.StringgetProducerId()id of the process that sent this event, mainly for trace debuggingcom.google.protobuf.ByteStringgetProducerIdBytes()id of the process that sent this event, mainly for trace debuggingStringgetReason()An optional explanation for the phase transition.com.google.protobuf.ByteStringgetReasonBytes()An optional explanation for the phase transition.intgetRetryAttempt()retry attempt number for this task, ie., 2 for the second attemptintgetSerializedSize()IdentifierOuterClass.IdentifiergetTaskId()ID of the task.IdentifierOuterClass.IdentifierOrBuildergetTaskIdOrBuilder()ID of the task.StringgetTaskType()A predefined yet extensible Task type identifier.com.google.protobuf.ByteStringgetTaskTypeBytes()A predefined yet extensible Task type identifier.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasCustomInfo()Custom data that the task plugin sends back.booleanhasError()Error information for the executioninthashCode()booleanhasMetadata()Metadata around how a task was executed.booleanhasOccurredAt()This timestamp represents when the original event occurred, it is generated by the executor of the task.booleanhasOutputData()Raw output data produced by this task execution.booleanhasOutputUri()URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider.booleanhasParentNodeExecutionId()A task execution is always kicked off by a node execution, the event consumer will use the parent_id to relate the task to it's parent node executionbooleanhasTaskId()ID of the task.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Event.TaskExecutionEvent.BuildernewBuilder()static Event.TaskExecutionEvent.BuildernewBuilder(Event.TaskExecutionEvent prototype)Event.TaskExecutionEvent.BuildernewBuilderForType()protected Event.TaskExecutionEvent.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Event.TaskExecutionEventparseDelimitedFrom(InputStream input)static Event.TaskExecutionEventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.TaskExecutionEventparseFrom(byte[] data)static Event.TaskExecutionEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.TaskExecutionEventparseFrom(com.google.protobuf.ByteString data)static Event.TaskExecutionEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.TaskExecutionEventparseFrom(com.google.protobuf.CodedInputStream input)static Event.TaskExecutionEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.TaskExecutionEventparseFrom(InputStream input)static Event.TaskExecutionEventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.TaskExecutionEventparseFrom(ByteBuffer data)static Event.TaskExecutionEventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Event.TaskExecutionEvent>parser()Event.TaskExecutionEvent.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
outputResultCase_
private int outputResultCase_
-
outputResult_
private Object outputResult_
-
TASK_ID_FIELD_NUMBER
public static final int TASK_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
taskId_
private IdentifierOuterClass.Identifier taskId_
-
PARENT_NODE_EXECUTION_ID_FIELD_NUMBER
public static final int PARENT_NODE_EXECUTION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
parentNodeExecutionId_
private IdentifierOuterClass.NodeExecutionIdentifier parentNodeExecutionId_
-
RETRY_ATTEMPT_FIELD_NUMBER
public static final int RETRY_ATTEMPT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
retryAttempt_
private int retryAttempt_
-
PHASE_FIELD_NUMBER
public static final int PHASE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
phase_
private int phase_
-
PRODUCER_ID_FIELD_NUMBER
public static final int PRODUCER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
producerId_
private volatile Object producerId_
-
LOGS_FIELD_NUMBER
public static final int LOGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
logs_
private List<Execution.TaskLog> logs_
-
OCCURRED_AT_FIELD_NUMBER
public static final int OCCURRED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
occurredAt_
private com.google.protobuf.Timestamp occurredAt_
-
INPUT_URI_FIELD_NUMBER
public static final int INPUT_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
inputUri_
private volatile Object inputUri_
-
OUTPUT_URI_FIELD_NUMBER
public static final int OUTPUT_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTPUT_DATA_FIELD_NUMBER
public static final int OUTPUT_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_INFO_FIELD_NUMBER
public static final int CUSTOM_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
customInfo_
private com.google.protobuf.Struct customInfo_
-
PHASE_VERSION_FIELD_NUMBER
public static final int PHASE_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
phaseVersion_
private int phaseVersion_
-
REASON_FIELD_NUMBER
public static final int REASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
reason_
private volatile Object reason_
-
TASK_TYPE_FIELD_NUMBER
public static final int TASK_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
taskType_
private volatile Object taskType_
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
metadata_
private Event.TaskExecutionMetadata metadata_
-
EVENT_VERSION_FIELD_NUMBER
public static final int EVENT_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
eventVersion_
private int eventVersion_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Event.TaskExecutionEvent DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Event.TaskExecutionEvent> PARSER
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getOutputResultCase
public Event.TaskExecutionEvent.OutputResultCase getOutputResultCase()
- Specified by:
getOutputResultCasein interfaceEvent.TaskExecutionEventOrBuilder
-
hasTaskId
public boolean hasTaskId()
ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution.
.flyteidl.core.Identifier task_id = 1;- Specified by:
hasTaskIdin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- Whether the taskId field is set.
-
getTaskId
public IdentifierOuterClass.Identifier getTaskId()
ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution.
.flyteidl.core.Identifier task_id = 1;- Specified by:
getTaskIdin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The taskId.
-
getTaskIdOrBuilder
public IdentifierOuterClass.IdentifierOrBuilder getTaskIdOrBuilder()
ID of the task. In combination with the retryAttempt this will indicate the task execution uniquely for a given parent node execution.
.flyteidl.core.Identifier task_id = 1;- Specified by:
getTaskIdOrBuilderin interfaceEvent.TaskExecutionEventOrBuilder
-
hasParentNodeExecutionId
public boolean hasParentNodeExecutionId()
A task execution is always kicked off by a node execution, the event consumer will use the parent_id to relate the task to it's parent node execution
.flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2;- Specified by:
hasParentNodeExecutionIdin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- Whether the parentNodeExecutionId field is set.
-
getParentNodeExecutionId
public IdentifierOuterClass.NodeExecutionIdentifier getParentNodeExecutionId()
A task execution is always kicked off by a node execution, the event consumer will use the parent_id to relate the task to it's parent node execution
.flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2;- Specified by:
getParentNodeExecutionIdin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The parentNodeExecutionId.
-
getParentNodeExecutionIdOrBuilder
public IdentifierOuterClass.NodeExecutionIdentifierOrBuilder getParentNodeExecutionIdOrBuilder()
A task execution is always kicked off by a node execution, the event consumer will use the parent_id to relate the task to it's parent node execution
.flyteidl.core.NodeExecutionIdentifier parent_node_execution_id = 2;- Specified by:
getParentNodeExecutionIdOrBuilderin interfaceEvent.TaskExecutionEventOrBuilder
-
getRetryAttempt
public int getRetryAttempt()
retry attempt number for this task, ie., 2 for the second attempt
uint32 retry_attempt = 3;- Specified by:
getRetryAttemptin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The retryAttempt.
-
getPhaseValue
public int getPhaseValue()
Phase associated with the event
.flyteidl.core.TaskExecution.Phase phase = 4;- Specified by:
getPhaseValuein interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The enum numeric value on the wire for phase.
-
getPhase
public Execution.TaskExecution.Phase getPhase()
Phase associated with the event
.flyteidl.core.TaskExecution.Phase phase = 4;- Specified by:
getPhasein interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The phase.
-
getProducerId
public String getProducerId()
id of the process that sent this event, mainly for trace debugging
string producer_id = 5;- Specified by:
getProducerIdin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The producerId.
-
getProducerIdBytes
public com.google.protobuf.ByteString getProducerIdBytes()
id of the process that sent this event, mainly for trace debugging
string producer_id = 5;- Specified by:
getProducerIdBytesin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The bytes for producerId.
-
getLogsList
public List<Execution.TaskLog> getLogsList()
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;- Specified by:
getLogsListin interfaceEvent.TaskExecutionEventOrBuilder
-
getLogsOrBuilderList
public List<? extends Execution.TaskLogOrBuilder> getLogsOrBuilderList()
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;- Specified by:
getLogsOrBuilderListin interfaceEvent.TaskExecutionEventOrBuilder
-
getLogsCount
public int getLogsCount()
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;- Specified by:
getLogsCountin interfaceEvent.TaskExecutionEventOrBuilder
-
getLogs
public Execution.TaskLog getLogs(int index)
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;- Specified by:
getLogsin interfaceEvent.TaskExecutionEventOrBuilder
-
getLogsOrBuilder
public Execution.TaskLogOrBuilder getLogsOrBuilder(int index)
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;- Specified by:
getLogsOrBuilderin interfaceEvent.TaskExecutionEventOrBuilder
-
hasOccurredAt
public boolean hasOccurredAt()
This timestamp represents when the original event occurred, it is generated by the executor of the task.
.google.protobuf.Timestamp occurred_at = 7;- Specified by:
hasOccurredAtin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- Whether the occurredAt field is set.
-
getOccurredAt
public com.google.protobuf.Timestamp getOccurredAt()
This timestamp represents when the original event occurred, it is generated by the executor of the task.
.google.protobuf.Timestamp occurred_at = 7;- Specified by:
getOccurredAtin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The occurredAt.
-
getOccurredAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder()
This timestamp represents when the original event occurred, it is generated by the executor of the task.
.google.protobuf.Timestamp occurred_at = 7;- Specified by:
getOccurredAtOrBuilderin interfaceEvent.TaskExecutionEventOrBuilder
-
getInputUri
public String getInputUri()
URI of the input file, it encodes all the information including Cloud source provider. ie., s3://...
string input_uri = 8;- Specified by:
getInputUriin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The inputUri.
-
getInputUriBytes
public com.google.protobuf.ByteString getInputUriBytes()
URI of the input file, it encodes all the information including Cloud source provider. ie., s3://...
string input_uri = 8;- Specified by:
getInputUriBytesin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The bytes for inputUri.
-
hasOutputUri
public boolean hasOutputUri()
URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://...
string output_uri = 9;- Specified by:
hasOutputUriin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- Whether the outputUri field is set.
-
getOutputUri
public String getOutputUri()
URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://...
string output_uri = 9;- Specified by:
getOutputUriin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The outputUri.
-
getOutputUriBytes
public com.google.protobuf.ByteString getOutputUriBytes()
URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider. ie., s3://...
string output_uri = 9;- Specified by:
getOutputUriBytesin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The bytes for outputUri.
-
hasError
public boolean hasError()
Error information for the execution
.flyteidl.core.ExecutionError error = 10;- Specified by:
hasErrorin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- Whether the error field is set.
-
getError
public Execution.ExecutionError getError()
Error information for the execution
.flyteidl.core.ExecutionError error = 10;- Specified by:
getErrorin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The error.
-
getErrorOrBuilder
public Execution.ExecutionErrorOrBuilder getErrorOrBuilder()
Error information for the execution
.flyteidl.core.ExecutionError error = 10;- Specified by:
getErrorOrBuilderin interfaceEvent.TaskExecutionEventOrBuilder
-
hasOutputData
public boolean hasOutputData()
Raw output data produced by this task execution.
.flyteidl.core.LiteralMap output_data = 17;- Specified by:
hasOutputDatain interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- Whether the outputData field is set.
-
getOutputData
public Literals.LiteralMap getOutputData()
Raw output data produced by this task execution.
.flyteidl.core.LiteralMap output_data = 17;- Specified by:
getOutputDatain interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The outputData.
-
getOutputDataOrBuilder
public Literals.LiteralMapOrBuilder getOutputDataOrBuilder()
Raw output data produced by this task execution.
.flyteidl.core.LiteralMap output_data = 17;- Specified by:
getOutputDataOrBuilderin interfaceEvent.TaskExecutionEventOrBuilder
-
hasCustomInfo
public boolean hasCustomInfo()
Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
.google.protobuf.Struct custom_info = 11;- Specified by:
hasCustomInfoin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- Whether the customInfo field is set.
-
getCustomInfo
public com.google.protobuf.Struct getCustomInfo()
Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
.google.protobuf.Struct custom_info = 11;- Specified by:
getCustomInfoin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The customInfo.
-
getCustomInfoOrBuilder
public com.google.protobuf.StructOrBuilder getCustomInfoOrBuilder()
Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
.google.protobuf.Struct custom_info = 11;- Specified by:
getCustomInfoOrBuilderin interfaceEvent.TaskExecutionEventOrBuilder
-
getPhaseVersion
public int getPhaseVersion()
Some phases, like RUNNING, can send multiple events with changed metadata (new logs, additional custom_info, etc) that should be recorded regardless of the lack of phase change. The version field should be incremented when metadata changes across the duration of an individual phase.
uint32 phase_version = 12;- Specified by:
getPhaseVersionin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The phaseVersion.
-
getReason
public String getReason()
An optional explanation for the phase transition.
string reason = 13;- Specified by:
getReasonin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()
An optional explanation for the phase transition.
string reason = 13;- Specified by:
getReasonBytesin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The bytes for reason.
-
getTaskType
public String getTaskType()
A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin this type will be identical, but not all task executions necessarily use pre-registered definitions and this type is useful to render the task in the UI, filter task executions, etc.
string task_type = 14;- Specified by:
getTaskTypein interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The taskType.
-
getTaskTypeBytes
public com.google.protobuf.ByteString getTaskTypeBytes()
A predefined yet extensible Task type identifier. If the task definition is already registered in flyte admin this type will be identical, but not all task executions necessarily use pre-registered definitions and this type is useful to render the task in the UI, filter task executions, etc.
string task_type = 14;- Specified by:
getTaskTypeBytesin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The bytes for taskType.
-
hasMetadata
public boolean hasMetadata()
Metadata around how a task was executed.
.flyteidl.event.TaskExecutionMetadata metadata = 16;- Specified by:
hasMetadatain interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public Event.TaskExecutionMetadata getMetadata()
Metadata around how a task was executed.
.flyteidl.event.TaskExecutionMetadata metadata = 16;- Specified by:
getMetadatain interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
public Event.TaskExecutionMetadataOrBuilder getMetadataOrBuilder()
Metadata around how a task was executed.
.flyteidl.event.TaskExecutionMetadata metadata = 16;- Specified by:
getMetadataOrBuilderin interfaceEvent.TaskExecutionEventOrBuilder
-
getEventVersion
public int getEventVersion()
The event version is used to indicate versioned changes in how data is reported using this proto message. For example, event_verison > 0 means that maps tasks report logs using the TaskExecutionMetadata ExternalResourceInfo fields for each subtask rather than the TaskLog in this message.
int32 event_version = 18;- Specified by:
getEventVersionin interfaceEvent.TaskExecutionEventOrBuilder- Returns:
- The eventVersion.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Event.TaskExecutionEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.TaskExecutionEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.TaskExecutionEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.TaskExecutionEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.TaskExecutionEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.TaskExecutionEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.TaskExecutionEvent parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Event.TaskExecutionEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Event.TaskExecutionEvent parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Event.TaskExecutionEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Event.TaskExecutionEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Event.TaskExecutionEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Event.TaskExecutionEvent.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Event.TaskExecutionEvent.Builder newBuilder()
-
newBuilder
public static Event.TaskExecutionEvent.Builder newBuilder(Event.TaskExecutionEvent prototype)
-
toBuilder
public Event.TaskExecutionEvent.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Event.TaskExecutionEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Event.TaskExecutionEvent getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Event.TaskExecutionEvent> parser()
-
getParserForType
public com.google.protobuf.Parser<Event.TaskExecutionEvent> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Event.TaskExecutionEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-