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 frequency
Protobuf type controlcenter.TriggerAction
See Also:
  • 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()
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage
    • getActionsList

      public List<Alert.ActionInfo> getActionsList()
      repeated .alert.ActionInfo actions = 1;
      Specified by:
      getActionsList in interface Controlcenter.TriggerActionOrBuilder
    • getActionsOrBuilderList

      public List<? extends Alert.ActionInfoOrBuilder> getActionsOrBuilderList()
      repeated .alert.ActionInfo actions = 1;
      Specified by:
      getActionsOrBuilderList in interface Controlcenter.TriggerActionOrBuilder
    • getActionsCount

      public int getActionsCount()
      repeated .alert.ActionInfo actions = 1;
      Specified by:
      getActionsCount in interface Controlcenter.TriggerActionOrBuilder
    • getActions

      public Alert.ActionInfo getActions(int index)
      repeated .alert.ActionInfo actions = 1;
      Specified by:
      getActions in interface Controlcenter.TriggerActionOrBuilder
    • getActionsOrBuilder

      public Alert.ActionInfoOrBuilder getActionsOrBuilder(int index)
      repeated .alert.ActionInfo actions = 1;
      Specified by:
      getActionsOrBuilder in interface Controlcenter.TriggerActionOrBuilder
    • getSendPeriodMs

      public long getSendPeriodMs()
      int64 sendPeriodMs = 2;
      Specified by:
      getSendPeriodMs in interface Controlcenter.TriggerActionOrBuilder
      Returns:
      The sendPeriodMs.
    • getIntervalMs

      public long getIntervalMs()
      int64 intervalMs = 3;
      Specified by:
      getIntervalMs in interface Controlcenter.TriggerActionOrBuilder
      Returns:
      The intervalMs.
    • getNextActionTimestamp

      public long getNextActionTimestamp()
      int64 nextActionTimestamp = 4;
      Specified by:
      getNextActionTimestamp in interface Controlcenter.TriggerActionOrBuilder
      Returns:
      The nextActionTimestamp.
    • getLastTriggerInfoSequence

      public long getLastTriggerInfoSequence()
      ensure we don't duplicate same trigger info (with
      
      int64 lastTriggerInfoSequence = 5;
      Specified by:
      getLastTriggerInfoSequence in interface Controlcenter.TriggerActionOrBuilder
      Returns:
      The lastTriggerInfoSequence.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Controlcenter.TriggerAction parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Controlcenter.TriggerAction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Controlcenter.TriggerAction parseDelimitedFrom(InputStream input) throws IOException
      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

      public Controlcenter.TriggerAction.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Controlcenter.TriggerAction.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • getDefaultInstance

      public static Controlcenter.TriggerAction getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Controlcenter.TriggerAction> parser()
    • getParserForType

      public com.google.protobuf.Parser<Controlcenter.TriggerAction> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Controlcenter.TriggerAction getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder