Package flyteidl.core
Interface Tasks.TaskMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Tasks.TaskMetadata,Tasks.TaskMetadata.Builder
- Enclosing class:
- Tasks
public static interface Tasks.TaskMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetCacheSerializable()Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate workStringgetDeprecatedErrorMessage()If set, this indicates that this task is deprecated.com.google.protobuf.ByteStringgetDeprecatedErrorMessageBytes()If set, this indicates that this task is deprecated.booleangetDiscoverable()Indicates whether the system should attempt to lookup this task's output to avoid duplication of work.StringgetDiscoveryVersion()Indicates a logical version to apply to this task for the purpose of discovery.com.google.protobuf.ByteStringgetDiscoveryVersionBytes()Indicates a logical version to apply to this task for the purpose of discovery.booleangetInterruptible()bool interruptible = 8;Tasks.TaskMetadata.InterruptibleValueCasegetInterruptibleValueCase()Literals.RetryStrategygetRetries()Number of retries per task.Literals.RetryStrategyOrBuildergetRetriesOrBuilder()Number of retries per task.Tasks.RuntimeMetadatagetRuntime()Runtime information about the task.Tasks.RuntimeMetadataOrBuildergetRuntimeOrBuilder()Runtime information about the task.com.google.protobuf.DurationgetTimeout()The overall timeout of a task including user-triggered retries.com.google.protobuf.DurationOrBuildergetTimeoutOrBuilder()The overall timeout of a task including user-triggered retries.booleanhasInterruptible()bool interruptible = 8;booleanhasRetries()Number of retries per task.booleanhasRuntime()Runtime information about the task.booleanhasTimeout()The overall timeout of a task including user-triggered retries.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDiscoverable
boolean getDiscoverable()
Indicates whether the system should attempt to lookup this task's output to avoid duplication of work.
bool discoverable = 1;- Returns:
- The discoverable.
-
hasRuntime
boolean hasRuntime()
Runtime information about the task.
.flyteidl.core.RuntimeMetadata runtime = 2;- Returns:
- Whether the runtime field is set.
-
getRuntime
Tasks.RuntimeMetadata getRuntime()
Runtime information about the task.
.flyteidl.core.RuntimeMetadata runtime = 2;- Returns:
- The runtime.
-
getRuntimeOrBuilder
Tasks.RuntimeMetadataOrBuilder getRuntimeOrBuilder()
Runtime information about the task.
.flyteidl.core.RuntimeMetadata runtime = 2;
-
hasTimeout
boolean hasTimeout()
The overall timeout of a task including user-triggered retries.
.google.protobuf.Duration timeout = 4;- Returns:
- Whether the timeout field is set.
-
getTimeout
com.google.protobuf.Duration getTimeout()
The overall timeout of a task including user-triggered retries.
.google.protobuf.Duration timeout = 4;- Returns:
- The timeout.
-
getTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
The overall timeout of a task including user-triggered retries.
.google.protobuf.Duration timeout = 4;
-
hasRetries
boolean hasRetries()
Number of retries per task.
.flyteidl.core.RetryStrategy retries = 5;- Returns:
- Whether the retries field is set.
-
getRetries
Literals.RetryStrategy getRetries()
Number of retries per task.
.flyteidl.core.RetryStrategy retries = 5;- Returns:
- The retries.
-
getRetriesOrBuilder
Literals.RetryStrategyOrBuilder getRetriesOrBuilder()
Number of retries per task.
.flyteidl.core.RetryStrategy retries = 5;
-
getDiscoveryVersion
String getDiscoveryVersion()
Indicates a logical version to apply to this task for the purpose of discovery.
string discovery_version = 6;- Returns:
- The discoveryVersion.
-
getDiscoveryVersionBytes
com.google.protobuf.ByteString getDiscoveryVersionBytes()
Indicates a logical version to apply to this task for the purpose of discovery.
string discovery_version = 6;- Returns:
- The bytes for discoveryVersion.
-
getDeprecatedErrorMessage
String getDeprecatedErrorMessage()
If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task.
string deprecated_error_message = 7;- Returns:
- The deprecatedErrorMessage.
-
getDeprecatedErrorMessageBytes
com.google.protobuf.ByteString getDeprecatedErrorMessageBytes()
If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task.
string deprecated_error_message = 7;- Returns:
- The bytes for deprecatedErrorMessage.
-
hasInterruptible
boolean hasInterruptible()
bool interruptible = 8;- Returns:
- Whether the interruptible field is set.
-
getInterruptible
boolean getInterruptible()
bool interruptible = 8;- Returns:
- The interruptible.
-
getCacheSerializable
boolean getCacheSerializable()
Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work
bool cache_serializable = 9;- Returns:
- The cacheSerializable.
-
getInterruptibleValueCase
Tasks.TaskMetadata.InterruptibleValueCase getInterruptibleValueCase()
-
-