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, threshold value to compare with
      com.google.protobuf.ByteString getTargetsBytes​(int index)
      target value of the event, threshold value to compare with
      int getTargetsCount()
      target value of the event, threshold value to compare with
      java.util.List<java.lang.String> getTargetsList()
      target value of the event, threshold value to compare with
      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
      • 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.
      • getTriggerId

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

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

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

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

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

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

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

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

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

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

        java.lang.String getCompare()
         comparison operation, should be used to compare "current" and "target" and return a boolean
         
        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
         
        string compare = 7 [json_name = "compare"];
        Returns:
        The bytes for compare.
      • getType

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

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

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

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

        java.lang.String getTargets​(int index)
         target value of the event, threshold value to compare with
         
        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, threshold value to compare with
         
        repeated string targets = 9 [json_name = "targets"];
        Parameters:
        index - The index of the element to return.
        Returns:
        The targets at the given index.
      • getCurrent

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

        com.google.protobuf.ByteString getCurrentBytes()
         current value read from event
         
        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.
      • getChainOrder

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

        java.lang.String getChainOperation()
         logical operation on condition when combining multiple conditions together
         
        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
         
        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"];