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 java.lang.StringgetDeprecatedErrorMessage()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.java.lang.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.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
java.lang.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
java.lang.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.
-
getInterruptible
boolean getInterruptible()
bool interruptible = 8;- Returns:
- The interruptible.
-
getInterruptibleValueCase
Tasks.TaskMetadata.InterruptibleValueCase getInterruptibleValueCase()
-
-