// Code generated by protocol buffer compiler. Do not edit!
package emu.lunarcore.proto;

import java.io.IOException;
import us.hebi.quickbuf.InvalidProtocolBufferException;
import us.hebi.quickbuf.JsonSink;
import us.hebi.quickbuf.JsonSource;
import us.hebi.quickbuf.MessageFactory;
import us.hebi.quickbuf.ProtoMessage;
import us.hebi.quickbuf.ProtoSink;
import us.hebi.quickbuf.ProtoSource;

public final class RelicReccomendDataOuterClass {
  /**
   * <pre>
   * repeated OFNGPLJKLOJ BFDMGINBOIB = 14;
   * </pre>
   *
   * Protobuf type {@code RelicReccomendData}
   */
  public static final class RelicReccomendData extends ProtoMessage<RelicReccomendData> implements Cloneable {
    private static final long serialVersionUID = 0L;

    private RelicReccomendData() {
    }

    /**
     * <pre>
     * repeated OFNGPLJKLOJ BFDMGINBOIB = 14;
     * </pre>
     *
     * @return a new empty instance of {@code RelicReccomendData}
     */
    public static RelicReccomendData newInstance() {
      return new RelicReccomendData();
    }

    @Override
    public RelicReccomendData copyFrom(final RelicReccomendData other) {
      cachedSize = other.cachedSize;
      return this;
    }

    @Override
    public RelicReccomendData mergeFrom(final RelicReccomendData other) {
      if (other.isEmpty()) {
        return this;
      }
      cachedSize = -1;
      return this;
    }

    @Override
    public RelicReccomendData clear() {
      if (isEmpty()) {
        return this;
      }
      cachedSize = -1;
      return this;
    }

    @Override
    public RelicReccomendData clearQuick() {
      if (isEmpty()) {
        return this;
      }
      cachedSize = -1;
      return this;
    }

    @Override
    public boolean equals(Object o) {
      if (o == this) {
        return true;
      }
      if (!(o instanceof RelicReccomendData)) {
        return false;
      }
      RelicReccomendData other = (RelicReccomendData) o;
      return true;
    }

    @Override
    public void writeTo(final ProtoSink output) throws IOException {
    }

    @Override
    protected int computeSerializedSize() {
      int size = 0;
      return size;
    }

    @Override
    @SuppressWarnings("fallthrough")
    public RelicReccomendData mergeFrom(final ProtoSource input) throws IOException {
      // Enabled Fall-Through Optimization (QuickBuffers)
      int tag = input.readTag();
      while (true) {
        switch (tag) {
          case 0: {
            return this;
          }
          default: {
            if (!input.skipField(tag)) {
              return this;
            }
            tag = input.readTag();
            break;
          }
        }
      }
    }

    @Override
    public void writeTo(final JsonSink output) throws IOException {
      output.beginObject();
      output.endObject();
    }

    @Override
    public RelicReccomendData mergeFrom(final JsonSource input) throws IOException {
      if (!input.beginObject()) {
        return this;
      }
      while (!input.isAtEnd()) {
        switch (input.readFieldHash()) {
          default: {
            input.skipUnknownField();
            break;
          }
        }
      }
      input.endObject();
      return this;
    }

    @Override
    public RelicReccomendData clone() {
      return new RelicReccomendData().copyFrom(this);
    }

    @Override
    public boolean isEmpty() {
      return ((bitField0_) == 0);
    }

    public static RelicReccomendData parseFrom(final byte[] data) throws
        InvalidProtocolBufferException {
      return ProtoMessage.mergeFrom(new RelicReccomendData(), data).checkInitialized();
    }

    public static RelicReccomendData parseFrom(final ProtoSource input) throws IOException {
      return ProtoMessage.mergeFrom(new RelicReccomendData(), input).checkInitialized();
    }

    public static RelicReccomendData parseFrom(final JsonSource input) throws IOException {
      return ProtoMessage.mergeFrom(new RelicReccomendData(), input).checkInitialized();
    }

    /**
     * @return factory for creating RelicReccomendData messages
     */
    public static MessageFactory<RelicReccomendData> getFactory() {
      return RelicReccomendDataFactory.INSTANCE;
    }

    private enum RelicReccomendDataFactory implements MessageFactory<RelicReccomendData> {
      INSTANCE;

      @Override
      public RelicReccomendData create() {
        return RelicReccomendData.newInstance();
      }
    }

    /**
     * Contains name constants used for serializing JSON
     */
    static class FieldNames {
    }
  }
}
