Interface WorkflowTaskScheduledEventAttributesOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
WorkflowTaskScheduledEventAttributes, WorkflowTaskScheduledEventAttributes.Builder

@Generated(value="protoc", comments="annotations:WorkflowTaskScheduledEventAttributesOrBuilder.java.pb.meta") public interface WorkflowTaskScheduledEventAttributesOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Starting at 1, how many attempts there have been to complete this task
    com.google.protobuf.Duration
    How long the worker has to process this task once receiving it before it times out (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.
    com.google.protobuf.DurationOrBuilder
    How long the worker has to process this task once receiving it before it times out (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.
    The task queue this workflow task was enqueued in, which could be a normal or sticky queue
    The task queue this workflow task was enqueued in, which could be a normal or sticky queue
    boolean
    How long the worker has to process this task once receiving it before it times out (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval.
    boolean
    The task queue this workflow task was enqueued in, which could be a normal or sticky queue

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasTaskQueue

      boolean hasTaskQueue()
       The task queue this workflow task was enqueued in, which could be a normal or sticky queue
       
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 1;
      Returns:
      Whether the taskQueue field is set.
    • getTaskQueue

      TaskQueue getTaskQueue()
       The task queue this workflow task was enqueued in, which could be a normal or sticky queue
       
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 1;
      Returns:
      The taskQueue.
    • getTaskQueueOrBuilder

      TaskQueueOrBuilder getTaskQueueOrBuilder()
       The task queue this workflow task was enqueued in, which could be a normal or sticky queue
       
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 1;
    • hasStartToCloseTimeout

      boolean hasStartToCloseTimeout()
       How long the worker has to process this task once receiving it before it times out
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 2;
      Returns:
      Whether the startToCloseTimeout field is set.
    • getStartToCloseTimeout

      com.google.protobuf.Duration getStartToCloseTimeout()
       How long the worker has to process this task once receiving it before it times out
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 2;
      Returns:
      The startToCloseTimeout.
    • getStartToCloseTimeoutOrBuilder

      com.google.protobuf.DurationOrBuilder getStartToCloseTimeoutOrBuilder()
       How long the worker has to process this task once receiving it before it times out
      
       (-- api-linter: core::0140::prepositions=disabled
           aip.dev/not-precedent: "to" is used to indicate interval. --)
       
      .google.protobuf.Duration start_to_close_timeout = 2;
    • getAttempt

      int getAttempt()
       Starting at 1, how many attempts there have been to complete this task
       
      int32 attempt = 3;
      Returns:
      The attempt.