Class CommandAlert.Slack

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.confluent.command.record.alert.CommandAlert.Slack
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CommandAlert.SlackOrBuilder, Serializable
Enclosing class:
CommandAlert

public static final class CommandAlert.Slack extends com.google.protobuf.GeneratedMessage implements CommandAlert.SlackOrBuilder
Protobuf type command_alert.Slack
See Also:
  • Field Details

  • Method Details

    • getDescriptor

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

      public CommandAlert.Slack.EmojiCase getEmojiCase()
      Specified by:
      getEmojiCase in interface CommandAlert.SlackOrBuilder
    • getChannel

      public String getChannel()
      string channel = 1;
      Specified by:
      getChannel in interface CommandAlert.SlackOrBuilder
      Returns:
      The channel.
    • getChannelBytes

      public com.google.protobuf.ByteString getChannelBytes()
      string channel = 1;
      Specified by:
      getChannelBytes in interface CommandAlert.SlackOrBuilder
      Returns:
      The bytes for channel.
    • getUsername

      public String getUsername()
      string username = 2;
      Specified by:
      getUsername in interface CommandAlert.SlackOrBuilder
      Returns:
      The username.
    • getUsernameBytes

      public com.google.protobuf.ByteString getUsernameBytes()
      string username = 2;
      Specified by:
      getUsernameBytes in interface CommandAlert.SlackOrBuilder
      Returns:
      The bytes for username.
    • hasIconEmoji

      public boolean hasIconEmoji()
      string icon_emoji = 3;
      Specified by:
      hasIconEmoji in interface CommandAlert.SlackOrBuilder
      Returns:
      Whether the iconEmoji field is set.
    • getIconEmoji

      public String getIconEmoji()
      string icon_emoji = 3;
      Specified by:
      getIconEmoji in interface CommandAlert.SlackOrBuilder
      Returns:
      The iconEmoji.
    • getIconEmojiBytes

      public com.google.protobuf.ByteString getIconEmojiBytes()
      string icon_emoji = 3;
      Specified by:
      getIconEmojiBytes in interface CommandAlert.SlackOrBuilder
      Returns:
      The bytes for iconEmoji.
    • hasIconUrl

      public boolean hasIconUrl()
      string icon_url = 4;
      Specified by:
      hasIconUrl in interface CommandAlert.SlackOrBuilder
      Returns:
      Whether the iconUrl field is set.
    • getIconUrl

      public String getIconUrl()
      string icon_url = 4;
      Specified by:
      getIconUrl in interface CommandAlert.SlackOrBuilder
      Returns:
      The iconUrl.
    • getIconUrlBytes

      public com.google.protobuf.ByteString getIconUrlBytes()
      string icon_url = 4;
      Specified by:
      getIconUrlBytes in interface CommandAlert.SlackOrBuilder
      Returns:
      The bytes for iconUrl.
    • getText

      public String getText()
      string text = 5;
      Specified by:
      getText in interface CommandAlert.SlackOrBuilder
      Returns:
      The text.
    • getTextBytes

      public com.google.protobuf.ByteString getTextBytes()
      string text = 5;
      Specified by:
      getTextBytes in interface CommandAlert.SlackOrBuilder
      Returns:
      The bytes for text.
    • 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 CommandAlert.Slack parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static CommandAlert.Slack parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static CommandAlert.Slack parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static CommandAlert.Slack.Builder newBuilder()
    • newBuilder

      public static CommandAlert.Slack.Builder newBuilder(CommandAlert.Slack prototype)
    • toBuilder

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

      public static CommandAlert.Slack getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CommandAlert.Slack> parser()
    • getParserForType

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