Interface TriggerConditionOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder
    All Known Implementing Classes:
    TriggerCondition, TriggerCondition.Builder

    public interface TriggerConditionOrBuilder
    extends com.google.protobuf.MessageLiteOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getActivated()
      true when compare(target, current) == true
      java.lang.String getChainOperation()
      logical operation on condition when combining multiple conditions together
      com.google.protobuf.ByteString getChainOperationBytes()
      logical operation on condition when combining multiple conditions together
      int getChainOrder()
      order of occurrence of condition in array of conditions
      java.lang.String getCompare()
      comparison operation, should be used to compare "current" and "target" and return a boolean
      com.google.protobuf.ByteString getCompareBytes()
      comparison operation, should be used to compare "current" and "target" and return a boolean
      java.lang.String getCurrent()
      current value read from event
      com.google.protobuf.ByteString getCurrentBytes()
      current value read from event
      java.lang.String getDatasource()
      scope of event
      com.google.protobuf.ByteString getDatasourceBytes()
      scope of event
      java.lang.String getEvent()
      name of event to be compared with
      com.google.protobuf.ByteString getEventBytes()
      name of event to be compared with
      java.lang.String getId()
      uuid generated for each condition
      com.google.protobuf.ByteString getIdBytes()
      uuid generated for each condition
      Event getLog​(int index)
      log of events consumed by condition
      int getLogCount()
      log of events consumed by condition
      java.util.List<Event> getLogList()
      log of events consumed by condition
      TriggerConditionOption getOptions​(int index)
      condition options, additional events required for condition to be activated
      int getOptionsCount()
      condition options, additional events required for condition to be activated
      java.util.List<TriggerConditionOption> getOptionsList()
      condition options, additional events required for condition to be activated
      java.lang.String getScope()
      scope of event
      com.google.protobuf.ByteString getScopeBytes()
      scope of event
      java.lang.String getScopeId()
      scope identifier
      com.google.protobuf.ByteString getScopeIdBytes()
      scope identifier
      java.lang.String getTargets​(int index)
      target value of the event
      com.google.protobuf.ByteString getTargetsBytes​(int index)
      target value of the event
      int getTargetsCount()
      target value of the event
      java.util.List<java.lang.String> getTargetsList()
      target value of the event
      java.lang.String getTriggerId()
      owner id
      com.google.protobuf.ByteString getTriggerIdBytes()
      owner id
      java.lang.String getType()
      type of condition
      com.google.protobuf.ByteString getTypeBytes()
      type of condition
      boolean hasChainOperation()
      logical operation on condition when combining multiple conditions together
      boolean hasChainOrder()
      order of occurrence of condition in array of conditions
      boolean hasCompare()
      comparison operation, should be used to compare "current" and "target" and return a boolean
      boolean hasCurrent()
      current value read from event
      boolean hasDatasource()
      scope of event
      boolean hasEvent()
      name of event to be compared with
      boolean hasScope()
      scope of event
      boolean hasScopeId()
      scope identifier
      boolean hasTriggerId()
      owner id
      boolean hasType()
      type of condition
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getId

        java.lang.String getId()
         uuid generated for each condition
         
        string id = 1 [json_name = "id"];
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
         uuid generated for each condition
         
        string id = 1 [json_name = "id"];
        Returns:
        The bytes for id.
      • hasTriggerId

        boolean hasTriggerId()
         owner id
         
        optional string trigger_id = 2 [json_name = "triggerId"];
        Returns:
        Whether the triggerId field is set.
      • getTriggerId

        java.lang.String getTriggerId()
         owner id
         
        optional string trigger_id = 2 [json_name = "triggerId"];
        Returns:
        The triggerId.
      • getTriggerIdBytes

        com.google.protobuf.ByteString getTriggerIdBytes()
         owner id
         
        optional string trigger_id = 2 [json_name = "triggerId"];
        Returns:
        The bytes for triggerId.
      • hasEvent

        boolean hasEvent()
         name of event to be compared with
         
        optional string event = 3 [json_name = "event"];
        Returns:
        Whether the event field is set.
      • getEvent

        java.lang.String getEvent()
         name of event to be compared with
         
        optional string event = 3 [json_name = "event"];
        Returns:
        The event.
      • getEventBytes

        com.google.protobuf.ByteString getEventBytes()
         name of event to be compared with
         
        optional string event = 3 [json_name = "event"];
        Returns:
        The bytes for event.
      • hasDatasource

        boolean hasDatasource()
         scope of event
         
        optional string datasource = 4 [json_name = "datasource"];
        Returns:
        Whether the datasource field is set.
      • getDatasource

        java.lang.String getDatasource()
         scope of event
         
        optional string datasource = 4 [json_name = "datasource"];
        Returns:
        The datasource.
      • getDatasourceBytes

        com.google.protobuf.ByteString getDatasourceBytes()
         scope of event
         
        optional string datasource = 4 [json_name = "datasource"];
        Returns:
        The bytes for datasource.
      • hasScope

        boolean hasScope()
         scope of event
         
        optional string scope = 5 [json_name = "scope"];
        Returns:
        Whether the scope field is set.
      • getScope

        java.lang.String getScope()
         scope of event
         
        optional string scope = 5 [json_name = "scope"];
        Returns:
        The scope.
      • getScopeBytes

        com.google.protobuf.ByteString getScopeBytes()
         scope of event
         
        optional string scope = 5 [json_name = "scope"];
        Returns:
        The bytes for scope.
      • hasScopeId

        boolean hasScopeId()
         scope identifier
         
        optional string scope_id = 6 [json_name = "scopeId"];
        Returns:
        Whether the scopeId field is set.
      • getScopeId

        java.lang.String getScopeId()
         scope identifier
         
        optional string scope_id = 6 [json_name = "scopeId"];
        Returns:
        The scopeId.
      • getScopeIdBytes

        com.google.protobuf.ByteString getScopeIdBytes()
         scope identifier
         
        optional string scope_id = 6 [json_name = "scopeId"];
        Returns:
        The bytes for scopeId.
      • hasCompare

        boolean hasCompare()
         comparison operation, should be used to compare "current" and "target" and return a boolean
         
        optional string compare = 7 [json_name = "compare"];
        Returns:
        Whether the compare field is set.
      • getCompare

        java.lang.String getCompare()
         comparison operation, should be used to compare "current" and "target" and return a boolean
         
        optional string compare = 7 [json_name = "compare"];
        Returns:
        The compare.
      • getCompareBytes

        com.google.protobuf.ByteString getCompareBytes()
         comparison operation, should be used to compare "current" and "target" and return a boolean
         
        optional string compare = 7 [json_name = "compare"];
        Returns:
        The bytes for compare.
      • hasType

        boolean hasType()
         type of condition
         
        optional string type = 8 [json_name = "type"];
        Returns:
        Whether the type field is set.
      • getType

        java.lang.String getType()
         type of condition
         
        optional string type = 8 [json_name = "type"];
        Returns:
        The type.
      • getTypeBytes

        com.google.protobuf.ByteString getTypeBytes()
         type of condition
         
        optional string type = 8 [json_name = "type"];
        Returns:
        The bytes for type.
      • getTargetsList

        java.util.List<java.lang.String> getTargetsList()
         target value of the event
         
        repeated string targets = 9 [json_name = "targets"];
        Returns:
        A list containing the targets.
      • getTargetsCount

        int getTargetsCount()
         target value of the event
         
        repeated string targets = 9 [json_name = "targets"];
        Returns:
        The count of targets.
      • getTargets

        java.lang.String getTargets​(int index)
         target value of the event
         
        repeated string targets = 9 [json_name = "targets"];
        Parameters:
        index - The index of the element to return.
        Returns:
        The targets at the given index.
      • getTargetsBytes

        com.google.protobuf.ByteString getTargetsBytes​(int index)
         target value of the event
         
        repeated string targets = 9 [json_name = "targets"];
        Parameters:
        index - The index of the element to return.
        Returns:
        The targets at the given index.
      • hasCurrent

        boolean hasCurrent()
         current value read from event
         
        optional string current = 10 [json_name = "current"];
        Returns:
        Whether the current field is set.
      • getCurrent

        java.lang.String getCurrent()
         current value read from event
         
        optional string current = 10 [json_name = "current"];
        Returns:
        The current.
      • getCurrentBytes

        com.google.protobuf.ByteString getCurrentBytes()
         current value read from event
         
        optional string current = 10 [json_name = "current"];
        Returns:
        The bytes for current.
      • getActivated

        boolean getActivated()
         true when compare(target, current) == true
         
        bool activated = 11 [json_name = "activated"];
        Returns:
        The activated.
      • hasChainOrder

        boolean hasChainOrder()
         order of occurrence of condition in array of conditions
         
        optional int32 chain_order = 12 [json_name = "chainOrder"];
        Returns:
        Whether the chainOrder field is set.
      • getChainOrder

        int getChainOrder()
         order of occurrence of condition in array of conditions
         
        optional int32 chain_order = 12 [json_name = "chainOrder"];
        Returns:
        The chainOrder.
      • hasChainOperation

        boolean hasChainOperation()
         logical operation on condition when combining multiple conditions together
         
        optional string chain_operation = 13 [json_name = "chainOperation"];
        Returns:
        Whether the chainOperation field is set.
      • getChainOperation

        java.lang.String getChainOperation()
         logical operation on condition when combining multiple conditions together
         
        optional string chain_operation = 13 [json_name = "chainOperation"];
        Returns:
        The chainOperation.
      • getChainOperationBytes

        com.google.protobuf.ByteString getChainOperationBytes()
         logical operation on condition when combining multiple conditions together
         
        optional string chain_operation = 13 [json_name = "chainOperation"];
        Returns:
        The bytes for chainOperation.
      • getLogList

        java.util.List<Event> getLogList()
         log of events consumed by condition
         
        repeated .streamlayer.triggers.Event log = 14 [json_name = "log"];
      • getLog

        Event getLog​(int index)
         log of events consumed by condition
         
        repeated .streamlayer.triggers.Event log = 14 [json_name = "log"];
      • getLogCount

        int getLogCount()
         log of events consumed by condition
         
        repeated .streamlayer.triggers.Event log = 14 [json_name = "log"];
      • getOptionsList

        java.util.List<TriggerConditionOption> getOptionsList()
         condition options, additional events required for condition to be activated
         
        repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"];
      • getOptions

        TriggerConditionOption getOptions​(int index)
         condition options, additional events required for condition to be activated
         
        repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"];
      • getOptionsCount

        int getOptionsCount()
         condition options, additional events required for condition to be activated
         
        repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"];