Class Controlcenter.TriggerAction
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.confluent.controlcenter.record.Controlcenter.TriggerAction
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Controlcenter.TriggerActionOrBuilder,Serializable
- Enclosing class:
Controlcenter
public static final class Controlcenter.TriggerAction
extends com.google.protobuf.GeneratedMessage
implements Controlcenter.TriggerActionOrBuilder
all actions for a trigger that have the same frequencyProtobuf type
controlcenter.TriggerAction- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classall actions for a trigger that have the same frequencyNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbooleangetActions(int index) repeated .alert.ActionInfo actions = 1;intrepeated .alert.ActionInfo actions = 1;repeated .alert.ActionInfo actions = 1;getActionsOrBuilder(int index) repeated .alert.ActionInfo actions = 1;List<? extends Alert.ActionInfoOrBuilder> repeated .alert.ActionInfo actions = 1;static Controlcenter.TriggerActionstatic final com.google.protobuf.Descriptors.Descriptorlongint64 intervalMs = 3;longensure we don't duplicate same trigger info (withlongint64 nextActionTimestamp = 4;com.google.protobuf.Parser<Controlcenter.TriggerAction> longint64 sendPeriodMs = 2;intinthashCode()final booleannewBuilder(Controlcenter.TriggerAction prototype) static Controlcenter.TriggerActionparseDelimitedFrom(InputStream input) static Controlcenter.TriggerActionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Controlcenter.TriggerActionparseFrom(byte[] data) static Controlcenter.TriggerActionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Controlcenter.TriggerActionparseFrom(com.google.protobuf.ByteString data) static Controlcenter.TriggerActionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Controlcenter.TriggerActionparseFrom(com.google.protobuf.CodedInputStream input) static Controlcenter.TriggerActionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Controlcenter.TriggerActionparseFrom(InputStream input) static Controlcenter.TriggerActionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Controlcenter.TriggerActionparseFrom(ByteBuffer data) static Controlcenter.TriggerActionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Controlcenter.TriggerAction> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ACTIONS_FIELD_NUMBER
public static final int ACTIONS_FIELD_NUMBER- See Also:
-
SENDPERIODMS_FIELD_NUMBER
public static final int SENDPERIODMS_FIELD_NUMBER- See Also:
-
INTERVALMS_FIELD_NUMBER
public static final int INTERVALMS_FIELD_NUMBER- See Also:
-
NEXTACTIONTIMESTAMP_FIELD_NUMBER
public static final int NEXTACTIONTIMESTAMP_FIELD_NUMBER- See Also:
-
LASTTRIGGERINFOSEQUENCE_FIELD_NUMBER
public static final int LASTTRIGGERINFOSEQUENCE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getActionsList
repeated .alert.ActionInfo actions = 1;- Specified by:
getActionsListin interfaceControlcenter.TriggerActionOrBuilder
-
getActionsOrBuilderList
repeated .alert.ActionInfo actions = 1;- Specified by:
getActionsOrBuilderListin interfaceControlcenter.TriggerActionOrBuilder
-
getActionsCount
public int getActionsCount()repeated .alert.ActionInfo actions = 1;- Specified by:
getActionsCountin interfaceControlcenter.TriggerActionOrBuilder
-
getActions
repeated .alert.ActionInfo actions = 1;- Specified by:
getActionsin interfaceControlcenter.TriggerActionOrBuilder
-
getActionsOrBuilder
repeated .alert.ActionInfo actions = 1;- Specified by:
getActionsOrBuilderin interfaceControlcenter.TriggerActionOrBuilder
-
getSendPeriodMs
public long getSendPeriodMs()int64 sendPeriodMs = 2;- Specified by:
getSendPeriodMsin interfaceControlcenter.TriggerActionOrBuilder- Returns:
- The sendPeriodMs.
-
getIntervalMs
public long getIntervalMs()int64 intervalMs = 3;- Specified by:
getIntervalMsin interfaceControlcenter.TriggerActionOrBuilder- Returns:
- The intervalMs.
-
getNextActionTimestamp
public long getNextActionTimestamp()int64 nextActionTimestamp = 4;- Specified by:
getNextActionTimestampin interfaceControlcenter.TriggerActionOrBuilder- Returns:
- The nextActionTimestamp.
-
getLastTriggerInfoSequence
public long getLastTriggerInfoSequence()ensure we don't duplicate same trigger info (with
int64 lastTriggerInfoSequence = 5;- Specified by:
getLastTriggerInfoSequencein interfaceControlcenter.TriggerActionOrBuilder- Returns:
- The lastTriggerInfoSequence.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Controlcenter.TriggerAction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Controlcenter.TriggerAction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Controlcenter.TriggerAction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Controlcenter.TriggerAction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Controlcenter.TriggerAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Controlcenter.TriggerAction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Controlcenter.TriggerAction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Controlcenter.TriggerAction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Controlcenter.TriggerAction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Controlcenter.TriggerAction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-