Interface ActivityTaskScheduledEventAttributesOrBuilder

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

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

      • getActivityId

        java.lang.String getActivityId()
         The worker/user assigned identifier for the activity
         
        string activity_id = 1;
        Returns:
        The activityId.
      • getActivityIdBytes

        com.google.protobuf.ByteString getActivityIdBytes()
         The worker/user assigned identifier for the activity
         
        string activity_id = 1;
        Returns:
        The bytes for activityId.
      • hasActivityType

        boolean hasActivityType()
        .temporal.api.common.v1.ActivityType activity_type = 2;
        Returns:
        Whether the activityType field is set.
      • getActivityType

        ActivityType getActivityType()
        .temporal.api.common.v1.ActivityType activity_type = 2;
        Returns:
        The activityType.
      • getActivityTypeOrBuilder

        ActivityTypeOrBuilder getActivityTypeOrBuilder()
        .temporal.api.common.v1.ActivityType activity_type = 2;
      • hasTaskQueue

        boolean hasTaskQueue()
        .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
        Returns:
        Whether the taskQueue field is set.
      • getTaskQueue

        TaskQueue getTaskQueue()
        .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
        Returns:
        The taskQueue.
      • getTaskQueueOrBuilder

        TaskQueueOrBuilder getTaskQueueOrBuilder()
        .temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
      • hasHeader

        boolean hasHeader()
        .temporal.api.common.v1.Header header = 5;
        Returns:
        Whether the header field is set.
      • getHeader

        Header getHeader()
        .temporal.api.common.v1.Header header = 5;
        Returns:
        The header.
      • getHeaderOrBuilder

        HeaderOrBuilder getHeaderOrBuilder()
        .temporal.api.common.v1.Header header = 5;
      • hasInput

        boolean hasInput()
        .temporal.api.common.v1.Payloads input = 6;
        Returns:
        Whether the input field is set.
      • getInput

        Payloads getInput()
        .temporal.api.common.v1.Payloads input = 6;
        Returns:
        The input.
      • getInputOrBuilder

        PayloadsOrBuilder getInputOrBuilder()
        .temporal.api.common.v1.Payloads input = 6;
      • hasScheduleToCloseTimeout

        boolean hasScheduleToCloseTimeout()
         Indicates how long the caller is willing to wait for an activity completion. Limits how long
         retries will be attempted. Either this or `start_to_close_timeout` must be specified.
        
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration schedule_to_close_timeout = 7;
        Returns:
        Whether the scheduleToCloseTimeout field is set.
      • getScheduleToCloseTimeout

        com.google.protobuf.Duration getScheduleToCloseTimeout()
         Indicates how long the caller is willing to wait for an activity completion. Limits how long
         retries will be attempted. Either this or `start_to_close_timeout` must be specified.
        
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration schedule_to_close_timeout = 7;
        Returns:
        The scheduleToCloseTimeout.
      • getScheduleToCloseTimeoutOrBuilder

        com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()
         Indicates how long the caller is willing to wait for an activity completion. Limits how long
         retries will be attempted. Either this or `start_to_close_timeout` must be specified.
        
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration schedule_to_close_timeout = 7;
      • hasScheduleToStartTimeout

        boolean hasScheduleToStartTimeout()
         Limits time an activity task can stay in a task queue before a worker picks it up. This
         timeout is always non retryable, as all a retry would achieve is to put it back into the same
         queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not
         specified.
        
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration schedule_to_start_timeout = 8;
        Returns:
        Whether the scheduleToStartTimeout field is set.
      • getScheduleToStartTimeout

        com.google.protobuf.Duration getScheduleToStartTimeout()
         Limits time an activity task can stay in a task queue before a worker picks it up. This
         timeout is always non retryable, as all a retry would achieve is to put it back into the same
         queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not
         specified.
        
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration schedule_to_start_timeout = 8;
        Returns:
        The scheduleToStartTimeout.
      • getScheduleToStartTimeoutOrBuilder

        com.google.protobuf.DurationOrBuilder getScheduleToStartTimeoutOrBuilder()
         Limits time an activity task can stay in a task queue before a worker picks it up. This
         timeout is always non retryable, as all a retry would achieve is to put it back into the same
         queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not
         specified.
        
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration schedule_to_start_timeout = 8;
      • hasStartToCloseTimeout

        boolean hasStartToCloseTimeout()
         Maximum time an activity is allowed to execute after being picked up by a worker. This
         timeout is always retryable. Either this or `schedule_to_close_timeout` must be
         specified.
        
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration start_to_close_timeout = 9;
        Returns:
        Whether the startToCloseTimeout field is set.
      • getStartToCloseTimeout

        com.google.protobuf.Duration getStartToCloseTimeout()
         Maximum time an activity is allowed to execute after being picked up by a worker. This
         timeout is always retryable. Either this or `schedule_to_close_timeout` must be
         specified.
        
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration start_to_close_timeout = 9;
        Returns:
        The startToCloseTimeout.
      • getStartToCloseTimeoutOrBuilder

        com.google.protobuf.DurationOrBuilder getStartToCloseTimeoutOrBuilder()
         Maximum time an activity is allowed to execute after being picked up by a worker. This
         timeout is always retryable. Either this or `schedule_to_close_timeout` must be
         specified.
        
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration start_to_close_timeout = 9;
      • hasHeartbeatTimeout

        boolean hasHeartbeatTimeout()
         Maximum permitted time between successful worker heartbeats.
         
        .google.protobuf.Duration heartbeat_timeout = 10;
        Returns:
        Whether the heartbeatTimeout field is set.
      • getHeartbeatTimeout

        com.google.protobuf.Duration getHeartbeatTimeout()
         Maximum permitted time between successful worker heartbeats.
         
        .google.protobuf.Duration heartbeat_timeout = 10;
        Returns:
        The heartbeatTimeout.
      • getHeartbeatTimeoutOrBuilder

        com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()
         Maximum permitted time between successful worker heartbeats.
         
        .google.protobuf.Duration heartbeat_timeout = 10;
      • getWorkflowTaskCompletedEventId

        long getWorkflowTaskCompletedEventId()
         The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
         
        int64 workflow_task_completed_event_id = 11;
        Returns:
        The workflowTaskCompletedEventId.
      • hasRetryPolicy

        boolean hasRetryPolicy()
         Activities are assigned a default retry policy controlled by the service's dynamic
         configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
         retry_policy.maximum_attempts to 1.
         
        .temporal.api.common.v1.RetryPolicy retry_policy = 12;
        Returns:
        Whether the retryPolicy field is set.
      • getRetryPolicy

        RetryPolicy getRetryPolicy()
         Activities are assigned a default retry policy controlled by the service's dynamic
         configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
         retry_policy.maximum_attempts to 1.
         
        .temporal.api.common.v1.RetryPolicy retry_policy = 12;
        Returns:
        The retryPolicy.
      • getRetryPolicyOrBuilder

        RetryPolicyOrBuilder getRetryPolicyOrBuilder()
         Activities are assigned a default retry policy controlled by the service's dynamic
         configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set
         retry_policy.maximum_attempts to 1.
         
        .temporal.api.common.v1.RetryPolicy retry_policy = 12;
      • getUseWorkflowBuildId

        @Deprecated
        boolean getUseWorkflowBuildId()
        Deprecated.
        temporal.api.history.v1.ActivityTaskScheduledEventAttributes.use_workflow_build_id is deprecated. See temporal/api/history/v1/message.proto;l=374
         If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise,
         Assignment rules of the activity's Task Queue will be used to determine the Build ID.
         Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]
         
        bool use_workflow_build_id = 13 [deprecated = true];
        Returns:
        The useWorkflowBuildId.
      • hasPriority

        boolean hasPriority()
         Priority metadata. If this message is not present, or any fields are not
         present, they inherit the values from the workflow.
         
        .temporal.api.common.v1.Priority priority = 14;
        Returns:
        Whether the priority field is set.
      • getPriority

        Priority getPriority()
         Priority metadata. If this message is not present, or any fields are not
         present, they inherit the values from the workflow.
         
        .temporal.api.common.v1.Priority priority = 14;
        Returns:
        The priority.
      • getPriorityOrBuilder

        PriorityOrBuilder getPriorityOrBuilder()
         Priority metadata. If this message is not present, or any fields are not
         present, they inherit the values from the workflow.
         
        .temporal.api.common.v1.Priority priority = 14;