What number is assigned to type field during Protobuf serialization?

What number is assigned to type field during polymorphic Protobuf serialization and how to control it?

There is a special annotation @ProtoNumber for customclass fields, but what number is used for automatic “type” field in case of open Polymorphic serialization?

As I revers engineered polymorphic properties stored in wrappers with fields:
string type = 1
bytes value = 2

It is the standard way to serialize map’s entry.