package com.tencent.mm.protocal.protobuf;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.bt.a;

public final class ale extends a {
    public String gfa;

    public final int op(int i, Object... objArr) {
        AppMethodBeat.i(80077);
        int f;
        if (i == 0) {
            e.a.a.c.a aVar = (e.a.a.c.a) objArr[0];
            if (this.gfa != null) {
                aVar.e(1, this.gfa);
            }
            AppMethodBeat.o(80077);
            return 0;
        } else if (i == 1) {
            if (this.gfa != null) {
                f = e.a.a.b.b.a.f(1, this.gfa) + 0;
            } else {
                f = 0;
            }
            AppMethodBeat.o(80077);
            return f;
        } else if (i == 2) {
            e.a.a.a.a aVar2 = new e.a.a.a.a((byte[]) objArr[0], unknownTagHandler);
            for (f = a.getNextFieldNumber(aVar2); f > 0; f = a.getNextFieldNumber(aVar2)) {
                if (!super.populateBuilderWithField(aVar2, this, f)) {
                    aVar2.ems();
                }
            }
            AppMethodBeat.o(80077);
            return 0;
        } else if (i == 3) {
            e.a.a.a.a aVar3 = (e.a.a.a.a) objArr[0];
            ale ale = (ale) objArr[1];
            switch (((Integer) objArr[2]).intValue()) {
                case 1:
                    ale.gfa = aVar3.BTU.readString();
                    AppMethodBeat.o(80077);
                    return 0;
                default:
                    AppMethodBeat.o(80077);
                    return -1;
            }
        } else {
            AppMethodBeat.o(80077);
            return -1;
        }
    }
}
