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;

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

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

        public static final int ANONYMOUS_DEVICE_FIELD_NUMBER = 12;

        public static final int NAME_PASSWORD_FIELD_NUMBER = 13;

        public static final int QQ_ID_FIELD_NUMBER = 14;

        public static final int WEBO_ID_FIELD_NUMBER = 16;

        public static final int WECHAT_ID_FIELD_NUMBER = 15;

        private static volatile ClassicsUserLogin_Request[] _emptyArray;

        private int bitField0_;

        private int channelId_;

        private String deviceName_;

        private String deviceUuid_;

        private String iosIdfa_;

        private int loginDetailCase_ = 0;

        private Object loginDetail_;

        private String modelType_;

        private String osVersion_;

        private int platformNumber_;

        private int productId_;

        private int sessionId_;

        private int smsAuth_;

        public version versionDetail;

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

            private static volatile anonymity[] _emptyArray;

            public anonymity() {
                clear();
            }

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

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

            public anonymity clear() {
                this.cachedSize = -1;
                return this;
            }

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

            /*  JADX ERROR: StackOverflow in pass: RegionMakerVisitor
                jadx.core.utils.exceptions.JadxOverflowException: 
                	at jadx.core.utils.ErrorsCounter.addError(ErrorsCounter.java:47)
                	at jadx.core.utils.ErrorsCounter.methodError(ErrorsCounter.java:81)
                */
            public nano.ClassicsUserLoginRequest.ClassicsUserLogin_Request.anonymity mergeFrom(com.google.protobuf.nano.CodedInputByteBufferNano r2) throws java.io.IOException {
                /*
                    r1 = this;
                L_0x0000:
                    int r0 = r2.readTag()
                    if (r0 == 0) goto L_0x000c
                    boolean r0 = com.google.protobuf.nano.WireFormatNano.parseUnknownField(r2, r0)
                    if (r0 != 0) goto L_0x0000
                L_0x000c:
                    return r1
                */
                throw new UnsupportedOperationException("Method not decompiled: nano.ClassicsUserLoginRequest.ClassicsUserLogin_Request.anonymity.mergeFrom(com.google.protobuf.nano.CodedInputByteBufferNano):nano.ClassicsUserLoginRequest$ClassicsUserLogin_Request$anonymity");
            }
        }

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

            private static volatile authorization[] _emptyArray;

            private int bitField0_;

            private String id_;

            private String nick_;

            private String reserve_;

            public authorization() {
                clear();
            }

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

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

            public authorization clear() {
                this.bitField0_ = 0;
                this.nick_ = "";
                this.id_ = "";
                this.reserve_ = "";
                this.cachedSize = -1;
                return this;
            }

            public authorization clearId() {
                this.id_ = "";
                this.bitField0_ &= -3;
                return this;
            }

            public authorization clearNick() {
                this.nick_ = "";
                this.bitField0_ &= -2;
                return this;
            }

            public authorization clearReserve() {
                this.reserve_ = "";
                this.bitField0_ &= -5;
                return this;
            }

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

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

            public String getNick() {
                return this.nick_;
            }

            public String getReserve() {
                return this.reserve_;
            }

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

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

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

            public authorization setId(String str) {
                str.getClass();
                this.id_ = str;
                this.bitField0_ |= 2;
                return this;
            }

            public authorization setNick(String str) {
                str.getClass();
                this.nick_ = str;
                this.bitField0_ |= 1;
                return this;
            }

            public authorization setReserve(String str) {
                str.getClass();
                this.reserve_ = str;
                this.bitField0_ |= 4;
                return this;
            }

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                if ((this.bitField0_ & 1) != 0) {
                    codedOutputByteBufferNano.writeString(1, this.nick_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    codedOutputByteBufferNano.writeString(2, this.id_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    codedOutputByteBufferNano.writeString(3, this.reserve_);
                }
                super.writeTo(codedOutputByteBufferNano);
            }

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

            public authorization mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 10) {
                        this.nick_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 1;
                    } else if (readTag == 18) {
                        this.id_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 2;
                    } else if (readTag == 26) {
                        this.reserve_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 4;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

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

            private static volatile common[] _emptyArray;

            private int bitField0_;

            private String name_;

            private String password_;

            public common() {
                clear();
            }

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

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

            public common clear() {
                this.bitField0_ = 0;
                this.name_ = "";
                this.password_ = "";
                this.cachedSize = -1;
                return this;
            }

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

            public common clearPassword() {
                this.password_ = "";
                this.bitField0_ &= -3;
                return this;
            }

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

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

            public String getPassword() {
                return this.password_;
            }

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

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

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

            public common setPassword(String str) {
                str.getClass();
                this.password_ = str;
                this.bitField0_ |= 2;
                return this;
            }

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

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

            public common mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 10) {
                        this.name_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 1;
                    } else if (readTag == 18) {
                        this.password_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 2;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

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

            private static volatile version[] _emptyArray;

            private int bitField0_;

            private int build_;

            private int major_;

            private int minor_;

            public version() {
                clear();
            }

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

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

            public version clear() {
                this.bitField0_ = 0;
                this.major_ = 0;
                this.minor_ = 0;
                this.build_ = 0;
                this.cachedSize = -1;
                return this;
            }

            public version clearBuild() {
                this.build_ = 0;
                this.bitField0_ &= -5;
                return this;
            }

            public version clearMajor() {
                this.major_ = 0;
                this.bitField0_ &= -2;
                return this;
            }

            public version clearMinor() {
                this.minor_ = 0;
                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.major_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(2, this.minor_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    return computeSerializedSize + CodedOutputByteBufferNano.computeInt32Size(3, this.build_);
                }
                return computeSerializedSize;
            }

            public int getBuild() {
                return this.build_;
            }

            public int getMajor() {
                return this.major_;
            }

            public int getMinor() {
                return this.minor_;
            }

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

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

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

            public version setBuild(int i10) {
                this.build_ = i10;
                this.bitField0_ |= 4;
                return this;
            }

            public version setMajor(int i10) {
                this.major_ = i10;
                this.bitField0_ |= 1;
                return this;
            }

            public version setMinor(int i10) {
                this.minor_ = i10;
                this.bitField0_ |= 2;
                return this;
            }

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                if ((this.bitField0_ & 1) != 0) {
                    codedOutputByteBufferNano.writeInt32(1, this.major_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    codedOutputByteBufferNano.writeInt32(2, this.minor_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    codedOutputByteBufferNano.writeInt32(3, this.build_);
                }
                super.writeTo(codedOutputByteBufferNano);
            }

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

            public version mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 8) {
                        this.major_ = codedInputByteBufferNano.readInt32();
                        this.bitField0_ |= 1;
                    } else if (readTag == 16) {
                        this.minor_ = codedInputByteBufferNano.readInt32();
                        this.bitField0_ |= 2;
                    } else if (readTag == 24) {
                        this.build_ = codedInputByteBufferNano.readInt32();
                        this.bitField0_ |= 4;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

        public ClassicsUserLogin_Request() {
            clear();
        }

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

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

        public ClassicsUserLogin_Request clear() {
            this.bitField0_ = 0;
            this.sessionId_ = 0;
            this.iosIdfa_ = "";
            this.channelId_ = 0;
            this.modelType_ = "";
            this.platformNumber_ = 0;
            this.productId_ = 0;
            this.smsAuth_ = 0;
            this.deviceName_ = "";
            this.osVersion_ = "";
            this.deviceUuid_ = "";
            this.versionDetail = null;
            clearLoginDetail();
            this.cachedSize = -1;
            return this;
        }

        public ClassicsUserLogin_Request clearChannelId() {
            this.channelId_ = 0;
            this.bitField0_ &= -5;
            return this;
        }

        public ClassicsUserLogin_Request clearDeviceName() {
            this.deviceName_ = "";
            this.bitField0_ &= -129;
            return this;
        }

        public ClassicsUserLogin_Request clearDeviceUuid() {
            this.deviceUuid_ = "";
            this.bitField0_ &= -513;
            return this;
        }

        public ClassicsUserLogin_Request clearIosIdfa() {
            this.iosIdfa_ = "";
            this.bitField0_ &= -3;
            return this;
        }

        public ClassicsUserLogin_Request clearLoginDetail() {
            this.loginDetailCase_ = 0;
            this.loginDetail_ = null;
            return this;
        }

        public ClassicsUserLogin_Request clearModelType() {
            this.modelType_ = "";
            this.bitField0_ &= -9;
            return this;
        }

        public ClassicsUserLogin_Request clearOsVersion() {
            this.osVersion_ = "";
            this.bitField0_ &= -257;
            return this;
        }

        public ClassicsUserLogin_Request clearPlatformNumber() {
            this.platformNumber_ = 0;
            this.bitField0_ &= -17;
            return this;
        }

        public ClassicsUserLogin_Request clearProductId() {
            this.productId_ = 0;
            this.bitField0_ &= -33;
            return this;
        }

        public ClassicsUserLogin_Request clearSessionId() {
            this.sessionId_ = 0;
            this.bitField0_ &= -2;
            return this;
        }

        public ClassicsUserLogin_Request clearSmsAuth() {
            this.smsAuth_ = 0;
            this.bitField0_ &= -65;
            return this;
        }

        /* access modifiers changed from: protected */
        public int computeSerializedSize() {
            int computeSerializedSize = super.computeSerializedSize();
            if ((this.bitField0_ & 1) != 0) {
                computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(1, this.sessionId_);
            }
            if ((this.bitField0_ & 2) != 0) {
                computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(2, this.iosIdfa_);
            }
            if ((this.bitField0_ & 4) != 0) {
                computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(3, this.channelId_);
            }
            if ((this.bitField0_ & 8) != 0) {
                computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(4, this.modelType_);
            }
            if ((this.bitField0_ & 16) != 0) {
                computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(5, this.platformNumber_);
            }
            if ((this.bitField0_ & 32) != 0) {
                computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(6, this.productId_);
            }
            if ((this.bitField0_ & 64) != 0) {
                computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(7, this.smsAuth_);
            }
            if ((this.bitField0_ & 128) != 0) {
                computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(8, this.deviceName_);
            }
            if ((this.bitField0_ & 256) != 0) {
                computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(9, this.osVersion_);
            }
            if ((this.bitField0_ & 512) != 0) {
                computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(10, this.deviceUuid_);
            }
            version version2 = this.versionDetail;
            if (version2 != null) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(11, version2);
            }
            if (this.loginDetailCase_ == 12) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(12, (MessageNano) this.loginDetail_);
            }
            if (this.loginDetailCase_ == 13) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(13, (MessageNano) this.loginDetail_);
            }
            if (this.loginDetailCase_ == 14) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(14, (MessageNano) this.loginDetail_);
            }
            if (this.loginDetailCase_ == 15) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(15, (MessageNano) this.loginDetail_);
            }
            if (this.loginDetailCase_ == 16) {
                return computeSerializedSize + CodedOutputByteBufferNano.computeMessageSize(16, (MessageNano) this.loginDetail_);
            }
            return computeSerializedSize;
        }

        public anonymity getAnonymousDevice() {
            if (this.loginDetailCase_ == 12) {
                return (anonymity) this.loginDetail_;
            }
            return null;
        }

        public int getChannelId() {
            return this.channelId_;
        }

        public String getDeviceName() {
            return this.deviceName_;
        }

        public String getDeviceUuid() {
            return this.deviceUuid_;
        }

        public String getIosIdfa() {
            return this.iosIdfa_;
        }

        public int getLoginDetailCase() {
            return this.loginDetailCase_;
        }

        public String getModelType() {
            return this.modelType_;
        }

        public common getNamePassword() {
            if (this.loginDetailCase_ == 13) {
                return (common) this.loginDetail_;
            }
            return null;
        }

        public String getOsVersion() {
            return this.osVersion_;
        }

        public int getPlatformNumber() {
            return this.platformNumber_;
        }

        public int getProductId() {
            return this.productId_;
        }

        public authorization getQqId() {
            if (this.loginDetailCase_ == 14) {
                return (authorization) this.loginDetail_;
            }
            return null;
        }

        public int getSessionId() {
            return this.sessionId_;
        }

        public int getSmsAuth() {
            return this.smsAuth_;
        }

        public authorization getWeboId() {
            if (this.loginDetailCase_ == 16) {
                return (authorization) this.loginDetail_;
            }
            return null;
        }

        public authorization getWechatId() {
            if (this.loginDetailCase_ == 15) {
                return (authorization) this.loginDetail_;
            }
            return null;
        }

        public boolean hasAnonymousDevice() {
            if (this.loginDetailCase_ == 12) {
                return true;
            }
            return false;
        }

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

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

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

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

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

        public boolean hasNamePassword() {
            if (this.loginDetailCase_ == 13) {
                return true;
            }
            return false;
        }

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

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

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

        public boolean hasQqId() {
            if (this.loginDetailCase_ == 14) {
                return true;
            }
            return false;
        }

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

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

        public boolean hasWeboId() {
            if (this.loginDetailCase_ == 16) {
                return true;
            }
            return false;
        }

        public boolean hasWechatId() {
            if (this.loginDetailCase_ == 15) {
                return true;
            }
            return false;
        }

        public ClassicsUserLogin_Request setAnonymousDevice(anonymity anonymity2) {
            anonymity2.getClass();
            this.loginDetailCase_ = 12;
            this.loginDetail_ = anonymity2;
            return this;
        }

        public ClassicsUserLogin_Request setChannelId(int i10) {
            this.channelId_ = i10;
            this.bitField0_ |= 4;
            return this;
        }

        public ClassicsUserLogin_Request setDeviceName(String str) {
            str.getClass();
            this.deviceName_ = str;
            this.bitField0_ |= 128;
            return this;
        }

        public ClassicsUserLogin_Request setDeviceUuid(String str) {
            str.getClass();
            this.deviceUuid_ = str;
            this.bitField0_ |= 512;
            return this;
        }

        public ClassicsUserLogin_Request setIosIdfa(String str) {
            str.getClass();
            this.iosIdfa_ = str;
            this.bitField0_ |= 2;
            return this;
        }

        public ClassicsUserLogin_Request setModelType(String str) {
            str.getClass();
            this.modelType_ = str;
            this.bitField0_ |= 8;
            return this;
        }

        public ClassicsUserLogin_Request setNamePassword(common common2) {
            common2.getClass();
            this.loginDetailCase_ = 13;
            this.loginDetail_ = common2;
            return this;
        }

        public ClassicsUserLogin_Request setOsVersion(String str) {
            str.getClass();
            this.osVersion_ = str;
            this.bitField0_ |= 256;
            return this;
        }

        public ClassicsUserLogin_Request setPlatformNumber(int i10) {
            this.platformNumber_ = i10;
            this.bitField0_ |= 16;
            return this;
        }

        public ClassicsUserLogin_Request setProductId(int i10) {
            this.productId_ = i10;
            this.bitField0_ |= 32;
            return this;
        }

        public ClassicsUserLogin_Request setQqId(authorization authorization2) {
            authorization2.getClass();
            this.loginDetailCase_ = 14;
            this.loginDetail_ = authorization2;
            return this;
        }

        public ClassicsUserLogin_Request setSessionId(int i10) {
            this.sessionId_ = i10;
            this.bitField0_ |= 1;
            return this;
        }

        public ClassicsUserLogin_Request setSmsAuth(int i10) {
            this.smsAuth_ = i10;
            this.bitField0_ |= 64;
            return this;
        }

        public ClassicsUserLogin_Request setWeboId(authorization authorization2) {
            authorization2.getClass();
            this.loginDetailCase_ = 16;
            this.loginDetail_ = authorization2;
            return this;
        }

        public ClassicsUserLogin_Request setWechatId(authorization authorization2) {
            authorization2.getClass();
            this.loginDetailCase_ = 15;
            this.loginDetail_ = authorization2;
            return this;
        }

        public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
            if ((this.bitField0_ & 1) != 0) {
                codedOutputByteBufferNano.writeUInt32(1, this.sessionId_);
            }
            if ((this.bitField0_ & 2) != 0) {
                codedOutputByteBufferNano.writeString(2, this.iosIdfa_);
            }
            if ((this.bitField0_ & 4) != 0) {
                codedOutputByteBufferNano.writeInt32(3, this.channelId_);
            }
            if ((this.bitField0_ & 8) != 0) {
                codedOutputByteBufferNano.writeString(4, this.modelType_);
            }
            if ((this.bitField0_ & 16) != 0) {
                codedOutputByteBufferNano.writeInt32(5, this.platformNumber_);
            }
            if ((this.bitField0_ & 32) != 0) {
                codedOutputByteBufferNano.writeInt32(6, this.productId_);
            }
            if ((this.bitField0_ & 64) != 0) {
                codedOutputByteBufferNano.writeInt32(7, this.smsAuth_);
            }
            if ((this.bitField0_ & 128) != 0) {
                codedOutputByteBufferNano.writeString(8, this.deviceName_);
            }
            if ((this.bitField0_ & 256) != 0) {
                codedOutputByteBufferNano.writeString(9, this.osVersion_);
            }
            if ((this.bitField0_ & 512) != 0) {
                codedOutputByteBufferNano.writeString(10, this.deviceUuid_);
            }
            version version2 = this.versionDetail;
            if (version2 != null) {
                codedOutputByteBufferNano.writeMessage(11, version2);
            }
            if (this.loginDetailCase_ == 12) {
                codedOutputByteBufferNano.writeMessage(12, (MessageNano) this.loginDetail_);
            }
            if (this.loginDetailCase_ == 13) {
                codedOutputByteBufferNano.writeMessage(13, (MessageNano) this.loginDetail_);
            }
            if (this.loginDetailCase_ == 14) {
                codedOutputByteBufferNano.writeMessage(14, (MessageNano) this.loginDetail_);
            }
            if (this.loginDetailCase_ == 15) {
                codedOutputByteBufferNano.writeMessage(15, (MessageNano) this.loginDetail_);
            }
            if (this.loginDetailCase_ == 16) {
                codedOutputByteBufferNano.writeMessage(16, (MessageNano) this.loginDetail_);
            }
            super.writeTo(codedOutputByteBufferNano);
        }

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

        public ClassicsUserLogin_Request mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
            while (true) {
                int readTag = codedInputByteBufferNano.readTag();
                switch(readTag) {
                    case 0:
                        return this;
                    case 8:
                        this.sessionId_ = codedInputByteBufferNano.readUInt32();
                        this.bitField0_ |= 1;
                        break;
                    case 18:
                        this.iosIdfa_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 2;
                        break;
                    case 24:
                        this.channelId_ = codedInputByteBufferNano.readInt32();
                        this.bitField0_ |= 4;
                        break;
                    case 34:
                        this.modelType_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 8;
                        break;
                    case 40:
                        this.platformNumber_ = codedInputByteBufferNano.readInt32();
                        this.bitField0_ |= 16;
                        break;
                    case 48:
                        this.productId_ = codedInputByteBufferNano.readInt32();
                        this.bitField0_ |= 32;
                        break;
                    case 56:
                        this.smsAuth_ = codedInputByteBufferNano.readInt32();
                        this.bitField0_ |= 64;
                        break;
                    case 66:
                        this.deviceName_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 128;
                        break;
                    case 74:
                        this.osVersion_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 256;
                        break;
                    case 82:
                        this.deviceUuid_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 512;
                        break;
                    case 90:
                        if (this.versionDetail == null) {
                            this.versionDetail = new version();
                        }
                        codedInputByteBufferNano.readMessage(this.versionDetail);
                        break;
                    case 98:
                        if (this.loginDetailCase_ != 12) {
                            this.loginDetail_ = new anonymity();
                        }
                        codedInputByteBufferNano.readMessage((MessageNano) this.loginDetail_);
                        this.loginDetailCase_ = 12;
                        break;
                    case 106:
                        if (this.loginDetailCase_ != 13) {
                            this.loginDetail_ = new common();
                        }
                        codedInputByteBufferNano.readMessage((MessageNano) this.loginDetail_);
                        this.loginDetailCase_ = 13;
                        break;
                    case 114:
                        if (this.loginDetailCase_ != 14) {
                            this.loginDetail_ = new authorization();
                        }
                        codedInputByteBufferNano.readMessage((MessageNano) this.loginDetail_);
                        this.loginDetailCase_ = 14;
                        break;
                    case 122:
                        if (this.loginDetailCase_ != 15) {
                            this.loginDetail_ = new authorization();
                        }
                        codedInputByteBufferNano.readMessage((MessageNano) this.loginDetail_);
                        this.loginDetailCase_ = 15;
                        break;
                    case 130:
                        if (this.loginDetailCase_ != 16) {
                            this.loginDetail_ = new authorization();
                        }
                        codedInputByteBufferNano.readMessage((MessageNano) this.loginDetail_);
                        this.loginDetailCase_ = 16;
                        break;
                    default:
                        if (WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                            break;
                        } else {
                            return this;
                        }
                }
            }
        }
    }
}
