Class PollActivityTaskQueueResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<PollActivityTaskQueueResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
io.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, PollActivityTaskQueueResponseOrBuilder, Cloneable
Enclosing class:
PollActivityTaskQueueResponse

public static final class PollActivityTaskQueueResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder> implements PollActivityTaskQueueResponseOrBuilder
Protobuf type temporal.api.workflowservice.v1.PollActivityTaskQueueResponse
  • Method Details

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

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear 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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
    • setField

      public PollActivityTaskQueueResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
    • clearField

      public PollActivityTaskQueueResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
    • clearOneof

      public PollActivityTaskQueueResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
    • setRepeatedField

      public PollActivityTaskQueueResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, 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, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
    • mergeFrom

      public PollActivityTaskQueueResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PollActivityTaskQueueResponse.Builder>
    • mergeFrom

    • 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 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:
      IOException
    • getTaskToken

      public com.google.protobuf.ByteString getTaskToken()
       A unique identifier for this task
       
      bytes task_token = 1;
      Specified by:
      getTaskToken in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      The taskToken.
    • 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.
    • clearTaskToken

      public PollActivityTaskQueueResponse.Builder clearTaskToken()
       A unique identifier for this task
       
      bytes task_token = 1;
      Returns:
      This builder for chaining.
    • getWorkflowNamespace

      public String getWorkflowNamespace()
       The namespace of the activity. If this is a workflow activity then this is the namespace of
       the workflow also. If this is a standalone activity then the name of this field is
       misleading, but retained for compatibility with workflow activities.
       
      string workflow_namespace = 2;
      Specified by:
      getWorkflowNamespace in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      The workflowNamespace.
    • getWorkflowNamespaceBytes

      public com.google.protobuf.ByteString getWorkflowNamespaceBytes()
       The namespace of the activity. If this is a workflow activity then this is the namespace of
       the workflow also. If this is a standalone activity then the name of this field is
       misleading, but retained for compatibility with workflow activities.
       
      string workflow_namespace = 2;
      Specified by:
      getWorkflowNamespaceBytes in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      The bytes for workflowNamespace.
    • setWorkflowNamespace

      public PollActivityTaskQueueResponse.Builder setWorkflowNamespace(String value)
       The namespace of the activity. If this is a workflow activity then this is the namespace of
       the workflow also. If this is a standalone activity then the name of this field is
       misleading, but retained for compatibility with workflow activities.
       
      string workflow_namespace = 2;
      Parameters:
      value - The workflowNamespace to set.
      Returns:
      This builder for chaining.
    • clearWorkflowNamespace

      public PollActivityTaskQueueResponse.Builder clearWorkflowNamespace()
       The namespace of the activity. If this is a workflow activity then this is the namespace of
       the workflow also. If this is a standalone activity then the name of this field is
       misleading, but retained for compatibility with workflow activities.
       
      string workflow_namespace = 2;
      Returns:
      This builder for chaining.
    • setWorkflowNamespaceBytes

      public PollActivityTaskQueueResponse.Builder setWorkflowNamespaceBytes(com.google.protobuf.ByteString value)
       The namespace of the activity. If this is a workflow activity then this is the namespace of
       the workflow also. If this is a standalone activity then the name of this field is
       misleading, but retained for compatibility with workflow activities.
       
      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 (if this is a workflow activity).
       
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
      Specified by:
      hasWorkflowType in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      Whether the workflowType field is set.
    • getWorkflowType

      public WorkflowType getWorkflowType()
       Type of the requesting workflow (if this is a workflow activity).
       
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
      Specified by:
      getWorkflowType in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      The workflowType.
    • setWorkflowType

      public PollActivityTaskQueueResponse.Builder setWorkflowType(WorkflowType value)
       Type of the requesting workflow (if this is a workflow activity).
       
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
    • setWorkflowType

      public PollActivityTaskQueueResponse.Builder setWorkflowType(WorkflowType.Builder builderForValue)
       Type of the requesting workflow (if this is a workflow activity).
       
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
    • mergeWorkflowType

      public PollActivityTaskQueueResponse.Builder mergeWorkflowType(WorkflowType value)
       Type of the requesting workflow (if this is a workflow activity).
       
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
    • clearWorkflowType

      public PollActivityTaskQueueResponse.Builder clearWorkflowType()
       Type of the requesting workflow (if this is a workflow activity).
       
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
    • getWorkflowTypeBuilder

      public WorkflowType.Builder getWorkflowTypeBuilder()
       Type of the requesting workflow (if this is a workflow activity).
       
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
    • getWorkflowTypeOrBuilder

      public WorkflowTypeOrBuilder getWorkflowTypeOrBuilder()
       Type of the requesting workflow (if this is a workflow activity).
       
      .temporal.api.common.v1.WorkflowType workflow_type = 3;
      Specified by:
      getWorkflowTypeOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
    • hasWorkflowExecution

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

      public WorkflowExecution getWorkflowExecution()
       Execution info of the requesting workflow (if this is a workflow activity)
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
      Specified by:
      getWorkflowExecution in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      The workflowExecution.
    • setWorkflowExecution

      public PollActivityTaskQueueResponse.Builder setWorkflowExecution(WorkflowExecution value)
       Execution info of the requesting workflow (if this is a workflow activity)
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
    • setWorkflowExecution

      public PollActivityTaskQueueResponse.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue)
       Execution info of the requesting workflow (if this is a workflow activity)
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
    • mergeWorkflowExecution

      public PollActivityTaskQueueResponse.Builder mergeWorkflowExecution(WorkflowExecution value)
       Execution info of the requesting workflow (if this is a workflow activity)
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
    • clearWorkflowExecution

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

      public WorkflowExecution.Builder getWorkflowExecutionBuilder()
       Execution info of the requesting workflow (if this is a workflow activity)
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
    • getWorkflowExecutionOrBuilder

      public WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
       Execution info of the requesting workflow (if this is a workflow activity)
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
      Specified by:
      getWorkflowExecutionOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
    • hasActivityType

      public boolean hasActivityType()
      .temporal.api.common.v1.ActivityType activity_type = 5;
      Specified by:
      hasActivityType in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      Whether the activityType field is set.
    • getActivityType

      public ActivityType getActivityType()
      .temporal.api.common.v1.ActivityType activity_type = 5;
      Specified by:
      getActivityType in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      The activityType.
    • setActivityType

      public PollActivityTaskQueueResponse.Builder setActivityType(ActivityType value)
      .temporal.api.common.v1.ActivityType activity_type = 5;
    • setActivityType

      public PollActivityTaskQueueResponse.Builder setActivityType(ActivityType.Builder builderForValue)
      .temporal.api.common.v1.ActivityType activity_type = 5;
    • mergeActivityType

      public PollActivityTaskQueueResponse.Builder mergeActivityType(ActivityType value)
      .temporal.api.common.v1.ActivityType activity_type = 5;
    • clearActivityType

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

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

      public ActivityTypeOrBuilder getActivityTypeOrBuilder()
      .temporal.api.common.v1.ActivityType activity_type = 5;
      Specified by:
      getActivityTypeOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
    • getActivityId

      public 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.
       Note that only a workflow activity ID may be autogenerated.
       
      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.
       Note that only a workflow activity ID may be autogenerated.
       
      string activity_id = 6;
      Specified by:
      getActivityIdBytes in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      The bytes for activityId.
    • setActivityId

      public PollActivityTaskQueueResponse.Builder setActivityId(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.
       Note that only a workflow activity ID may be autogenerated.
       
      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.
       Note that only a workflow activity ID may be autogenerated.
       
      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.
       Note that only a workflow activity ID may be autogenerated.
       
      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

       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

       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;
    • getHeaderOrBuilder

      public HeaderOrBuilder getHeaderOrBuilder()
       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:
      getHeaderOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
    • 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.
    • getInput

      public Payloads getInput()
       Arguments to the activity invocation
       
      .temporal.api.common.v1.Payloads input = 8;
      Specified by:
      getInput in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      The input.
    • setInput

       Arguments to the activity invocation
       
      .temporal.api.common.v1.Payloads input = 8;
    • setInput

      public PollActivityTaskQueueResponse.Builder setInput(Payloads.Builder builderForValue)
       Arguments to the activity invocation
       
      .temporal.api.common.v1.Payloads input = 8;
    • mergeInput

       Arguments to the activity invocation
       
      .temporal.api.common.v1.Payloads input = 8;
    • clearInput

       Arguments to the activity invocation
       
      .temporal.api.common.v1.Payloads input = 8;
    • getInputBuilder

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

      public PayloadsOrBuilder getInputOrBuilder()
       Arguments to the activity invocation
       
      .temporal.api.common.v1.Payloads input = 8;
      Specified by:
      getInputOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
    • 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;
    • getHeartbeatDetailsOrBuilder

      public PayloadsOrBuilder getHeartbeatDetailsOrBuilder()
       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:
      getHeartbeatDetailsOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
    • hasScheduledTime

      public boolean hasScheduledTime()
       When was this task first scheduled
       
      .google.protobuf.Timestamp scheduled_time = 10;
      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;
      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;
    • setScheduledTime

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

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

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

      public com.google.protobuf.Timestamp.Builder getScheduledTimeBuilder()
       When was this task first scheduled
       
      .google.protobuf.Timestamp scheduled_time = 10;
    • getScheduledTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getScheduledTimeOrBuilder()
       When was this task first scheduled
       
      .google.protobuf.Timestamp scheduled_time = 10;
      Specified by:
      getScheduledTimeOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
    • hasCurrentAttemptScheduledTime

      public boolean hasCurrentAttemptScheduledTime()
       When was this task attempt scheduled
       
      .google.protobuf.Timestamp current_attempt_scheduled_time = 11;
      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;
      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;
    • 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;
    • mergeCurrentAttemptScheduledTime

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

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

      public com.google.protobuf.Timestamp.Builder getCurrentAttemptScheduledTimeBuilder()
       When was this task attempt scheduled
       
      .google.protobuf.Timestamp current_attempt_scheduled_time = 11;
    • getCurrentAttemptScheduledTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCurrentAttemptScheduledTimeOrBuilder()
       When was this task attempt scheduled
       
      .google.protobuf.Timestamp current_attempt_scheduled_time = 11;
      Specified by:
      getCurrentAttemptScheduledTimeOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
    • hasStartedTime

      public boolean hasStartedTime()
       When was this task started (this attempt)
       
      .google.protobuf.Timestamp started_time = 12;
      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;
      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;
    • setStartedTime

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

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

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

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

      public com.google.protobuf.TimestampOrBuilder getStartedTimeOrBuilder()
       When was this task started (this attempt)
       
      .google.protobuf.Timestamp started_time = 12;
      Specified by:
      getStartedTimeOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
    • getAttempt

      public int getAttempt()
       Starting at 1, the number of attempts to perform this activity
       
      int32 attempt = 13;
      Specified by:
      getAttempt in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      The attempt.
    • 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

       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;
      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;
      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;
    • 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;
    • 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;
    • 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;
    • 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;
    • 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;
      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;
      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;
      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;
    • 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;
    • 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;
    • 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;
    • 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;
    • 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;
      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;
      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;
      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;
    • 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;
    • 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;
    • clearHeartbeatTimeout

      public PollActivityTaskQueueResponse.Builder clearHeartbeatTimeout()
       Window within which the activity must report a heartbeat, or be timed out.
       
      .google.protobuf.Duration heartbeat_timeout = 16;
    • 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;
    • 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;
      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
    • hasPollerScalingDecision

      public boolean hasPollerScalingDecision()
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;
      Specified by:
      hasPollerScalingDecision in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      Whether the pollerScalingDecision field is set.
    • getPollerScalingDecision

      public PollerScalingDecision getPollerScalingDecision()
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;
      Specified by:
      getPollerScalingDecision in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      The pollerScalingDecision.
    • setPollerScalingDecision

      public PollActivityTaskQueueResponse.Builder setPollerScalingDecision(PollerScalingDecision value)
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;
    • setPollerScalingDecision

      public PollActivityTaskQueueResponse.Builder setPollerScalingDecision(PollerScalingDecision.Builder builderForValue)
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;
    • mergePollerScalingDecision

      public PollActivityTaskQueueResponse.Builder mergePollerScalingDecision(PollerScalingDecision value)
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;
    • clearPollerScalingDecision

      public PollActivityTaskQueueResponse.Builder clearPollerScalingDecision()
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;
    • getPollerScalingDecisionBuilder

      public PollerScalingDecision.Builder getPollerScalingDecisionBuilder()
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;
    • getPollerScalingDecisionOrBuilder

      public PollerScalingDecisionOrBuilder getPollerScalingDecisionOrBuilder()
       Server-advised information the SDK may use to adjust its poller count.
       
      .temporal.api.taskqueue.v1.PollerScalingDecision poller_scaling_decision = 18;
      Specified by:
      getPollerScalingDecisionOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
    • hasPriority

      public boolean hasPriority()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 19;
      Specified by:
      hasPriority in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      Whether the priority field is set.
    • getPriority

      public Priority getPriority()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 19;
      Specified by:
      getPriority in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      The priority.
    • setPriority

      public PollActivityTaskQueueResponse.Builder setPriority(Priority value)
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 19;
    • setPriority

      public PollActivityTaskQueueResponse.Builder setPriority(Priority.Builder builderForValue)
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 19;
    • mergePriority

      public PollActivityTaskQueueResponse.Builder mergePriority(Priority value)
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 19;
    • clearPriority

      public PollActivityTaskQueueResponse.Builder clearPriority()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 19;
    • getPriorityBuilder

      public Priority.Builder getPriorityBuilder()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 19;
    • getPriorityOrBuilder

      public PriorityOrBuilder getPriorityOrBuilder()
       Priority metadata
       
      .temporal.api.common.v1.Priority priority = 19;
      Specified by:
      getPriorityOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
    • getActivityRunId

      public String getActivityRunId()
       The run ID of the activity execution, only set for standalone activities.
       
      string activity_run_id = 20;
      Specified by:
      getActivityRunId in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      The activityRunId.
    • getActivityRunIdBytes

      public com.google.protobuf.ByteString getActivityRunIdBytes()
       The run ID of the activity execution, only set for standalone activities.
       
      string activity_run_id = 20;
      Specified by:
      getActivityRunIdBytes in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      The bytes for activityRunId.
    • setActivityRunId

      public PollActivityTaskQueueResponse.Builder setActivityRunId(String value)
       The run ID of the activity execution, only set for standalone activities.
       
      string activity_run_id = 20;
      Parameters:
      value - The activityRunId to set.
      Returns:
      This builder for chaining.
    • clearActivityRunId

      public PollActivityTaskQueueResponse.Builder clearActivityRunId()
       The run ID of the activity execution, only set for standalone activities.
       
      string activity_run_id = 20;
      Returns:
      This builder for chaining.
    • setActivityRunIdBytes

      public PollActivityTaskQueueResponse.Builder setActivityRunIdBytes(com.google.protobuf.ByteString value)
       The run ID of the activity execution, only set for standalone activities.
       
      string activity_run_id = 20;
      Parameters:
      value - The bytes for activityRunId to set.
      Returns:
      This builder for chaining.
    • getPollerGroupInfosList

      @Deprecated public List<PollerGroupInfo> getPollerGroupInfosList()
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
      Specified by:
      getPollerGroupInfosList in interface PollActivityTaskQueueResponseOrBuilder
    • getPollerGroupInfosCount

      @Deprecated public int getPollerGroupInfosCount()
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
      Specified by:
      getPollerGroupInfosCount in interface PollActivityTaskQueueResponseOrBuilder
    • getPollerGroupInfos

      @Deprecated public PollerGroupInfo getPollerGroupInfos(int index)
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
      Specified by:
      getPollerGroupInfos in interface PollActivityTaskQueueResponseOrBuilder
    • setPollerGroupInfos

      @Deprecated public PollActivityTaskQueueResponse.Builder setPollerGroupInfos(int index, PollerGroupInfo value)
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
    • setPollerGroupInfos

      @Deprecated public PollActivityTaskQueueResponse.Builder setPollerGroupInfos(int index, PollerGroupInfo.Builder builderForValue)
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
    • addPollerGroupInfos

      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
    • addPollerGroupInfos

      @Deprecated public PollActivityTaskQueueResponse.Builder addPollerGroupInfos(int index, PollerGroupInfo value)
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
    • addPollerGroupInfos

      @Deprecated public PollActivityTaskQueueResponse.Builder addPollerGroupInfos(PollerGroupInfo.Builder builderForValue)
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
    • addPollerGroupInfos

      @Deprecated public PollActivityTaskQueueResponse.Builder addPollerGroupInfos(int index, PollerGroupInfo.Builder builderForValue)
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
    • addAllPollerGroupInfos

      @Deprecated public PollActivityTaskQueueResponse.Builder addAllPollerGroupInfos(Iterable<? extends PollerGroupInfo> values)
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
    • clearPollerGroupInfos

      @Deprecated public PollActivityTaskQueueResponse.Builder clearPollerGroupInfos()
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
    • removePollerGroupInfos

      @Deprecated public PollActivityTaskQueueResponse.Builder removePollerGroupInfos(int index)
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
    • getPollerGroupInfosBuilder

      @Deprecated public PollerGroupInfo.Builder getPollerGroupInfosBuilder(int index)
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
    • getPollerGroupInfosOrBuilder

      @Deprecated public PollerGroupInfoOrBuilder getPollerGroupInfosOrBuilder(int index)
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
      Specified by:
      getPollerGroupInfosOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
    • getPollerGroupInfosOrBuilderList

      @Deprecated public List<? extends PollerGroupInfoOrBuilder> getPollerGroupInfosOrBuilderList()
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
      Specified by:
      getPollerGroupInfosOrBuilderList in interface PollActivityTaskQueueResponseOrBuilder
    • addPollerGroupInfosBuilder

      @Deprecated public PollerGroupInfo.Builder addPollerGroupInfosBuilder()
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
    • addPollerGroupInfosBuilder

      @Deprecated public PollerGroupInfo.Builder addPollerGroupInfosBuilder(int index)
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
    • getPollerGroupInfosBuilderList

      @Deprecated public List<PollerGroupInfo.Builder> getPollerGroupInfosBuilderList()
      Deprecated.
       The weighted list of poller groups IDs that client should use for future polls to this task
       queue. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      repeated .temporal.api.taskqueue.v1.PollerGroupInfo poller_group_infos = 21 [deprecated = true];
    • hasPollerGroupsInfo

      public boolean hasPollerGroupsInfo()
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22;
      Specified by:
      hasPollerGroupsInfo in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      Whether the pollerGroupsInfo field is set.
    • getPollerGroupsInfo

      public PollerGroupsInfo getPollerGroupsInfo()
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22;
      Specified by:
      getPollerGroupsInfo in interface PollActivityTaskQueueResponseOrBuilder
      Returns:
      The pollerGroupsInfo.
    • setPollerGroupsInfo

      public PollActivityTaskQueueResponse.Builder setPollerGroupsInfo(PollerGroupsInfo value)
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22;
    • setPollerGroupsInfo

      public PollActivityTaskQueueResponse.Builder setPollerGroupsInfo(PollerGroupsInfo.Builder builderForValue)
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22;
    • mergePollerGroupsInfo

      public PollActivityTaskQueueResponse.Builder mergePollerGroupsInfo(PollerGroupsInfo value)
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22;
    • clearPollerGroupsInfo

      public PollActivityTaskQueueResponse.Builder clearPollerGroupsInfo()
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22;
    • getPollerGroupsInfoBuilder

      public PollerGroupsInfo.Builder getPollerGroupsInfoBuilder()
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22;
    • getPollerGroupsInfoOrBuilder

      public PollerGroupsInfoOrBuilder getPollerGroupsInfoOrBuilder()
       The weighted, versioned list of poller groups IDs that client should use for future polls to
       this task queue. Client should ignore this if it has already applied a snapshot with a
       version greater than or equal to `poller_groups_info.version`. Client is expected to:
         1. Maintain minimum number of pollers no less than the number of groups.
         2. Try to assign the next poll to a group without any pending polls,
         3. If every group has some pending polls, assign the next poll to a group randomly
           according to the weights.
       
      .temporal.api.taskqueue.v1.PollerGroupsInfo poller_groups_info = 22;
      Specified by:
      getPollerGroupsInfoOrBuilder in interface PollActivityTaskQueueResponseOrBuilder
    • setUnknownFields

      public final PollActivityTaskQueueResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>
    • mergeUnknownFields

      public final PollActivityTaskQueueResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PollActivityTaskQueueResponse.Builder>