Package io.temporal.api.history.v1
Interface ActivityPropertiesModifiedExternallyEventAttributesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ActivityPropertiesModifiedExternallyEventAttributes,ActivityPropertiesModifiedExternallyEventAttributes.Builder
@Generated(value="protoc", comments="annotations:ActivityPropertiesModifiedExternallyEventAttributesOrBuilder.java.pb.meta") public interface ActivityPropertiesModifiedExternallyEventAttributesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RetryPolicygetNewRetryPolicy()If set, update the retry policy of the activity, replacing it with the specified one.RetryPolicyOrBuildergetNewRetryPolicyOrBuilder()If set, update the retry policy of the activity, replacing it with the specified one.longgetScheduledEventId()The id of the `ACTIVITY_TASK_SCHEDULED` event this modification corresponds to.booleanhasNewRetryPolicy()If set, update the retry policy of the activity, replacing it with the specified one.-
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;
-
-