package nano;

import com.google.protobuf.nano.CodedInputByteBufferNano;
import com.google.protobuf.nano.CodedOutputByteBufferNano;
import com.google.protobuf.nano.InternalNano;
import com.google.protobuf.nano.InvalidProtocolBufferNanoException;
import com.google.protobuf.nano.MessageNano;
import com.google.protobuf.nano.WireFormatNano;
import java.io.IOException;
import nano.GuessRequest;

/* compiled from: TbsSdkJava */
public interface GuessResponse {

    /* compiled from: TbsSdkJava */
    public static final class Guess_Response extends MessageNano {

        private static volatile Guess_Response[] _emptyArray;

        public GuessRequest.Guess_Request input;

        public Guess[] output;

        /* compiled from: TbsSdkJava */
        public static final class Advise extends MessageNano {

            private static volatile Advise[] _emptyArray;

            public Info goods;

            public Dyna[] quote;

            public Advise() {
                clear();
            }

            public static Advise[] emptyArray() {
                if (_emptyArray == null) {
                    synchronized (InternalNano.LAZY_INIT_LOCK) {
                        try {
                            if (_emptyArray == null) {
                                _emptyArray = new Advise[0];
                            }
                        } catch (Throwable th) {
                            throw th;
                        }
                    }
                }
                return _emptyArray;
            }

            public static Advise parseFrom(byte[] bArr) throws InvalidProtocolBufferNanoException {
                return (Advise) MessageNano.mergeFrom(new Advise(), bArr);
            }

            public Advise clear() {
                this.goods = null;
                this.quote = Dyna.emptyArray();
                this.cachedSize = -1;
                return this;
            }

            /* access modifiers changed from: protected */
            public int computeSerializedSize() {
                int computeSerializedSize = super.computeSerializedSize();
                Info info = this.goods;
                if (info != null) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(1, info);
                }
                Dyna[] dynaArr = this.quote;
                if (dynaArr != null && dynaArr.length > 0) {
                    int i10 = 0;
                    while (true) {
                        Dyna[] dynaArr2 = this.quote;
                        if (i10 >= dynaArr2.length) {
                            break;
                        }
                        Dyna dyna = dynaArr2[i10];
                        if (dyna != null) {
                            computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(2, dyna);
                        }
                        i10++;
                    }
                }
                return computeSerializedSize;
            }

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                Info info = this.goods;
                if (info != null) {
                    codedOutputByteBufferNano.writeMessage(1, info);
                }
                Dyna[] dynaArr = this.quote;
                if (dynaArr != null && dynaArr.length > 0) {
                    int i10 = 0;
                    while (true) {
                        Dyna[] dynaArr2 = this.quote;
                        if (i10 >= dynaArr2.length) {
                            break;
                        }
                        Dyna dyna = dynaArr2[i10];
                        if (dyna != null) {
                            codedOutputByteBufferNano.writeMessage(2, dyna);
                        }
                        i10++;
                    }
                }
                super.writeTo(codedOutputByteBufferNano);
            }

