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 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.
      • 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.