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,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
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Event.TaskExecutionEvent.BuilderaddAllLogs(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, Object value)Event.TaskExecutionEventbuild()Event.TaskExecutionEventbuildPartial()private voidbuildPartial0(Event.TaskExecutionEvent result)private voidbuildPartialOneofs(Event.TaskExecutionEvent result)private voidbuildPartialRepeatedFields(Event.TaskExecutionEvent result)Event.TaskExecutionEvent.Builderclear()Event.TaskExecutionEvent.BuilderclearCustomInfo()Custom data that the task plugin sends back.Event.TaskExecutionEvent.BuilderclearError()Error information for the executionEvent.TaskExecutionEvent.BuilderclearEventVersion()The event version is used to indicate versioned changes in how data is reported using this proto message.Event.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.BuilderclearOutputData()Raw output data produced by this task execution.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.BuilderclearReason()An optional explanation for the phase transition.Event.TaskExecutionEvent.BuilderclearRetryAttempt()retry attempt number for this task, ie., 2 for the second attemptEvent.TaskExecutionEvent.BuilderclearTaskId()ID of the task.Event.TaskExecutionEvent.BuilderclearTaskType()A predefined yet extensible Task type identifier.Event.TaskExecutionEvent.Builderclone()private voidensureLogsIsMutable()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.private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder,com.google.protobuf.StructOrBuilder>getCustomInfoFieldBuilder()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 executionprivate com.google.protobuf.SingleFieldBuilderV3<Execution.ExecutionError,Execution.ExecutionError.Builder,Execution.ExecutionErrorOrBuilder>getErrorFieldBuilder()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 executionExecution.TaskLog.BuildergetLogsBuilder(int index)log information for the task executionList<Execution.TaskLog.Builder>getLogsBuilderList()log information for the task executionintgetLogsCount()log information for the task executionprivate com.google.protobuf.RepeatedFieldBuilderV3<Execution.TaskLog,Execution.TaskLog.Builder,Execution.TaskLogOrBuilder>getLogsFieldBuilder()List<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.TaskExecutionMetadata.BuildergetMetadataBuilder()Metadata around how a task was executed.private com.google.protobuf.SingleFieldBuilderV3<Event.TaskExecutionMetadata,Event.TaskExecutionMetadata.Builder,Event.TaskExecutionMetadataOrBuilder>getMetadataFieldBuilder()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.private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>getOccurredAtFieldBuilder()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.LiteralMap.BuildergetOutputDataBuilder()Raw output data produced by this task execution.private com.google.protobuf.SingleFieldBuilderV3<Literals.LiteralMap,Literals.LiteralMap.Builder,Literals.LiteralMapOrBuilder>getOutputDataFieldBuilder()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.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 executionprivate com.google.protobuf.SingleFieldBuilderV3<IdentifierOuterClass.NodeExecutionIdentifier,IdentifierOuterClass.NodeExecutionIdentifier.Builder,IdentifierOuterClass.NodeExecutionIdentifierOrBuilder>getParentNodeExecutionIdFieldBuilder()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.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 attemptIdentifierOuterClass.IdentifiergetTaskId()ID of the task.IdentifierOuterClass.Identifier.BuildergetTaskIdBuilder()ID of the task.private com.google.protobuf.SingleFieldBuilderV3<IdentifierOuterClass.Identifier,IdentifierOuterClass.Identifier.Builder,IdentifierOuterClass.IdentifierOrBuilder>getTaskIdFieldBuilder()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.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.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()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.BuildermergeOutputData(Literals.LiteralMap value)Raw output data produced by this task execution.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.BuildersetEventVersion(int value)The event version is used to indicate versioned changes in how data is reported using this proto message.Event.TaskExecutionEvent.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Event.TaskExecutionEvent.BuildersetInputUri(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.BuildersetOutputData(Literals.LiteralMap value)Raw output data produced by this task execution.Event.TaskExecutionEvent.BuildersetOutputData(Literals.LiteralMap.Builder builderForValue)Raw output data produced by this task execution.Event.TaskExecutionEvent.BuildersetOutputUri(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(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.BuildersetReason(String value)An optional explanation for the phase transition.Event.TaskExecutionEvent.BuildersetReasonBytes(com.google.protobuf.ByteString value)An optional explanation for the phase transition.Event.TaskExecutionEvent.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, 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.BuildersetTaskType(String value)A predefined yet extensible Task type identifier.Event.TaskExecutionEvent.BuildersetTaskTypeBytes(com.google.protobuf.ByteString value)A predefined yet extensible Task type identifier.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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
outputResultCase_
private int outputResultCase_
-
outputResult_
private Object outputResult_
-
bitField0_
private int bitField0_
-
taskId_
private IdentifierOuterClass.Identifier taskId_
-
taskIdBuilder_
private com.google.protobuf.SingleFieldBuilderV3<IdentifierOuterClass.Identifier,IdentifierOuterClass.Identifier.Builder,IdentifierOuterClass.IdentifierOrBuilder> taskIdBuilder_
-
parentNodeExecutionId_
private IdentifierOuterClass.NodeExecutionIdentifier parentNodeExecutionId_
-
parentNodeExecutionIdBuilder_
private com.google.protobuf.SingleFieldBuilderV3<IdentifierOuterClass.NodeExecutionIdentifier,IdentifierOuterClass.NodeExecutionIdentifier.Builder,IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> parentNodeExecutionIdBuilder_
-
retryAttempt_
private int retryAttempt_
-
phase_
private int phase_
-
producerId_
private Object producerId_
-
logs_
private List<Execution.TaskLog> logs_
-
logsBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<Execution.TaskLog,Execution.TaskLog.Builder,Execution.TaskLogOrBuilder> logsBuilder_
-
occurredAt_
private com.google.protobuf.Timestamp occurredAt_
-
occurredAtBuilder_
private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> occurredAtBuilder_
-
inputUri_
private Object inputUri_
-
errorBuilder_
private com.google.protobuf.SingleFieldBuilderV3<Execution.ExecutionError,Execution.ExecutionError.Builder,Execution.ExecutionErrorOrBuilder> errorBuilder_
-
outputDataBuilder_
private com.google.protobuf.SingleFieldBuilderV3<Literals.LiteralMap,Literals.LiteralMap.Builder,Literals.LiteralMapOrBuilder> outputDataBuilder_
-
customInfo_
private com.google.protobuf.Struct customInfo_
-
customInfoBuilder_
private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder,com.google.protobuf.StructOrBuilder> customInfoBuilder_
-
phaseVersion_
private int phaseVersion_
-
reason_
private Object reason_
-
taskType_
private Object taskType_
-
metadata_
private Event.TaskExecutionMetadata metadata_
-
metadataBuilder_
private com.google.protobuf.SingleFieldBuilderV3<Event.TaskExecutionMetadata,Event.TaskExecutionMetadata.Builder,Event.TaskExecutionMetadataOrBuilder> metadataBuilder_
-
eventVersion_
private int eventVersion_
-
-
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
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(Event.TaskExecutionEvent result)
-
buildPartial0
private void buildPartial0(Event.TaskExecutionEvent result)
-
buildPartialOneofs
private void buildPartialOneofs(Event.TaskExecutionEvent result)
-
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, 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, 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, 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 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:
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
-
getTaskIdFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<IdentifierOuterClass.Identifier,IdentifierOuterClass.Identifier.Builder,IdentifierOuterClass.IdentifierOrBuilder> getTaskIdFieldBuilder()
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;
-
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
-
getParentNodeExecutionIdFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<IdentifierOuterClass.NodeExecutionIdentifier,IdentifierOuterClass.NodeExecutionIdentifier.Builder,IdentifierOuterClass.NodeExecutionIdentifierOrBuilder> getParentNodeExecutionIdFieldBuilder()
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;
-
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 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(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.
-
ensureLogsIsMutable
private void ensureLogsIsMutable()
-
getLogsList
public 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(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 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 List<Execution.TaskLog.Builder> getLogsBuilderList()
log information for the task execution
repeated .flyteidl.core.TaskLog logs = 6;
-
getLogsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<Execution.TaskLog,Execution.TaskLog.Builder,Execution.TaskLogOrBuilder> getLogsFieldBuilder()
-
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
-
getOccurredAtFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> getOccurredAtFieldBuilder()
This timestamp represents when the original event occurred, it is generated by the executor of the task.
.google.protobuf.Timestamp occurred_at = 7;
-
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.
-
setInputUri
public Event.TaskExecutionEvent.Builder setInputUri(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.
-
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.
-
setOutputUri
public Event.TaskExecutionEvent.Builder setOutputUri(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
-
getErrorFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<Execution.ExecutionError,Execution.ExecutionError.Builder,Execution.ExecutionErrorOrBuilder> getErrorFieldBuilder()
Error information for the execution
.flyteidl.core.ExecutionError error = 10;
-
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.
-
setOutputData
public Event.TaskExecutionEvent.Builder setOutputData(Literals.LiteralMap value)
Raw output data produced by this task execution.
.flyteidl.core.LiteralMap output_data = 17;
-
setOutputData
public Event.TaskExecutionEvent.Builder setOutputData(Literals.LiteralMap.Builder builderForValue)
Raw output data produced by this task execution.
.flyteidl.core.LiteralMap output_data = 17;
-
mergeOutputData
public Event.TaskExecutionEvent.Builder mergeOutputData(Literals.LiteralMap value)
Raw output data produced by this task execution.
.flyteidl.core.LiteralMap output_data = 17;
-
clearOutputData
public Event.TaskExecutionEvent.Builder clearOutputData()
Raw output data produced by this task execution.
.flyteidl.core.LiteralMap output_data = 17;
-
getOutputDataBuilder
public Literals.LiteralMap.Builder getOutputDataBuilder()
Raw output data produced by this task execution.
.flyteidl.core.LiteralMap output_data = 17;
-
getOutputDataOrBuilder
public Literals.LiteralMapOrBuilder getOutputDataOrBuilder()
Raw output data produced by this task execution.
.flyteidl.core.LiteralMap output_data = 17;- Specified by:
getOutputDataOrBuilderin interfaceEvent.TaskExecutionEventOrBuilder
-
getOutputDataFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<Literals.LiteralMap,Literals.LiteralMap.Builder,Literals.LiteralMapOrBuilder> getOutputDataFieldBuilder()
Raw output data produced by this task execution.
.flyteidl.core.LiteralMap output_data = 17;
-
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
-
getCustomInfoFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.Struct,com.google.protobuf.Struct.Builder,com.google.protobuf.StructOrBuilder> getCustomInfoFieldBuilder()
Custom data that the task plugin sends back. This is extensible to allow various plugins in the system.
.google.protobuf.Struct custom_info = 11;
-
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.
-
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.
-
setReason
public Event.TaskExecutionEvent.Builder setReason(String value)
An optional explanation for the phase transition.
string reason = 13;- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
public Event.TaskExecutionEvent.Builder clearReason()
An optional explanation for the phase transition.
string reason = 13;- Returns:
- This builder for chaining.
-
setReasonBytes
public Event.TaskExecutionEvent.Builder setReasonBytes(com.google.protobuf.ByteString value)
An optional explanation for the phase transition.
string reason = 13;- Parameters:
value- The bytes for reason to set.- Returns:
- This builder for chaining.
-
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.
-
setTaskType
public Event.TaskExecutionEvent.Builder setTaskType(String value)
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;- Parameters:
value- The taskType to set.- Returns:
- This builder for chaining.
-
clearTaskType
public Event.TaskExecutionEvent.Builder clearTaskType()
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;- Returns:
- This builder for chaining.
-
setTaskTypeBytes
public Event.TaskExecutionEvent.Builder setTaskTypeBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for taskType to set.- 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
-
getMetadataFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<Event.TaskExecutionMetadata,Event.TaskExecutionMetadata.Builder,Event.TaskExecutionMetadataOrBuilder> getMetadataFieldBuilder()
Metadata around how a task was executed.
.flyteidl.event.TaskExecutionMetadata metadata = 16;
-
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.
-
setEventVersion
public Event.TaskExecutionEvent.Builder setEventVersion(int value)
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;- Parameters:
value- The eventVersion to set.- Returns:
- This builder for chaining.
-
clearEventVersion
public Event.TaskExecutionEvent.Builder clearEventVersion()
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;- Returns:
- This builder for chaining.
-
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>
-
-