Class Controlcenter.TriggerEvent

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.confluent.controlcenter.record.Controlcenter.TriggerEvent
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Controlcenter.TriggerEventOrBuilder, Serializable
Enclosing class:
Controlcenter

public static final class Controlcenter.TriggerEvent extends com.google.protobuf.GeneratedMessage implements Controlcenter.TriggerEventOrBuilder
Protobuf type controlcenter.TriggerEvent
See Also:
  • Field Details

    • TRIGGERGUID_FIELD_NUMBER

      public static final int TRIGGERGUID_FIELD_NUMBER
      See Also:
    • TIMESTAMP_FIELD_NUMBER

      public static final int TIMESTAMP_FIELD_NUMBER
      See Also:
    • INFO_FIELD_NUMBER

      public static final int INFO_FIELD_NUMBER
      See Also:
    • HEARTBEAT_FIELD_NUMBER

      public static final int HEARTBEAT_FIELD_NUMBER
      See Also:
    • INTERNALTOPICPARTITION_FIELD_NUMBER

      public static final int INTERNALTOPICPARTITION_FIELD_NUMBER
      See Also:
    • WINDOW_FIELD_NUMBER

      public static final int WINDOW_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • getTriggerGuid

      public String getTriggerGuid()
       GUID of MonitoringTriggerConfig
       
      string triggerGuid = 1;
      Specified by:
      getTriggerGuid in interface Controlcenter.TriggerEventOrBuilder
      Returns:
      The triggerGuid.
    • getTriggerGuidBytes

      public com.google.protobuf.ByteString getTriggerGuidBytes()
       GUID of MonitoringTriggerConfig
       
      string triggerGuid = 1;
      Specified by:
      getTriggerGuidBytes in interface Controlcenter.TriggerEventOrBuilder
      Returns:
      The bytes for triggerGuid.
    • getTimestamp

      public long getTimestamp()
       time (in C3 time) of this trigger event
       
      int64 timestamp = 2;
      Specified by:
      getTimestamp in interface Controlcenter.TriggerEventOrBuilder
      Returns:
      The timestamp.
    • hasInfo

      public boolean hasInfo()
      .alert.TriggerInfo info = 3;
      Specified by:
      hasInfo in interface Controlcenter.TriggerEventOrBuilder
      Returns:
      Whether the info field is set.
    • getInfo

      public Alert.TriggerInfo getInfo()
      .alert.TriggerInfo info = 3;
      Specified by:
      getInfo in interface Controlcenter.TriggerEventOrBuilder
      Returns:
      The info.
    • getInfoOrBuilder

      public Alert.TriggerInfoOrBuilder getInfoOrBuilder()
      .alert.TriggerInfo info = 3;
      Specified by:
      getInfoOrBuilder in interface Controlcenter.TriggerEventOrBuilder
    • getHeartbeat

      public boolean getHeartbeat()
       true if this is a heartbeat event, not actual trigger
       
      bool heartbeat = 4;
      Specified by:
      getHeartbeat in interface Controlcenter.TriggerEventOrBuilder
      Returns:
      The heartbeat.
    • getInternalTopicPartition

      public int getInternalTopicPartition()
      int32 internalTopicPartition = 5;
      Specified by:
      getInternalTopicPartition in interface Controlcenter.TriggerEventOrBuilder
      Returns:
      The internalTopicPartition.
    • getWindow

      public long getWindow()
       window of associated triggering action
       
      int64 window = 6;
      Specified by:
      getWindow in interface Controlcenter.TriggerEventOrBuilder
      Returns:
      The window.
    • 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.TriggerEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Controlcenter.TriggerEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static Controlcenter.TriggerEvent 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.TriggerEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

      public static Controlcenter.TriggerEvent parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static Controlcenter.TriggerEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Controlcenter.TriggerEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

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

      public static Controlcenter.TriggerEvent.Builder newBuilder(Controlcenter.TriggerEvent prototype)
    • toBuilder

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

      public static Controlcenter.TriggerEvent getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Controlcenter.TriggerEvent> 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.TriggerEvent getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder