In the gmtaskmodel.proto file, found at $GEOMODINSTALL/examples/API, the last message being defined is called GeomodellerTask.

The GeomodellerTask message is a container for all other messages defined in the gmtaskmodel.proto file with the _GM suffix.

All _GM messages are included in the GeomodellerTask  as optional repeated fields. It is then possible to include as many _GM messages in a GeomodellerTask  message as required.

Note, however, that some specific chain of instructions are better handled by writing them into their own GeomodellerTask  message rather than in a global one.