Class StartActivityExecutionRequest.Builder

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

public static final class StartActivityExecutionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StartActivityExecutionRequest.Builder> implements StartActivityExecutionRequestOrBuilder
Protobuf type temporal.api.workflowservice.v1.StartActivityExecutionRequest
  • 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<StartActivityExecutionRequest.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<StartActivityExecutionRequest.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<StartActivityExecutionRequest.Builder>
    • getDefaultInstanceForType

      public StartActivityExecutionRequest 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 StartActivityExecutionRequest 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<StartActivityExecutionRequest.Builder>
    • setField

      public StartActivityExecutionRequest.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<StartActivityExecutionRequest.Builder>
    • clearField

      public StartActivityExecutionRequest.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<StartActivityExecutionRequest.Builder>
    • clearOneof

      public StartActivityExecutionRequest.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<StartActivityExecutionRequest.Builder>
    • setRepeatedField

      public StartActivityExecutionRequest.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<StartActivityExecutionRequest.Builder>
    • addRepeatedField

      public StartActivityExecutionRequest.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<StartActivityExecutionRequest.Builder>
    • mergeFrom

      public StartActivityExecutionRequest.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<StartActivityExecutionRequest.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<StartActivityExecutionRequest.Builder>
    • mergeFrom

      public StartActivityExecutionRequest.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<StartActivityExecutionRequest.Builder>
      Throws:
      IOException
    • getNamespace

      public String getNamespace()
      string namespace = 1;
      Specified by:
      getNamespace in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public StartActivityExecutionRequest.Builder setNamespace(String value)
      string namespace = 1;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public StartActivityExecutionRequest.Builder clearNamespace()
      string namespace = 1;
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public StartActivityExecutionRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
      string namespace = 1;
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • getIdentity

      public String getIdentity()
       The identity of the client who initiated this request
       
      string identity = 2;
      Specified by:
      getIdentity in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The identity.
    • getIdentityBytes

      public com.google.protobuf.ByteString getIdentityBytes()
       The identity of the client who initiated this request
       
      string identity = 2;
      Specified by:
      getIdentityBytes in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The bytes for identity.
    • setIdentity

      public StartActivityExecutionRequest.Builder setIdentity(String value)
       The identity of the client who initiated this request
       
      string identity = 2;
      Parameters:
      value - The identity to set.
      Returns:
      This builder for chaining.
    • clearIdentity

      public StartActivityExecutionRequest.Builder clearIdentity()
       The identity of the client who initiated this request
       
      string identity = 2;
      Returns:
      This builder for chaining.
    • setIdentityBytes

      public StartActivityExecutionRequest.Builder setIdentityBytes(com.google.protobuf.ByteString value)
       The identity of the client who initiated this request
       
      string identity = 2;
      Parameters:
      value - The bytes for identity to set.
      Returns:
      This builder for chaining.
    • getRequestId

      public String getRequestId()
       A unique identifier for this start request. Typically UUIDv4.
       
      string request_id = 3;
      Specified by:
      getRequestId in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       A unique identifier for this start request. Typically UUIDv4.
       
      string request_id = 3;
      Specified by:
      getRequestIdBytes in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public StartActivityExecutionRequest.Builder setRequestId(String value)
       A unique identifier for this start request. Typically UUIDv4.
       
      string request_id = 3;
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public StartActivityExecutionRequest.Builder clearRequestId()
       A unique identifier for this start request. Typically UUIDv4.
       
      string request_id = 3;
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public StartActivityExecutionRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       A unique identifier for this start request. Typically UUIDv4.
       
      string request_id = 3;
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.
    • getActivityId

      public String getActivityId()
       Identifier for this activity. Required. This identifier should be meaningful in the user's
       own system. It must be unique among activities in the same namespace, subject to the rules
       imposed by id_reuse_policy and id_conflict_policy.
       
      string activity_id = 4;
      Specified by:
      getActivityId in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The activityId.
    • getActivityIdBytes

      public com.google.protobuf.ByteString getActivityIdBytes()
       Identifier for this activity. Required. This identifier should be meaningful in the user's
       own system. It must be unique among activities in the same namespace, subject to the rules
       imposed by id_reuse_policy and id_conflict_policy.
       
      string activity_id = 4;
      Specified by:
      getActivityIdBytes in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The bytes for activityId.
    • setActivityId

      public StartActivityExecutionRequest.Builder setActivityId(String value)
       Identifier for this activity. Required. This identifier should be meaningful in the user's
       own system. It must be unique among activities in the same namespace, subject to the rules
       imposed by id_reuse_policy and id_conflict_policy.
       
      string activity_id = 4;
      Parameters:
      value - The activityId to set.
      Returns:
      This builder for chaining.
    • clearActivityId

      public StartActivityExecutionRequest.Builder clearActivityId()
       Identifier for this activity. Required. This identifier should be meaningful in the user's
       own system. It must be unique among activities in the same namespace, subject to the rules
       imposed by id_reuse_policy and id_conflict_policy.
       
      string activity_id = 4;
      Returns:
      This builder for chaining.
    • setActivityIdBytes

      public StartActivityExecutionRequest.Builder setActivityIdBytes(com.google.protobuf.ByteString value)
       Identifier for this activity. Required. This identifier should be meaningful in the user's
       own system. It must be unique among activities in the same namespace, subject to the rules
       imposed by id_reuse_policy and id_conflict_policy.
       
      string activity_id = 4;
      Parameters:
      value - The bytes for activityId to set.
      Returns:
      This builder for chaining.
    • hasActivityType

      public boolean hasActivityType()
       The type of the activity, a string that corresponds to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 5;
      Specified by:
      hasActivityType in interface StartActivityExecutionRequestOrBuilder
      Returns:
      Whether the activityType field is set.
    • getActivityType

      public ActivityType getActivityType()
       The type of the activity, a string that corresponds to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 5;
      Specified by:
      getActivityType in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The activityType.
    • setActivityType

      public StartActivityExecutionRequest.Builder setActivityType(ActivityType value)
       The type of the activity, a string that corresponds to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 5;
    • setActivityType

      public StartActivityExecutionRequest.Builder setActivityType(ActivityType.Builder builderForValue)
       The type of the activity, a string that corresponds to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 5;
    • mergeActivityType

      public StartActivityExecutionRequest.Builder mergeActivityType(ActivityType value)
       The type of the activity, a string that corresponds to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 5;
    • clearActivityType

      public StartActivityExecutionRequest.Builder clearActivityType()
       The type of the activity, a string that corresponds to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 5;
    • getActivityTypeBuilder

      public ActivityType.Builder getActivityTypeBuilder()
       The type of the activity, a string that corresponds to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 5;
    • getActivityTypeOrBuilder

      public ActivityTypeOrBuilder getActivityTypeOrBuilder()
       The type of the activity, a string that corresponds to a registered activity on a worker.
       
      .temporal.api.common.v1.ActivityType activity_type = 5;
      Specified by:
      getActivityTypeOrBuilder in interface StartActivityExecutionRequestOrBuilder
    • hasTaskQueue

      public boolean hasTaskQueue()
       Task queue to schedule this activity on.
       
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 6;
      Specified by:
      hasTaskQueue in interface StartActivityExecutionRequestOrBuilder
      Returns:
      Whether the taskQueue field is set.
    • getTaskQueue

      public TaskQueue getTaskQueue()
       Task queue to schedule this activity on.
       
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 6;
      Specified by:
      getTaskQueue in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The taskQueue.
    • setTaskQueue

      public StartActivityExecutionRequest.Builder setTaskQueue(TaskQueue value)
       Task queue to schedule this activity on.
       
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 6;
    • setTaskQueue

      public StartActivityExecutionRequest.Builder setTaskQueue(TaskQueue.Builder builderForValue)
       Task queue to schedule this activity on.
       
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 6;
    • mergeTaskQueue

      public StartActivityExecutionRequest.Builder mergeTaskQueue(TaskQueue value)
       Task queue to schedule this activity on.
       
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 6;
    • clearTaskQueue

      public StartActivityExecutionRequest.Builder clearTaskQueue()
       Task queue to schedule this activity on.
       
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 6;
    • getTaskQueueBuilder

      public TaskQueue.Builder getTaskQueueBuilder()
       Task queue to schedule this activity on.
       
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 6;
    • getTaskQueueOrBuilder

      public TaskQueueOrBuilder getTaskQueueOrBuilder()
       Task queue to schedule this activity on.
       
      .temporal.api.taskqueue.v1.TaskQueue task_queue = 6;
      Specified by:
      getTaskQueueOrBuilder in interface StartActivityExecutionRequestOrBuilder
    • hasScheduleToCloseTimeout

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public com.google.protobuf.Duration getHeartbeatTimeout()
       Maximum permitted time between successful worker heartbeats.
       
      .google.protobuf.Duration heartbeat_timeout = 10;
      Specified by:
      getHeartbeatTimeout in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The heartbeatTimeout.
    • setHeartbeatTimeout

      public StartActivityExecutionRequest.Builder setHeartbeatTimeout(com.google.protobuf.Duration value)
       Maximum permitted time between successful worker heartbeats.
       
      .google.protobuf.Duration heartbeat_timeout = 10;
    • setHeartbeatTimeout

      public StartActivityExecutionRequest.Builder setHeartbeatTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Maximum permitted time between successful worker heartbeats.
       
      .google.protobuf.Duration heartbeat_timeout = 10;
    • mergeHeartbeatTimeout

      public StartActivityExecutionRequest.Builder mergeHeartbeatTimeout(com.google.protobuf.Duration value)
       Maximum permitted time between successful worker heartbeats.
       
      .google.protobuf.Duration heartbeat_timeout = 10;
    • clearHeartbeatTimeout

      public StartActivityExecutionRequest.Builder clearHeartbeatTimeout()
       Maximum permitted time between successful worker heartbeats.
       
      .google.protobuf.Duration heartbeat_timeout = 10;
    • getHeartbeatTimeoutBuilder

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

      public com.google.protobuf.DurationOrBuilder getHeartbeatTimeoutOrBuilder()
       Maximum permitted time between successful worker heartbeats.
       
      .google.protobuf.Duration heartbeat_timeout = 10;
      Specified by:
      getHeartbeatTimeoutOrBuilder in interface StartActivityExecutionRequestOrBuilder
    • hasRetryPolicy

      public boolean hasRetryPolicy()
       The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
      Specified by:
      hasRetryPolicy in interface StartActivityExecutionRequestOrBuilder
      Returns:
      Whether the retryPolicy field is set.
    • getRetryPolicy

      public RetryPolicy getRetryPolicy()
       The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
      Specified by:
      getRetryPolicy in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The retryPolicy.
    • setRetryPolicy

      public StartActivityExecutionRequest.Builder setRetryPolicy(RetryPolicy value)
       The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
    • setRetryPolicy

      public StartActivityExecutionRequest.Builder setRetryPolicy(RetryPolicy.Builder builderForValue)
       The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
    • mergeRetryPolicy

      public StartActivityExecutionRequest.Builder mergeRetryPolicy(RetryPolicy value)
       The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
    • clearRetryPolicy

      public StartActivityExecutionRequest.Builder clearRetryPolicy()
       The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
    • getRetryPolicyBuilder

      public RetryPolicy.Builder getRetryPolicyBuilder()
       The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
    • getRetryPolicyOrBuilder

      public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
       The retry policy for the activity. Will never exceed `schedule_to_close_timeout`.
       
      .temporal.api.common.v1.RetryPolicy retry_policy = 11;
      Specified by:
      getRetryPolicyOrBuilder in interface StartActivityExecutionRequestOrBuilder
    • hasInput

      public boolean hasInput()
       Serialized arguments to the activity. These are passed as arguments to the activity function.
       
      .temporal.api.common.v1.Payloads input = 12;
      Specified by:
      hasInput in interface StartActivityExecutionRequestOrBuilder
      Returns:
      Whether the input field is set.
    • getInput

      public Payloads getInput()
       Serialized arguments to the activity. These are passed as arguments to the activity function.
       
      .temporal.api.common.v1.Payloads input = 12;
      Specified by:
      getInput in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The input.
    • setInput

       Serialized arguments to the activity. These are passed as arguments to the activity function.
       
      .temporal.api.common.v1.Payloads input = 12;
    • setInput

      public StartActivityExecutionRequest.Builder setInput(Payloads.Builder builderForValue)
       Serialized arguments to the activity. These are passed as arguments to the activity function.
       
      .temporal.api.common.v1.Payloads input = 12;
    • mergeInput

       Serialized arguments to the activity. These are passed as arguments to the activity function.
       
      .temporal.api.common.v1.Payloads input = 12;
    • clearInput

       Serialized arguments to the activity. These are passed as arguments to the activity function.
       
      .temporal.api.common.v1.Payloads input = 12;
    • getInputBuilder

      public Payloads.Builder getInputBuilder()
       Serialized arguments to the activity. These are passed as arguments to the activity function.
       
      .temporal.api.common.v1.Payloads input = 12;
    • getInputOrBuilder

      public PayloadsOrBuilder getInputOrBuilder()
       Serialized arguments to the activity. These are passed as arguments to the activity function.
       
      .temporal.api.common.v1.Payloads input = 12;
      Specified by:
      getInputOrBuilder in interface StartActivityExecutionRequestOrBuilder
    • getIdReusePolicyValue

      public int getIdReusePolicyValue()
       Defines whether to allow re-using the activity id from a previously *closed* activity.
       The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE.
       
      .temporal.api.enums.v1.ActivityIdReusePolicy id_reuse_policy = 13;
      Specified by:
      getIdReusePolicyValue in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The enum numeric value on the wire for idReusePolicy.
    • setIdReusePolicyValue

      public StartActivityExecutionRequest.Builder setIdReusePolicyValue(int value)
       Defines whether to allow re-using the activity id from a previously *closed* activity.
       The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE.
       
      .temporal.api.enums.v1.ActivityIdReusePolicy id_reuse_policy = 13;
      Parameters:
      value - The enum numeric value on the wire for idReusePolicy to set.
      Returns:
      This builder for chaining.
    • getIdReusePolicy

      public ActivityIdReusePolicy getIdReusePolicy()
       Defines whether to allow re-using the activity id from a previously *closed* activity.
       The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE.
       
      .temporal.api.enums.v1.ActivityIdReusePolicy id_reuse_policy = 13;
      Specified by:
      getIdReusePolicy in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The idReusePolicy.
    • setIdReusePolicy

       Defines whether to allow re-using the activity id from a previously *closed* activity.
       The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE.
       
      .temporal.api.enums.v1.ActivityIdReusePolicy id_reuse_policy = 13;
      Parameters:
      value - The idReusePolicy to set.
      Returns:
      This builder for chaining.
    • clearIdReusePolicy

      public StartActivityExecutionRequest.Builder clearIdReusePolicy()
       Defines whether to allow re-using the activity id from a previously *closed* activity.
       The default policy is ACTIVITY_ID_REUSE_POLICY_ALLOW_DUPLICATE.
       
      .temporal.api.enums.v1.ActivityIdReusePolicy id_reuse_policy = 13;
      Returns:
      This builder for chaining.
    • getIdConflictPolicyValue

      public int getIdConflictPolicyValue()
       Defines how to resolve an activity id conflict with a *running* activity.
       The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL.
       
      .temporal.api.enums.v1.ActivityIdConflictPolicy id_conflict_policy = 14;
      Specified by:
      getIdConflictPolicyValue in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The enum numeric value on the wire for idConflictPolicy.
    • setIdConflictPolicyValue

      public StartActivityExecutionRequest.Builder setIdConflictPolicyValue(int value)
       Defines how to resolve an activity id conflict with a *running* activity.
       The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL.
       
      .temporal.api.enums.v1.ActivityIdConflictPolicy id_conflict_policy = 14;
      Parameters:
      value - The enum numeric value on the wire for idConflictPolicy to set.
      Returns:
      This builder for chaining.
    • getIdConflictPolicy

      public ActivityIdConflictPolicy getIdConflictPolicy()
       Defines how to resolve an activity id conflict with a *running* activity.
       The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL.
       
      .temporal.api.enums.v1.ActivityIdConflictPolicy id_conflict_policy = 14;
      Specified by:
      getIdConflictPolicy in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The idConflictPolicy.
    • setIdConflictPolicy

       Defines how to resolve an activity id conflict with a *running* activity.
       The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL.
       
      .temporal.api.enums.v1.ActivityIdConflictPolicy id_conflict_policy = 14;
      Parameters:
      value - The idConflictPolicy to set.
      Returns:
      This builder for chaining.
    • clearIdConflictPolicy

      public StartActivityExecutionRequest.Builder clearIdConflictPolicy()
       Defines how to resolve an activity id conflict with a *running* activity.
       The default policy is ACTIVITY_ID_CONFLICT_POLICY_FAIL.
       
      .temporal.api.enums.v1.ActivityIdConflictPolicy id_conflict_policy = 14;
      Returns:
      This builder for chaining.
    • hasSearchAttributes

      public boolean hasSearchAttributes()
       Search attributes for indexing.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 15;
      Specified by:
      hasSearchAttributes in interface StartActivityExecutionRequestOrBuilder
      Returns:
      Whether the searchAttributes field is set.
    • getSearchAttributes

      public SearchAttributes getSearchAttributes()
       Search attributes for indexing.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 15;
      Specified by:
      getSearchAttributes in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The searchAttributes.
    • setSearchAttributes

      public StartActivityExecutionRequest.Builder setSearchAttributes(SearchAttributes value)
       Search attributes for indexing.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 15;
    • setSearchAttributes

      public StartActivityExecutionRequest.Builder setSearchAttributes(SearchAttributes.Builder builderForValue)
       Search attributes for indexing.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 15;
    • mergeSearchAttributes

      public StartActivityExecutionRequest.Builder mergeSearchAttributes(SearchAttributes value)
       Search attributes for indexing.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 15;
    • clearSearchAttributes

      public StartActivityExecutionRequest.Builder clearSearchAttributes()
       Search attributes for indexing.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 15;
    • getSearchAttributesBuilder

      public SearchAttributes.Builder getSearchAttributesBuilder()
       Search attributes for indexing.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 15;
    • getSearchAttributesOrBuilder

      public SearchAttributesOrBuilder getSearchAttributesOrBuilder()
       Search attributes for indexing.
       
      .temporal.api.common.v1.SearchAttributes search_attributes = 15;
      Specified by:
      getSearchAttributesOrBuilder in interface StartActivityExecutionRequestOrBuilder
    • hasHeader

      public boolean hasHeader()
       Header for context propagation and tracing purposes.
       
      .temporal.api.common.v1.Header header = 16;
      Specified by:
      hasHeader in interface StartActivityExecutionRequestOrBuilder
      Returns:
      Whether the header field is set.
    • getHeader

      public Header getHeader()
       Header for context propagation and tracing purposes.
       
      .temporal.api.common.v1.Header header = 16;
      Specified by:
      getHeader in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The header.
    • setHeader

       Header for context propagation and tracing purposes.
       
      .temporal.api.common.v1.Header header = 16;
    • setHeader

      public StartActivityExecutionRequest.Builder setHeader(Header.Builder builderForValue)
       Header for context propagation and tracing purposes.
       
      .temporal.api.common.v1.Header header = 16;
    • mergeHeader

      public StartActivityExecutionRequest.Builder mergeHeader(Header value)
       Header for context propagation and tracing purposes.
       
      .temporal.api.common.v1.Header header = 16;
    • clearHeader

       Header for context propagation and tracing purposes.
       
      .temporal.api.common.v1.Header header = 16;
    • getHeaderBuilder

      public Header.Builder getHeaderBuilder()
       Header for context propagation and tracing purposes.
       
      .temporal.api.common.v1.Header header = 16;
    • getHeaderOrBuilder

      public HeaderOrBuilder getHeaderOrBuilder()
       Header for context propagation and tracing purposes.
       
      .temporal.api.common.v1.Header header = 16;
      Specified by:
      getHeaderOrBuilder in interface StartActivityExecutionRequestOrBuilder
    • hasUserMetadata

      public boolean hasUserMetadata()
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 17;
      Specified by:
      hasUserMetadata in interface StartActivityExecutionRequestOrBuilder
      Returns:
      Whether the userMetadata field is set.
    • getUserMetadata

      public UserMetadata getUserMetadata()
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 17;
      Specified by:
      getUserMetadata in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The userMetadata.
    • setUserMetadata

      public StartActivityExecutionRequest.Builder setUserMetadata(UserMetadata value)
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 17;
    • setUserMetadata

      public StartActivityExecutionRequest.Builder setUserMetadata(UserMetadata.Builder builderForValue)
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 17;
    • mergeUserMetadata

      public StartActivityExecutionRequest.Builder mergeUserMetadata(UserMetadata value)
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 17;
    • clearUserMetadata

      public StartActivityExecutionRequest.Builder clearUserMetadata()
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 17;
    • getUserMetadataBuilder

      public UserMetadata.Builder getUserMetadataBuilder()
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 17;
    • getUserMetadataOrBuilder

      public UserMetadataOrBuilder getUserMetadataOrBuilder()
       Metadata for use by user interfaces to display the fixed as-of-start summary and details of the activity.
       
      .temporal.api.sdk.v1.UserMetadata user_metadata = 17;
      Specified by:
      getUserMetadataOrBuilder in interface StartActivityExecutionRequestOrBuilder
    • hasPriority

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

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

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

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

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

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

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

      public PriorityOrBuilder getPriorityOrBuilder()
       Priority metadata.
       
      .temporal.api.common.v1.Priority priority = 18;
      Specified by:
      getPriorityOrBuilder in interface StartActivityExecutionRequestOrBuilder
    • getCompletionCallbacksList

      public List<Callback> getCompletionCallbacksList()
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
      Specified by:
      getCompletionCallbacksList in interface StartActivityExecutionRequestOrBuilder
    • getCompletionCallbacksCount

      public int getCompletionCallbacksCount()
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
      Specified by:
      getCompletionCallbacksCount in interface StartActivityExecutionRequestOrBuilder
    • getCompletionCallbacks

      public Callback getCompletionCallbacks(int index)
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
      Specified by:
      getCompletionCallbacks in interface StartActivityExecutionRequestOrBuilder
    • setCompletionCallbacks

      public StartActivityExecutionRequest.Builder setCompletionCallbacks(int index, Callback value)
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
    • setCompletionCallbacks

      public StartActivityExecutionRequest.Builder setCompletionCallbacks(int index, Callback.Builder builderForValue)
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
    • addCompletionCallbacks

      public StartActivityExecutionRequest.Builder addCompletionCallbacks(Callback value)
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
    • addCompletionCallbacks

      public StartActivityExecutionRequest.Builder addCompletionCallbacks(int index, Callback value)
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
    • addCompletionCallbacks

      public StartActivityExecutionRequest.Builder addCompletionCallbacks(Callback.Builder builderForValue)
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
    • addCompletionCallbacks

      public StartActivityExecutionRequest.Builder addCompletionCallbacks(int index, Callback.Builder builderForValue)
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
    • addAllCompletionCallbacks

      public StartActivityExecutionRequest.Builder addAllCompletionCallbacks(Iterable<? extends Callback> values)
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
    • clearCompletionCallbacks

      public StartActivityExecutionRequest.Builder clearCompletionCallbacks()
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
    • removeCompletionCallbacks

      public StartActivityExecutionRequest.Builder removeCompletionCallbacks(int index)
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
    • getCompletionCallbacksBuilder

      public Callback.Builder getCompletionCallbacksBuilder(int index)
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
    • getCompletionCallbacksOrBuilder

      public CallbackOrBuilder getCompletionCallbacksOrBuilder(int index)
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
      Specified by:
      getCompletionCallbacksOrBuilder in interface StartActivityExecutionRequestOrBuilder
    • getCompletionCallbacksOrBuilderList

      public List<? extends CallbackOrBuilder> getCompletionCallbacksOrBuilderList()
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
      Specified by:
      getCompletionCallbacksOrBuilderList in interface StartActivityExecutionRequestOrBuilder
    • addCompletionCallbacksBuilder

      public Callback.Builder addCompletionCallbacksBuilder()
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
    • addCompletionCallbacksBuilder

      public Callback.Builder addCompletionCallbacksBuilder(int index)
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
    • getCompletionCallbacksBuilderList

      public List<Callback.Builder> getCompletionCallbacksBuilderList()
       Callbacks to be called by the server when this activity reaches a terminal state.
       Callback addresses must be whitelisted in the server's dynamic configuration.
       
      repeated .temporal.api.common.v1.Callback completion_callbacks = 19;
    • getLinksList

      public List<Link> getLinksList()
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
      Specified by:
      getLinksList in interface StartActivityExecutionRequestOrBuilder
    • getLinksCount

      public int getLinksCount()
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
      Specified by:
      getLinksCount in interface StartActivityExecutionRequestOrBuilder
    • getLinks

      public Link getLinks(int index)
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
      Specified by:
      getLinks in interface StartActivityExecutionRequestOrBuilder
    • setLinks

      public StartActivityExecutionRequest.Builder setLinks(int index, Link value)
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
    • setLinks

      public StartActivityExecutionRequest.Builder setLinks(int index, Link.Builder builderForValue)
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
    • addLinks

       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
    • addLinks

      public StartActivityExecutionRequest.Builder addLinks(int index, Link value)
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
    • addLinks

      public StartActivityExecutionRequest.Builder addLinks(Link.Builder builderForValue)
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
    • addLinks

      public StartActivityExecutionRequest.Builder addLinks(int index, Link.Builder builderForValue)
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
    • addAllLinks

      public StartActivityExecutionRequest.Builder addAllLinks(Iterable<? extends Link> values)
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
    • clearLinks

       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
    • removeLinks

      public StartActivityExecutionRequest.Builder removeLinks(int index)
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
    • getLinksBuilder

      public Link.Builder getLinksBuilder(int index)
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
    • getLinksOrBuilder

      public LinkOrBuilder getLinksOrBuilder(int index)
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
      Specified by:
      getLinksOrBuilder in interface StartActivityExecutionRequestOrBuilder
    • getLinksOrBuilderList

      public List<? extends LinkOrBuilder> getLinksOrBuilderList()
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
      Specified by:
      getLinksOrBuilderList in interface StartActivityExecutionRequestOrBuilder
    • addLinksBuilder

      public Link.Builder addLinksBuilder()
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
    • addLinksBuilder

      public Link.Builder addLinksBuilder(int index)
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
    • getLinksBuilderList

      public List<Link.Builder> getLinksBuilderList()
       Links to be associated with the activity. Callbacks may also have associated links;
       links already included with a callback should not be duplicated here.
       
      repeated .temporal.api.common.v1.Link links = 20;
    • hasOnConflictOptions

      public boolean hasOnConflictOptions()
       Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
       
      .temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;
      Specified by:
      hasOnConflictOptions in interface StartActivityExecutionRequestOrBuilder
      Returns:
      Whether the onConflictOptions field is set.
    • getOnConflictOptions

      public OnConflictOptions getOnConflictOptions()
       Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
       
      .temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;
      Specified by:
      getOnConflictOptions in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The onConflictOptions.
    • setOnConflictOptions

      public StartActivityExecutionRequest.Builder setOnConflictOptions(OnConflictOptions value)
       Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
       
      .temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;
    • setOnConflictOptions

      public StartActivityExecutionRequest.Builder setOnConflictOptions(OnConflictOptions.Builder builderForValue)
       Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
       
      .temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;
    • mergeOnConflictOptions

      public StartActivityExecutionRequest.Builder mergeOnConflictOptions(OnConflictOptions value)
       Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
       
      .temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;
    • clearOnConflictOptions

      public StartActivityExecutionRequest.Builder clearOnConflictOptions()
       Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
       
      .temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;
    • getOnConflictOptionsBuilder

      public OnConflictOptions.Builder getOnConflictOptionsBuilder()
       Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
       
      .temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;
    • getOnConflictOptionsOrBuilder

      public OnConflictOptionsOrBuilder getOnConflictOptionsOrBuilder()
       Options for handling conflicts when using ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING.
       
      .temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;
      Specified by:
      getOnConflictOptionsOrBuilder in interface StartActivityExecutionRequestOrBuilder
    • hasStartDelay

      public boolean hasStartDelay()
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 22;
      Specified by:
      hasStartDelay in interface StartActivityExecutionRequestOrBuilder
      Returns:
      Whether the startDelay field is set.
    • getStartDelay

      public com.google.protobuf.Duration getStartDelay()
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 22;
      Specified by:
      getStartDelay in interface StartActivityExecutionRequestOrBuilder
      Returns:
      The startDelay.
    • setStartDelay

      public StartActivityExecutionRequest.Builder setStartDelay(com.google.protobuf.Duration value)
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 22;
    • setStartDelay

      public StartActivityExecutionRequest.Builder setStartDelay(com.google.protobuf.Duration.Builder builderForValue)
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 22;
    • mergeStartDelay

      public StartActivityExecutionRequest.Builder mergeStartDelay(com.google.protobuf.Duration value)
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 22;
    • clearStartDelay

      public StartActivityExecutionRequest.Builder clearStartDelay()
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 22;
    • getStartDelayBuilder

      public com.google.protobuf.Duration.Builder getStartDelayBuilder()
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 22;
    • getStartDelayOrBuilder

      public com.google.protobuf.DurationOrBuilder getStartDelayOrBuilder()
       Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
       
      .google.protobuf.Duration start_delay = 22;
      Specified by:
      getStartDelayOrBuilder in interface StartActivityExecutionRequestOrBuilder
    • setUnknownFields

      public final StartActivityExecutionRequest.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<StartActivityExecutionRequest.Builder>
    • mergeUnknownFields

      public final StartActivityExecutionRequest.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<StartActivityExecutionRequest.Builder>