Merge "libsnapshot: get options from protobuf fields" into main