Package com.streamlayer.triggers
Class TriggerWithConditions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<TriggerWithConditions,TriggerWithConditions.Builder>
-
- com.streamlayer.triggers.TriggerWithConditions
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,TriggerWithConditionsOrBuilder
public final class TriggerWithConditions extends com.google.protobuf.GeneratedMessageLite<TriggerWithConditions,TriggerWithConditions.Builder> implements TriggerWithConditionsOrBuilder
Protobuf typestreamlayer.triggers.TriggerWithConditions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTriggerWithConditions.BuilderProtobuf typestreamlayer.triggers.TriggerWithConditions-
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 intCONDITIONS_FIELD_NUMBERstatic intCOUNTS_FIELD_NUMBERstatic intLIMITS_FIELD_NUMBERstatic intTRIGGER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsCounts(java.lang.String key)map<string, int32> counts = 4 [json_name = "counts"];booleancontainsLimits(java.lang.String key)map<string, int32> limits = 3 [json_name = "limits"];protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)TriggerConditiongetConditions(int index)repeated .streamlayer.triggers.TriggerCondition conditions = 2 [json_name = "conditions"];intgetConditionsCount()repeated .streamlayer.triggers.TriggerCondition conditions = 2 [json_name = "conditions"];java.util.List<TriggerCondition>getConditionsList()repeated .streamlayer.triggers.TriggerCondition conditions = 2 [json_name = "conditions"];TriggerConditionOrBuildergetConditionsOrBuilder(int index)repeated .streamlayer.triggers.TriggerCondition conditions = 2 [json_name = "conditions"];java.util.List<? extends TriggerConditionOrBuilder>getConditionsOrBuilderList()repeated .streamlayer.triggers.TriggerCondition conditions = 2 [json_name = "conditions"];java.util.Map<java.lang.String,java.lang.Integer>getCounts()Deprecated.intgetCountsCount()map<string, int32> counts = 4 [json_name = "counts"];java.util.Map<java.lang.String,java.lang.Integer>getCountsMap()map<string, int32> counts = 4 [json_name = "counts"];intgetCountsOrDefault(java.lang.String key, int defaultValue)map<string, int32> counts = 4 [json_name = "counts"];intgetCountsOrThrow(java.lang.String key)map<string, int32> counts = 4 [json_name = "counts"];static TriggerWithConditionsgetDefaultInstance()java.util.Map<java.lang.String,java.lang.Integer>getLimits()Deprecated.intgetLimitsCount()map<string, int32> limits = 3 [json_name = "limits"];java.util.Map<java.lang.String,java.lang.Integer>getLimitsMap()map<string, int32> limits = 3 [json_name = "limits"];intgetLimitsOrDefault(java.lang.String key, int defaultValue)map<string, int32> limits = 3 [json_name = "limits"];intgetLimitsOrThrow(java.lang.String key)map<string, int32> limits = 3 [json_name = "limits"];TriggergetTrigger().streamlayer.triggers.Trigger trigger = 1 [json_name = "trigger"];booleanhasTrigger().streamlayer.triggers.Trigger trigger = 1 [json_name = "trigger"];static TriggerWithConditions.BuildernewBuilder()static TriggerWithConditions.BuildernewBuilder(TriggerWithConditions prototype)static TriggerWithConditionsparseDelimitedFrom(java.io.InputStream input)static TriggerWithConditionsparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TriggerWithConditionsparseFrom(byte[] data)static TriggerWithConditionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TriggerWithConditionsparseFrom(com.google.protobuf.ByteString data)static TriggerWithConditionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TriggerWithConditionsparseFrom(com.google.protobuf.CodedInputStream input)static TriggerWithConditionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TriggerWithConditionsparseFrom(java.io.InputStream input)static TriggerWithConditionsparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TriggerWithConditionsparseFrom(java.nio.ByteBuffer data)static TriggerWithConditionsparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TriggerWithConditions>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
-
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
-
LIMITS_FIELD_NUMBER
public static final int LIMITS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COUNTS_FIELD_NUMBER
public static final int COUNTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasTrigger
public boolean hasTrigger()
.streamlayer.triggers.Trigger trigger = 1 [json_name = "trigger"];- Specified by:
hasTriggerin interfaceTriggerWithConditionsOrBuilder- Returns:
- Whether the trigger field is set.
-
getTrigger
public Trigger getTrigger()
.streamlayer.triggers.Trigger trigger = 1 [json_name = "trigger"];- Specified by:
getTriggerin interfaceTriggerWithConditionsOrBuilder- Returns:
- The trigger.
-
getConditionsList
public java.util.List<TriggerCondition> getConditionsList()
repeated .streamlayer.triggers.TriggerCondition conditions = 2 [json_name = "conditions"];- Specified by:
getConditionsListin interfaceTriggerWithConditionsOrBuilder
-
getConditionsOrBuilderList
public java.util.List<? extends TriggerConditionOrBuilder> getConditionsOrBuilderList()
repeated .streamlayer.triggers.TriggerCondition conditions = 2 [json_name = "conditions"];
-
getConditionsCount
public int getConditionsCount()
repeated .streamlayer.triggers.TriggerCondition conditions = 2 [json_name = "conditions"];- Specified by:
getConditionsCountin interfaceTriggerWithConditionsOrBuilder
-
getConditions
public TriggerCondition getConditions(int index)
repeated .streamlayer.triggers.TriggerCondition conditions = 2 [json_name = "conditions"];- Specified by:
getConditionsin interfaceTriggerWithConditionsOrBuilder
-
getConditionsOrBuilder
public TriggerConditionOrBuilder getConditionsOrBuilder(int index)
repeated .streamlayer.triggers.TriggerCondition conditions = 2 [json_name = "conditions"];
-
getLimitsCount
public int getLimitsCount()
Description copied from interface:TriggerWithConditionsOrBuildermap<string, int32> limits = 3 [json_name = "limits"];- Specified by:
getLimitsCountin interfaceTriggerWithConditionsOrBuilder
-
containsLimits
public boolean containsLimits(java.lang.String key)
map<string, int32> limits = 3 [json_name = "limits"];- Specified by:
containsLimitsin interfaceTriggerWithConditionsOrBuilder
-
getLimits
@Deprecated public java.util.Map<java.lang.String,java.lang.Integer> getLimits()
Deprecated.UsegetLimitsMap()instead.- Specified by:
getLimitsin interfaceTriggerWithConditionsOrBuilder
-
getLimitsMap
public java.util.Map<java.lang.String,java.lang.Integer> getLimitsMap()
map<string, int32> limits = 3 [json_name = "limits"];- Specified by:
getLimitsMapin interfaceTriggerWithConditionsOrBuilder
-
getLimitsOrDefault
public int getLimitsOrDefault(java.lang.String key, int defaultValue)map<string, int32> limits = 3 [json_name = "limits"];- Specified by:
getLimitsOrDefaultin interfaceTriggerWithConditionsOrBuilder
-
getLimitsOrThrow
public int getLimitsOrThrow(java.lang.String key)
map<string, int32> limits = 3 [json_name = "limits"];- Specified by:
getLimitsOrThrowin interfaceTriggerWithConditionsOrBuilder
-
getCountsCount
public int getCountsCount()
Description copied from interface:TriggerWithConditionsOrBuildermap<string, int32> counts = 4 [json_name = "counts"];- Specified by:
getCountsCountin interfaceTriggerWithConditionsOrBuilder
-
containsCounts
public boolean containsCounts(java.lang.String key)
map<string, int32> counts = 4 [json_name = "counts"];- Specified by:
containsCountsin interfaceTriggerWithConditionsOrBuilder
-
getCounts
@Deprecated public java.util.Map<java.lang.String,java.lang.Integer> getCounts()
Deprecated.UsegetCountsMap()instead.- Specified by:
getCountsin interfaceTriggerWithConditionsOrBuilder
-
getCountsMap
public java.util.Map<java.lang.String,java.lang.Integer> getCountsMap()
map<string, int32> counts = 4 [json_name = "counts"];- Specified by:
getCountsMapin interfaceTriggerWithConditionsOrBuilder
-
getCountsOrDefault
public int getCountsOrDefault(java.lang.String key, int defaultValue)map<string, int32> counts = 4 [json_name = "counts"];- Specified by:
getCountsOrDefaultin interfaceTriggerWithConditionsOrBuilder
-
getCountsOrThrow
public int getCountsOrThrow(java.lang.String key)
map<string, int32> counts = 4 [json_name = "counts"];- Specified by:
getCountsOrThrowin interfaceTriggerWithConditionsOrBuilder
-
parseFrom
public static TriggerWithConditions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TriggerWithConditions parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TriggerWithConditions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TriggerWithConditions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TriggerWithConditions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TriggerWithConditions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TriggerWithConditions parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static TriggerWithConditions parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static TriggerWithConditions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static TriggerWithConditions parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static TriggerWithConditions parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static TriggerWithConditions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static TriggerWithConditions.Builder newBuilder()
-
newBuilder
public static TriggerWithConditions.Builder newBuilder(TriggerWithConditions 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<TriggerWithConditions,TriggerWithConditions.Builder>
-
getDefaultInstance
public static TriggerWithConditions getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TriggerWithConditions> parser()
-
-