Class TriggerActivation

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  TriggerActivation.Builder
      Protobuf type streamlayer.triggers.TriggerActivation
      static class  TriggerActivation.TriggerActivationGameEvent
      Protobuf type streamlayer.triggers.TriggerActivation.TriggerActivationGameEvent
      static interface  TriggerActivation.TriggerActivationGameEventOrBuilder  
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

        com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,​?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,​BuilderType>,​BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,​Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Detail

      • getActivatedAt

        public int getActivatedAt()
         activation time EPOCH
         
        int32 activated_at = 1 [json_name = "activatedAt"];
        Specified by:
        getActivatedAt in interface TriggerActivationOrBuilder
        Returns:
        The activatedAt.
      • getSnapshotId

        public java.lang.String getSnapshotId()
         related snapshot id
         
        string snapshot_id = 2 [json_name = "snapshotId"];
        Specified by:
        getSnapshotId in interface TriggerActivationOrBuilder
        Returns:
        The snapshotId.
      • getSnapshotIdBytes

        public com.google.protobuf.ByteString getSnapshotIdBytes()
         related snapshot id
         
        string snapshot_id = 2 [json_name = "snapshotId"];
        Specified by:
        getSnapshotIdBytes in interface TriggerActivationOrBuilder
        Returns:
        The bytes for snapshotId.
      • getActivatedConditionCount

        public int getActivatedConditionCount()
         amount of activated conditions by snapshot
         
        int32 activated_condition_count = 3 [json_name = "activatedConditionCount"];
        Specified by:
        getActivatedConditionCount in interface TriggerActivationOrBuilder
        Returns:
        The activatedConditionCount.
      • getEntity

        public java.lang.String getEntity()
         related entity
         
        string entity = 4 [json_name = "entity"];
        Specified by:
        getEntity in interface TriggerActivationOrBuilder
        Returns:
        The entity.
      • getEntityBytes

        public com.google.protobuf.ByteString getEntityBytes()
         related entity
         
        string entity = 4 [json_name = "entity"];
        Specified by:
        getEntityBytes in interface TriggerActivationOrBuilder
        Returns:
        The bytes for entity.
      • getEntityId

        public java.lang.String getEntityId()
         entity identifier
         
        string entity_id = 5 [json_name = "entityId"];
        Specified by:
        getEntityId in interface TriggerActivationOrBuilder
        Returns:
        The entityId.
      • getEntityIdBytes

        public com.google.protobuf.ByteString getEntityIdBytes()
         entity identifier
         
        string entity_id = 5 [json_name = "entityId"];
        Specified by:
        getEntityIdBytes in interface TriggerActivationOrBuilder
        Returns:
        The bytes for entityId.
      • hasGameEvent

        public boolean hasGameEvent()
         game event
         
        .streamlayer.triggers.TriggerActivation.TriggerActivationGameEvent game_event = 6 [json_name = "gameEvent"];
        Specified by:
        hasGameEvent in interface TriggerActivationOrBuilder
        Returns:
        Whether the gameEvent field is set.
      • hasTrigger

        public boolean hasTrigger()
         related trigger
         
        .streamlayer.triggers.Trigger trigger = 7 [json_name = "trigger"];
        Specified by:
        hasTrigger in interface TriggerActivationOrBuilder
        Returns:
        Whether the trigger field is set.
      • getConditionsOrBuilderList

        public java.util.List<? extends TriggerConditionOrBuilder> getConditionsOrBuilderList()
         activated conditions
         
        repeated .streamlayer.triggers.TriggerCondition conditions = 8 [json_name = "conditions"];
      • getConditionsCount

        public int getConditionsCount()
         activated conditions
         
        repeated .streamlayer.triggers.TriggerCondition conditions = 8 [json_name = "conditions"];
        Specified by:
        getConditionsCount in interface TriggerActivationOrBuilder
      • getConditionsOrBuilder

        public TriggerConditionOrBuilder getConditionsOrBuilder​(int index)
         activated conditions
         
        repeated .streamlayer.triggers.TriggerCondition conditions = 8 [json_name = "conditions"];
      • parseFrom

        public static TriggerActivation parseFrom​(java.nio.ByteBuffer data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TriggerActivation parseFrom​(java.nio.ByteBuffer data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TriggerActivation parseFrom​(com.google.protobuf.ByteString data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TriggerActivation parseFrom​(com.google.protobuf.ByteString data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TriggerActivation parseFrom​(byte[] data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TriggerActivation parseFrom​(byte[] data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TriggerActivation parseFrom​(java.io.InputStream input)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static TriggerActivation parseFrom​(java.io.InputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static TriggerActivation parseDelimitedFrom​(java.io.InputStream input)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static TriggerActivation parseDelimitedFrom​(java.io.InputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static TriggerActivation parseFrom​(com.google.protobuf.CodedInputStream input)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static TriggerActivation parseFrom​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<TriggerActivation,​TriggerActivation.Builder>