            public static Advise parseFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                return new Advise().mergeFrom(codedInputByteBufferNano);
            }

            public Advise mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 10) {
                        if (this.goods == null) {
                            this.goods = new Info();
                        }
                        codedInputByteBufferNano.readMessage(this.goods);
                    } else if (readTag == 18) {
                        int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 18);
                        Dyna[] dynaArr = this.quote;
                        int length = dynaArr == null ? 0 : dynaArr.length;
                        int i10 = repeatedFieldArrayLength + length;
                        Dyna[] dynaArr2 = new Dyna[i10];
                        if (length != 0) {
                            System.arraycopy(dynaArr, 0, dynaArr2, 0, length);
                        }
                        while (length < i10 - 1) {
                            Dyna dyna = new Dyna();
                            dynaArr2[length] = dyna;
                            codedInputByteBufferNano.readMessage(dyna);
                            codedInputByteBufferNano.readTag();
                            length++;
                        }
                        Dyna dyna2 = new Dyna();
                        dynaArr2[length] = dyna2;
                        codedInputByteBufferNano.readMessage(dyna2);
                        this.quote = dynaArr2;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

        /* compiled from: TbsSdkJava */
        public static final class Dyna extends MessageNano {

            private static volatile Dyna[] _emptyArray;

            private int bitField0_;

            private int field_;

            private String value_;

            public Dyna() {
                clear();
            }

            public static Dyna[] emptyArray() {
                if (_emptyArray == null) {
                    synchronized (InternalNano.LAZY_INIT_LOCK) {
                        try {
                            if (_emptyArray == null) {
                                _emptyArray = new Dyna[0];
                            }
                        } catch (Throwable th) {
                            throw th;
                        }
                    }
                }
                return _emptyArray;
            }

            public static Dyna parseFrom(byte[] bArr) throws InvalidProtocolBufferNanoException {
                return (Dyna) MessageNano.mergeFrom(new Dyna(), bArr);
            }

            public Dyna clear() {
                this.bitField0_ = 0;
                this.field_ = 0;
                this.value_ = "";
                this.cachedSize = -1;
                return this;
            }

            public Dyna clearField() {
                this.field_ = 0;
                this.bitField0_ &= -2;
                return this;
            }

            public Dyna clearValue() {
                this.value_ = "";
                this.bitField0_ &= -3;
                return this;
            }

            /* access modifiers changed from: protected */
            public int computeSerializedSize() {
                int computeSerializedSize = super.computeSerializedSize();
                if ((this.bitField0_ & 1) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(1, this.field_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    return computeSerializedSize + CodedOutputByteBufferNano.computeStringSize(2, this.value_);
                }
                return computeSerializedSize;
            }

            public int getField() {
                return this.field_;
            }

            public String getValue() {
                return this.value_;
            }

            public boolean hasField() {
                if ((this.bitField0_ & 1) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasValue() {
                if ((this.bitField0_ & 2) != 0) {
                    return true;
                }
                return false;
            }

            public Dyna setField(int i10) {
                this.field_ = i10;
                this.bitField0_ |= 1;
                return this;
            }

            public Dyna setValue(String str) {
                str.getClass();
                this.value_ = str;
                this.bitField0_ |= 2;
                return this;
            }

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                if ((this.bitField0_ & 1) != 0) {
                    codedOutputByteBufferNano.writeInt32(1, this.field_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    codedOutputByteBufferNano.writeString(2, this.value_);
                }
                super.writeTo(codedOutputByteBufferNano);
            }

            public static Dyna parseFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                return new Dyna().mergeFrom(codedInputByteBufferNano);
            }

            public Dyna mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 8) {
                        this.field_ = codedInputByteBufferNano.readInt32();
                        this.bitField0_ |= 1;
                    } else if (readTag == 18) {
                        this.value_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 2;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

        /* compiled from: TbsSdkJava */
        public static final class Guess extends MessageNano {

            private static volatile Guess[] _emptyArray;

            public Info goods;

            public Info group;

            /* renamed from: i  reason: collision with root package name */
            public Advise[] f69148i;

            public Dyna[] quote;

            /* renamed from: s  reason: collision with root package name */
            public Advise[] f69149s;

            /* renamed from: v  reason: collision with root package name */
            public Advise[] f69150v;

            public Guess() {
                clear();
            }

            public static Guess[] emptyArray() {
                if (_emptyArray == null) {
                    synchronized (InternalNano.LAZY_INIT_LOCK) {
                        try {
                            if (_emptyArray == null) {
                                _emptyArray = new Guess[0];
                            }
                        } catch (Throwable th) {
                            throw th;
                        }
                    }
                }
                return _emptyArray;
            }

            public static Guess parseFrom(byte[] bArr) throws InvalidProtocolBufferNanoException {
                return (Guess) MessageNano.mergeFrom(new Guess(), bArr);
            }

            public Guess clear() {
                this.goods = null;
                this.quote = Dyna.emptyArray();
                this.group = null;
                this.f69149s = Advise.emptyArray();
                this.f69150v = Advise.emptyArray();
                this.f69148i = Advise.emptyArray();
                this.cachedSize = -1;
                return this;
            }

            /* access modifiers changed from: protected */
            public int computeSerializedSize() {
                int computeSerializedSize = super.computeSerializedSize();
                Info info = this.goods;
                if (info != null) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(1, info);
                }
                Dyna[] dynaArr = this.quote;
                int i10 = 0;
                if (dynaArr != null && dynaArr.length > 0) {
                    int i11 = 0;
                    while (true) {
                        Dyna[] dynaArr2 = this.quote;
                        if (i11 >= dynaArr2.length) {
                            break;
                        }
                        Dyna dyna = dynaArr2[i11];
                        if (dyna != null) {
                            computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(2, dyna);
                        }
                        i11++;
                    }
                }
                Info info2 = this.group;
                if (info2 != null) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(3, info2);
                }
                Advise[] adviseArr = this.f69149s;
                if (adviseArr != null && adviseArr.length > 0) {
                    int i12 = 0;
                    while (true) {
                        Advise[] adviseArr2 = this.f69149s;
                        if (i12 >= adviseArr2.length) {
                            break;
                        }
                        Advise advise = adviseArr2[i12];
                        if (advise != null) {
                            computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(4, advise);
                        }
                        i12++;
                    }
                }
                Advise[] adviseArr3 = this.f69150v;
                if (adviseArr3 != null && adviseArr3.length > 0) {
                    int i13 = 0;
                    while (true) {
                        Advise[] adviseArr4 = this.f69150v;
                        if (i13 >= adviseArr4.length) {
                            break;
                        }
                        Advise advise2 = adviseArr4[i13];
                        if (advise2 != null) {
                            computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(5, advise2);
                        }
                        i13++;
                    }
                }
                Advise[] adviseArr5 = this.f69148i;
                if (adviseArr5 != null && adviseArr5.length > 0) {
                    while (true) {
                        Advise[] adviseArr6 = this.f69148i;
                        if (i10 >= adviseArr6.length) {
                            break;
                        }
                        Advise advise3 = adviseArr6[i10];
                        if (advise3 != null) {
                            computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(6, advise3);
                        }
                        i10++;
                    }
                }
                return computeSerializedSize;
            }

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                Info info = this.goods;
                if (info != null) {
                    codedOutputByteBufferNano.writeMessage(1, info);
                }
                Dyna[] dynaArr = this.quote;
                int i10 = 0;
                if (dynaArr != null && dynaArr.length > 0) {
                    int i11 = 0;
                    while (true) {
                        Dyna[] dynaArr2 = this.quote;
                        if (i11 >= dynaArr2.length) {
                            break;
                        }
                        Dyna dyna = dynaArr2[i11];
                        if (dyna != null) {
                            codedOutputByteBufferNano.writeMessage(2, dyna);
                        }
                        i11++;
                    }
                }
                Info info2 = this.group;
                if (info2 != null) {
                    codedOutputByteBufferNano.writeMessage(3, info2);
                }
                Advise[] adviseArr = this.f69149s;
                if (adviseArr != null && adviseArr.length > 0) {
                    int i12 = 0;
                    while (true) {
                        Advise[] adviseArr2 = this.f69149s;
                        if (i12 >= adviseArr2.length) {
                            break;
                        }
                        Advise advise = adviseArr2[i12];
                        if (advise != null) {
                            codedOutputByteBufferNano.writeMessage(4, advise);
                        }
                        i12++;
                    }
                }
                Advise[] adviseArr3 = this.f69150v;
                if (adviseArr3 != null && adviseArr3.length > 0) {
                    int i13 = 0;
                    while (true) {
                        Advise[] adviseArr4 = this.f69150v;
                        if (i13 >= adviseArr4.length) {
                            break;
                        }
                        Advise advise2 = adviseArr4[i13];
                        if (advise2 != null) {
                            codedOutputByteBufferNano.writeMessage(5, advise2);
                        }
                        i13++;
                    }
                }
                Advise[] adviseArr5 = this.f69148i;
                if (adviseArr5 != null && adviseArr5.length > 0) {
                    while (true) {
                        Advise[] adviseArr6 = this.f69148i;
                        if (i10 >= adviseArr6.length) {
                            break;
                        }
                        Advise advise3 = adviseArr6[i10];
                        if (advise3 != null) {
                            codedOutputByteBufferNano.writeMessage(6, advise3);
                        }
                        i10++;
                    }
                }
                super.writeTo(codedOutputByteBufferNano);
            }

            public static Guess parseFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                return new Guess().mergeFrom(codedInputByteBufferNano);
            }

            public Guess mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 10) {
                        if (this.goods == null) {
                            this.goods = new Info();
                        }
                        codedInputByteBufferNano.readMessage(this.goods);
                    } else if (readTag == 18) {
                        int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 18);
                        Dyna[] dynaArr = this.quote;
                        int length = dynaArr == null ? 0 : dynaArr.length;
                        int i10 = repeatedFieldArrayLength + length;
                        Dyna[] dynaArr2 = new Dyna[i10];
                        if (length != 0) {
                            System.arraycopy(dynaArr, 0, dynaArr2, 0, length);
                        }
                        while (length < i10 - 1) {
                            Dyna dyna = new Dyna();
                            dynaArr2[length] = dyna;
                            codedInputByteBufferNano.readMessage(dyna);
                            codedInputByteBufferNano.readTag();
                            length++;
                        }
                        Dyna dyna2 = new Dyna();
                        dynaArr2[length] = dyna2;
                        codedInputByteBufferNano.readMessage(dyna2);
                        this.quote = dynaArr2;
                    } else if (readTag == 26) {
                        if (this.group == null) {
                            this.group = new Info();
                        }
                        codedInputByteBufferNano.readMessage(this.group);
                    } else if (readTag == 34) {
                        int repeatedFieldArrayLength2 = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 34);
                        Advise[] adviseArr = this.f69149s;
                        int length2 = adviseArr == null ? 0 : adviseArr.length;
                        int i11 = repeatedFieldArrayLength2 + length2;
                        Advise[] adviseArr2 = new Advise[i11];
                        if (length2 != 0) {
                            System.arraycopy(adviseArr, 0, adviseArr2, 0, length2);
                        }
                        while (length2 < i11 - 1) {
                            Advise advise = new Advise();
                            adviseArr2[length2] = advise;
                            codedInputByteBufferNano.readMessage(advise);
                            codedInputByteBufferNano.readTag();
                            length2++;
                        }
                        Advise advise2 = new Advise();
                        adviseArr2[length2] = advise2;
                        codedInputByteBufferNano.readMessage(advise2);
                        this.f69149s = adviseArr2;
                    } else if (readTag == 42) {
                        int repeatedFieldArrayLength3 = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 42);
                        Advise[] adviseArr3 = this.f69150v;
                        int length3 = adviseArr3 == null ? 0 : adviseArr3.length;
                        int i12 = repeatedFieldArrayLength3 + length3;
                        Advise[] adviseArr4 = new Advise[i12];
                        if (length3 != 0) {
                            System.arraycopy(adviseArr3, 0, adviseArr4, 0, length3);
                        }
                        while (length3 < i12 - 1) {
                            Advise advise3 = new Advise();
                            adviseArr4[length3] = advise3;
                            codedInputByteBufferNano.readMessage(advise3);
                            codedInputByteBufferNano.readTag();
                            length3++;
                        }
                        Advise advise4 = new Advise();
                        adviseArr4[length3] = advise4;
                        codedInputByteBufferNano.readMessage(advise4);
                        this.f69150v = adviseArr4;
                    } else if (readTag == 50) {
                        int repeatedFieldArrayLength4 = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 50);
                        Advise[] adviseArr5 = this.f69148i;
                        int length4 = adviseArr5 == null ? 0 : adviseArr5.length;
                        int i13 = repeatedFieldArrayLength4 + length4;
                        Advise[] adviseArr6 = new Advise[i13];
                        if (length4 != 0) {
                            System.arraycopy(adviseArr5, 0, adviseArr6, 0, length4);
                        }
                        while (length4 < i13 - 1) {
                            Advise advise5 = new Advise();
                            adviseArr6[length4] = advise5;
                            codedInputByteBufferNano.readMessage(advise5);
                            codedInputByteBufferNano.readTag();
                            length4++;
                        }
                        Advise advise6 = new Advise();
                        adviseArr6[length4] = advise6;
                        codedInputByteBufferNano.readMessage(advise6);
                        this.f69148i = adviseArr6;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

        /* compiled from: TbsSdkJava */
        public static final class Info extends MessageNano {

            private static volatile Info[] _emptyArray;

            private int bitField0_;

            private long category_;

            private String code_;

            private int exchange_;

            private int id_;

            private String name_;

            private int session_;

            public Info() {
                clear();
            }

            public static Info[] emptyArray() {
                if (_emptyArray == null) {
                    synchronized (InternalNano.LAZY_INIT_LOCK) {
                        try {
                            if (_emptyArray == null) {
                                _emptyArray = new Info[0];
                            }
                        } catch (Throwable th) {
                            throw th;
                        }
                    }
                }
                return _emptyArray;
            }

            public static Info parseFrom(byte[] bArr) throws InvalidProtocolBufferNanoException {
                return (Info) MessageNano.mergeFrom(new Info(), bArr);
            }

            public Info clear() {
                this.bitField0_ = 0;
                this.id_ = 0;
                this.code_ = "";
                this.name_ = "";
                this.exchange_ = 0;
                this.category_ = 0;
                this.session_ = 0;
                this.cachedSize = -1;
                return this;
            }

            public Info clearCategory() {
                this.category_ = 0;
                this.bitField0_ &= -17;
                return this;
            }

            public Info clearCode() {
                this.code_ = "";
                this.bitField0_ &= -3;
                return this;
            }

            public Info clearExchange() {
                this.exchange_ = 0;
                this.bitField0_ &= -9;
                return this;
            }

            public Info clearId() {
                this.id_ = 0;
                this.bitField0_ &= -2;
                return this;
            }

            public Info clearName() {
                this.name_ = "";
                this.bitField0_ &= -5;
                return this;
            }

            public Info clearSession() {
                this.session_ = 0;
                this.bitField0_ &= -33;
                return this;
            }

            /* access modifiers changed from: protected */
            public int computeSerializedSize() {
                int computeSerializedSize = super.computeSerializedSize();
                if ((this.bitField0_ & 1) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(1, this.id_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(2, this.code_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(3, this.name_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(4, this.exchange_);
                }
                if ((this.bitField0_ & 16) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(5, this.category_);
                }
                if ((this.bitField0_ & 32) != 0) {
                    return computeSerializedSize + CodedOutputByteBufferNano.computeUInt32Size(6, this.session_);
                }
                return computeSerializedSize;
            }

            public long getCategory() {
                return this.category_;
            }

            public String getCode() {
                return this.code_;
            }

            public int getExchange() {
                return this.exchange_;
            }

            public int getId() {
                return this.id_;
            }

            public String getName() {
                return this.name_;
            }

            public int getSession() {
                return this.session_;
            }

            public boolean hasCategory() {
                if ((this.bitField0_ & 16) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasCode() {
                if ((this.bitField0_ & 2) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasExchange() {
                if ((this.bitField0_ & 8) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasId() {
                if ((this.bitField0_ & 1) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasName() {
                if ((this.bitField0_ & 4) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasSession() {
                if ((this.bitField0_ & 32) != 0) {
                    return true;
                }
                return false;
            }

            public Info setCategory(long j10) {
                this.category_ = j10;
                this.bitField0_ |= 16;
                return this;
            }

            public Info setCode(String str) {
                str.getClass();
                this.code_ = str;
                this.bitField0_ |= 2;
                return this;
            }

            public Info setExchange(int i10) {
                this.exchange_ = i10;
                this.bitField0_ |= 8;
                return this;
            }

            public Info setId(int i10) {
                this.id_ = i10;
                this.bitField0_ |= 1;
                return this;
            }

            public Info setName(String str) {
                str.getClass();
                this.name_ = str;
                this.bitField0_ |= 4;
                return this;
            }

            public Info setSession(int i10) {
                this.session_ = i10;
                this.bitField0_ |= 32;
                return this;
            }

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                if ((this.bitField0_ & 1) != 0) {
                    codedOutputByteBufferNano.writeUInt32(1, this.id_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    codedOutputByteBufferNano.writeString(2, this.code_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    codedOutputByteBufferNano.writeString(3, this.name_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    codedOutputByteBufferNano.writeUInt32(4, this.exchange_);
                }
                if ((this.bitField0_ & 16) != 0) {
                    codedOutputByteBufferNano.writeUInt64(5, this.category_);
                }
                if ((this.bitField0_ & 32) != 0) {
                    codedOutputByteBufferNano.writeUInt32(6, this.session_);
                }
                super.writeTo(codedOutputByteBufferNano);
            }

            public static Info parseFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                return new Info().mergeFrom(codedInputByteBufferNano);
            }

            public Info mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 8) {
                        this.id_ = codedInputByteBufferNano.readUInt32();
                        this.bitField0_ |= 1;
                    } else if (readTag == 18) {
                        this.code_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 2;
                    } else if (readTag == 26) {
                        this.name_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 4;
                    } else if (readTag == 32) {
                        this.exchange_ = codedInputByteBufferNano.readUInt32();
                        this.bitField0_ |= 8;
                    } else if (readTag == 40) {
                        this.category_ = codedInputByteBufferNano.readUInt64();
                        this.bitField0_ |= 16;
                    } else if (readTag == 48) {
                        this.session_ = codedInputByteBufferNano.readUInt32();
                        this.bitField0_ |= 32;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

        public Guess_Response() {
            clear();
        }

        public static Guess_Response[] emptyArray() {
            if (_emptyArray == null) {
                synchronized (InternalNano.LAZY_INIT_LOCK) {
                    try {
                        if (_emptyArray == null) {
                            _emptyArray = new Guess_Response[0];
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                }
            }
            return _emptyArray;
        }

        public static Guess_Response parseFrom(byte[] bArr) throws InvalidProtocolBufferNanoException {
            return (Guess_Response) MessageNano.mergeFrom(new Guess_Response(), bArr);
        }

        public Guess_Response clear() {
            this.input = null;
            this.output = Guess.emptyArray();
            this.cachedSize = -1;
            return this;
        }

        /* access modifiers changed from: protected */
        public int computeSerializedSize() {
            int computeSerializedSize = super.computeSerializedSize();
            GuessRequest.Guess_Request guess_Request = this.input;
            if (guess_Request != null) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(1, guess_Request);
            }
            Guess[] guessArr = this.output;
            if (guessArr != null && guessArr.length > 0) {
                int i10 = 0;
                while (true) {
                    Guess[] guessArr2 = this.output;
                    if (i10 >= guessArr2.length) {
                        break;
                    }
                    Guess guess = guessArr2[i10];
                    if (guess != null) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(2, guess);
                    }
                    i10++;
                }
            }
            return computeSerializedSize;
        }

        public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
            GuessRequest.Guess_Request guess_Request = this.input;
            if (guess_Request != null) {
                codedOutputByteBufferNano.writeMessage(1, guess_Request);
            }
            Guess[] guessArr = this.output;
            if (guessArr != null && guessArr.length > 0) {
                int i10 = 0;
                while (true) {
                    Guess[] guessArr2 = this.output;
                    if (i10 >= guessArr2.length) {
                        break;
                    }
                    Guess guess = guessArr2[i10];
                    if (guess != null) {
                        codedOutputByteBufferNano.writeMessage(2, guess);
                    }
                    i10++;
                }
            }
            super.writeTo(codedOutputByteBufferNano);
        }

        public static Guess_Response parseFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
            return new Guess_Response().mergeFrom(codedInputByteBufferNano);
        }

        public Guess_Response mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
            while (true) {
                int readTag = codedInputByteBufferNano.readTag();
                if (readTag == 0) {
                    return this;
                }
                if (readTag == 10) {
                    if (this.input == null) {
                        this.input = new GuessRequest.Guess_Request();
                    }
                    codedInputByteBufferNano.readMessage(this.input);
                } else if (readTag == 18) {
                    int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 18);
                    Guess[] guessArr = this.output;
                    int length = guessArr == null ? 0 : guessArr.length;
                    int i10 = repeatedFieldArrayLength + length;
                    Guess[] guessArr2 = new Guess[i10];
                    if (length != 0) {
                        System.arraycopy(guessArr, 0, guessArr2, 0, length);
                    }
                    while (length < i10 - 1) {
                        Guess guess = new Guess();
                        guessArr2[length] = guess;
                        codedInputByteBufferNano.readMessage(guess);
                        codedInputByteBufferNano.readTag();
                        length++;
                    }
                    Guess guess2 = new Guess();
                    guessArr2[length] = guess2;
                    codedInputByteBufferNano.readMessage(guess2);
                    this.output = guessArr2;
                } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                    return this;
                }
            }
        }
    }
}
