main.java.com.streamlayer.triggers.TriggerConditionOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/triggers/triggers.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.triggers;
public interface TriggerConditionOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.triggers.TriggerCondition)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* uuid generated for each condition
*
*
* string id = 1 [json_name = "id"];
* @return The id.
*/
java.lang.String getId();
/**
*
* uuid generated for each condition
*
*
* string id = 1 [json_name = "id"];
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* owner id
*
*
* optional string trigger_id = 2 [json_name = "triggerId"];
* @return Whether the triggerId field is set.
*/
boolean hasTriggerId();
/**
*
* owner id
*
*
* optional string trigger_id = 2 [json_name = "triggerId"];
* @return The triggerId.
*/
java.lang.String getTriggerId();
/**
*
* owner id
*
*
* optional string trigger_id = 2 [json_name = "triggerId"];
* @return The bytes for triggerId.
*/
com.google.protobuf.ByteString
getTriggerIdBytes();
/**
*
* name of event to be compared with
*
*
* optional string event = 3 [json_name = "event"];
* @return Whether the event field is set.
*/
boolean hasEvent();
/**
*
* name of event to be compared with
*
*
* optional string event = 3 [json_name = "event"];
* @return The event.
*/
java.lang.String getEvent();
/**
*
* name of event to be compared with
*
*
* optional string event = 3 [json_name = "event"];
* @return The bytes for event.
*/
com.google.protobuf.ByteString
getEventBytes();
/**
*
* scope of event
*
*
* optional string datasource = 4 [json_name = "datasource"];
* @return Whether the datasource field is set.
*/
boolean hasDatasource();
/**
*
* scope of event
*
*
* optional string datasource = 4 [json_name = "datasource"];
* @return The datasource.
*/
java.lang.String getDatasource();
/**
*
* scope of event
*
*
* optional string datasource = 4 [json_name = "datasource"];
* @return The bytes for datasource.
*/
com.google.protobuf.ByteString
getDatasourceBytes();
/**
*
* scope of event
*
*
* optional string scope = 5 [json_name = "scope"];
* @return Whether the scope field is set.
*/
boolean hasScope();
/**
*
* scope of event
*
*
* optional string scope = 5 [json_name = "scope"];
* @return The scope.
*/
java.lang.String getScope();
/**
*
* scope of event
*
*
* optional string scope = 5 [json_name = "scope"];
* @return The bytes for scope.
*/
com.google.protobuf.ByteString
getScopeBytes();
/**
*
* scope identifier
*
*
* optional string scope_id = 6 [json_name = "scopeId"];
* @return Whether the scopeId field is set.
*/
boolean hasScopeId();
/**
*
* scope identifier
*
*
* optional string scope_id = 6 [json_name = "scopeId"];
* @return The scopeId.
*/
java.lang.String getScopeId();
/**
*
* scope identifier
*
*
* optional string scope_id = 6 [json_name = "scopeId"];
* @return The bytes for scopeId.
*/
com.google.protobuf.ByteString
getScopeIdBytes();
/**
*
* comparison operation, should be used to compare "current" and "target" and return a boolean
*
*
* optional string compare = 7 [json_name = "compare"];
* @return Whether the compare field is set.
*/
boolean hasCompare();
/**
*
* comparison operation, should be used to compare "current" and "target" and return a boolean
*
*
* optional string compare = 7 [json_name = "compare"];
* @return The compare.
*/
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"];
* @return The bytes for compare.
*/
com.google.protobuf.ByteString
getCompareBytes();
/**
*
* type of condition
*
*
* optional string type = 8 [json_name = "type"];
* @return Whether the type field is set.
*/
boolean hasType();
/**
*
* type of condition
*
*
* optional string type = 8 [json_name = "type"];
* @return The type.
*/
java.lang.String getType();
/**
*
* type of condition
*
*
* optional string type = 8 [json_name = "type"];
* @return The bytes for type.
*/
com.google.protobuf.ByteString
getTypeBytes();
/**
*
* target value of the event
*
*
* repeated string targets = 9 [json_name = "targets"];
* @return A list containing the targets.
*/
java.util.List
getTargetsList();
/**
*
* target value of the event
*
*
* repeated string targets = 9 [json_name = "targets"];
* @return The count of targets.
*/
int getTargetsCount();
/**
*
* target value of the event
*
*
* repeated string targets = 9 [json_name = "targets"];
* @param index The index of the element to return.
* @return The targets at the given index.
*/
java.lang.String getTargets(int index);
/**
*
* target value of the event
*
*
* repeated string targets = 9 [json_name = "targets"];
* @param index The index of the element to return.
* @return The targets at the given index.
*/
com.google.protobuf.ByteString
getTargetsBytes(int index);
/**
*
* current value read from event
*
*
* optional string current = 10 [json_name = "current"];
* @return Whether the current field is set.
*/
boolean hasCurrent();
/**
*
* current value read from event
*
*
* optional string current = 10 [json_name = "current"];
* @return The current.
*/
java.lang.String getCurrent();
/**
*
* current value read from event
*
*
* optional string current = 10 [json_name = "current"];
* @return The bytes for current.
*/
com.google.protobuf.ByteString
getCurrentBytes();
/**
*
* true when compare(target, current) == true
*
*
* bool activated = 11 [json_name = "activated"];
* @return The activated.
*/
boolean getActivated();
/**
*
* order of occurrence of condition in array of conditions
*
*
* optional int32 chain_order = 12 [json_name = "chainOrder"];
* @return Whether the chainOrder field is set.
*/
boolean hasChainOrder();
/**
*
* order of occurrence of condition in array of conditions
*
*
* optional int32 chain_order = 12 [json_name = "chainOrder"];
* @return The chainOrder.
*/
int getChainOrder();
/**
*
* logical operation on condition when combining multiple conditions together
*
*
* optional string chain_operation = 13 [json_name = "chainOperation"];
* @return Whether the chainOperation field is set.
*/
boolean hasChainOperation();
/**
*
* logical operation on condition when combining multiple conditions together
*
*
* optional string chain_operation = 13 [json_name = "chainOperation"];
* @return The chainOperation.
*/
java.lang.String getChainOperation();
/**
*
* logical operation on condition when combining multiple conditions together
*
*
* optional string chain_operation = 13 [json_name = "chainOperation"];
* @return The bytes for chainOperation.
*/
com.google.protobuf.ByteString
getChainOperationBytes();
/**
*
* log of events consumed by condition
*
*
* repeated .streamlayer.triggers.Event log = 14 [json_name = "log"];
*/
java.util.List
getLogList();
/**
*
* log of events consumed by condition
*
*
* repeated .streamlayer.triggers.Event log = 14 [json_name = "log"];
*/
com.streamlayer.triggers.Event getLog(int index);
/**
*
* log of events consumed by condition
*
*
* repeated .streamlayer.triggers.Event log = 14 [json_name = "log"];
*/
int getLogCount();
/**
*
* condition options, additional events required for condition to be activated
*
*
* repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"];
*/
java.util.List
getOptionsList();
/**
*
* condition options, additional events required for condition to be activated
*
*
* repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"];
*/
com.streamlayer.triggers.TriggerConditionOption getOptions(int index);
/**
*
* condition options, additional events required for condition to be activated
*
*
* repeated .streamlayer.triggers.TriggerConditionOption options = 15 [json_name = "options"];
*/
int getOptionsCount();
}