Class Alert.TriggerInfo

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

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

  • Method Details

    • getDescriptor

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

      public Alert.TriggerInfo.ValueCase getValueCase()
      Specified by:
      getValueCase in interface Alert.TriggerInfoOrBuilder
    • getWindow

      public long getWindow()
       window of the trigger
       
      int64 window = 1;
      Specified by:
      getWindow in interface Alert.TriggerInfoOrBuilder
      Returns:
      The window.
    • getHasError

      public boolean getHasError()
       the window has missing monitoring data
       
      bool hasError = 2;
      Specified by:
      getHasError in interface Alert.TriggerInfoOrBuilder
      Returns:
      The hasError.
    • hasComponent

      public boolean hasComponent()
       component (e.g. topic or broker) that fired the trigger
       
      .alert.ComponentDesc component = 3;
      Specified by:
      hasComponent in interface Alert.TriggerInfoOrBuilder
      Returns:
      Whether the component field is set.
    • getComponent

      public Alert.ComponentDesc getComponent()
       component (e.g. topic or broker) that fired the trigger
       
      .alert.ComponentDesc component = 3;
      Specified by:
      getComponent in interface Alert.TriggerInfoOrBuilder
      Returns:
      The component.
    • getComponentOrBuilder

      public Alert.ComponentDescOrBuilder getComponentOrBuilder()
       component (e.g. topic or broker) that fired the trigger
       
      .alert.ComponentDesc component = 3;
      Specified by:
      getComponentOrBuilder in interface Alert.TriggerInfoOrBuilder
    • hasLongValue

      public boolean hasLongValue()
      int64 longValue = 7;
      Specified by:
      hasLongValue in interface Alert.TriggerInfoOrBuilder
      Returns:
      Whether the longValue field is set.
    • getLongValue

      public long getLongValue()
      int64 longValue = 7;
      Specified by:
      getLongValue in interface Alert.TriggerInfoOrBuilder
      Returns:
      The longValue.
    • hasStatusValue

      public boolean hasStatusValue()
      .command_alert.StatusValue statusValue = 8;
      Specified by:
      hasStatusValue in interface Alert.TriggerInfoOrBuilder
      Returns:
      Whether the statusValue field is set.
    • getStatusValueValue

      public int getStatusValueValue()
      .command_alert.StatusValue statusValue = 8;
      Specified by:
      getStatusValueValue in interface Alert.TriggerInfoOrBuilder
      Returns:
      The enum numeric value on the wire for statusValue.
    • getStatusValue

      public CommandAlert.StatusValue getStatusValue()
      .command_alert.StatusValue statusValue = 8;
      Specified by:
      getStatusValue in interface Alert.TriggerInfoOrBuilder
      Returns:
      The statusValue.
    • 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.TriggerInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static Alert.TriggerInfo getDefaultInstance()
    • parser

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

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