Class CommandAlert.Slack.Builder

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

public static final class CommandAlert.Slack.Builder extends com.google.protobuf.GeneratedMessage.Builder<CommandAlert.Slack.Builder> implements CommandAlert.SlackOrBuilder
Protobuf type command_alert.Slack
  • Method Details

    • getDescriptor

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

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CommandAlert.Slack.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CommandAlert.Slack.Builder>
    • getDefaultInstanceForType

      public CommandAlert.Slack getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

      public CommandAlert.Slack.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommandAlert.Slack.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CommandAlert.Slack.Builder>
    • mergeFrom

      public CommandAlert.Slack.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommandAlert.Slack.Builder>
      Throws:
      IOException
    • getEmojiCase

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

      public CommandAlert.Slack.Builder clearEmoji()
    • 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.
    • setChannel

      public CommandAlert.Slack.Builder setChannel(String value)
      string channel = 1;
      Parameters:
      value - The channel to set.
      Returns:
      This builder for chaining.
    • clearChannel

      public CommandAlert.Slack.Builder clearChannel()
      string channel = 1;
      Returns:
      This builder for chaining.
    • setChannelBytes

      public CommandAlert.Slack.Builder setChannelBytes(com.google.protobuf.ByteString value)
      string channel = 1;
      Parameters:
      value - The bytes for channel to set.
      Returns:
      This builder for chaining.
    • 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.
    • setUsername

      public CommandAlert.Slack.Builder setUsername(String value)
      string username = 2;
      Parameters:
      value - The username to set.
      Returns:
      This builder for chaining.
    • clearUsername

      public CommandAlert.Slack.Builder clearUsername()
      string username = 2;
      Returns:
      This builder for chaining.
    • setUsernameBytes

      public CommandAlert.Slack.Builder setUsernameBytes(com.google.protobuf.ByteString value)
      string username = 2;
      Parameters:
      value - The bytes for username to set.
      Returns:
      This builder for chaining.
    • 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.
    • setIconEmoji

      public CommandAlert.Slack.Builder setIconEmoji(String value)
      string icon_emoji = 3;
      Parameters:
      value - The iconEmoji to set.
      Returns:
      This builder for chaining.
    • clearIconEmoji

      public CommandAlert.Slack.Builder clearIconEmoji()
      string icon_emoji = 3;
      Returns:
      This builder for chaining.
    • setIconEmojiBytes

      public CommandAlert.Slack.Builder setIconEmojiBytes(com.google.protobuf.ByteString value)
      string icon_emoji = 3;
      Parameters:
      value - The bytes for iconEmoji to set.
      Returns:
      This builder for chaining.
    • 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.
    • setIconUrl

      public CommandAlert.Slack.Builder setIconUrl(String value)
      string icon_url = 4;
      Parameters:
      value - The iconUrl to set.
      Returns:
      This builder for chaining.
    • clearIconUrl

      public CommandAlert.Slack.Builder clearIconUrl()
      string icon_url = 4;
      Returns:
      This builder for chaining.
    • setIconUrlBytes

      public CommandAlert.Slack.Builder setIconUrlBytes(com.google.protobuf.ByteString value)
      string icon_url = 4;
      Parameters:
      value - The bytes for iconUrl to set.
      Returns:
      This builder for chaining.
    • 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.
    • setText

      public CommandAlert.Slack.Builder setText(String value)
      string text = 5;
      Parameters:
      value - The text to set.
      Returns:
      This builder for chaining.
    • clearText

      public CommandAlert.Slack.Builder clearText()
      string text = 5;
      Returns:
      This builder for chaining.
    • setTextBytes

      public CommandAlert.Slack.Builder setTextBytes(com.google.protobuf.ByteString value)
      string text = 5;
      Parameters:
      value - The bytes for text to set.
      Returns:
      This builder for chaining.