Class WorkflowRuleSpec.ActivityStartingTrigger.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowRuleSpec.ActivityStartingTrigger.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowRuleSpec.ActivityStartingTrigger.Builder>
      • getDefaultInstanceForType

        public WorkflowRuleSpec.ActivityStartingTrigger getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public WorkflowRuleSpec.ActivityStartingTrigger build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public WorkflowRuleSpec.ActivityStartingTrigger buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowRuleSpec.ActivityStartingTrigger.Builder>
      • mergeFrom

        public WorkflowRuleSpec.ActivityStartingTrigger.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                   throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WorkflowRuleSpec.ActivityStartingTrigger.Builder>
        Throws:
        java.io.IOException
      • getPredicate

        public java.lang.String getPredicate()
         Activity predicate is a SQL-like string filter parameter.
         It is used to match against workflow data.
         The following activity attributes are supported as part of the predicate:
         - ActivityType: An Activity Type is the mapping of a name to an Activity Definition..
         - ActivityId: The ID of the activity.
         - ActivityAttempt: The number attempts of the activity.
         - BackoffInterval: The current amount of time between scheduled attempts of the activity.
         - ActivityStatus: The status of the activity. Can be one of "Scheduled", "Started", "Paused".
         - TaskQueue: The name of the task queue the workflow specified that the activity should run on.
         Activity predicate support the following operators:
          * =, !=, >, >=, <, <=
          * AND, OR, ()
          * BETWEEN ... AND
            STARTS_WITH
         
        string predicate = 1;
        Specified by:
        getPredicate in interface WorkflowRuleSpec.ActivityStartingTriggerOrBuilder
        Returns:
        The predicate.
      • getPredicateBytes

        public com.google.protobuf.ByteString getPredicateBytes()
         Activity predicate is a SQL-like string filter parameter.
         It is used to match against workflow data.
         The following activity attributes are supported as part of the predicate:
         - ActivityType: An Activity Type is the mapping of a name to an Activity Definition..
         - ActivityId: The ID of the activity.
         - ActivityAttempt: The number attempts of the activity.
         - BackoffInterval: The current amount of time between scheduled attempts of the activity.
         - ActivityStatus: The status of the activity. Can be one of "Scheduled", "Started", "Paused".
         - TaskQueue: The name of the task queue the workflow specified that the activity should run on.
         Activity predicate support the following operators:
          * =, !=, >, >=, <, <=
          * AND, OR, ()
          * BETWEEN ... AND
            STARTS_WITH
         
        string predicate = 1;
        Specified by:
        getPredicateBytes in interface WorkflowRuleSpec.ActivityStartingTriggerOrBuilder
        Returns:
        The bytes for predicate.
      • setPredicate

        public WorkflowRuleSpec.ActivityStartingTrigger.Builder setPredicate​(java.lang.String value)
         Activity predicate is a SQL-like string filter parameter.
         It is used to match against workflow data.
         The following activity attributes are supported as part of the predicate:
         - ActivityType: An Activity Type is the mapping of a name to an Activity Definition..
         - ActivityId: The ID of the activity.
         - ActivityAttempt: The number attempts of the activity.
         - BackoffInterval: The current amount of time between scheduled attempts of the activity.
         - ActivityStatus: The status of the activity. Can be one of "Scheduled", "Started", "Paused".
         - TaskQueue: The name of the task queue the workflow specified that the activity should run on.
         Activity predicate support the following operators:
          * =, !=, >, >=, <, <=
          * AND, OR, ()
          * BETWEEN ... AND
            STARTS_WITH
         
        string predicate = 1;
        Parameters:
        value - The predicate to set.
        Returns:
        This builder for chaining.
      • clearPredicate

        public WorkflowRuleSpec.ActivityStartingTrigger.Builder clearPredicate()
         Activity predicate is a SQL-like string filter parameter.
         It is used to match against workflow data.
         The following activity attributes are supported as part of the predicate:
         - ActivityType: An Activity Type is the mapping of a name to an Activity Definition..
         - ActivityId: The ID of the activity.
         - ActivityAttempt: The number attempts of the activity.
         - BackoffInterval: The current amount of time between scheduled attempts of the activity.
         - ActivityStatus: The status of the activity. Can be one of "Scheduled", "Started", "Paused".
         - TaskQueue: The name of the task queue the workflow specified that the activity should run on.
         Activity predicate support the following operators:
          * =, !=, >, >=, <, <=
          * AND, OR, ()
          * BETWEEN ... AND
            STARTS_WITH
         
        string predicate = 1;
        Returns:
        This builder for chaining.
      • setPredicateBytes

        public WorkflowRuleSpec.ActivityStartingTrigger.Builder setPredicateBytes​(com.google.protobuf.ByteString value)
         Activity predicate is a SQL-like string filter parameter.
         It is used to match against workflow data.
         The following activity attributes are supported as part of the predicate:
         - ActivityType: An Activity Type is the mapping of a name to an Activity Definition..
         - ActivityId: The ID of the activity.
         - ActivityAttempt: The number attempts of the activity.
         - BackoffInterval: The current amount of time between scheduled attempts of the activity.
         - ActivityStatus: The status of the activity. Can be one of "Scheduled", "Started", "Paused".
         - TaskQueue: The name of the task queue the workflow specified that the activity should run on.
         Activity predicate support the following operators:
          * =, !=, >, >=, <, <=
          * AND, OR, ()
          * BETWEEN ... AND
            STARTS_WITH
         
        string predicate = 1;
        Parameters:
        value - The bytes for predicate to set.
        Returns:
        This builder for chaining.