Package com.streamlayer.triggers
Interface TriggerActivationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
TriggerActivation,TriggerActivation.Builder
public interface TriggerActivationOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetActivatedAt()activation time EPOCHintgetActivatedConditionCount()amount of activated conditions by snapshotTriggerConditiongetConditions(int index)activated conditionsintgetConditionsCount()activated conditionsjava.util.List<TriggerCondition>getConditionsList()activated conditionsjava.lang.StringgetEntity()related entitycom.google.protobuf.ByteStringgetEntityBytes()related entityjava.lang.StringgetEntityId()entity identifiercom.google.protobuf.ByteStringgetEntityIdBytes()entity identifierTriggerActivation.TriggerActivationGameEventgetGameEvent()game eventjava.lang.StringgetSnapshotId()related snapshot idcom.google.protobuf.ByteStringgetSnapshotIdBytes()related snapshot idTriggergetTrigger()related triggerbooleanhasGameEvent()game eventbooleanhasTrigger()related trigger
-
-
-
Method Detail
-
getActivatedAt
int getActivatedAt()
activation time EPOCH
int32 activated_at = 1 [json_name = "activatedAt"];- Returns:
- The activatedAt.
-
getSnapshotId
java.lang.String getSnapshotId()
related snapshot id
string snapshot_id = 2 [json_name = "snapshotId"];- Returns:
- The snapshotId.
-
getSnapshotIdBytes
com.google.protobuf.ByteString getSnapshotIdBytes()
related snapshot id
string snapshot_id = 2 [json_name = "snapshotId"];- Returns:
- The bytes for snapshotId.
-
getActivatedConditionCount
int getActivatedConditionCount()
amount of activated conditions by snapshot
int32 activated_condition_count = 3 [json_name = "activatedConditionCount"];- Returns:
- The activatedConditionCount.
-
getEntity
java.lang.String getEntity()
related entity
string entity = 4 [json_name = "entity"];- Returns:
- The entity.
-
getEntityBytes
com.google.protobuf.ByteString getEntityBytes()
related entity
string entity = 4 [json_name = "entity"];- Returns:
- The bytes for entity.
-
getEntityId
java.lang.String getEntityId()
entity identifier
string entity_id = 5 [json_name = "entityId"];- Returns:
- The entityId.
-
getEntityIdBytes
com.google.protobuf.ByteString getEntityIdBytes()
entity identifier
string entity_id = 5 [json_name = "entityId"];- Returns:
- The bytes for entityId.
-
hasGameEvent
boolean hasGameEvent()
game event
.streamlayer.triggers.TriggerActivation.TriggerActivationGameEvent game_event = 6 [json_name = "gameEvent"];- Returns:
- Whether the gameEvent field is set.
-
getGameEvent
TriggerActivation.TriggerActivationGameEvent getGameEvent()
game event
.streamlayer.triggers.TriggerActivation.TriggerActivationGameEvent game_event = 6 [json_name = "gameEvent"];- Returns:
- The gameEvent.
-
hasTrigger
boolean hasTrigger()
related trigger
.streamlayer.triggers.Trigger trigger = 7 [json_name = "trigger"];- Returns:
- Whether the trigger field is set.
-
getTrigger
Trigger getTrigger()
related trigger
.streamlayer.triggers.Trigger trigger = 7 [json_name = "trigger"];- Returns:
- The trigger.
-
getConditionsList
java.util.List<TriggerCondition> getConditionsList()
activated conditions
repeated .streamlayer.triggers.TriggerCondition conditions = 8 [json_name = "conditions"];
-
getConditions
TriggerCondition getConditions(int index)
activated conditions
repeated .streamlayer.triggers.TriggerCondition conditions = 8 [json_name = "conditions"];
-
getConditionsCount
int getConditionsCount()
activated conditions
repeated .streamlayer.triggers.TriggerCondition conditions = 8 [json_name = "conditions"];
-
-