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
Modifier and TypeMethodDescriptiongetActions(int index) WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.intWorkflowRuleAction to be taken when the rule is triggered and predicate is matched.WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.getActionsOrBuilder(int index) WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.List<? extends WorkflowRuleActionOrBuilder> WorkflowRuleAction to be taken when the rule is triggered and predicate is matched..temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger activity_start = 2;.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger activity_start = 2;com.google.protobuf.TimestampExpiration time of the rule.com.google.protobuf.TimestampOrBuilderExpiration time of the rule.getId()The id of the new workflow rule.com.google.protobuf.ByteStringThe id of the new workflow rule.Restricted Visibility query.com.google.protobuf.ByteStringRestricted Visibility query.boolean.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger activity_start = 2;booleanExpiration time of the rule.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
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
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
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 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
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
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()
-