Package flyteidl.event
Class Event.TaskExecutionMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.event.Event.TaskExecutionMetadata
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Event.TaskExecutionMetadataOrBuilder,Serializable
- Enclosing class:
- Event
public static final class Event.TaskExecutionMetadata extends com.google.protobuf.GeneratedMessageV3 implements Event.TaskExecutionMetadataOrBuilder
Holds metadata around how a task was executed. As a task transitions across event phases during execution some attributes, such its generated name, generated external resources, and more may grow in size but not change necessarily based on the phase transition that sparked the event update. Metadata is a container for these attributes across the task execution lifecycle.
Protobuf typeflyteidl.event.TaskExecutionMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvent.TaskExecutionMetadata.BuilderHolds metadata around how a task was executed.static classEvent.TaskExecutionMetadata.InstanceClassIncludes the broad category of machine used for this specific task execution.-
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 private static Event.TaskExecutionMetadataDEFAULT_INSTANCEstatic intEXTERNAL_RESOURCES_FIELD_NUMBERprivate List<Event.ExternalResourceInfo>externalResources_static intGENERATED_NAME_FIELD_NUMBERprivate ObjectgeneratedName_static intINSTANCE_CLASS_FIELD_NUMBERprivate intinstanceClass_private bytememoizedIsInitializedprivate static com.google.protobuf.Parser<Event.TaskExecutionMetadata>PARSERstatic intPLUGIN_IDENTIFIER_FIELD_NUMBERprivate ObjectpluginIdentifier_static intRESOURCE_POOL_INFO_FIELD_NUMBERprivate List<Event.ResourcePoolInfo>resourcePoolInfo_private static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateTaskExecutionMetadata()privateTaskExecutionMetadata(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Event.TaskExecutionMetadatagetDefaultInstance()Event.TaskExecutionMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Event.ExternalResourceInfogetExternalResources(int index)Additional data on external resources on other back-ends or platforms (e.g.intgetExternalResourcesCount()Additional data on external resources on other back-ends or platforms (e.g.List<Event.ExternalResourceInfo>getExternalResourcesList()Additional data on external resources on other back-ends or platforms (e.g.Event.ExternalResourceInfoOrBuildergetExternalResourcesOrBuilder(int index)Additional data on external resources on other back-ends or platforms (e.g.List<? extends Event.ExternalResourceInfoOrBuilder>getExternalResourcesOrBuilderList()Additional data on external resources on other back-ends or platforms (e.g.StringgetGeneratedName()Unique, generated name for this task execution used by the backend.com.google.protobuf.ByteStringgetGeneratedNameBytes()Unique, generated name for this task execution used by the backend.Event.TaskExecutionMetadata.InstanceClassgetInstanceClass().flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16;intgetInstanceClassValue().flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16;com.google.protobuf.Parser<Event.TaskExecutionMetadata>getParserForType()StringgetPluginIdentifier()The identifier of the plugin used to execute this task.com.google.protobuf.ByteStringgetPluginIdentifierBytes()The identifier of the plugin used to execute this task.Event.ResourcePoolInfogetResourcePoolInfo(int index)Includes additional data on concurrent resource management used during execution..intgetResourcePoolInfoCount()Includes additional data on concurrent resource management used during execution..List<Event.ResourcePoolInfo>getResourcePoolInfoList()Includes additional data on concurrent resource management used during execution..Event.ResourcePoolInfoOrBuildergetResourcePoolInfoOrBuilder(int index)Includes additional data on concurrent resource management used during execution..List<? extends Event.ResourcePoolInfoOrBuilder>getResourcePoolInfoOrBuilderList()Includes additional data on concurrent resource management used during execution..intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Event.TaskExecutionMetadata.BuildernewBuilder()static Event.TaskExecutionMetadata.BuildernewBuilder(Event.TaskExecutionMetadata prototype)Event.TaskExecutionMetadata.BuildernewBuilderForType()protected Event.TaskExecutionMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Event.TaskExecutionMetadataparseDelimitedFrom(InputStream input)static Event.TaskExecutionMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.TaskExecutionMetadataparseFrom(byte[] data)static Event.TaskExecutionMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.TaskExecutionMetadataparseFrom(com.google.protobuf.ByteString data)static Event.TaskExecutionMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.TaskExecutionMetadataparseFrom(com.google.protobuf.CodedInputStream input)static Event.TaskExecutionMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.TaskExecutionMetadataparseFrom(InputStream input)static Event.TaskExecutionMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.TaskExecutionMetadataparseFrom(ByteBuffer data)static Event.TaskExecutionMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Event.TaskExecutionMetadata>parser()Event.TaskExecutionMetadata.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
GENERATED_NAME_FIELD_NUMBER
public static final int GENERATED_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
generatedName_
private volatile Object generatedName_
-
EXTERNAL_RESOURCES_FIELD_NUMBER
public static final int EXTERNAL_RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
externalResources_
private List<Event.ExternalResourceInfo> externalResources_
-
RESOURCE_POOL_INFO_FIELD_NUMBER
public static final int RESOURCE_POOL_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
resourcePoolInfo_
private List<Event.ResourcePoolInfo> resourcePoolInfo_
-
PLUGIN_IDENTIFIER_FIELD_NUMBER
public static final int PLUGIN_IDENTIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
pluginIdentifier_
private volatile Object pluginIdentifier_
-
INSTANCE_CLASS_FIELD_NUMBER
public static final int INSTANCE_CLASS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
instanceClass_
private int instanceClass_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Event.TaskExecutionMetadata DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Event.TaskExecutionMetadata> PARSER
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getGeneratedName
public String getGeneratedName()
Unique, generated name for this task execution used by the backend.
string generated_name = 1;- Specified by:
getGeneratedNamein interfaceEvent.TaskExecutionMetadataOrBuilder- Returns:
- The generatedName.
-
getGeneratedNameBytes
public com.google.protobuf.ByteString getGeneratedNameBytes()
Unique, generated name for this task execution used by the backend.
string generated_name = 1;- Specified by:
getGeneratedNameBytesin interfaceEvent.TaskExecutionMetadataOrBuilder- Returns:
- The bytes for generatedName.
-
getExternalResourcesList
public List<Event.ExternalResourceInfo> getExternalResourcesList()
Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
repeated .flyteidl.event.ExternalResourceInfo external_resources = 2;- Specified by:
getExternalResourcesListin interfaceEvent.TaskExecutionMetadataOrBuilder
-
getExternalResourcesOrBuilderList
public List<? extends Event.ExternalResourceInfoOrBuilder> getExternalResourcesOrBuilderList()
Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
repeated .flyteidl.event.ExternalResourceInfo external_resources = 2;- Specified by:
getExternalResourcesOrBuilderListin interfaceEvent.TaskExecutionMetadataOrBuilder
-
getExternalResourcesCount
public int getExternalResourcesCount()
Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
repeated .flyteidl.event.ExternalResourceInfo external_resources = 2;- Specified by:
getExternalResourcesCountin interfaceEvent.TaskExecutionMetadataOrBuilder
-
getExternalResources
public Event.ExternalResourceInfo getExternalResources(int index)
Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
repeated .flyteidl.event.ExternalResourceInfo external_resources = 2;- Specified by:
getExternalResourcesin interfaceEvent.TaskExecutionMetadataOrBuilder
-
getExternalResourcesOrBuilder
public Event.ExternalResourceInfoOrBuilder getExternalResourcesOrBuilder(int index)
Additional data on external resources on other back-ends or platforms (e.g. Hive, Qubole, etc) launched by this task execution.
repeated .flyteidl.event.ExternalResourceInfo external_resources = 2;- Specified by:
getExternalResourcesOrBuilderin interfaceEvent.TaskExecutionMetadataOrBuilder
-
getResourcePoolInfoList
public List<Event.ResourcePoolInfo> getResourcePoolInfoList()
Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution.
repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3;- Specified by:
getResourcePoolInfoListin interfaceEvent.TaskExecutionMetadataOrBuilder
-
getResourcePoolInfoOrBuilderList
public List<? extends Event.ResourcePoolInfoOrBuilder> getResourcePoolInfoOrBuilderList()
Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution.
repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3;- Specified by:
getResourcePoolInfoOrBuilderListin interfaceEvent.TaskExecutionMetadataOrBuilder
-
getResourcePoolInfoCount
public int getResourcePoolInfoCount()
Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution.
repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3;- Specified by:
getResourcePoolInfoCountin interfaceEvent.TaskExecutionMetadataOrBuilder
-
getResourcePoolInfo
public Event.ResourcePoolInfo getResourcePoolInfo(int index)
Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution.
repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3;- Specified by:
getResourcePoolInfoin interfaceEvent.TaskExecutionMetadataOrBuilder
-
getResourcePoolInfoOrBuilder
public Event.ResourcePoolInfoOrBuilder getResourcePoolInfoOrBuilder(int index)
Includes additional data on concurrent resource management used during execution.. This is a repeated field because a plugin can request multiple resource allocations during execution.
repeated .flyteidl.event.ResourcePoolInfo resource_pool_info = 3;- Specified by:
getResourcePoolInfoOrBuilderin interfaceEvent.TaskExecutionMetadataOrBuilder
-
getPluginIdentifier
public String getPluginIdentifier()
The identifier of the plugin used to execute this task.
string plugin_identifier = 4;- Specified by:
getPluginIdentifierin interfaceEvent.TaskExecutionMetadataOrBuilder- Returns:
- The pluginIdentifier.
-
getPluginIdentifierBytes
public com.google.protobuf.ByteString getPluginIdentifierBytes()
The identifier of the plugin used to execute this task.
string plugin_identifier = 4;- Specified by:
getPluginIdentifierBytesin interfaceEvent.TaskExecutionMetadataOrBuilder- Returns:
- The bytes for pluginIdentifier.
-
getInstanceClassValue
public int getInstanceClassValue()
.flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16;- Specified by:
getInstanceClassValuein interfaceEvent.TaskExecutionMetadataOrBuilder- Returns:
- The enum numeric value on the wire for instanceClass.
-
getInstanceClass
public Event.TaskExecutionMetadata.InstanceClass getInstanceClass()
.flyteidl.event.TaskExecutionMetadata.InstanceClass instance_class = 16;- Specified by:
getInstanceClassin interfaceEvent.TaskExecutionMetadataOrBuilder- Returns:
- The instanceClass.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Event.TaskExecutionMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.TaskExecutionMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.TaskExecutionMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.TaskExecutionMetadata 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.TaskExecutionMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.TaskExecutionMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.TaskExecutionMetadata parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Event.TaskExecutionMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Event.TaskExecutionMetadata parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Event.TaskExecutionMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Event.TaskExecutionMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Event.TaskExecutionMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Event.TaskExecutionMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Event.TaskExecutionMetadata.Builder newBuilder()
-
newBuilder
public static Event.TaskExecutionMetadata.Builder newBuilder(Event.TaskExecutionMetadata prototype)
-
toBuilder
public Event.TaskExecutionMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Event.TaskExecutionMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Event.TaskExecutionMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Event.TaskExecutionMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<Event.TaskExecutionMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Event.TaskExecutionMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-