Class PollActivityTaskQueueResponse.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<PollActivityTaskQueueResponse.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<PollActivityTaskQueueResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public PollActivityTaskQueueResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                      int index,
                                                                      java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
      • addRepeatedField

        public PollActivityTaskQueueResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                      java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
      • isInitialized

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

        public PollActivityTaskQueueResponse.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<PollActivityTaskQueueResponse.Builder>
        Throws:
        java.io.IOException
      • setTaskToken

        public PollActivityTaskQueueResponse.Builder setTaskToken​(com.google.protobuf.ByteString value)
         A unique identifier for this task
         
        bytes task_token = 1;
        Parameters:
        value - The taskToken to set.
        Returns:
        This builder for chaining.
      • getWorkflowNamespaceBytes

        public com.google.protobuf.ByteString getWorkflowNamespaceBytes()
         The namespace the workflow which requested this activity lives in
         
        string workflow_namespace = 2;
        Specified by:
        getWorkflowNamespaceBytes in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        The bytes for workflowNamespace.
      • setWorkflowNamespace

        public PollActivityTaskQueueResponse.Builder setWorkflowNamespace​(java.lang.String value)
         The namespace the workflow which requested this activity lives in
         
        string workflow_namespace = 2;
        Parameters:
        value - The workflowNamespace to set.
        Returns:
        This builder for chaining.
      • clearWorkflowNamespace

        public PollActivityTaskQueueResponse.Builder clearWorkflowNamespace()
         The namespace the workflow which requested this activity lives in
         
        string workflow_namespace = 2;
        Returns:
        This builder for chaining.
      • setWorkflowNamespaceBytes

        public PollActivityTaskQueueResponse.Builder setWorkflowNamespaceBytes​(com.google.protobuf.ByteString value)
         The namespace the workflow which requested this activity lives in
         
        string workflow_namespace = 2;
        Parameters:
        value - The bytes for workflowNamespace to set.
        Returns:
        This builder for chaining.
      • hasWorkflowType

        public boolean hasWorkflowType()
         Type of the requesting workflow
         
        .temporal.api.common.v1.WorkflowType workflow_type = 3;
        Specified by:
        hasWorkflowType in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        Whether the workflowType field is set.
      • getWorkflowTypeBuilder

        public WorkflowType.Builder getWorkflowTypeBuilder()
         Type of the requesting workflow
         
        .temporal.api.common.v1.WorkflowType workflow_type = 3;
      • hasWorkflowExecution

        public boolean hasWorkflowExecution()
         Execution info of the requesting workflow
         
        .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
        Specified by:
        hasWorkflowExecution in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        Whether the workflowExecution field is set.
      • clearWorkflowExecution

        public PollActivityTaskQueueResponse.Builder clearWorkflowExecution()
         Execution info of the requesting workflow
         
        .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
      • getWorkflowExecutionBuilder

        public WorkflowExecution.Builder getWorkflowExecutionBuilder()
         Execution info of the requesting workflow
         
        .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
      • getActivityTypeBuilder

        public ActivityType.Builder getActivityTypeBuilder()
        .temporal.api.common.v1.ActivityType activity_type = 5;
      • getActivityId

        public java.lang.String getActivityId()
         The autogenerated or user specified identifier of this activity. Can be used to complete the
         activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage
         has resolved, but unique IDs for every activity invocation is a good idea.
         
        string activity_id = 6;
        Specified by:
        getActivityId in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        The activityId.
      • getActivityIdBytes

        public com.google.protobuf.ByteString getActivityIdBytes()
         The autogenerated or user specified identifier of this activity. Can be used to complete the
         activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage
         has resolved, but unique IDs for every activity invocation is a good idea.
         
        string activity_id = 6;
        Specified by:
        getActivityIdBytes in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        The bytes for activityId.
      • setActivityId

        public PollActivityTaskQueueResponse.Builder setActivityId​(java.lang.String value)
         The autogenerated or user specified identifier of this activity. Can be used to complete the
         activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage
         has resolved, but unique IDs for every activity invocation is a good idea.
         
        string activity_id = 6;
        Parameters:
        value - The activityId to set.
        Returns:
        This builder for chaining.
      • clearActivityId

        public PollActivityTaskQueueResponse.Builder clearActivityId()
         The autogenerated or user specified identifier of this activity. Can be used to complete the
         activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage
         has resolved, but unique IDs for every activity invocation is a good idea.
         
        string activity_id = 6;
        Returns:
        This builder for chaining.
      • setActivityIdBytes

        public PollActivityTaskQueueResponse.Builder setActivityIdBytes​(com.google.protobuf.ByteString value)
         The autogenerated or user specified identifier of this activity. Can be used to complete the
         activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage
         has resolved, but unique IDs for every activity invocation is a good idea.
         
        string activity_id = 6;
        Parameters:
        value - The bytes for activityId to set.
        Returns:
        This builder for chaining.
      • hasHeader

        public boolean hasHeader()
         Headers specified by the scheduling workflow. Commonly used to propagate contextual info
         from the workflow to its activities. For example, tracing contexts.
         
        .temporal.api.common.v1.Header header = 7;
        Specified by:
        hasHeader in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        Whether the header field is set.
      • getHeader

        public Header getHeader()
         Headers specified by the scheduling workflow. Commonly used to propagate contextual info
         from the workflow to its activities. For example, tracing contexts.
         
        .temporal.api.common.v1.Header header = 7;
        Specified by:
        getHeader in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        The header.
      • setHeader

        public PollActivityTaskQueueResponse.Builder setHeader​(Header value)
         Headers specified by the scheduling workflow. Commonly used to propagate contextual info
         from the workflow to its activities. For example, tracing contexts.
         
        .temporal.api.common.v1.Header header = 7;
      • setHeader

        public PollActivityTaskQueueResponse.Builder setHeader​(Header.Builder builderForValue)
         Headers specified by the scheduling workflow. Commonly used to propagate contextual info
         from the workflow to its activities. For example, tracing contexts.
         
        .temporal.api.common.v1.Header header = 7;
      • mergeHeader

        public PollActivityTaskQueueResponse.Builder mergeHeader​(Header value)
         Headers specified by the scheduling workflow. Commonly used to propagate contextual info
         from the workflow to its activities. For example, tracing contexts.
         
        .temporal.api.common.v1.Header header = 7;
      • clearHeader

        public PollActivityTaskQueueResponse.Builder clearHeader()
         Headers specified by the scheduling workflow. Commonly used to propagate contextual info
         from the workflow to its activities. For example, tracing contexts.
         
        .temporal.api.common.v1.Header header = 7;
      • getHeaderBuilder

        public Header.Builder getHeaderBuilder()
         Headers specified by the scheduling workflow. Commonly used to propagate contextual info
         from the workflow to its activities. For example, tracing contexts.
         
        .temporal.api.common.v1.Header header = 7;
      • hasInput

        public boolean hasInput()
         Arguments to the activity invocation
         
        .temporal.api.common.v1.Payloads input = 8;
        Specified by:
        hasInput in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        Whether the input field is set.
      • getInputBuilder

        public Payloads.Builder getInputBuilder()
         Arguments to the activity invocation
         
        .temporal.api.common.v1.Payloads input = 8;
      • hasHeartbeatDetails

        public boolean hasHeartbeatDetails()
         Details of the last heartbeat that was recorded for this activity as of the time this task
         was delivered.
         
        .temporal.api.common.v1.Payloads heartbeat_details = 9;
        Specified by:
        hasHeartbeatDetails in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        Whether the heartbeatDetails field is set.
      • getHeartbeatDetails

        public Payloads getHeartbeatDetails()
         Details of the last heartbeat that was recorded for this activity as of the time this task
         was delivered.
         
        .temporal.api.common.v1.Payloads heartbeat_details = 9;
        Specified by:
        getHeartbeatDetails in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        The heartbeatDetails.
      • setHeartbeatDetails

        public PollActivityTaskQueueResponse.Builder setHeartbeatDetails​(Payloads value)
         Details of the last heartbeat that was recorded for this activity as of the time this task
         was delivered.
         
        .temporal.api.common.v1.Payloads heartbeat_details = 9;
      • setHeartbeatDetails

        public PollActivityTaskQueueResponse.Builder setHeartbeatDetails​(Payloads.Builder builderForValue)
         Details of the last heartbeat that was recorded for this activity as of the time this task
         was delivered.
         
        .temporal.api.common.v1.Payloads heartbeat_details = 9;
      • mergeHeartbeatDetails

        public PollActivityTaskQueueResponse.Builder mergeHeartbeatDetails​(Payloads value)
         Details of the last heartbeat that was recorded for this activity as of the time this task
         was delivered.
         
        .temporal.api.common.v1.Payloads heartbeat_details = 9;
      • clearHeartbeatDetails

        public PollActivityTaskQueueResponse.Builder clearHeartbeatDetails()
         Details of the last heartbeat that was recorded for this activity as of the time this task
         was delivered.
         
        .temporal.api.common.v1.Payloads heartbeat_details = 9;
      • getHeartbeatDetailsBuilder

        public Payloads.Builder getHeartbeatDetailsBuilder()
         Details of the last heartbeat that was recorded for this activity as of the time this task
         was delivered.
         
        .temporal.api.common.v1.Payloads heartbeat_details = 9;
      • hasScheduledTime

        public boolean hasScheduledTime()
         When was this task first scheduled
         
        .google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
        Specified by:
        hasScheduledTime in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        Whether the scheduledTime field is set.
      • getScheduledTime

        public com.google.protobuf.Timestamp getScheduledTime()
         When was this task first scheduled
         
        .google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
        Specified by:
        getScheduledTime in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        The scheduledTime.
      • setScheduledTime

        public PollActivityTaskQueueResponse.Builder setScheduledTime​(com.google.protobuf.Timestamp value)
         When was this task first scheduled
         
        .google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
      • setScheduledTime

        public PollActivityTaskQueueResponse.Builder setScheduledTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         When was this task first scheduled
         
        .google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
      • mergeScheduledTime

        public PollActivityTaskQueueResponse.Builder mergeScheduledTime​(com.google.protobuf.Timestamp value)
         When was this task first scheduled
         
        .google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
      • clearScheduledTime

        public PollActivityTaskQueueResponse.Builder clearScheduledTime()
         When was this task first scheduled
         
        .google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
      • getScheduledTimeBuilder

        public com.google.protobuf.Timestamp.Builder getScheduledTimeBuilder()
         When was this task first scheduled
         
        .google.protobuf.Timestamp scheduled_time = 10 [(.gogoproto.stdtime) = true];
      • hasCurrentAttemptScheduledTime

        public boolean hasCurrentAttemptScheduledTime()
         When was this task attempt scheduled
         
        .google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
        Specified by:
        hasCurrentAttemptScheduledTime in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        Whether the currentAttemptScheduledTime field is set.
      • getCurrentAttemptScheduledTime

        public com.google.protobuf.Timestamp getCurrentAttemptScheduledTime()
         When was this task attempt scheduled
         
        .google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
        Specified by:
        getCurrentAttemptScheduledTime in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        The currentAttemptScheduledTime.
      • setCurrentAttemptScheduledTime

        public PollActivityTaskQueueResponse.Builder setCurrentAttemptScheduledTime​(com.google.protobuf.Timestamp value)
         When was this task attempt scheduled
         
        .google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
      • setCurrentAttemptScheduledTime

        public PollActivityTaskQueueResponse.Builder setCurrentAttemptScheduledTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         When was this task attempt scheduled
         
        .google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
      • mergeCurrentAttemptScheduledTime

        public PollActivityTaskQueueResponse.Builder mergeCurrentAttemptScheduledTime​(com.google.protobuf.Timestamp value)
         When was this task attempt scheduled
         
        .google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
      • clearCurrentAttemptScheduledTime

        public PollActivityTaskQueueResponse.Builder clearCurrentAttemptScheduledTime()
         When was this task attempt scheduled
         
        .google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
      • getCurrentAttemptScheduledTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCurrentAttemptScheduledTimeBuilder()
         When was this task attempt scheduled
         
        .google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(.gogoproto.stdtime) = true];
      • hasStartedTime

        public boolean hasStartedTime()
         When was this task started (this attempt)
         
        .google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
        Specified by:
        hasStartedTime in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        Whether the startedTime field is set.
      • getStartedTime

        public com.google.protobuf.Timestamp getStartedTime()
         When was this task started (this attempt)
         
        .google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
        Specified by:
        getStartedTime in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        The startedTime.
      • setStartedTime

        public PollActivityTaskQueueResponse.Builder setStartedTime​(com.google.protobuf.Timestamp value)
         When was this task started (this attempt)
         
        .google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
      • setStartedTime

        public PollActivityTaskQueueResponse.Builder setStartedTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         When was this task started (this attempt)
         
        .google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
      • mergeStartedTime

        public PollActivityTaskQueueResponse.Builder mergeStartedTime​(com.google.protobuf.Timestamp value)
         When was this task started (this attempt)
         
        .google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
      • clearStartedTime

        public PollActivityTaskQueueResponse.Builder clearStartedTime()
         When was this task started (this attempt)
         
        .google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
      • getStartedTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStartedTimeBuilder()
         When was this task started (this attempt)
         
        .google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
      • getStartedTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStartedTimeOrBuilder()
         When was this task started (this attempt)
         
        .google.protobuf.Timestamp started_time = 12 [(.gogoproto.stdtime) = true];
        Specified by:
        getStartedTimeOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
      • setAttempt

        public PollActivityTaskQueueResponse.Builder setAttempt​(int value)
         Starting at 1, the number of attempts to perform this activity
         
        int32 attempt = 13;
        Parameters:
        value - The attempt to set.
        Returns:
        This builder for chaining.
      • clearAttempt

        public PollActivityTaskQueueResponse.Builder clearAttempt()
         Starting at 1, the number of attempts to perform this activity
         
        int32 attempt = 13;
        Returns:
        This builder for chaining.
      • hasScheduleToCloseTimeout

        public boolean hasScheduleToCloseTimeout()
         First scheduled -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration schedule_to_close_timeout = 14 [(.gogoproto.stdduration) = true];
        Specified by:
        hasScheduleToCloseTimeout in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        Whether the scheduleToCloseTimeout field is set.
      • getScheduleToCloseTimeout

        public com.google.protobuf.Duration getScheduleToCloseTimeout()
         First scheduled -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration schedule_to_close_timeout = 14 [(.gogoproto.stdduration) = true];
        Specified by:
        getScheduleToCloseTimeout in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        The scheduleToCloseTimeout.
      • setScheduleToCloseTimeout

        public PollActivityTaskQueueResponse.Builder setScheduleToCloseTimeout​(com.google.protobuf.Duration value)
         First scheduled -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration schedule_to_close_timeout = 14 [(.gogoproto.stdduration) = true];
      • setScheduleToCloseTimeout

        public PollActivityTaskQueueResponse.Builder setScheduleToCloseTimeout​(com.google.protobuf.Duration.Builder builderForValue)
         First scheduled -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration schedule_to_close_timeout = 14 [(.gogoproto.stdduration) = true];
      • mergeScheduleToCloseTimeout

        public PollActivityTaskQueueResponse.Builder mergeScheduleToCloseTimeout​(com.google.protobuf.Duration value)
         First scheduled -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration schedule_to_close_timeout = 14 [(.gogoproto.stdduration) = true];
      • clearScheduleToCloseTimeout

        public PollActivityTaskQueueResponse.Builder clearScheduleToCloseTimeout()
         First scheduled -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration schedule_to_close_timeout = 14 [(.gogoproto.stdduration) = true];
      • getScheduleToCloseTimeoutBuilder

        public com.google.protobuf.Duration.Builder getScheduleToCloseTimeoutBuilder()
         First scheduled -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration schedule_to_close_timeout = 14 [(.gogoproto.stdduration) = true];
      • getScheduleToCloseTimeoutOrBuilder

        public com.google.protobuf.DurationOrBuilder getScheduleToCloseTimeoutOrBuilder()
         First scheduled -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration schedule_to_close_timeout = 14 [(.gogoproto.stdduration) = true];
        Specified by:
        getScheduleToCloseTimeoutOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
      • hasStartToCloseTimeout

        public boolean hasStartToCloseTimeout()
         Current attempt start -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration start_to_close_timeout = 15 [(.gogoproto.stdduration) = true];
        Specified by:
        hasStartToCloseTimeout in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        Whether the startToCloseTimeout field is set.
      • getStartToCloseTimeout

        public com.google.protobuf.Duration getStartToCloseTimeout()
         Current attempt start -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration start_to_close_timeout = 15 [(.gogoproto.stdduration) = true];
        Specified by:
        getStartToCloseTimeout in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        The startToCloseTimeout.
      • setStartToCloseTimeout

        public PollActivityTaskQueueResponse.Builder setStartToCloseTimeout​(com.google.protobuf.Duration value)
         Current attempt start -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration start_to_close_timeout = 15 [(.gogoproto.stdduration) = true];
      • setStartToCloseTimeout

        public PollActivityTaskQueueResponse.Builder setStartToCloseTimeout​(com.google.protobuf.Duration.Builder builderForValue)
         Current attempt start -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration start_to_close_timeout = 15 [(.gogoproto.stdduration) = true];
      • mergeStartToCloseTimeout

        public PollActivityTaskQueueResponse.Builder mergeStartToCloseTimeout​(com.google.protobuf.Duration value)
         Current attempt start -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration start_to_close_timeout = 15 [(.gogoproto.stdduration) = true];
      • clearStartToCloseTimeout

        public PollActivityTaskQueueResponse.Builder clearStartToCloseTimeout()
         Current attempt start -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration start_to_close_timeout = 15 [(.gogoproto.stdduration) = true];
      • getStartToCloseTimeoutBuilder

        public com.google.protobuf.Duration.Builder getStartToCloseTimeoutBuilder()
         Current attempt start -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration start_to_close_timeout = 15 [(.gogoproto.stdduration) = true];
      • getStartToCloseTimeoutOrBuilder

        public com.google.protobuf.DurationOrBuilder getStartToCloseTimeoutOrBuilder()
         Current attempt start -> final result reported timeout
         (-- api-linter: core::0140::prepositions=disabled
             aip.dev/not-precedent: "to" is used to indicate interval. --)
         
        .google.protobuf.Duration start_to_close_timeout = 15 [(.gogoproto.stdduration) = true];
        Specified by:
        getStartToCloseTimeoutOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
      • hasHeartbeatTimeout

        public boolean hasHeartbeatTimeout()
         Window within which the activity must report a heartbeat, or be timed out.
         
        .google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
        Specified by:
        hasHeartbeatTimeout in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        Whether the heartbeatTimeout field is set.
      • getHeartbeatTimeout

        public com.google.protobuf.Duration getHeartbeatTimeout()
         Window within which the activity must report a heartbeat, or be timed out.
         
        .google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
        Specified by:
        getHeartbeatTimeout in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        The heartbeatTimeout.
      • setHeartbeatTimeout

        public PollActivityTaskQueueResponse.Builder setHeartbeatTimeout​(com.google.protobuf.Duration value)
         Window within which the activity must report a heartbeat, or be timed out.
         
        .google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
      • setHeartbeatTimeout

        public PollActivityTaskQueueResponse.Builder setHeartbeatTimeout​(com.google.protobuf.Duration.Builder builderForValue)
         Window within which the activity must report a heartbeat, or be timed out.
         
        .google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
      • mergeHeartbeatTimeout

        public PollActivityTaskQueueResponse.Builder mergeHeartbeatTimeout​(com.google.protobuf.Duration value)
         Window within which the activity must report a heartbeat, or be timed out.
         
        .google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
      • clearHeartbeatTimeout

        public PollActivityTaskQueueResponse.Builder clearHeartbeatTimeout()
         Window within which the activity must report a heartbeat, or be timed out.
         
        .google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
      • getHeartbeatTimeoutBuilder

        public com.google.protobuf.Duration.Builder getHeartbeatTimeoutBuilder()
         Window within which the activity must report a heartbeat, or be timed out.
         
        .google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
      • getHeartbeatTimeoutOrBuilder

        public com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()
         Window within which the activity must report a heartbeat, or be timed out.
         
        .google.protobuf.Duration heartbeat_timeout = 16 [(.gogoproto.stdduration) = true];
        Specified by:
        getHeartbeatTimeoutOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
      • hasRetryPolicy

        public boolean hasRetryPolicy()
         This is the retry policy the service uses which may be different from the one provided
         (or not) during activity scheduling. The service can override the provided one if some
         values are not specified or exceed configured system limits.
         
        .temporal.api.common.v1.RetryPolicy retry_policy = 17;
        Specified by:
        hasRetryPolicy in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        Whether the retryPolicy field is set.
      • getRetryPolicy

        public RetryPolicy getRetryPolicy()
         This is the retry policy the service uses which may be different from the one provided
         (or not) during activity scheduling. The service can override the provided one if some
         values are not specified or exceed configured system limits.
         
        .temporal.api.common.v1.RetryPolicy retry_policy = 17;
        Specified by:
        getRetryPolicy in interface PollActivityTaskQueueResponseOrBuilder
        Returns:
        The retryPolicy.
      • setRetryPolicy

        public PollActivityTaskQueueResponse.Builder setRetryPolicy​(RetryPolicy value)
         This is the retry policy the service uses which may be different from the one provided
         (or not) during activity scheduling. The service can override the provided one if some
         values are not specified or exceed configured system limits.
         
        .temporal.api.common.v1.RetryPolicy retry_policy = 17;
      • setRetryPolicy

        public PollActivityTaskQueueResponse.Builder setRetryPolicy​(RetryPolicy.Builder builderForValue)
         This is the retry policy the service uses which may be different from the one provided
         (or not) during activity scheduling. The service can override the provided one if some
         values are not specified or exceed configured system limits.
         
        .temporal.api.common.v1.RetryPolicy retry_policy = 17;
      • mergeRetryPolicy

        public PollActivityTaskQueueResponse.Builder mergeRetryPolicy​(RetryPolicy value)
         This is the retry policy the service uses which may be different from the one provided
         (or not) during activity scheduling. The service can override the provided one if some
         values are not specified or exceed configured system limits.
         
        .temporal.api.common.v1.RetryPolicy retry_policy = 17;
      • clearRetryPolicy

        public PollActivityTaskQueueResponse.Builder clearRetryPolicy()
         This is the retry policy the service uses which may be different from the one provided
         (or not) during activity scheduling. The service can override the provided one if some
         values are not specified or exceed configured system limits.
         
        .temporal.api.common.v1.RetryPolicy retry_policy = 17;
      • getRetryPolicyBuilder

        public RetryPolicy.Builder getRetryPolicyBuilder()
         This is the retry policy the service uses which may be different from the one provided
         (or not) during activity scheduling. The service can override the provided one if some
         values are not specified or exceed configured system limits.
         
        .temporal.api.common.v1.RetryPolicy retry_policy = 17;
      • getRetryPolicyOrBuilder

        public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
         This is the retry policy the service uses which may be different from the one provided
         (or not) during activity scheduling. The service can override the provided one if some
         values are not specified or exceed configured system limits.
         
        .temporal.api.common.v1.RetryPolicy retry_policy = 17;
        Specified by:
        getRetryPolicyOrBuilder in interface PollActivityTaskQueueResponseOrBuilder