Package flyteidl.event
Class Event.WorkflowExecutionEvent
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.event.Event.WorkflowExecutionEvent
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Event.WorkflowExecutionEventOrBuilder,java.io.Serializable
- Enclosing class:
- Event
public static final class Event.WorkflowExecutionEvent extends com.google.protobuf.GeneratedMessageV3 implements Event.WorkflowExecutionEventOrBuilder
Protobuf typeflyteidl.event.WorkflowExecutionEvent- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvent.WorkflowExecutionEvent.BuilderProtobuf typeflyteidl.event.WorkflowExecutionEventstatic classEvent.WorkflowExecutionEvent.OutputResultCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intERROR_FIELD_NUMBERstatic intEXECUTION_ID_FIELD_NUMBERstatic intOCCURRED_AT_FIELD_NUMBERstatic intOUTPUT_URI_FIELD_NUMBERstatic intPHASE_FIELD_NUMBERstatic intPRODUCER_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static Event.WorkflowExecutionEventgetDefaultInstance()Event.WorkflowExecutionEventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Execution.ExecutionErrorgetError()Error information for the executionExecution.ExecutionErrorOrBuildergetErrorOrBuilder()Error information for the executionIdentifierOuterClass.WorkflowExecutionIdentifiergetExecutionId()Workflow execution idIdentifierOuterClass.WorkflowExecutionIdentifierOrBuildergetExecutionIdOrBuilder()Workflow execution idcom.google.protobuf.TimestampgetOccurredAt()This timestamp represents when the original event occurred, it is generated by the executor of the workflow.com.google.protobuf.TimestampOrBuildergetOccurredAtOrBuilder()This timestamp represents when the original event occurred, it is generated by the executor of the workflow.Event.WorkflowExecutionEvent.OutputResultCasegetOutputResultCase()java.lang.StringgetOutputUri()URL to the output of the execution, it encodes all the information including Cloud source provider.com.google.protobuf.ByteStringgetOutputUriBytes()URL to the output of the execution, it encodes all the information including Cloud source provider.com.google.protobuf.Parser<Event.WorkflowExecutionEvent>getParserForType()Execution.WorkflowExecution.PhasegetPhase().flyteidl.core.WorkflowExecution.Phase phase = 3;intgetPhaseValue().flyteidl.core.WorkflowExecution.Phase phase = 3;java.lang.StringgetProducerId()the id of the originator (Propeller) of the eventcom.google.protobuf.ByteStringgetProducerIdBytes()the id of the originator (Propeller) of the eventintgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasError()Error information for the executionbooleanhasExecutionId()Workflow execution idinthashCode()booleanhasOccurredAt()This timestamp represents when the original event occurred, it is generated by the executor of the workflow.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Event.WorkflowExecutionEvent.BuildernewBuilder()static Event.WorkflowExecutionEvent.BuildernewBuilder(Event.WorkflowExecutionEvent prototype)Event.WorkflowExecutionEvent.BuildernewBuilderForType()protected Event.WorkflowExecutionEvent.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Event.WorkflowExecutionEventparseDelimitedFrom(java.io.InputStream input)static Event.WorkflowExecutionEventparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.WorkflowExecutionEventparseFrom(byte[] data)static Event.WorkflowExecutionEventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.WorkflowExecutionEventparseFrom(com.google.protobuf.ByteString data)static Event.WorkflowExecutionEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.WorkflowExecutionEventparseFrom(com.google.protobuf.CodedInputStream input)static Event.WorkflowExecutionEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.WorkflowExecutionEventparseFrom(java.io.InputStream input)static Event.WorkflowExecutionEventparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.WorkflowExecutionEventparseFrom(java.nio.ByteBuffer data)static Event.WorkflowExecutionEventparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Event.WorkflowExecutionEvent>parser()Event.WorkflowExecutionEvent.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
EXECUTION_ID_FIELD_NUMBER
public static final int EXECUTION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRODUCER_ID_FIELD_NUMBER
public static final int PRODUCER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHASE_FIELD_NUMBER
public static final int PHASE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OCCURRED_AT_FIELD_NUMBER
public static final int OCCURRED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTPUT_URI_FIELD_NUMBER
public static final int OUTPUT_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getOutputResultCase
public Event.WorkflowExecutionEvent.OutputResultCase getOutputResultCase()
- Specified by:
getOutputResultCasein interfaceEvent.WorkflowExecutionEventOrBuilder
-
hasExecutionId
public boolean hasExecutionId()
Workflow execution id
.flyteidl.core.WorkflowExecutionIdentifier execution_id = 1;- Specified by:
hasExecutionIdin interfaceEvent.WorkflowExecutionEventOrBuilder- Returns:
- Whether the executionId field is set.
-
getExecutionId
public IdentifierOuterClass.WorkflowExecutionIdentifier getExecutionId()
Workflow execution id
.flyteidl.core.WorkflowExecutionIdentifier execution_id = 1;- Specified by:
getExecutionIdin interfaceEvent.WorkflowExecutionEventOrBuilder- Returns:
- The executionId.
-
getExecutionIdOrBuilder
public IdentifierOuterClass.WorkflowExecutionIdentifierOrBuilder getExecutionIdOrBuilder()
Workflow execution id
.flyteidl.core.WorkflowExecutionIdentifier execution_id = 1;- Specified by:
getExecutionIdOrBuilderin interfaceEvent.WorkflowExecutionEventOrBuilder
-
getProducerId
public java.lang.String getProducerId()
the id of the originator (Propeller) of the event
string producer_id = 2;- Specified by:
getProducerIdin interfaceEvent.WorkflowExecutionEventOrBuilder- Returns:
- The producerId.
-
getProducerIdBytes
public com.google.protobuf.ByteString getProducerIdBytes()
the id of the originator (Propeller) of the event
string producer_id = 2;- Specified by:
getProducerIdBytesin interfaceEvent.WorkflowExecutionEventOrBuilder- Returns:
- The bytes for producerId.
-
getPhaseValue
public int getPhaseValue()
.flyteidl.core.WorkflowExecution.Phase phase = 3;- Specified by:
getPhaseValuein interfaceEvent.WorkflowExecutionEventOrBuilder- Returns:
- The enum numeric value on the wire for phase.
-
getPhase
public Execution.WorkflowExecution.Phase getPhase()
.flyteidl.core.WorkflowExecution.Phase phase = 3;- Specified by:
getPhasein interfaceEvent.WorkflowExecutionEventOrBuilder- Returns:
- The phase.
-
hasOccurredAt
public boolean hasOccurredAt()
This timestamp represents when the original event occurred, it is generated by the executor of the workflow.
.google.protobuf.Timestamp occurred_at = 4;- Specified by:
hasOccurredAtin interfaceEvent.WorkflowExecutionEventOrBuilder- 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 workflow.
.google.protobuf.Timestamp occurred_at = 4;- Specified by:
getOccurredAtin interfaceEvent.WorkflowExecutionEventOrBuilder- Returns:
- The occurredAt.
-
getOccurredAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getOccurredAtOrBuilder()
This timestamp represents when the original event occurred, it is generated by the executor of the workflow.
.google.protobuf.Timestamp occurred_at = 4;- Specified by:
getOccurredAtOrBuilderin interfaceEvent.WorkflowExecutionEventOrBuilder
-
getOutputUri
public java.lang.String getOutputUri()
URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://...
string output_uri = 5;- Specified by:
getOutputUriin interfaceEvent.WorkflowExecutionEventOrBuilder- Returns:
- The outputUri.
-
getOutputUriBytes
public com.google.protobuf.ByteString getOutputUriBytes()
URL to the output of the execution, it encodes all the information including Cloud source provider. ie., s3://...
string output_uri = 5;- Specified by:
getOutputUriBytesin interfaceEvent.WorkflowExecutionEventOrBuilder- Returns:
- The bytes for outputUri.
-
hasError
public boolean hasError()
Error information for the execution
.flyteidl.core.ExecutionError error = 6;- Specified by:
hasErrorin interfaceEvent.WorkflowExecutionEventOrBuilder- Returns:
- Whether the error field is set.
-
getError
public Execution.ExecutionError getError()
Error information for the execution
.flyteidl.core.ExecutionError error = 6;- Specified by:
getErrorin interfaceEvent.WorkflowExecutionEventOrBuilder- Returns:
- The error.
-
getErrorOrBuilder
public Execution.ExecutionErrorOrBuilder getErrorOrBuilder()
Error information for the execution
.flyteidl.core.ExecutionError error = 6;- Specified by:
getErrorOrBuilderin interfaceEvent.WorkflowExecutionEventOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Event.WorkflowExecutionEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.WorkflowExecutionEvent parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.WorkflowExecutionEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.WorkflowExecutionEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.WorkflowExecutionEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.WorkflowExecutionEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.WorkflowExecutionEvent parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Event.WorkflowExecutionEvent parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Event.WorkflowExecutionEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Event.WorkflowExecutionEvent parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Event.WorkflowExecutionEvent parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Event.WorkflowExecutionEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Event.WorkflowExecutionEvent.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Event.WorkflowExecutionEvent.Builder newBuilder()
-
newBuilder
public static Event.WorkflowExecutionEvent.Builder newBuilder(Event.WorkflowExecutionEvent prototype)
-
toBuilder
public Event.WorkflowExecutionEvent.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Event.WorkflowExecutionEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Event.WorkflowExecutionEvent getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Event.WorkflowExecutionEvent> parser()
-
getParserForType
public com.google.protobuf.Parser<Event.WorkflowExecutionEvent> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Event.WorkflowExecutionEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-