Package flyteidl.event
Class Event.ExternalResourceInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.event.Event.ExternalResourceInfo
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Event.ExternalResourceInfoOrBuilder,Serializable
- Enclosing class:
- Event
public static final class Event.ExternalResourceInfo extends com.google.protobuf.GeneratedMessageV3 implements Event.ExternalResourceInfoOrBuilder
This message contains metadata about external resources produced or used by a specific task execution.
Protobuf typeflyteidl.event.ExternalResourceInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvent.ExternalResourceInfo.BuilderThis message contains metadata about external resources produced or used by a 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 static intCACHE_STATUS_FIELD_NUMBERprivate intcacheStatus_private static Event.ExternalResourceInfoDEFAULT_INSTANCEstatic intEXTERNAL_ID_FIELD_NUMBERprivate ObjectexternalId_private intindex_static intINDEX_FIELD_NUMBERprivate List<Execution.TaskLog>logs_static intLOGS_FIELD_NUMBERprivate bytememoizedIsInitializedprivate static com.google.protobuf.Parser<Event.ExternalResourceInfo>PARSERprivate intphase_static intPHASE_FIELD_NUMBERstatic intRETRY_ATTEMPT_FIELD_NUMBERprivate intretryAttempt_private static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateExternalResourceInfo()privateExternalResourceInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Catalog.CatalogCacheStatusgetCacheStatus()Captures the status of caching for this external resource execution.intgetCacheStatusValue()Captures the status of caching for this external resource execution.static Event.ExternalResourceInfogetDefaultInstance()Event.ExternalResourceInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetExternalId()Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids.com.google.protobuf.ByteStringgetExternalIdBytes()Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids.intgetIndex()A unique index for the external resource with respect to all external resources for this task.Execution.TaskLoggetLogs(int index)log information for the external resource executionintgetLogsCount()log information for the external resource executionList<Execution.TaskLog>getLogsList()log information for the external resource executionExecution.TaskLogOrBuildergetLogsOrBuilder(int index)log information for the external resource executionList<? extends Execution.TaskLogOrBuilder>getLogsOrBuilderList()log information for the external resource executioncom.google.protobuf.Parser<Event.ExternalResourceInfo>getParserForType()Execution.TaskExecution.PhasegetPhase()Phase associated with the external resourceintgetPhaseValue()Phase associated with the external resourceintgetRetryAttempt()Retry attempt number for this external resource, ie., 2 for the second attemptintgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Event.ExternalResourceInfo.BuildernewBuilder()static Event.ExternalResourceInfo.BuildernewBuilder(Event.ExternalResourceInfo prototype)Event.ExternalResourceInfo.BuildernewBuilderForType()protected Event.ExternalResourceInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Event.ExternalResourceInfoparseDelimitedFrom(InputStream input)static Event.ExternalResourceInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.ExternalResourceInfoparseFrom(byte[] data)static Event.ExternalResourceInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.ExternalResourceInfoparseFrom(com.google.protobuf.ByteString data)static Event.ExternalResourceInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.ExternalResourceInfoparseFrom(com.google.protobuf.CodedInputStream input)static Event.ExternalResourceInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.ExternalResourceInfoparseFrom(InputStream input)static Event.ExternalResourceInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Event.ExternalResourceInfoparseFrom(ByteBuffer data)static Event.ExternalResourceInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Event.ExternalResourceInfo>parser()Event.ExternalResourceInfo.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
-
EXTERNAL_ID_FIELD_NUMBER
public static final int EXTERNAL_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
externalId_
private volatile Object externalId_
-
INDEX_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
index_
private int index_
-
RETRY_ATTEMPT_FIELD_NUMBER
public static final int RETRY_ATTEMPT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
retryAttempt_
private int retryAttempt_
-
PHASE_FIELD_NUMBER
public static final int PHASE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
phase_
private int phase_
-
CACHE_STATUS_FIELD_NUMBER
public static final int CACHE_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
cacheStatus_
private int cacheStatus_
-
LOGS_FIELD_NUMBER
public static final int LOGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
logs_
private List<Execution.TaskLog> logs_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Event.ExternalResourceInfo DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Event.ExternalResourceInfo> 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
-
getExternalId
public String getExternalId()
Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids.
string external_id = 1;- Specified by:
getExternalIdin interfaceEvent.ExternalResourceInfoOrBuilder- Returns:
- The externalId.
-
getExternalIdBytes
public com.google.protobuf.ByteString getExternalIdBytes()
Identifier for an external resource created by this task execution, for example Qubole query ID or presto query ids.
string external_id = 1;- Specified by:
getExternalIdBytesin interfaceEvent.ExternalResourceInfoOrBuilder- Returns:
- The bytes for externalId.
-
getIndex
public int getIndex()
A unique index for the external resource with respect to all external resources for this task. Although the identifier may change between task reporting events or retries, this will remain the same to enable aggregating information from multiple reports.
uint32 index = 2;- Specified by:
getIndexin interfaceEvent.ExternalResourceInfoOrBuilder- Returns:
- The index.
-
getRetryAttempt
public int getRetryAttempt()
Retry attempt number for this external resource, ie., 2 for the second attempt
uint32 retry_attempt = 3;- Specified by:
getRetryAttemptin interfaceEvent.ExternalResourceInfoOrBuilder- Returns:
- The retryAttempt.
-
getPhaseValue
public int getPhaseValue()
Phase associated with the external resource
.flyteidl.core.TaskExecution.Phase phase = 4;- Specified by:
getPhaseValuein interfaceEvent.ExternalResourceInfoOrBuilder- Returns:
- The enum numeric value on the wire for phase.
-
getPhase
public Execution.TaskExecution.Phase getPhase()
Phase associated with the external resource
.flyteidl.core.TaskExecution.Phase phase = 4;- Specified by:
getPhasein interfaceEvent.ExternalResourceInfoOrBuilder- Returns:
- The phase.
-
getCacheStatusValue
public int getCacheStatusValue()
Captures the status of caching for this external resource execution.
.flyteidl.core.CatalogCacheStatus cache_status = 5;- Specified by:
getCacheStatusValuein interfaceEvent.ExternalResourceInfoOrBuilder- Returns:
- The enum numeric value on the wire for cacheStatus.
-
getCacheStatus
public Catalog.CatalogCacheStatus getCacheStatus()
Captures the status of caching for this external resource execution.
.flyteidl.core.CatalogCacheStatus cache_status = 5;- Specified by:
getCacheStatusin interfaceEvent.ExternalResourceInfoOrBuilder- Returns:
- The cacheStatus.
-
getLogsList
public List<Execution.TaskLog> getLogsList()
log information for the external resource execution
repeated .flyteidl.core.TaskLog logs = 6;- Specified by:
getLogsListin interfaceEvent.ExternalResourceInfoOrBuilder
-
getLogsOrBuilderList
public List<? extends Execution.TaskLogOrBuilder> getLogsOrBuilderList()
log information for the external resource execution
repeated .flyteidl.core.TaskLog logs = 6;- Specified by:
getLogsOrBuilderListin interfaceEvent.ExternalResourceInfoOrBuilder
-
getLogsCount
public int getLogsCount()
log information for the external resource execution
repeated .flyteidl.core.TaskLog logs = 6;- Specified by:
getLogsCountin interfaceEvent.ExternalResourceInfoOrBuilder
-
getLogs
public Execution.TaskLog getLogs(int index)
log information for the external resource execution
repeated .flyteidl.core.TaskLog logs = 6;- Specified by:
getLogsin interfaceEvent.ExternalResourceInfoOrBuilder
-
getLogsOrBuilder
public Execution.TaskLogOrBuilder getLogsOrBuilder(int index)
log information for the external resource execution
repeated .flyteidl.core.TaskLog logs = 6;- Specified by:
getLogsOrBuilderin interfaceEvent.ExternalResourceInfoOrBuilder
-
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.ExternalResourceInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.ExternalResourceInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.ExternalResourceInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.ExternalResourceInfo 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.ExternalResourceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.ExternalResourceInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event.ExternalResourceInfo parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Event.ExternalResourceInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Event.ExternalResourceInfo parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Event.ExternalResourceInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Event.ExternalResourceInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Event.ExternalResourceInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Event.ExternalResourceInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Event.ExternalResourceInfo.Builder newBuilder()
-
newBuilder
public static Event.ExternalResourceInfo.Builder newBuilder(Event.ExternalResourceInfo prototype)
-
toBuilder
public Event.ExternalResourceInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Event.ExternalResourceInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Event.ExternalResourceInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Event.ExternalResourceInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<Event.ExternalResourceInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Event.ExternalResourceInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-