public void MergeFrom(EncounterStartStageResult other)
        {
            if (other == null)
            {
                return;
            }
            switch (other.TypeCase)
            {
            case TypeOneofCase.Swish:
                if (Swish == null)
                {
                    Swish = new global::WUProtos.Data.Encounter.EncounterStartSwishStageResult();
                }
                Swish.MergeFrom(other.Swish);
                break;

            case TypeOneofCase.Combat:
                if (Combat == null)
                {
                    Combat = new global::WUProtos.Data.Encounter.EncounterStartCombatStageResult();
                }
                Combat.MergeFrom(other.Combat);
                break;

            case TypeOneofCase.Portkey:
                if (Portkey == null)
                {
                    Portkey = new global::WUProtos.Data.Encounter.EncounterStartPortkeyStageResult();
                }
                Portkey.MergeFrom(other.Portkey);
                break;
            }

            _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    global::WUProtos.Data.Encounter.EncounterStartSwishStageResult subBuilder = new global::WUProtos.Data.Encounter.EncounterStartSwishStageResult();
                    if (typeCase_ == TypeOneofCase.Swish)
                    {
                        subBuilder.MergeFrom(Swish);
                    }
                    input.ReadMessage(subBuilder);
                    Swish = subBuilder;
                    break;
                }

                case 18: {
                    global::WUProtos.Data.Encounter.EncounterStartCombatStageResult subBuilder = new global::WUProtos.Data.Encounter.EncounterStartCombatStageResult();
                    if (typeCase_ == TypeOneofCase.Combat)
                    {
                        subBuilder.MergeFrom(Combat);
                    }
                    input.ReadMessage(subBuilder);
                    Combat = subBuilder;
                    break;
                }

                case 26: {
                    global::WUProtos.Data.Encounter.EncounterStartPortkeyStageResult subBuilder = new global::WUProtos.Data.Encounter.EncounterStartPortkeyStageResult();
                    if (typeCase_ == TypeOneofCase.Portkey)
                    {
                        subBuilder.MergeFrom(Portkey);
                    }
                    input.ReadMessage(subBuilder);
                    Portkey = subBuilder;
                    break;
                }
                }
            }
        }