Class WorkflowTaskScheduledEventAttributes.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskScheduledEventAttributes.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskScheduledEventAttributes.Builder>
      • getDefaultInstanceForType

        public WorkflowTaskScheduledEventAttributes getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public WorkflowTaskScheduledEventAttributes build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public WorkflowTaskScheduledEventAttributes buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskScheduledEventAttributes.Builder>
      • mergeFrom

        public WorkflowTaskScheduledEventAttributes.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkflowTaskScheduledEventAttributes.Builder>
        Throws:
        java.io.IOException
      • hasTaskQueue

        public 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;
        Specified by:
        hasTaskQueue in interface WorkflowTaskScheduledEventAttributesOrBuilder
        Returns:
        Whether the taskQueue field is set.
      • clearTaskQueue

        public WorkflowTaskScheduledEventAttributes.Builder clearTaskQueue()
         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;
      • getTaskQueueBuilder

        public TaskQueue.Builder getTaskQueueBuilder()
         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

        public 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 [(.gogoproto.stdduration) = true];
        Specified by:
        hasStartToCloseTimeout in interface WorkflowTaskScheduledEventAttributesOrBuilder
        Returns:
        Whether the startToCloseTimeout field is set.
      • getStartToCloseTimeout

        public 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 [(.gogoproto.stdduration) = true];
        Specified by:
        getStartToCloseTimeout in interface WorkflowTaskScheduledEventAttributesOrBuilder
        Returns:
        The startToCloseTimeout.
      • setStartToCloseTimeout

        public WorkflowTaskScheduledEventAttributes.Builder setStartToCloseTimeout​(com.google.protobuf.Duration value)
         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 [(.gogoproto.stdduration) = true];
      • setStartToCloseTimeout

        public WorkflowTaskScheduledEventAttributes.Builder setStartToCloseTimeout​(com.google.protobuf.Duration.Builder builderForValue)
         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 [(.gogoproto.stdduration) = true];
      • mergeStartToCloseTimeout

        public WorkflowTaskScheduledEventAttributes.Builder mergeStartToCloseTimeout​(com.google.protobuf.Duration value)
         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 [(.gogoproto.stdduration) = true];
      • clearStartToCloseTimeout

        public WorkflowTaskScheduledEventAttributes.Builder clearStartToCloseTimeout()
         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 [(.gogoproto.stdduration) = true];
      • getStartToCloseTimeoutBuilder

        public com.google.protobuf.Duration.Builder getStartToCloseTimeoutBuilder()
         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 [(.gogoproto.stdduration) = true];
      • getStartToCloseTimeoutOrBuilder

        public 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 [(.gogoproto.stdduration) = true];
        Specified by:
        getStartToCloseTimeoutOrBuilder in interface WorkflowTaskScheduledEventAttributesOrBuilder
      • setAttempt

        public WorkflowTaskScheduledEventAttributes.Builder setAttempt​(int value)
         Starting at 1, how many attempts there have been to complete this task
         
        int32 attempt = 3;
        Parameters:
        value - The attempt to set.
        Returns:
        This builder for chaining.