content: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // NO CHECKED-IN PROTOBUF GENCODE
  // source: messages.proto
  // Protobuf Java Version: 4.28.2
  
  package finsky.protos;
  
  /**
   * Protobuf type {@code finsky.protos.Badge}
   */
  public  final class Badge extends
      com.google.protobuf.GeneratedMessageLite<
          Badge, Badge.Builder> implements
      // @@protoc_insertion_point(message_implements:finsky.protos.Badge)
      BadgeOrBuilder {
    private Badge() {
      major_ = "";
      minor_ = "";
      minorHtml_ = "";
      description_ = "";
    }
    private int bitField0_;
    public static final int MAJOR_FIELD_NUMBER = 1;
    private java.lang.String major_;
    /**
     * <code>optional string major = 1;</code>
     * @return Whether the major field is set.
     */
    @java.lang.Override
    public boolean hasMajor() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>optional string major = 1;</code>
     * @return The major.
     */
    @java.lang.Override
    public java.lang.String getMajor() {
      return major_;
    }
    /**
     * <code>optional string major = 1;</code>
     * @return The bytes for major.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getMajorBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(major_);
    }
    /**
     * <code>optional string major = 1;</code>
     * @param value The major to set.
     */
    private void setMajor(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
    bitField0_ |= 0x00000001;
      major_ = value;
    }
    /**
     * <code>optional string major = 1;</code>
     */
    private void clearMajor() {
      bitField0_ = (bitField0_ & ~0x00000001);
      major_ = getDefaultInstance().getMajor();
    }
    /**
     * <code>optional string major = 1;</code>
     * @param value The bytes for major to set.
     */
    private void setMajorBytes(
        com.google.protobuf.ByteString value) {
      major_ = value.toStringUtf8();
      bitField0_ |= 0x00000001;
    }
  
    public static final int IMAGE_FIELD_NUMBER = 2;
    private finsky.protos.Common.Image image_;
    /**
     * <code>optional .finsky.protos.Common.Image image = 2;</code>
     */
    @java.lang.Override
    public boolean hasImage() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>optional .finsky.protos.Common.Image image = 2;</code>
     */
    @java.lang.Override
    public finsky.protos.Common.Image getImage() {
      return image_ == null ? finsky.protos.Common.Image.getDefaultInstance() : image_;
    }
    /**
     * <code>optional .finsky.protos.Common.Image image = 2;</code>
     */
    private void setImage(finsky.protos.Common.Image value) {
      value.getClass();
    image_ = value;
      bitField0_ |= 0x00000002;
      }
    /**
     * <code>optional .finsky.protos.Common.Image image = 2;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeImage(finsky.protos.Common.Image value) {
      value.getClass();
    if (image_ != null &&
          image_ != finsky.protos.Common.Image.getDefaultInstance()) {
        image_ =
          finsky.protos.Common.Image.newBuilder(image_).mergeFrom(value).buildPartial();
      } else {
        image_ = value;
      }
      bitField0_ |= 0x00000002;
    }
    /**
     * <code>optional .finsky.protos.Common.Image image = 2;</code>
     */
    private void clearImage() {  image_ = null;
      bitField0_ = (bitField0_ & ~0x00000002);
    }
  
    public static final int MINOR_FIELD_NUMBER = 3;
    private java.lang.String minor_;
    /**
     * <code>optional string minor = 3;</code>
     * @return Whether the minor field is set.
     */
    @java.lang.Override
    public boolean hasMinor() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>optional string minor = 3;</code>
     * @return The minor.
     */
    @java.lang.Override
    public java.lang.String getMinor() {
      return minor_;
    }
    /**
     * <code>optional string minor = 3;</code>
     * @return The bytes for minor.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getMinorBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(minor_);
    }
    /**
     * <code>optional string minor = 3;</code>
     * @param value The minor to set.
     */
    private void setMinor(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
    bitField0_ |= 0x00000004;
      minor_ = value;
    }
    /**
     * <code>optional string minor = 3;</code>
     */
    private void clearMinor() {
      bitField0_ = (bitField0_ & ~0x00000004);
      minor_ = getDefaultInstance().getMinor();
    }
    /**
     * <code>optional string minor = 3;</code>
     * @param value The bytes for minor to set.
     */
    private void setMinorBytes(
        com.google.protobuf.ByteString value) {
      minor_ = value.toStringUtf8();
      bitField0_ |= 0x00000004;
    }
  
    public static final int MINORHTML_FIELD_NUMBER = 4;
    private java.lang.String minorHtml_;
    /**
     * <code>optional string minorHtml = 4;</code>
     * @return Whether the minorHtml field is set.
     */
    @java.lang.Override
    public boolean hasMinorHtml() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * <code>optional string minorHtml = 4;</code>
     * @return The minorHtml.
     */
    @java.lang.Override
    public java.lang.String getMinorHtml() {
      return minorHtml_;
    }
    /**
     * <code>optional string minorHtml = 4;</code>
     * @return The bytes for minorHtml.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getMinorHtmlBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(minorHtml_);
    }
    /**
     * <code>optional string minorHtml = 4;</code>
     * @param value The minorHtml to set.
     */
    private void setMinorHtml(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
    bitField0_ |= 0x00000008;
      minorHtml_ = value;
    }
    /**
     * <code>optional string minorHtml = 4;</code>
     */
    private void clearMinorHtml() {
      bitField0_ = (bitField0_ & ~0x00000008);
      minorHtml_ = getDefaultInstance().getMinorHtml();
    }
    /**
     * <code>optional string minorHtml = 4;</code>
     * @param value The bytes for minorHtml to set.
     */
    private void setMinorHtmlBytes(
        com.google.protobuf.ByteString value) {
      minorHtml_ = value.toStringUtf8();
      bitField0_ |= 0x00000008;
    }
  
    public static final int LINK_FIELD_NUMBER = 7;
    private finsky.protos.StreamLink link_;
    /**
     * <pre>
     * optional SubBadge subBadge = 6;
     * </pre>
     *
     * <code>optional .finsky.protos.StreamLink link = 7;</code>
     */
    @java.lang.Override
    public boolean hasLink() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * <pre>
     * optional SubBadge subBadge = 6;
     * </pre>
     *
     * <code>optional .finsky.protos.StreamLink link = 7;</code>
     */
    @java.lang.Override
    public finsky.protos.StreamLink getLink() {
      return link_ == null ? finsky.protos.StreamLink.getDefaultInstance() : link_;
    }
    /**
     * <pre>
     * optional SubBadge subBadge = 6;
     * </pre>
     *
     * <code>optional .finsky.protos.StreamLink link = 7;</code>
     */
    private void setLink(finsky.protos.StreamLink value) {
      value.getClass();
    link_ = value;
      bitField0_ |= 0x00000010;
      }
    /**
     * <pre>
     * optional SubBadge subBadge = 6;
     * </pre>
     *
     * <code>optional .finsky.protos.StreamLink link = 7;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeLink(finsky.protos.StreamLink value) {
      value.getClass();
    if (link_ != null &&
          link_ != finsky.protos.StreamLink.getDefaultInstance()) {
        link_ =
          finsky.protos.StreamLink.newBuilder(link_).mergeFrom(value).buildPartial();
      } else {
        link_ = value;
      }
      bitField0_ |= 0x00000010;
    }
    /**
     * <pre>
     * optional SubBadge subBadge = 6;
     * </pre>
     *
     * <code>optional .finsky.protos.StreamLink link = 7;</code>
     */
    private void clearLink() {  link_ = null;
      bitField0_ = (bitField0_ & ~0x00000010);
    }
  
    public static final int DESCRIPTION_FIELD_NUMBER = 8;
    private java.lang.String description_;
    /**
     * <code>optional string description = 8;</code>
     * @return Whether the description field is set.
     */
    @java.lang.Override
    public boolean hasDescription() {
      return ((bitField0_ & 0x00000020) != 0);
    }
    /**
     * <code>optional string description = 8;</code>
     * @return The description.
     */
    @java.lang.Override
    public java.lang.String getDescription() {
      return description_;
    }
    /**
     * <code>optional string description = 8;</code>
     * @return The bytes for description.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getDescriptionBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(description_);
    }
    /**
     * <code>optional string description = 8;</code>
     * @param value The description to set.
     */
    private void setDescription(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
    bitField0_ |= 0x00000020;
      description_ = value;
    }
    /**
     * <code>optional string description = 8;</code>
     */
    private void clearDescription() {
      bitField0_ = (bitField0_ & ~0x00000020);
      description_ = getDefaultInstance().getDescription();
    }
    /**
     * <code>optional string description = 8;</code>
     * @param value The bytes for description to set.
     */
    private void setDescriptionBytes(
        com.google.protobuf.ByteString value) {
      description_ = value.toStringUtf8();
      bitField0_ |= 0x00000020;
    }
  
    public static final int STREAM_FIELD_NUMBER = 12;
    private finsky.protos.SubStream stream_;
    /**
     * <code>optional .finsky.protos.SubStream stream = 12;</code>
     */
    @java.lang.Override
    public boolean hasStream() {
      return ((bitField0_ & 0x00000040) != 0);
    }
    /**
     * <code>optional .finsky.protos.SubStream stream = 12;</code>
     */
    @java.lang.Override
    public finsky.protos.SubStream getStream() {
      return stream_ == null ? finsky.protos.SubStream.getDefaultInstance() : stream_;
    }
    /**
     * <code>optional .finsky.protos.SubStream stream = 12;</code>
     */
    private void setStream(finsky.protos.SubStream value) {
      value.getClass();
    stream_ = value;
      bitField0_ |= 0x00000040;
      }
    /**
     * <code>optional .finsky.protos.SubStream stream = 12;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeStream(finsky.protos.SubStream value) {
      value.getClass();
    if (stream_ != null &&
          stream_ != finsky.protos.SubStream.getDefaultInstance()) {
        stream_ =
          finsky.protos.SubStream.newBuilder(stream_).mergeFrom(value).buildPartial();
      } else {
        stream_ = value;
      }
      bitField0_ |= 0x00000040;
    }
    /**
     * <code>optional .finsky.protos.SubStream stream = 12;</code>
     */
    private void clearStream() {  stream_ = null;
      bitField0_ = (bitField0_ & ~0x00000040);
    }
  
    public static finsky.protos.Badge parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static finsky.protos.Badge parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static finsky.protos.Badge parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static finsky.protos.Badge parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static finsky.protos.Badge parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static finsky.protos.Badge parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static finsky.protos.Badge parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static finsky.protos.Badge parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }
  
    public static finsky.protos.Badge parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
  
    public static finsky.protos.Badge parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static finsky.protos.Badge parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static finsky.protos.Badge parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }
  
    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(finsky.protos.Badge prototype) {
      return DEFAULT_INSTANCE.createBuilder(prototype);
    }
  
    /**
     * Protobuf type {@code finsky.protos.Badge}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          finsky.protos.Badge, Builder> implements
        // @@protoc_insertion_point(builder_implements:finsky.protos.Badge)
        finsky.protos.BadgeOrBuilder {
      // Construct using finsky.protos.Badge.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }
  
  
      /**
       * <code>optional string major = 1;</code>
       * @return Whether the major field is set.
       */
      @java.lang.Override
      public boolean hasMajor() {
        return instance.hasMajor();
      }
      /**
       * <code>optional string major = 1;</code>
       * @return The major.
       */
      @java.lang.Override
      public java.lang.String getMajor() {
        return instance.getMajor();
      }
      /**
       * <code>optional string major = 1;</code>
       * @return The bytes for major.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getMajorBytes() {
        return instance.getMajorBytes();
      }
      /**
       * <code>optional string major = 1;</code>
       * @param value The major to set.
       * @return This builder for chaining.
       */
      public Builder setMajor(
          java.lang.String value) {
        copyOnWrite();
        instance.setMajor(value);
        return this;
      }
      /**
       * <code>optional string major = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearMajor() {
        copyOnWrite();
        instance.clearMajor();
        return this;
      }
      /**
       * <code>optional string major = 1;</code>
       * @param value The bytes for major to set.
       * @return This builder for chaining.
       */
      public Builder setMajorBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setMajorBytes(value);
        return this;
      }
  
      /**
       * <code>optional .finsky.protos.Common.Image image = 2;</code>
       */
      @java.lang.Override
      public boolean hasImage() {
        return instance.hasImage();
      }
      /**
       * <code>optional .finsky.protos.Common.Image image = 2;</code>
       */
      @java.lang.Override
      public finsky.protos.Common.Image getImage() {
        return instance.getImage();
      }
      /**
       * <code>optional .finsky.protos.Common.Image image = 2;</code>
       */
      public Builder setImage(finsky.protos.Common.Image value) {
        copyOnWrite();
        instance.setImage(value);
        return this;
        }
      /**
       * <code>optional .finsky.protos.Common.Image image = 2;</code>
       */
      public Builder setImage(
          finsky.protos.Common.Image.Builder builderForValue) {
        copyOnWrite();
        instance.setImage(builderForValue.build());
        return this;
      }
      /**
       * <code>optional .finsky.protos.Common.Image image = 2;</code>
       */
      public Builder mergeImage(finsky.protos.Common.Image value) {
        copyOnWrite();
        instance.mergeImage(value);
        return this;
      }
      /**
       * <code>optional .finsky.protos.Common.Image image = 2;</code>
       */
      public Builder clearImage() {  copyOnWrite();
        instance.clearImage();
        return this;
      }
  
      /**
       * <code>optional string minor = 3;</code>
       * @return Whether the minor field is set.
       */
      @java.lang.Override
      public boolean hasMinor() {
        return instance.hasMinor();
      }
      /**
       * <code>optional string minor = 3;</code>
       * @return The minor.
       */
      @java.lang.Override
      public java.lang.String getMinor() {
        return instance.getMinor();
      }
      /**
       * <code>optional string minor = 3;</code>
       * @return The bytes for minor.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getMinorBytes() {
        return instance.getMinorBytes();
      }
      /**
       * <code>optional string minor = 3;</code>
       * @param value The minor to set.
       * @return This builder for chaining.
       */
      public Builder setMinor(
          java.lang.String value) {
        copyOnWrite();
        instance.setMinor(value);
        return this;
      }
      /**
       * <code>optional string minor = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearMinor() {
        copyOnWrite();
        instance.clearMinor();
        return this;
      }
      /**
       * <code>optional string minor = 3;</code>
       * @param value The bytes for minor to set.
       * @return This builder for chaining.
       */
      public Builder setMinorBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setMinorBytes(value);
        return this;
      }
  
      /**
       * <code>optional string minorHtml = 4;</code>
       * @return Whether the minorHtml field is set.
       */
      @java.lang.Override
      public boolean hasMinorHtml() {
        return instance.hasMinorHtml();
      }
      /**
       * <code>optional string minorHtml = 4;</code>
       * @return The minorHtml.
       */
      @java.lang.Override
      public java.lang.String getMinorHtml() {
        return instance.getMinorHtml();
      }
      /**
       * <code>optional string minorHtml = 4;</code>
       * @return The bytes for minorHtml.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getMinorHtmlBytes() {
        return instance.getMinorHtmlBytes();
      }
      /**
       * <code>optional string minorHtml = 4;</code>
       * @param value The minorHtml to set.
       * @return This builder for chaining.
       */
      public Builder setMinorHtml(
          java.lang.String value) {
        copyOnWrite();
        instance.setMinorHtml(value);
        return this;
      }
      /**
       * <code>optional string minorHtml = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearMinorHtml() {
        copyOnWrite();
        instance.clearMinorHtml();
        return this;
      }
      /**
       * <code>optional string minorHtml = 4;</code>
       * @param value The bytes for minorHtml to set.
       * @return This builder for chaining.
       */
      public Builder setMinorHtmlBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setMinorHtmlBytes(value);
        return this;
      }
  
      /**
       * <pre>
       * optional SubBadge subBadge = 6;
       * </pre>
       *
       * <code>optional .finsky.protos.StreamLink link = 7;</code>
       */
      @java.lang.Override
      public boolean hasLink() {
        return instance.hasLink();
      }
      /**
       * <pre>
       * optional SubBadge subBadge = 6;
       * </pre>
       *
       * <code>optional .finsky.protos.StreamLink link = 7;</code>
       */
      @java.lang.Override
      public finsky.protos.StreamLink getLink() {
        return instance.getLink();
      }
      /**
       * <pre>
       * optional SubBadge subBadge = 6;
       * </pre>
       *
       * <code>optional .finsky.protos.StreamLink link = 7;</code>
       */
      public Builder setLink(finsky.protos.StreamLink value) {
        copyOnWrite();
        instance.setLink(value);
        return this;
        }
      /**
       * <pre>
       * optional SubBadge subBadge = 6;
       * </pre>
       *
       * <code>optional .finsky.protos.StreamLink link = 7;</code>
       */
      public Builder setLink(
          finsky.protos.StreamLink.Builder builderForValue) {
        copyOnWrite();
        instance.setLink(builderForValue.build());
        return this;
      }
      /**
       * <pre>
       * optional SubBadge subBadge = 6;
       * </pre>
       *
       * <code>optional .finsky.protos.StreamLink link = 7;</code>
       */
      public Builder mergeLink(finsky.protos.StreamLink value) {
        copyOnWrite();
        instance.mergeLink(value);
        return this;
      }
      /**
       * <pre>
       * optional SubBadge subBadge = 6;
       * </pre>
       *
       * <code>optional .finsky.protos.StreamLink link = 7;</code>
       */
      public Builder clearLink() {  copyOnWrite();
        instance.clearLink();
        return this;
      }
  
      /**
       * <code>optional string description = 8;</code>
       * @return Whether the description field is set.
       */
      @java.lang.Override
      public boolean hasDescription() {
        return instance.hasDescription();
      }
      /**
       * <code>optional string description = 8;</code>
       * @return The description.
       */
      @java.lang.Override
      public java.lang.String getDescription() {
        return instance.getDescription();
      }
      /**
       * <code>optional string description = 8;</code>
       * @return The bytes for description.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getDescriptionBytes() {
        return instance.getDescriptionBytes();
      }
      /**
       * <code>optional string description = 8;</code>
       * @param value The description to set.
       * @return This builder for chaining.
       */
      public Builder setDescription(
          java.lang.String value) {
        copyOnWrite();
        instance.setDescription(value);
        return this;
      }
      /**
       * <code>optional string description = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearDescription() {
        copyOnWrite();
        instance.clearDescription();
        return this;
      }
      /**
       * <code>optional string description = 8;</code>
       * @param value The bytes for description to set.
       * @return This builder for chaining.
       */
      public Builder setDescriptionBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setDescriptionBytes(value);
        return this;
      }
  
      /**
       * <code>optional .finsky.protos.SubStream stream = 12;</code>
       */
      @java.lang.Override
      public boolean hasStream() {
        return instance.hasStream();
      }
      /**
       * <code>optional .finsky.protos.SubStream stream = 12;</code>
       */
      @java.lang.Override
      public finsky.protos.SubStream getStream() {
        return instance.getStream();
      }
      /**
       * <code>optional .finsky.protos.SubStream stream = 12;</code>
       */
      public Builder setStream(finsky.protos.SubStream value) {
        copyOnWrite();
        instance.setStream(value);
        return this;
        }
      /**
       * <code>optional .finsky.protos.SubStream stream = 12;</code>
       */
      public Builder setStream(
          finsky.protos.SubStream.Builder builderForValue) {
        copyOnWrite();
        instance.setStream(builderForValue.build());
        return this;
      }
      /**
       * <code>optional .finsky.protos.SubStream stream = 12;</code>
       */
      public Builder mergeStream(finsky.protos.SubStream value) {
        copyOnWrite();
        instance.mergeStream(value);
        return this;
      }
      /**
       * <code>optional .finsky.protos.SubStream stream = 12;</code>
       */
      public Builder clearStream() {  copyOnWrite();
        instance.clearStream();
        return this;
      }
  
      // @@protoc_insertion_point(builder_scope:finsky.protos.Badge)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new finsky.protos.Badge();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "bitField0_",
              "major_",
              "image_",
              "minor_",
              "minorHtml_",
              "link_",
              "description_",
              "stream_",
            };
            java.lang.String info =
                "\u0001\u0007\u0000\u0001\u0001\f\u0007\u0000\u0000\u0000\u0001\u1008\u0000\u0002" +
                "\u1009\u0001\u0003\u1008\u0002\u0004\u1008\u0003\u0007\u1009\u0004\b\u1008\u0005" +
                "\f\u1009\u0006";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<finsky.protos.Badge> parser = PARSER;
          if (parser == null) {
            synchronized (finsky.protos.Badge.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<finsky.protos.Badge>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }
  
  
    // @@protoc_insertion_point(class_scope:finsky.protos.Badge)
    private static final finsky.protos.Badge DEFAULT_INSTANCE;
    static {
      Badge defaultInstance = new Badge();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        Badge.class, defaultInstance);
    }
  
    public static finsky.protos.Badge getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }
  
    private static volatile com.google.protobuf.Parser<Badge> PARSER;
  
    public static com.google.protobuf.Parser<Badge> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }
  
  