Package io.temporal.api.rules.v1
Interface WorkflowRuleSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkflowRuleSpec,WorkflowRuleSpec.Builder
@Generated(value="protoc", comments="annotations:WorkflowRuleSpecOrBuilder.java.pb.meta") public interface WorkflowRuleSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkflowRuleActiongetActions(int index)WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.intgetActionsCount()WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.java.util.List<WorkflowRuleAction>getActionsList()WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.WorkflowRuleActionOrBuildergetActionsOrBuilder(int index)WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.java.util.List<? extends WorkflowRuleActionOrBuilder>getActionsOrBuilderList()WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.WorkflowRuleSpec.ActivityStartingTriggergetActivityStart().temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger activity_start = 2;WorkflowRuleSpec.ActivityStartingTriggerOrBuildergetActivityStartOrBuilder().temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger activity_start = 2;com.google.protobuf.TimestampgetExpirationTime()Expiration time of the rule.com.google.protobuf.TimestampOrBuildergetExpirationTimeOrBuilder()Expiration time of the rule.java.lang.StringgetId()The id of the new workflow rule.com.google.protobuf.ByteStringgetIdBytes()The id of the new workflow rule.WorkflowRuleSpec.TriggerCasegetTriggerCase()java.lang.StringgetVisibilityQuery()Restricted Visibility query.com.google.protobuf.ByteStringgetVisibilityQueryBytes()Restricted Visibility query.booleanhasActivityStart().temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger activity_start = 2;booleanhasExpirationTime()Expiration time of the rule.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
java.lang.String getId()
The id of the new workflow rule. Must be unique within the namespace. Can be set by the user, and can have business meaning.
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
The id of the new workflow rule. Must be unique within the namespace. Can be set by the user, and can have business meaning.
string id = 1;- Returns:
- The bytes for id.
-
hasActivityStart
boolean hasActivityStart()
.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger activity_start = 2;- Returns:
- Whether the activityStart field is set.
-
getActivityStart
WorkflowRuleSpec.ActivityStartingTrigger getActivityStart()
.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger activity_start = 2;- Returns:
- The activityStart.
-
getActivityStartOrBuilder
WorkflowRuleSpec.ActivityStartingTriggerOrBuilder getActivityStartOrBuilder()
.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger activity_start = 2;
-
getVisibilityQuery
java.lang.String getVisibilityQuery()
Restricted Visibility query. This query is used to filter workflows in this namespace to which this rule should apply. It is applied to any running workflow each time a triggering event occurs, before the trigger predicate is evaluated. The following workflow attributes are supported: - WorkflowType - WorkflowId - StartTime - ExecutionStatus
string visibility_query = 3;- Returns:
- The visibilityQuery.
-
getVisibilityQueryBytes
com.google.protobuf.ByteString getVisibilityQueryBytes()
Restricted Visibility query. This query is used to filter workflows in this namespace to which this rule should apply. It is applied to any running workflow each time a triggering event occurs, before the trigger predicate is evaluated. The following workflow attributes are supported: - WorkflowType - WorkflowId - StartTime - ExecutionStatus
string visibility_query = 3;- Returns:
- The bytes for visibilityQuery.
-
getActionsList
java.util.List<WorkflowRuleAction> getActionsList()
WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.
repeated .temporal.api.rules.v1.WorkflowRuleAction actions = 4;
-
getActions
WorkflowRuleAction getActions(int index)
WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.
repeated .temporal.api.rules.v1.WorkflowRuleAction actions = 4;
-
getActionsCount
int getActionsCount()
WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.
repeated .temporal.api.rules.v1.WorkflowRuleAction actions = 4;
-
getActionsOrBuilderList
java.util.List<? extends WorkflowRuleActionOrBuilder> getActionsOrBuilderList()
WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.
repeated .temporal.api.rules.v1.WorkflowRuleAction actions = 4;
-
getActionsOrBuilder
WorkflowRuleActionOrBuilder getActionsOrBuilder(int index)
WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.
repeated .temporal.api.rules.v1.WorkflowRuleAction actions = 4;
-
hasExpirationTime
boolean hasExpirationTime()
Expiration time of the rule. After this time, the rule will be deleted. Can be empty if the rule should never expire.
.google.protobuf.Timestamp expiration_time = 5;- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
com.google.protobuf.Timestamp getExpirationTime()
Expiration time of the rule. After this time, the rule will be deleted. Can be empty if the rule should never expire.
.google.protobuf.Timestamp expiration_time = 5;- Returns:
- The expirationTime.
-
getExpirationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
Expiration time of the rule. After this time, the rule will be deleted. Can be empty if the rule should never expire.
.google.protobuf.Timestamp expiration_time = 5;
-
getTriggerCase
WorkflowRuleSpec.TriggerCase getTriggerCase()
-
-