Package flyteidl.event
Class Event.TaskExecutionEvent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Event.TaskExecutionEvent.Builder>
-
- flyteidl.event.Event.TaskExecutionEvent.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Event.TaskExecutionEventOrBuilder,java.lang.Cloneable
- Enclosing class:
- Event.TaskExecutionEvent
public static final class Event.TaskExecutionEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Event.TaskExecutionEvent.Builder> implements Event.TaskExecutionEventOrBuilder
Plugin specific execution event information. For tasks like Python, Hive, Spark, DynamicJob.
Protobuf typeflyteidl.event.TaskExecutionEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Event.TaskExecutionEvent.BuilderaddAllLogs(java.lang.Iterable<? extends Execution.TaskLog> values)log information for the task executionEvent.TaskExecutionEvent.BuilderaddLogs(int index, Execution.TaskLog value)log information for the task executionEvent.TaskExecutionEvent.BuilderaddLogs(int index, Execution.TaskLog.Builder builderForValue)log information for the task executionEvent.TaskExecutionEvent.BuilderaddLogs(Execution.TaskLog value)log information for the task executionEvent.TaskExecutionEvent.BuilderaddLogs(Execution.TaskLog.Builder builderForValue)log information for the task executionExecution.TaskLog.BuilderaddLogsBuilder()log information for the task executionExecution.TaskLog.BuilderaddLogsBuilder(int index)log information for the task executionEvent.TaskExecutionEvent.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Event.TaskExecutionEventbuild()Event.TaskExecutionEventbuildPartial()Event.TaskExecutionEvent.Builderclear()Event.TaskExecutionEvent.BuilderclearCustomInfo()Custom data that the task plugin sends back.Event.TaskExecutionEvent.BuilderclearError()Error information for the executionEvent.TaskExecutionEvent.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Event.TaskExecutionEvent.BuilderclearInputUri()URI of the input file, it encodes all the information including Cloud source provider.Event.TaskExecutionEvent.BuilderclearLogs()log information for the task executionEvent.TaskExecutionEvent.BuilderclearMetadata()Metadata around how a task was executed.Event.TaskExecutionEvent.BuilderclearOccurredAt()This timestamp represents when the original event occurred, it is generated by the executor of the task.Event.TaskExecutionEvent.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Event.TaskExecutionEvent.BuilderclearOutputResult()Event.TaskExecutionEvent.BuilderclearOutputUri()URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider.Event.TaskExecutionEvent.BuilderclearParentNodeExecutionId()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 executionEvent.TaskExecutionEvent.BuilderclearPhase()Phase associated with the eventEvent.TaskExecutionEvent.BuilderclearPhaseVersion()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.Event.TaskExecutionEvent.BuilderclearProducerId()id of the process that sent this event, mainly for trace debuggingEvent.TaskExecutionEvent.BuilderclearRetryAttempt()retry attempt number for this task, ie., 2 for the second attemptEvent.TaskExecutionEvent.BuilderclearTaskId()ID of the task.Event.TaskExecutionEvent.Builderclone()com.google.protobuf.StructgetCustomInfo()Custom data that the task plugin sends back.com.google.protobuf.Struct.BuildergetCustomInfoBuilder()Custom data that the task plugin sends back.com.google.protobuf.StructOrBuildergetCustomInfoOrBuilder()Custom data that the task plugin sends back.Event.TaskExecutionEventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Execution.ExecutionErrorgetError()Error information for the executionExecution.ExecutionError.BuildergetErrorBuilder()Error information for the executionExecution.ExecutionErrorOrBuildergetErrorOrBuilder()Error information for the executionjava.lang.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 executionExecution.TaskLog.BuildergetLogsBuilder(int index)log information for the task executionjava.util.List<Execution.TaskLog.Builder>getLogsBuilderList()log information for the task executionintgetLogsCount()log information for the task executionjava.util.List<Execution.TaskLog>getLogsList()log information for the task executionExecution.TaskLogOrBuildergetLogsOrBuilder(int index)log information for the task executionjava.util.List<? extends Execution.TaskLogOrBuilder>getLogsOrBuilderList()log information for the task executionEvent.TaskExecutionMetadatagetMetadata()Metadata around how a task was executed.Event.TaskExecutionMetadata.BuildergetMetadataBuilder()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.Timestamp.BuildergetOccurredAtBuilder()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.Event.TaskExecutionEvent.OutputResultCasegetOutputResultCase()java.lang.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.NodeExecutionIdentifier.BuildergetParentNodeExecutionIdBuilder()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 executionExecution.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.java.lang.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 debuggingintgetRetryAttempt()retry attempt number for this task, ie., 2 for the second attemptIdentifierOuterClass.IdentifiergetTaskId()ID of the task.IdentifierOuterClass.Identifier.BuildergetTaskIdBuilder()ID of the task.IdentifierOuterClass.IdentifierOrBuildergetTaskIdOrBuilder()ID of the task.booleanhasCustomInfo()Custom data that the task plugin sends back.booleanhasError()Error information for the executionbooleanhasMetadata()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.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()Event.TaskExecutionEvent.BuildermergeCustomInfo(com.google.protobuf.Struct value)Custom data that the task plugin sends back.Event.TaskExecutionEvent.BuildermergeError(Execution.ExecutionError value)Error information for the executionEvent.TaskExecutionEvent.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Event.TaskExecutionEvent.BuildermergeFrom(com.google.protobuf.Message other)Event.TaskExecutionEvent.BuildermergeFrom(Event.TaskExecutionEvent other)Event.TaskExecutionEvent.BuildermergeMetadata(Event.TaskExecutionMetadata value)Metadata around how a task was executed.Event.TaskExecutionEvent.BuildermergeOccurredAt(com.google.protobuf.Timestamp value)This timestamp represents when the original event occurred, it is generated by the executor of the task.Event.TaskExecutionEvent.BuildermergeParentNodeExecutionId(IdentifierOuterClass.NodeExecutionIdentifier value)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 executionEvent.TaskExecutionEvent.BuildermergeTaskId(IdentifierOuterClass.Identifier value)ID of the task.Event.TaskExecutionEvent.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Event.TaskExecutionEvent.BuilderremoveLogs(int index)log information for the task executionEvent.TaskExecutionEvent.BuildersetCustomInfo(com.google.protobuf.Struct value)Custom data that the task plugin sends back.Event.TaskExecutionEvent.BuildersetCustomInfo(com.google.protobuf.Struct.Builder builderForValue)Custom data that the task plugin sends back.Event.TaskExecutionEvent.BuildersetError(Execution.ExecutionError value)Error information for the executionEvent.TaskExecutionEvent.BuildersetError(Execution.ExecutionError.Builder builderForValue)Error information for the executionEvent.TaskExecutionEvent.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Event.TaskExecutionEvent.BuildersetInputUri(java.lang.String value)URI of the input file, it encodes all the information including Cloud source provider.Event.TaskExecutionEvent.BuildersetInputUriBytes(com.google.protobuf.ByteString value)URI of the input file, it encodes all the information including Cloud source provider.Event.TaskExecutionEvent.BuildersetLogs(int index, Execution.TaskLog value)log information for the task executionEvent.TaskExecutionEvent.BuildersetLogs(int index, Execution.TaskLog.Builder builderForValue)log information for the task executionEvent.TaskExecutionEvent.BuildersetMetadata(Event.TaskExecutionMetadata value)Metadata around how a task was executed.Event.TaskExecutionEvent.BuildersetMetadata(Event.TaskExecutionMetadata.Builder builderForValue)Metadata around how a task was executed.Event.TaskExecutionEvent.BuildersetOccurredAt(com.google.protobuf.Timestamp value)This timestamp represents when the original event occurred, it is generated by the executor of the task.Event.TaskExecutionEvent.BuildersetOccurredAt(com.google.protobuf.Timestamp.Builder builderForValue)This timestamp represents when the original event occurred, it is generated by the executor of the task.Event.TaskExecutionEvent.BuildersetOutputUri(java.lang.String value)URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider.Event.TaskExecutionEvent.BuildersetOutputUriBytes(com.google.protobuf.ByteString value)URI to the output of the execution, it will be in a format that encodes all the information including Cloud source provider.Event.TaskExecutionEvent.BuildersetParentNodeExecutionId(IdentifierOuterClass.NodeExecutionIdentifier value)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 executionEvent.TaskExecutionEvent.BuildersetParentNodeExecutionId(IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue)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 executionEvent.TaskExecutionEvent.BuildersetPhase(Execution.TaskExecution.Phase value)Phase associated with the eventEvent.TaskExecutionEvent.BuildersetPhaseValue(int value)Phase associated with the eventEvent.TaskExecutionEvent.BuildersetPhaseVersion(int value)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.Event.TaskExecutionEvent.BuildersetProducerId(java.lang.String value)id of the process that sent this event, mainly for trace debuggingEvent.TaskExecutionEvent.BuildersetProducerIdBytes(com.google.protobuf.ByteString value)id of the process that sent this event, mainly for trace debuggingEvent.TaskExecutionEvent.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Event.TaskExecutionEvent.BuildersetRetryAttempt(int value)retry attempt number for this task, ie., 2 for the second attemptEvent.TaskExecutionEvent.BuildersetTaskId(IdentifierOuterClass.Identifier value)ID of the task.Event.TaskExecutionEvent.BuildersetTaskId(IdentifierOuterClass.Identifier.Builder builderForValue)ID of the task.Event.TaskExecutionEvent.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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.Builder<Event.TaskExecutionEvent.Builder>
-
clear
public Event.TaskExecutionEvent.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.TaskExecutionEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Event.TaskExecutionEvent.Builder>
-
getDefaultInstanceForType
public Event.TaskExecutionEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Event.TaskExecutionEvent build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Event.TaskExecutionEvent buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Event.TaskExecutionEvent.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Event.TaskExecutionEvent.Builder>
-
setField
public Event.TaskExecutionEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.TaskExecutionEvent.Builder>
-
clearField
public Event.TaskExecutionEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.TaskExecutionEvent.Builder>
-
clearOneof
public Event.TaskExecutionEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.TaskExecutionEvent.Builder>
-
setRepeatedField
public Event.TaskExecutionEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.TaskExecutionEvent.Builder>
-
addRepeatedField
public Event.TaskExecutionEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.TaskExecutionEvent.Builder>
-
mergeFrom
public Event.TaskExecutionEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Event.TaskExecutionEvent.Builder>
-
mergeFrom
public Event.TaskExecutionEvent.Builder mergeFrom(Event.TaskExecutionEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.TaskExecutionEvent.Builder>
-
mergeFrom
public Event.TaskExecutionEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Event.TaskExecutionEvent.Builder>- Throws:
java.io.IOException
-
getOutputResultCase
public Event.TaskExecutionEvent.OutputResultCase getOutputResultCase()
- Specified by:
getOutputResultCasein interfaceEvent.TaskExecutionEventOrBuilder
-
clearOutputResult
public Event.TaskExecutionEvent.Builder clearOutputResult()
-
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.
-
setTaskId
public Event.TaskExecutionEvent.Builder setTaskId(IdentifierOuterClass.Identifier value)
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;
-
setTaskId
public Event.TaskExecutionEvent.Builder setTaskId(IdentifierOuterClass.Identifier.Builder builderForValue)
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;
-
mergeTaskId
public Event.TaskExecutionEvent.Builder mergeTaskId(IdentifierOuterClass.Identifier value)
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;
-
clearTaskId
public Event.TaskExecutionEvent.Builder clearTaskId()
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;
-
getTaskIdBuilder
public IdentifierOuterClass.Identifier.Builder getTaskIdBuilder()
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;
-
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.
-
setParentNodeExecutionId
public Event.TaskExecutionEvent.Builder setParentNodeExecutionId(IdentifierOuterClass.NodeExecutionIdentifier value)
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;
-
setParentNodeExecutionId
public Event.TaskExecutionEvent.Builder setParentNodeExecutionId(IdentifierOuterClass.NodeExecutionIdentifier.Builder builderForValue)
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;
-
mergeParentNodeExecutionId
public Event.TaskExecutionEvent.Builder mergeParentNodeExecutionId(IdentifierOuterClass.NodeExecutionIdentifier value)
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;
-
clearParentNodeExecutionId
public Event.TaskExecutionEvent.Builder clearParentNodeExecutionId()
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;
-
getParentNodeExecutionIdBuilder
public IdentifierOuterClass.NodeExecutionIdentifier.Builder getParentNodeExecutionIdBuilder()
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;
-
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.
-
setRetryAttempt
public Event.TaskExecutionEvent.Builder setRetryAttempt(int value)
retry attempt number for this task, ie., 2 for the second attempt
uint32 retry_attempt = 3;- Parameters:
value- The retryAttempt to set.- Returns:
- This builder for chaining.
-
clearRetryAttempt
public Event.TaskExecutionEvent.Builder clearRetryAttempt()
retry attempt number for this task, ie., 2 for the second attempt
uint32 retry_attempt = 3;- Returns:
- This builder for chaining.
-
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.
-
setPhaseValue
public Event.TaskExecutionEvent.Builder setPhaseValue(int value)
Phase associated with the event
.flyteidl.core.TaskExecution.Phase phase = 4;- Parameters:
value- The enum numeric value on the wire for phase to set.- Returns:
- This builder for chaining.
-
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.
-
setPhase
public Event.TaskExecutionEvent.Builder setPhase(Execution.TaskExecution.Phase value)
Phase associated with the event
.flyteidl.core.TaskExecution.Phase phase = 4;- Parameters:
value- The phase to set.- Returns:
- This builder for chaining.
-
clearPhase
public Event.TaskExecutionEvent.Builder clearPhase()
Phase associated with the event
.flyteidl.core.TaskExecution.Phase phase = 4;- Returns:
- This builder for chaining.
-
getProducerId
public java.lang.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.
-
setProducerId
public Event.TaskExecutionEvent.Builder setProducerId(java.lang.String value)
id of the process that sent this event, mainly for trace debugging
string producer_id = 5;- Parameters:
value- The producerId to set.- Returns:
- This builder for chaining.
-
clearProducerId
public Event.TaskExecutionEvent.Builder clearProducerId()
id of the process that sent this event, mainly for trace debugging
string producer_id = 5;- Returns:
- This builder for chaining.
-
setProducerIdBytes
public Event.TaskExecutionEvent.Builder setProducerIdBytes(com.google.protobuf.ByteString value)
id of the process that sent this event, mainly for trace debugging
string producer_id = 5;- Parameters:
value- The bytes for producerId to set.- Returns:
- This builder for chaining.
-
getLogsList
public java.util.List<Execution.TaskLog> getLogsList()
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;- Specified by:
getLogsListin 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
-
setLogs
public Event.TaskExecutionEvent.Builder setLogs(int index, Execution.TaskLog value)
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;
-
setLogs
public Event.TaskExecutionEvent.Builder setLogs(int index, Execution.TaskLog.Builder builderForValue)
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;
-
addLogs
public Event.TaskExecutionEvent.Builder addLogs(Execution.TaskLog value)
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;
-
addLogs
public Event.TaskExecutionEvent.Builder addLogs(int index, Execution.TaskLog value)
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;
-
addLogs
public Event.TaskExecutionEvent.Builder addLogs(Execution.TaskLog.Builder builderForValue)
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;
-
addLogs
public Event.TaskExecutionEvent.Builder addLogs(int index, Execution.TaskLog.Builder builderForValue)
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;
-
addAllLogs
public Event.TaskExecutionEvent.Builder addAllLogs(java.lang.Iterable<? extends Execution.TaskLog> values)
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;
-
clearLogs
public Event.TaskExecutionEvent.Builder clearLogs()
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;
-
removeLogs
public Event.TaskExecutionEvent.Builder removeLogs(int index)
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;
-
getLogsBuilder
public Execution.TaskLog.Builder getLogsBuilder(int index)
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;
-
getLogsOrBuilder
public Execution.TaskLogOrBuilder getLogsOrBuilder(int index)
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;- Specified by:
getLogsOrBuilderin interfaceEvent.TaskExecutionEventOrBuilder
-
getLogsOrBuilderList
public java.util.List<? extends Execution.TaskLogOrBuilder> getLogsOrBuilderList()
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;- Specified by:
getLogsOrBuilderListin interfaceEvent.TaskExecutionEventOrBuilder
-
addLogsBuilder
public Execution.TaskLog.Builder addLogsBuilder()
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;
-
addLogsBuilder
public Execution.TaskLog.Builder addLogsBuilder(int index)
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;
-
getLogsBuilderList
public java.util.List<Execution.TaskLog.Builder> getLogsBuilderList()
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;
-
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.
-
setOccurredAt
public Event.TaskExecutionEvent.Builder setOccurredAt(com.google.protobuf.Timestamp value)
This timestamp represents when the original event occurred, it is generated by the executor of the task.
.google.protobuf.Timestamp occurred_at = 7;
-
setOccurredAt
public Event.TaskExecutionEvent.Builder setOccurredAt(com.google.protobuf.Timestamp.Builder builderForValue)
This timestamp represents when the original event occurred, it is generated by the executor of the task.
.google.protobuf.Timestamp occurred_at = 7;
-
mergeOccurredAt
public Event.TaskExecutionEvent.Builder mergeOccurredAt(com.google.protobuf.Timestamp value)
This timestamp represents when the original event occurred, it is generated by the executor of the task.
.google.protobuf.Timestamp occurred_at = 7;
-
clearOccurredAt
public Event.TaskExecutionEvent.Builder clearOccurredAt()
This timestamp represents when the original event occurred, it is generated by the executor of the task.
.google.protobuf.Timestamp occurred_at = 7;
-
getOccurredAtBuilder
public com.google.protobuf.Timestamp.Builder getOccurredAtBuilder()
This timestamp represents when the original event occurred, it is generated by the executor of the task.
.google.protobuf.Timestamp occurred_at = 7;
-
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 java.lang.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.
-
setInputUri
public Event.TaskExecutionEvent.Builder setInputUri(java.lang.String value)
URI of the input file, it encodes all the information including Cloud source provider. ie., s3://...
string input_uri = 8;- Parameters:
value- The inputUri to set.- Returns:
- This builder for chaining.
-
clearInputUri
public Event.TaskExecutionEvent.Builder clearInputUri()
URI of the input file, it encodes all the information including Cloud source provider. ie., s3://...
string input_uri = 8;- Returns:
- This builder for chaining.
-
setInputUriBytes
public Event.TaskExecutionEvent.Builder setInputUriBytes(com.google.protobuf.ByteString value)
URI of the input file, it encodes all the information including Cloud source provider. ie., s3://...
string input_uri = 8;- Parameters:
value- The bytes for inputUri to set.- Returns:
- This builder for chaining.
-
getOutputUri
public java.lang.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.
-
setOutputUri
public Event.TaskExecutionEvent.Builder setOutputUri(java.lang.String value)
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;- Parameters:
value- The outputUri to set.- Returns:
- This builder for chaining.
-
clearOutputUri
public Event.TaskExecutionEvent.Builder clearOutputUri()
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;- Returns:
- This builder for chaining.
-
setOutputUriBytes
public Event.TaskExecutionEvent.Builder setOutputUriBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for outputUri to set.- Returns:
- This builder for chaining.
-
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.
-
setError
public Event.TaskExecutionEvent.Builder setError(Execution.ExecutionError value)
Error information for the execution
.flyteidl.core.ExecutionError error = 10;
-
setError
public Event.TaskExecutionEvent.Builder setError(Execution.ExecutionError.Builder builderForValue)
Error information for the execution
.flyteidl.core.ExecutionError error = 10;
-
mergeError
public Event.TaskExecutionEvent.Builder mergeError(Execution.ExecutionError value)
Error information for the execution
.flyteidl.core.ExecutionError error = 10;
-
clearError
public Event.TaskExecutionEvent.Builder clearError()
Error information for the execution
.flyteidl.core.ExecutionError error = 10;
-
getErrorBuilder
public Execution.ExecutionError.Builder getErrorBuilder()
Error information for the execution
.flyteidl.core.ExecutionError error = 10;
-
getErrorOrBuilder
public Execution.ExecutionErrorOrBuilder getErrorOrBuilder()
Error information for the execution
.flyteidl.core.ExecutionError error = 10;- Specified by:
getErrorOrBuilderin 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.
-
setCustomInfo
public Event.TaskExecutionEvent.Builder setCustomInfo(com.google.protobuf.Struct value)
Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
.google.protobuf.Struct custom_info = 11;
-
setCustomInfo
public Event.TaskExecutionEvent.Builder setCustomInfo(com.google.protobuf.Struct.Builder builderForValue)
Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
.google.protobuf.Struct custom_info = 11;
-
mergeCustomInfo
public Event.TaskExecutionEvent.Builder mergeCustomInfo(com.google.protobuf.Struct value)
Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
.google.protobuf.Struct custom_info = 11;
-
clearCustomInfo
public Event.TaskExecutionEvent.Builder clearCustomInfo()
Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
.google.protobuf.Struct custom_info = 11;
-
getCustomInfoBuilder
public com.google.protobuf.Struct.Builder getCustomInfoBuilder()
Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
.google.protobuf.Struct custom_info = 11;
-
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.
-
setPhaseVersion
public Event.TaskExecutionEvent.Builder setPhaseVersion(int value)
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;- Parameters:
value- The phaseVersion to set.- Returns:
- This builder for chaining.
-
clearPhaseVersion
public Event.TaskExecutionEvent.Builder clearPhaseVersion()
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;- Returns:
- This builder for chaining.
-
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.
-
setMetadata
public Event.TaskExecutionEvent.Builder setMetadata(Event.TaskExecutionMetadata value)
Metadata around how a task was executed.
.flyteidl.event.TaskExecutionMetadata metadata = 16;
-
setMetadata
public Event.TaskExecutionEvent.Builder setMetadata(Event.TaskExecutionMetadata.Builder builderForValue)
Metadata around how a task was executed.
.flyteidl.event.TaskExecutionMetadata metadata = 16;
-
mergeMetadata
public Event.TaskExecutionEvent.Builder mergeMetadata(Event.TaskExecutionMetadata value)
Metadata around how a task was executed.
.flyteidl.event.TaskExecutionMetadata metadata = 16;
-
clearMetadata
public Event.TaskExecutionEvent.Builder clearMetadata()
Metadata around how a task was executed.
.flyteidl.event.TaskExecutionMetadata metadata = 16;
-
getMetadataBuilder
public Event.TaskExecutionMetadata.Builder getMetadataBuilder()
Metadata around how a task was executed.
.flyteidl.event.TaskExecutionMetadata metadata = 16;
-
getMetadataOrBuilder
public Event.TaskExecutionMetadataOrBuilder getMetadataOrBuilder()
Metadata around how a task was executed.
.flyteidl.event.TaskExecutionMetadata metadata = 16;- Specified by:
getMetadataOrBuilderin interfaceEvent.TaskExecutionEventOrBuilder
-
setUnknownFields
public final Event.TaskExecutionEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.TaskExecutionEvent.Builder>
-
mergeUnknownFields
public final Event.TaskExecutionEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Event.TaskExecutionEvent.Builder>
-
-