Class Alert.AlertInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.confluent.controlcenter.alert.record.Alert.AlertInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Alert.AlertInfoOrBuilder, Serializable
Enclosing class:
Alert

public static final class Alert.AlertInfo extends com.google.protobuf.GeneratedMessage implements Alert.AlertInfoOrBuilder
Protobuf type alert.AlertInfo
See Also:
  • Field Details

  • Method Details

    • getDescriptor

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

      public Alert.AlertInfo.TriggerConfigCase getTriggerConfigCase()
      Specified by:
      getTriggerConfigCase in interface Alert.AlertInfoOrBuilder
    • getGuid

      public String getGuid()
       alert GUID
       
      string guid = 1;
      Specified by:
      getGuid in interface Alert.AlertInfoOrBuilder
      Returns:
      The guid.
    • getGuidBytes

      public com.google.protobuf.ByteString getGuidBytes()
       alert GUID
       
      string guid = 1;
      Specified by:
      getGuidBytes in interface Alert.AlertInfoOrBuilder
      Returns:
      The bytes for guid.
    • getTimestamp

      public long getTimestamp()
       time in C3 time of this alert
       
      int64 timestamp = 2;
      Specified by:
      getTimestamp in interface Alert.AlertInfoOrBuilder
      Returns:
      The timestamp.
    • hasMonitoringTrigger

      public boolean hasMonitoringTrigger()
      .command_alert.MonitoringTriggerConfig monitoringTrigger = 3;
      Specified by:
      hasMonitoringTrigger in interface Alert.AlertInfoOrBuilder
      Returns:
      Whether the monitoringTrigger field is set.
    • getMonitoringTrigger

      public CommandAlert.MonitoringTriggerConfig getMonitoringTrigger()
      .command_alert.MonitoringTriggerConfig monitoringTrigger = 3;
      Specified by:
      getMonitoringTrigger in interface Alert.AlertInfoOrBuilder
      Returns:
      The monitoringTrigger.
    • getMonitoringTriggerOrBuilder

      public CommandAlert.MonitoringTriggerConfigOrBuilder getMonitoringTriggerOrBuilder()
      .command_alert.MonitoringTriggerConfig monitoringTrigger = 3;
      Specified by:
      getMonitoringTriggerOrBuilder in interface Alert.AlertInfoOrBuilder
    • getTriggersList

      public List<Alert.TriggerInfo> getTriggersList()
      repeated .alert.TriggerInfo triggers = 4;
      Specified by:
      getTriggersList in interface Alert.AlertInfoOrBuilder
    • getTriggersOrBuilderList

      public List<? extends Alert.TriggerInfoOrBuilder> getTriggersOrBuilderList()
      repeated .alert.TriggerInfo triggers = 4;
      Specified by:
      getTriggersOrBuilderList in interface Alert.AlertInfoOrBuilder
    • getTriggersCount

      public int getTriggersCount()
      repeated .alert.TriggerInfo triggers = 4;
      Specified by:
      getTriggersCount in interface Alert.AlertInfoOrBuilder
    • getTriggers

      public Alert.TriggerInfo getTriggers(int index)
      repeated .alert.TriggerInfo triggers = 4;
      Specified by:
      getTriggers in interface Alert.AlertInfoOrBuilder
    • getTriggersOrBuilder

      public Alert.TriggerInfoOrBuilder getTriggersOrBuilder(int index)
      repeated .alert.TriggerInfo triggers = 4;
      Specified by:
      getTriggersOrBuilder in interface Alert.AlertInfoOrBuilder
    • getActionsList

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

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

      public int getActionsCount()
      repeated .alert.ActionInfo actions = 5;
      Specified by:
      getActionsCount in interface Alert.AlertInfoOrBuilder
    • getActions

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

      public Alert.ActionInfoOrBuilder getActionsOrBuilder(int index)
      repeated .alert.ActionInfo actions = 5;
      Specified by:
      getActionsOrBuilder in interface Alert.AlertInfoOrBuilder
    • 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 Alert.AlertInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static Alert.AlertInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Alert.AlertInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static Alert.AlertInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Alert.AlertInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Alert.AlertInfo.Builder newBuilder()
    • newBuilder

      public static Alert.AlertInfo.Builder newBuilder(Alert.AlertInfo prototype)
    • toBuilder

      public Alert.AlertInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • getDefaultInstance

      public static Alert.AlertInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Alert.AlertInfo> parser()
    • getParserForType

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