Package flyteidl.event
Interface Event.ExternalResourceInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Event.ExternalResourceInfo,Event.ExternalResourceInfo.Builder
- Enclosing class:
- Event
public static interface Event.ExternalResourceInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Catalog.CatalogCacheStatusgetCacheStatus()Captures the status of caching for this external resource execution.intgetCacheStatusValue()Captures the status of caching for this external resource execution.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 executionExecution.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 attempt-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getExternalId
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;- Returns:
- The externalId.
-
getExternalIdBytes
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;- Returns:
- The bytes for externalId.
-
getIndex
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;- Returns:
- The index.
-
getRetryAttempt
int getRetryAttempt()
Retry attempt number for this external resource, ie., 2 for the second attempt
uint32 retry_attempt = 3;- Returns:
- The retryAttempt.
-
getPhaseValue
int getPhaseValue()
Phase associated with the external resource
.flyteidl.core.TaskExecution.Phase phase = 4;- Returns:
- The enum numeric value on the wire for phase.
-
getPhase
Execution.TaskExecution.Phase getPhase()
Phase associated with the external resource
.flyteidl.core.TaskExecution.Phase phase = 4;- Returns:
- The phase.
-
getCacheStatusValue
int getCacheStatusValue()
Captures the status of caching for this external resource execution.
.flyteidl.core.CatalogCacheStatus cache_status = 5;- Returns:
- The enum numeric value on the wire for cacheStatus.
-
getCacheStatus
Catalog.CatalogCacheStatus getCacheStatus()
Captures the status of caching for this external resource execution.
.flyteidl.core.CatalogCacheStatus cache_status = 5;- Returns:
- The cacheStatus.
-
getLogsList
List<Execution.TaskLog> getLogsList()
log information for the external resource execution
repeated .flyteidl.core.TaskLog logs = 6;
-
getLogs
Execution.TaskLog getLogs(int index)
log information for the external resource execution
repeated .flyteidl.core.TaskLog logs = 6;
-
getLogsCount
int getLogsCount()
log information for the external resource execution
repeated .flyteidl.core.TaskLog logs = 6;
-
getLogsOrBuilderList
List<? extends Execution.TaskLogOrBuilder> getLogsOrBuilderList()
log information for the external resource execution
repeated .flyteidl.core.TaskLog logs = 6;
-
getLogsOrBuilder
Execution.TaskLogOrBuilder getLogsOrBuilder(int index)
log information for the external resource execution
repeated .flyteidl.core.TaskLog logs = 6;
-
-