How to Construct Protocol Buffer Instances in Python

from pkg import stuff_pb2

thing = stuff_pb2.Thing(
  id='thing_001',
  name='My Thing',
  sub_thing: stuff_pb2.SubThing(
    id='sub_thing_001',
    name='My SubThing',
  )
)