syntax = "proto3"; package computer; option java_package = "ca.sanae.golemcomputers.computer"; option java_outer_classname = "NativeProtobuf"; message ComputerInit { repeated ComponentInit components = 1; uint32 primary_ram_pages = 2; sint32 primary_rom_index = 3; } message ComponentInit { oneof data { CoreComponentInit core = 1; ChatComponentInit chat = 2; } } message CoreComponentInit { uint32 instructions_per_tick = 1; } message ChatComponentInit { sint32 java_index = 1; }