Interface ActivityPropertiesModifiedExternallyEventAttributesOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      RetryPolicy getNewRetryPolicy()
      If set, update the retry policy of the activity, replacing it with the specified one.
      RetryPolicyOrBuilder getNewRetryPolicyOrBuilder()
      If set, update the retry policy of the activity, replacing it with the specified one.
      long getScheduledEventId()
      The id of the `ACTIVITY_TASK_SCHEDULED` event this modification corresponds to.
      boolean hasNewRetryPolicy()
      If set, update the retry policy of the activity, replacing it with the specified one.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getScheduledEventId

        long getScheduledEventId()
         The id of the `ACTIVITY_TASK_SCHEDULED` event this modification corresponds to.
         
        int64 scheduled_event_id = 1;
        Returns:
        The scheduledEventId.
      • hasNewRetryPolicy

        boolean hasNewRetryPolicy()
         If set, update the retry policy of the activity, replacing it with the specified one.
         The number of attempts at the activity is preserved.
         
        .temporal.api.common.v1.RetryPolicy new_retry_policy = 2;
        Returns:
        Whether the newRetryPolicy field is set.
      • getNewRetryPolicy

        RetryPolicy getNewRetryPolicy()
         If set, update the retry policy of the activity, replacing it with the specified one.
         The number of attempts at the activity is preserved.
         
        .temporal.api.common.v1.RetryPolicy new_retry_policy = 2;
        Returns:
        The newRetryPolicy.
      • getNewRetryPolicyOrBuilder

        RetryPolicyOrBuilder getNewRetryPolicyOrBuilder()
         If set, update the retry policy of the activity, replacing it with the specified one.
         The number of attempts at the activity is preserved.
         
        .temporal.api.common.v1.RetryPolicy new_retry_policy = 2;