7 upb_arena *arena = upb_arena_new();
8 Foo* foo = Foo_new(arena);
9 const char greeting[] = "Hello, World!\n";
11 Foo_set_time(foo, time(NULL));
12 /* Warning: the proto will not copy this, the string data must outlive
14 Foo_set_greeting(foo, upb_strview_makez(greeting));
16 upb_arena_free(arena);