Package com.streamlayer.triggers
Class TriggerActivation
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<TriggerActivation,TriggerActivation.Builder>
-
- com.streamlayer.triggers.TriggerActivation
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,TriggerActivationOrBuilder
public final class TriggerActivation extends com.google.protobuf.GeneratedMessageLite<TriggerActivation,TriggerActivation.Builder> implements TriggerActivationOrBuilder
Protobuf typestreamlayer.triggers.TriggerActivation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTriggerActivation.BuilderProtobuf typestreamlayer.triggers.TriggerActivationstatic classTriggerActivation.TriggerActivationGameEventProtobuf typestreamlayer.triggers.TriggerActivation.TriggerActivationGameEventstatic interfaceTriggerActivation.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
-
-
Field Summary
Fields Modifier and Type Field Description static intACTIVATED_AT_FIELD_NUMBERstatic intACTIVATED_CONDITION_COUNT_FIELD_NUMBERstatic intCONDITIONS_FIELD_NUMBERstatic intENTITY_FIELD_NUMBERstatic intENTITY_ID_FIELD_NUMBERstatic intGAME_EVENT_FIELD_NUMBERstatic intSNAPSHOT_ID_FIELD_NUMBERstatic intTRIGGER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)intgetActivatedAt()activation time EPOCHintgetActivatedConditionCount()amount of activated conditions by snapshotTriggerConditiongetConditions(int index)activated conditionsintgetConditionsCount()activated conditionsjava.util.List<TriggerCondition>getConditionsList()activated conditionsTriggerConditionOrBuildergetConditionsOrBuilder(int index)activated conditionsjava.util.List<? extends TriggerConditionOrBuilder>getConditionsOrBuilderList()activated conditionsstatic TriggerActivationgetDefaultInstance()java.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 triggerstatic TriggerActivation.BuildernewBuilder()static TriggerActivation.BuildernewBuilder(TriggerActivation prototype)static TriggerActivationparseDelimitedFrom(java.io.InputStream input)static TriggerActivationparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TriggerActivationparseFrom(byte[] data)static TriggerActivationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TriggerActivationparseFrom(com.google.protobuf.ByteString data)static TriggerActivationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TriggerActivationparseFrom(com.google.protobuf.CodedInputStream input)static TriggerActivationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TriggerActivationparseFrom(java.io.InputStream input)static TriggerActivationparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TriggerActivationparseFrom(java.nio.ByteBuffer data)static TriggerActivationparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TriggerActivation>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
ACTIVATED_AT_FIELD_NUMBER
public static final int ACTIVATED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SNAPSHOT_ID_FIELD_NUMBER
public static final int SNAPSHOT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIVATED_CONDITION_COUNT_FIELD_NUMBER
public static final int ACTIVATED_CONDITION_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTITY_FIELD_NUMBER
public static final int ENTITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTITY_ID_FIELD_NUMBER
public static final int ENTITY_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GAME_EVENT_FIELD_NUMBER
public static final int GAME_EVENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRIGGER_FIELD_NUMBER
public static final int TRIGGER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONDITIONS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getActivatedAt
public int getActivatedAt()
activation time EPOCH
int32 activated_at = 1 [json_name = "activatedAt"];- Specified by:
getActivatedAtin interfaceTriggerActivationOrBuilder- Returns:
- The activatedAt.
-
getSnapshotId
public java.lang.String getSnapshotId()
related snapshot id
string snapshot_id = 2 [json_name = "snapshotId"];- Specified by:
getSnapshotIdin interfaceTriggerActivationOrBuilder- Returns:
- The snapshotId.
-
getSnapshotIdBytes
public com.google.protobuf.ByteString getSnapshotIdBytes()
related snapshot id
string snapshot_id = 2 [json_name = "snapshotId"];- Specified by:
getSnapshotIdBytesin interfaceTriggerActivationOrBuilder- 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:
getActivatedConditionCountin interfaceTriggerActivationOrBuilder- Returns:
- The activatedConditionCount.
-
getEntity
public java.lang.String getEntity()
related entity
string entity = 4 [json_name = "entity"];- Specified by:
getEntityin interfaceTriggerActivationOrBuilder- Returns:
- The entity.
-
getEntityBytes
public com.google.protobuf.ByteString getEntityBytes()
related entity
string entity = 4 [json_name = "entity"];- Specified by:
getEntityBytesin interfaceTriggerActivationOrBuilder- Returns:
- The bytes for entity.
-
getEntityId
public java.lang.String getEntityId()
entity identifier
string entity_id = 5 [json_name = "entityId"];- Specified by:
getEntityIdin interfaceTriggerActivationOrBuilder- Returns:
- The entityId.
-
getEntityIdBytes
public com.google.protobuf.ByteString getEntityIdBytes()
entity identifier
string entity_id = 5 [json_name = "entityId"];- Specified by:
getEntityIdBytesin interfaceTriggerActivationOrBuilder- Returns:
- The bytes for entityId.
-
hasGameEvent
public boolean hasGameEvent()
game event
.streamlayer.triggers.TriggerActivation.TriggerActivationGameEvent game_event = 6 [json_name = "gameEvent"];- Specified by:
hasGameEventin interfaceTriggerActivationOrBuilder- Returns:
- Whether the gameEvent field is set.
-
getGameEvent
public TriggerActivation.TriggerActivationGameEvent getGameEvent()
game event
.streamlayer.triggers.TriggerActivation.TriggerActivationGameEvent game_event = 6 [json_name = "gameEvent"];- Specified by:
getGameEventin interfaceTriggerActivationOrBuilder- Returns:
- The gameEvent.
-
hasTrigger
public boolean hasTrigger()
related trigger
.streamlayer.triggers.Trigger trigger = 7 [json_name = "trigger"];- Specified by:
hasTriggerin interfaceTriggerActivationOrBuilder- Returns:
- Whether the trigger field is set.
-
getTrigger
public Trigger getTrigger()
related trigger
.streamlayer.triggers.Trigger trigger = 7 [json_name = "trigger"];- Specified by:
getTriggerin interfaceTriggerActivationOrBuilder- Returns:
- The trigger.
-
getConditionsList
public java.util.List<TriggerCondition> getConditionsList()
activated conditions
repeated .streamlayer.triggers.TriggerCondition conditions = 8 [json_name = "conditions"];- Specified by:
getConditionsListin interfaceTriggerActivationOrBuilder
-
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:
getConditionsCountin interfaceTriggerActivationOrBuilder
-
getConditions
public TriggerCondition getConditions(int index)
activated conditions
repeated .streamlayer.triggers.TriggerCondition conditions = 8 [json_name = "conditions"];- Specified by:
getConditionsin interfaceTriggerActivationOrBuilder
-
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
-
newBuilder
public static TriggerActivation.Builder newBuilder()
-
newBuilder
public static TriggerActivation.Builder newBuilder(TriggerActivation prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<TriggerActivation,TriggerActivation.Builder>
-
getDefaultInstance
public static TriggerActivation getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TriggerActivation> parser()
-
-