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 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.
      • 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;