|
|
|
@ -377,13 +377,14 @@ bool _upb_def_validate(upb_def *const*defs, size_t n, upb_status *s) { |
|
|
|
|
} else if (def->type == UPB_DEF_FIELD) { |
|
|
|
|
upb_status_seterrmsg(s, "standalone fielddefs can not be frozen"); |
|
|
|
|
goto err; |
|
|
|
|
} else if (def->type == UPB_DEF_ENUM) { |
|
|
|
|
if (!upb_validate_enumdef(upb_dyncast_enumdef(def), s)) { |
|
|
|
|
goto err; |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
/* Set now to detect transitive closure in the second pass. */ |
|
|
|
|
def->came_from_user = true; |
|
|
|
|
|
|
|
|
|
if (def->type == UPB_DEF_ENUM && |
|
|
|
|
!upb_validate_enumdef(upb_dyncast_enumdef(def), s)) { |
|
|
|
|
goto err; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -710,43 +711,6 @@ upb_fielddef *upb_fielddef_new(const void *o) { |
|
|
|
|
return f; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static upb_fielddef *upb_fielddef_dup(const upb_fielddef *f, |
|
|
|
|
const void *owner) { |
|
|
|
|
const char *srcname; |
|
|
|
|
upb_fielddef *newf = upb_fielddef_new(owner); |
|
|
|
|
if (!newf) return NULL; |
|
|
|
|
upb_fielddef_settype(newf, upb_fielddef_type(f)); |
|
|
|
|
upb_fielddef_setlabel(newf, upb_fielddef_label(f)); |
|
|
|
|
upb_fielddef_setnumber(newf, upb_fielddef_number(f), NULL); |
|
|
|
|
upb_fielddef_setname(newf, upb_fielddef_name(f), NULL); |
|
|
|
|
if (f->default_is_string && f->defaultval.bytes) { |
|
|
|
|
str_t *s = f->defaultval.bytes; |
|
|
|
|
upb_fielddef_setdefaultstr(newf, s->str, s->len, NULL); |
|
|
|
|
} else { |
|
|
|
|
newf->default_is_string = f->default_is_string; |
|
|
|
|
newf->defaultval = f->defaultval; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (f->subdef_is_symbolic) { |
|
|
|
|
srcname = f->sub.name; /* Might be NULL. */ |
|
|
|
|
} else { |
|
|
|
|
srcname = f->sub.def ? upb_def_fullname(f->sub.def) : NULL; |
|
|
|
|
} |
|
|
|
|
if (srcname) { |
|
|
|
|
char *newname = upb_gmalloc(strlen(f->sub.def->fullname) + 2); |
|
|
|
|
if (!newname) { |
|
|
|
|
upb_fielddef_unref(newf, owner); |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
strcpy(newname, "."); |
|
|
|
|
strcat(newname, f->sub.def->fullname); |
|
|
|
|
upb_fielddef_setsubdefname(newf, newname, NULL); |
|
|
|
|
upb_gfree(newname); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return newf; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool upb_fielddef_typeisset(const upb_fielddef *f) { |
|
|
|
|
return f->type_is_set_; |
|
|
|
|
} |
|
|
|
@ -1426,44 +1390,6 @@ err2: |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static upb_oneofdef *upb_oneofdef_dup(const upb_oneofdef *o, const void *owner); |
|
|
|
|
|
|
|
|
|
static upb_msgdef *upb_msgdef_dup(const upb_msgdef *m, const void *owner) { |
|
|
|
|
bool ok; |
|
|
|
|
upb_msg_field_iter i; |
|
|
|
|
upb_msg_oneof_iter o; |
|
|
|
|
|
|
|
|
|
upb_msgdef *newm = upb_msgdef_new(owner); |
|
|
|
|
if (!newm) return NULL; |
|
|
|
|
ok = upb_def_setfullname(upb_msgdef_upcast_mutable(newm), |
|
|
|
|
upb_def_fullname(upb_msgdef_upcast(m)), |
|
|
|
|
NULL); |
|
|
|
|
newm->map_entry = m->map_entry; |
|
|
|
|
newm->syntax = m->syntax; |
|
|
|
|
UPB_ASSERT(ok); |
|
|
|
|
for(upb_msg_field_begin(&i, m); |
|
|
|
|
!upb_msg_field_done(&i); |
|
|
|
|
upb_msg_field_next(&i)) { |
|
|
|
|
upb_fielddef *f = upb_fielddef_dup(upb_msg_iter_field(&i), &f); |
|
|
|
|
/* Fields in oneofs are dup'd below. */ |
|
|
|
|
if (upb_fielddef_containingoneof(f)) continue; |
|
|
|
|
if (!f || !upb_msgdef_addfield(newm, f, &f, NULL)) { |
|
|
|
|
upb_msgdef_unref(newm, owner); |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
for(upb_msg_oneof_begin(&o, m); |
|
|
|
|
!upb_msg_oneof_done(&o); |
|
|
|
|
upb_msg_oneof_next(&o)) { |
|
|
|
|
upb_oneofdef *f = upb_oneofdef_dup(upb_msg_iter_oneof(&o), &f); |
|
|
|
|
if (!f || !upb_msgdef_addoneof(newm, f, &f, NULL)) { |
|
|
|
|
upb_msgdef_unref(newm, owner); |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return newm; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool upb_msgdef_freeze(upb_msgdef *m, upb_status *status) { |
|
|
|
|
upb_def *d = upb_msgdef_upcast_mutable(m); |
|
|
|
|
return upb_def_freeze(&d, 1, status); |
|
|
|
@ -1764,24 +1690,6 @@ err2: |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static upb_oneofdef *upb_oneofdef_dup(const upb_oneofdef *o, |
|
|
|
|
const void *owner) { |
|
|
|
|
bool ok; |
|
|
|
|
upb_oneof_iter i; |
|
|
|
|
upb_oneofdef *newo = upb_oneofdef_new(owner); |
|
|
|
|
if (!newo) return NULL; |
|
|
|
|
ok = upb_oneofdef_setname(newo, upb_oneofdef_name(o), NULL); |
|
|
|
|
UPB_ASSERT(ok); |
|
|
|
|
for (upb_oneof_begin(&i, o); !upb_oneof_done(&i); upb_oneof_next(&i)) { |
|
|
|
|
upb_fielddef *f = upb_fielddef_dup(upb_oneof_iter_field(&i), &f); |
|
|
|
|
if (!f || !upb_oneofdef_addfield(newo, f, &f, NULL)) { |
|
|
|
|
upb_oneofdef_unref(newo, owner); |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return newo; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const char *upb_oneofdef_name(const upb_oneofdef *o) { return o->name; } |
|
|
|
|
|
|
|
|
|
bool upb_oneofdef_setname(upb_oneofdef *o, const char *name, upb_status *s) { |
|
|
|
@ -1950,6 +1858,7 @@ static void freefiledef(upb_refcounted *r) { |
|
|
|
|
upb_inttable_uninit(&f->deps); |
|
|
|
|
upb_gfree((void*)f->name); |
|
|
|
|
upb_gfree((void*)f->package); |
|
|
|
|
upb_gfree((void*)f->phpprefix); |
|
|
|
|
upb_gfree(f); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1964,6 +1873,7 @@ upb_filedef *upb_filedef_new(const void *owner) { |
|
|
|
|
|
|
|
|
|
f->package = NULL; |
|
|
|
|
f->name = NULL; |
|
|
|
|
f->phpprefix = NULL; |
|
|
|
|
f->syntax = UPB_SYNTAX_PROTO2; |
|
|
|
|
|
|
|
|
|
if (!upb_refcounted_init(upb_filedef_upcast_mutable(f), &upb_filedef_vtbl, |
|
|
|
@ -1998,6 +1908,10 @@ const char *upb_filedef_package(const upb_filedef *f) { |
|
|
|
|
return f->package; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const char *upb_filedef_phpprefix(const upb_filedef *f) { |
|
|
|
|
return f->phpprefix; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
upb_syntax_t upb_filedef_syntax(const upb_filedef *f) { |
|
|
|
|
return f->syntax; |
|
|
|
|
} |
|
|
|
@ -2054,6 +1968,18 @@ bool upb_filedef_setpackage(upb_filedef *f, const char *package, |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool upb_filedef_setphpprefix(upb_filedef *f, const char *phpprefix, |
|
|
|
|
upb_status *s) { |
|
|
|
|
phpprefix = upb_gstrdup(phpprefix); |
|
|
|
|
if (!phpprefix) { |
|
|
|
|
upb_upberr_setoom(s); |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
upb_gfree((void*)f->phpprefix); |
|
|
|
|
f->phpprefix = phpprefix; |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool upb_filedef_setsyntax(upb_filedef *f, upb_syntax_t syntax, |
|
|
|
|
upb_status *s) { |
|
|
|
|
UPB_UNUSED(s); |
|
|
|
@ -2240,57 +2166,14 @@ static bool symtab_add(upb_symtab *s, upb_def *const*defs, size_t n, |
|
|
|
|
fullname); |
|
|
|
|
goto err; |
|
|
|
|
} |
|
|
|
|
upb_def_donateref(def, ref_donor, s); |
|
|
|
|
if (!upb_strtable_insert(&addtab, fullname, upb_value_ptr(def))) |
|
|
|
|
goto oom_err; |
|
|
|
|
def->came_from_user = true; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* Add standalone fielddefs (ie. extensions) to the appropriate messages.
|
|
|
|
|
* If the appropriate message only exists in the existing symtab, duplicate |
|
|
|
|
* it so we have a mutable copy we can add the fields to. */ |
|
|
|
|
for (i = 0; i < n; i++) { |
|
|
|
|
upb_def *def = defs[i]; |
|
|
|
|
upb_fielddef *f = upb_dyncast_fielddef_mutable(def); |
|
|
|
|
const char *msgname; |
|
|
|
|
upb_value v; |
|
|
|
|
upb_msgdef *m; |
|
|
|
|
|
|
|
|
|
if (!f) continue; |
|
|
|
|
msgname = upb_fielddef_containingtypename(f); |
|
|
|
|
/* We validated this earlier in this function. */ |
|
|
|
|
UPB_ASSERT(msgname); |
|
|
|
|
|
|
|
|
|
/* If the extendee name is absolutely qualified, move past the initial ".".
|
|
|
|
|
* TODO(haberman): it is not obvious what it would mean if this was not |
|
|
|
|
* absolutely qualified. */ |
|
|
|
|
if (msgname[0] == '.') { |
|
|
|
|
msgname++; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (upb_strtable_lookup(&addtab, msgname, &v)) { |
|
|
|
|
/* Extendee is in the set of defs the user asked us to add. */ |
|
|
|
|
m = upb_value_getptr(v); |
|
|
|
|
} else { |
|
|
|
|
/* Need to find and dup the extendee from the existing symtab. */ |
|
|
|
|
const upb_msgdef *frozen_m = upb_symtab_lookupmsg(s, msgname); |
|
|
|
|
if (!frozen_m) { |
|
|
|
|
upb_status_seterrf(status, |
|
|
|
|
"Tried to extend message %s that does not exist " |
|
|
|
|
"in this SymbolTable.", |
|
|
|
|
msgname); |
|
|
|
|
goto err; |
|
|
|
|
} |
|
|
|
|
m = upb_msgdef_dup(frozen_m, s); |
|
|
|
|
if (!m) goto oom_err; |
|
|
|
|
if (!upb_strtable_insert(&addtab, msgname, upb_value_ptr(m))) { |
|
|
|
|
upb_msgdef_unref(m, s); |
|
|
|
|
goto oom_err; |
|
|
|
|
} |
|
|
|
|
upb_def_donateref(def, ref_donor, s); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!upb_msgdef_addfield(m, f, ref_donor, status)) { |
|
|
|
|
if (upb_dyncast_fielddef_mutable(def)) { |
|
|
|
|
/* TODO(haberman): allow adding extensions attached to files. */ |
|
|
|
|
upb_status_seterrf(status, "Can't add extensions to symtab.\n"); |
|
|
|
|
goto err; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -2372,15 +2255,9 @@ static bool symtab_add(upb_symtab *s, upb_def *const*defs, size_t n, |
|
|
|
|
for (i = 0; i < add_n; i++) { |
|
|
|
|
upb_def *def = (upb_def*)add_objs[i]; |
|
|
|
|
const char *name = upb_def_fullname(def); |
|
|
|
|
upb_value v; |
|
|
|
|
bool success; |
|
|
|
|
|
|
|
|
|
if (upb_strtable_remove(&s->symtab, name, &v)) { |
|
|
|
|
const upb_def *def = upb_value_getptr(v); |
|
|
|
|
upb_def_unref(def, s); |
|
|
|
|
} |
|
|
|
|
success = upb_strtable_insert(&s->symtab, name, upb_value_ptr(def)); |
|
|
|
|
UPB_ASSERT(success == true); |
|
|
|
|
UPB_ASSERT(success); |
|
|
|
|
} |
|
|
|
|
upb_gfree(add_defs); |
|
|
|
|
return true; |
|
|
|
@ -3737,8 +3614,7 @@ static bool upb_visitor_visitmsg2(const upb_msg *msg, |
|
|
|
|
CHECK_TRUE(upb_sink_putfloat(sink, sel, upb_msgval_getfloat(val))); |
|
|
|
|
break; |
|
|
|
|
case UPB_TYPE_DOUBLE: |
|
|
|
|
CHECK_TRUE( |
|
|
|
|
upb_sink_putdouble(sink, sel, upb_msgval_getdouble(val))); |
|
|
|
|
CHECK_TRUE(upb_sink_putdouble(sink, sel, upb_msgval_getdouble(val))); |
|
|
|
|
break; |
|
|
|
|
case UPB_TYPE_BOOL: |
|
|
|
|
CHECK_TRUE(upb_sink_putbool(sink, sel, upb_msgval_getbool(val))); |
|
|
|
@ -3748,15 +3624,13 @@ static bool upb_visitor_visitmsg2(const upb_msg *msg, |
|
|
|
|
CHECK_TRUE(upb_sink_putint32(sink, sel, upb_msgval_getint32(val))); |
|
|
|
|
break; |
|
|
|
|
case UPB_TYPE_UINT32: |
|
|
|
|
CHECK_TRUE( |
|
|
|
|
upb_sink_putuint32(sink, sel, upb_msgval_getuint32(val))); |
|
|
|
|
CHECK_TRUE(upb_sink_putuint32(sink, sel, upb_msgval_getuint32(val))); |
|
|
|
|
break; |
|
|
|
|
case UPB_TYPE_INT64: |
|
|
|
|
CHECK_TRUE(upb_sink_putint64(sink, sel, upb_msgval_getint64(val))); |
|
|
|
|
break; |
|
|
|
|
case UPB_TYPE_UINT64: |
|
|
|
|
CHECK_TRUE( |
|
|
|
|
upb_sink_putuint64(sink, sel, upb_msgval_getuint64(val))); |
|
|
|
|
CHECK_TRUE(upb_sink_putuint64(sink, sel, upb_msgval_getuint64(val))); |
|
|
|
|
break; |
|
|
|
|
case UPB_TYPE_STRING: |
|
|
|
|
case UPB_TYPE_BYTES: |
|
|
|
@ -6545,14 +6419,14 @@ size_t upb_env_bytesallocated(const upb_env *e) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const upb_msgdef msgs[22]; |
|
|
|
|
static const upb_fielddef fields[105]; |
|
|
|
|
static const upb_fielddef fields[106]; |
|
|
|
|
static const upb_enumdef enums[5]; |
|
|
|
|
static const upb_tabent strentries[236]; |
|
|
|
|
static const upb_tabent intentries[18]; |
|
|
|
|
static const upb_tabval arrays[184]; |
|
|
|
|
static const upb_tabval arrays[186]; |
|
|
|
|
|
|
|
|
|
#ifdef UPB_DEBUG_REFS |
|
|
|
|
static upb_inttable reftables[264]; |
|
|
|
|
static upb_inttable reftables[266]; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
static const upb_msgdef msgs[22] = { |
|
|
|
@ -6567,20 +6441,20 @@ static const upb_msgdef msgs[22] = { |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.FieldOptions", 12, 1, UPB_INTTABLE_INIT(1, 1, UPB_CTYPE_PTR, 1, &intentries[4], &arrays[42], 11, 6), UPB_STRTABLE_INIT(7, 15, UPB_CTYPE_PTR, 4, &strentries[56]), false, UPB_SYNTAX_PROTO2, &reftables[16], &reftables[17]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.FileDescriptorProto", 42, 6, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[53], 13, 12), UPB_STRTABLE_INIT(12, 15, UPB_CTYPE_PTR, 4, &strentries[72]), false, UPB_SYNTAX_PROTO2, &reftables[18], &reftables[19]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.FileDescriptorSet", 6, 1, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[66], 2, 1), UPB_STRTABLE_INIT(1, 3, UPB_CTYPE_PTR, 2, &strentries[88]), false, UPB_SYNTAX_PROTO2, &reftables[20], &reftables[21]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.FileOptions", 31, 1, UPB_INTTABLE_INIT(1, 1, UPB_CTYPE_PTR, 1, &intentries[6], &arrays[68], 39, 15), UPB_STRTABLE_INIT(16, 31, UPB_CTYPE_PTR, 5, &strentries[92]), false, UPB_SYNTAX_PROTO2, &reftables[22], &reftables[23]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.MessageOptions", 10, 1, UPB_INTTABLE_INIT(1, 1, UPB_CTYPE_PTR, 1, &intentries[8], &arrays[107], 8, 4), UPB_STRTABLE_INIT(5, 7, UPB_CTYPE_PTR, 3, &strentries[124]), false, UPB_SYNTAX_PROTO2, &reftables[24], &reftables[25]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.MethodDescriptorProto", 15, 1, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[115], 7, 6), UPB_STRTABLE_INIT(6, 7, UPB_CTYPE_PTR, 3, &strentries[132]), false, UPB_SYNTAX_PROTO2, &reftables[26], &reftables[27]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.MethodOptions", 7, 1, UPB_INTTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &intentries[10], &arrays[122], 1, 0), UPB_STRTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &strentries[140]), false, UPB_SYNTAX_PROTO2, &reftables[28], &reftables[29]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.OneofDescriptorProto", 5, 0, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[123], 2, 1), UPB_STRTABLE_INIT(1, 3, UPB_CTYPE_PTR, 2, &strentries[144]), false, UPB_SYNTAX_PROTO2, &reftables[30], &reftables[31]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.ServiceDescriptorProto", 11, 2, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[125], 4, 3), UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_PTR, 2, &strentries[148]), false, UPB_SYNTAX_PROTO2, &reftables[32], &reftables[33]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.ServiceOptions", 7, 1, UPB_INTTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &intentries[14], &arrays[129], 1, 0), UPB_STRTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &strentries[152]), false, UPB_SYNTAX_PROTO2, &reftables[34], &reftables[35]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.SourceCodeInfo", 6, 1, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[130], 2, 1), UPB_STRTABLE_INIT(1, 3, UPB_CTYPE_PTR, 2, &strentries[156]), false, UPB_SYNTAX_PROTO2, &reftables[36], &reftables[37]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.SourceCodeInfo.Location", 19, 0, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[132], 7, 5), UPB_STRTABLE_INIT(5, 7, UPB_CTYPE_PTR, 3, &strentries[160]), false, UPB_SYNTAX_PROTO2, &reftables[38], &reftables[39]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.UninterpretedOption", 18, 1, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[139], 9, 7), UPB_STRTABLE_INIT(7, 15, UPB_CTYPE_PTR, 4, &strentries[168]), false, UPB_SYNTAX_PROTO2, &reftables[40], &reftables[41]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.UninterpretedOption.NamePart", 6, 0, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[148], 3, 2), UPB_STRTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &strentries[184]), false, UPB_SYNTAX_PROTO2, &reftables[42], &reftables[43]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.FileOptions", 34, 1, UPB_INTTABLE_INIT(1, 1, UPB_CTYPE_PTR, 1, &intentries[6], &arrays[68], 41, 16), UPB_STRTABLE_INIT(17, 31, UPB_CTYPE_PTR, 5, &strentries[92]), false, UPB_SYNTAX_PROTO2, &reftables[22], &reftables[23]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.MessageOptions", 10, 1, UPB_INTTABLE_INIT(1, 1, UPB_CTYPE_PTR, 1, &intentries[8], &arrays[109], 8, 4), UPB_STRTABLE_INIT(5, 7, UPB_CTYPE_PTR, 3, &strentries[124]), false, UPB_SYNTAX_PROTO2, &reftables[24], &reftables[25]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.MethodDescriptorProto", 15, 1, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[117], 7, 6), UPB_STRTABLE_INIT(6, 7, UPB_CTYPE_PTR, 3, &strentries[132]), false, UPB_SYNTAX_PROTO2, &reftables[26], &reftables[27]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.MethodOptions", 7, 1, UPB_INTTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &intentries[10], &arrays[124], 1, 0), UPB_STRTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &strentries[140]), false, UPB_SYNTAX_PROTO2, &reftables[28], &reftables[29]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.OneofDescriptorProto", 5, 0, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[125], 2, 1), UPB_STRTABLE_INIT(1, 3, UPB_CTYPE_PTR, 2, &strentries[144]), false, UPB_SYNTAX_PROTO2, &reftables[30], &reftables[31]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.ServiceDescriptorProto", 11, 2, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[127], 4, 3), UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_PTR, 2, &strentries[148]), false, UPB_SYNTAX_PROTO2, &reftables[32], &reftables[33]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.ServiceOptions", 7, 1, UPB_INTTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &intentries[14], &arrays[131], 1, 0), UPB_STRTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &strentries[152]), false, UPB_SYNTAX_PROTO2, &reftables[34], &reftables[35]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.SourceCodeInfo", 6, 1, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[132], 2, 1), UPB_STRTABLE_INIT(1, 3, UPB_CTYPE_PTR, 2, &strentries[156]), false, UPB_SYNTAX_PROTO2, &reftables[36], &reftables[37]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.SourceCodeInfo.Location", 19, 0, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[134], 7, 5), UPB_STRTABLE_INIT(5, 7, UPB_CTYPE_PTR, 3, &strentries[160]), false, UPB_SYNTAX_PROTO2, &reftables[38], &reftables[39]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.UninterpretedOption", 18, 1, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[141], 9, 7), UPB_STRTABLE_INIT(7, 15, UPB_CTYPE_PTR, 4, &strentries[168]), false, UPB_SYNTAX_PROTO2, &reftables[40], &reftables[41]), |
|
|
|
|
UPB_MSGDEF_INIT("google.protobuf.UninterpretedOption.NamePart", 6, 0, UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_PTR, 0, NULL, &arrays[150], 3, 2), UPB_STRTABLE_INIT(2, 3, UPB_CTYPE_PTR, 2, &strentries[184]), false, UPB_SYNTAX_PROTO2, &reftables[42], &reftables[43]), |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
static const upb_fielddef fields[105] = { |
|
|
|
|
static const upb_fielddef fields[106] = { |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "aggregate_value", 8, &msgs[20], NULL, 15, 6, {0},&reftables[44], &reftables[45]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "allow_alias", 2, &msgs[4], NULL, 6, 1, {0},&reftables[46], &reftables[47]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "cc_enable_arenas", 31, &msgs[11], NULL, 23, 12, {0},&reftables[48], &reftables[49]), |
|
|
|
@ -6590,18 +6464,18 @@ static const upb_fielddef fields[105] = { |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_ENUM, 0, false, false, false, false, "ctype", 1, &msgs[8], (const upb_def*)(&enums[2]), 6, 1, {0},&reftables[56], &reftables[57]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "default_value", 7, &msgs[7], NULL, 16, 7, {0},&reftables[58], &reftables[59]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_STRING, 0, false, false, false, false, "dependency", 3, &msgs[9], NULL, 30, 8, {0},&reftables[60], &reftables[61]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "deprecated", 3, &msgs[12], NULL, 8, 3, {0},&reftables[62], &reftables[63]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "deprecated", 3, &msgs[8], NULL, 8, 3, {0},&reftables[64], &reftables[65]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "deprecated", 33, &msgs[14], NULL, 6, 1, {0},&reftables[66], &reftables[67]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "deprecated", 3, &msgs[8], NULL, 8, 3, {0},&reftables[62], &reftables[63]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "deprecated", 33, &msgs[14], NULL, 6, 1, {0},&reftables[64], &reftables[65]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "deprecated", 3, &msgs[12], NULL, 8, 3, {0},&reftables[66], &reftables[67]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "deprecated", 23, &msgs[11], NULL, 21, 10, {0},&reftables[68], &reftables[69]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "deprecated", 3, &msgs[4], NULL, 7, 2, {0},&reftables[70], &reftables[71]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "deprecated", 33, &msgs[17], NULL, 6, 1, {0},&reftables[72], &reftables[73]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "deprecated", 1, &msgs[6], NULL, 6, 1, {0},&reftables[74], &reftables[75]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "deprecated", 1, &msgs[6], NULL, 6, 1, {0},&reftables[70], &reftables[71]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "deprecated", 3, &msgs[4], NULL, 7, 2, {0},&reftables[72], &reftables[73]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "deprecated", 33, &msgs[17], NULL, 6, 1, {0},&reftables[74], &reftables[75]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_DOUBLE, 0, false, false, false, false, "double_value", 6, &msgs[20], NULL, 11, 4, {0},&reftables[76], &reftables[77]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_INT32, UPB_INTFMT_VARIABLE, false, false, false, false, "end", 2, &msgs[2], NULL, 3, 1, {0},&reftables[78], &reftables[79]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_INT32, UPB_INTFMT_VARIABLE, false, false, false, false, "end", 2, &msgs[1], NULL, 3, 1, {0},&reftables[80], &reftables[81]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "enum_type", 4, &msgs[0], (const upb_def*)(&msgs[3]), 18, 2, {0},&reftables[82], &reftables[83]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "enum_type", 5, &msgs[9], (const upb_def*)(&msgs[3]), 13, 1, {0},&reftables[84], &reftables[85]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "enum_type", 5, &msgs[9], (const upb_def*)(&msgs[3]), 13, 1, {0},&reftables[82], &reftables[83]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "enum_type", 4, &msgs[0], (const upb_def*)(&msgs[3]), 18, 2, {0},&reftables[84], &reftables[85]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "extendee", 2, &msgs[7], NULL, 7, 2, {0},&reftables[86], &reftables[87]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "extension", 6, &msgs[0], (const upb_def*)(&msgs[7]), 24, 4, {0},&reftables[88], &reftables[89]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "extension", 7, &msgs[9], (const upb_def*)(&msgs[7]), 19, 3, {0},&reftables[90], &reftables[91]), |
|
|
|
@ -6630,15 +6504,15 @@ static const upb_fielddef fields[105] = { |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "message_set_wire_format", 1, &msgs[12], NULL, 6, 1, {0},&reftables[136], &reftables[137]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "message_type", 4, &msgs[9], (const upb_def*)(&msgs[0]), 10, 0, {0},&reftables[138], &reftables[139]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "method", 2, &msgs[16], (const upb_def*)(&msgs[13]), 6, 0, {0},&reftables[140], &reftables[141]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[3], NULL, 8, 2, {0},&reftables[142], &reftables[143]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[15], NULL, 2, 0, {0},&reftables[144], &reftables[145]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "name", 2, &msgs[20], (const upb_def*)(&msgs[21]), 5, 0, {0},&reftables[146], &reftables[147]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[0], NULL, 32, 8, {0},&reftables[148], &reftables[149]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[5], NULL, 4, 1, {0},&reftables[150], &reftables[151]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[9], NULL, 22, 6, {0},&reftables[152], &reftables[153]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[7], NULL, 4, 1, {0},&reftables[154], &reftables[155]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[13], NULL, 4, 1, {0},&reftables[156], &reftables[157]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[16], NULL, 8, 2, {0},&reftables[158], &reftables[159]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "name", 2, &msgs[20], (const upb_def*)(&msgs[21]), 5, 0, {0},&reftables[142], &reftables[143]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[0], NULL, 32, 8, {0},&reftables[144], &reftables[145]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[5], NULL, 4, 1, {0},&reftables[146], &reftables[147]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[13], NULL, 4, 1, {0},&reftables[148], &reftables[149]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[16], NULL, 8, 2, {0},&reftables[150], &reftables[151]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[3], NULL, 8, 2, {0},&reftables[152], &reftables[153]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[15], NULL, 2, 0, {0},&reftables[154], &reftables[155]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[7], NULL, 4, 1, {0},&reftables[156], &reftables[157]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "name", 1, &msgs[9], NULL, 22, 6, {0},&reftables[158], &reftables[159]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REQUIRED, UPB_TYPE_STRING, 0, false, false, false, false, "name_part", 1, &msgs[21], NULL, 2, 0, {0},&reftables[160], &reftables[161]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_INT64, UPB_INTFMT_VARIABLE, false, false, false, false, "negative_int_value", 5, &msgs[20], NULL, 10, 3, {0},&reftables[162], &reftables[163]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "nested_type", 3, &msgs[0], (const upb_def*)(&msgs[0]), 15, 1, {0},&reftables[164], &reftables[165]), |
|
|
|
@ -6649,58 +6523,59 @@ static const upb_fielddef fields[105] = { |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "oneof_decl", 8, &msgs[0], (const upb_def*)(&msgs[15]), 28, 6, {0},&reftables[174], &reftables[175]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_INT32, UPB_INTFMT_VARIABLE, false, false, false, false, "oneof_index", 9, &msgs[7], NULL, 19, 8, {0},&reftables[176], &reftables[177]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_ENUM, 0, false, false, false, false, "optimize_for", 9, &msgs[11], (const upb_def*)(&enums[4]), 12, 3, {0},&reftables[178], &reftables[179]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_MESSAGE, 0, false, false, false, false, "options", 7, &msgs[0], (const upb_def*)(&msgs[12]), 25, 5, {0},&reftables[180], &reftables[181]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_MESSAGE, 0, false, false, false, false, "options", 8, &msgs[9], (const upb_def*)(&msgs[11]), 20, 4, {0},&reftables[182], &reftables[183]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_MESSAGE, 0, false, false, false, false, "options", 8, &msgs[9], (const upb_def*)(&msgs[11]), 20, 4, {0},&reftables[180], &reftables[181]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_MESSAGE, 0, false, false, false, false, "options", 7, &msgs[0], (const upb_def*)(&msgs[12]), 25, 5, {0},&reftables[182], &reftables[183]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_MESSAGE, 0, false, false, false, false, "options", 4, &msgs[13], (const upb_def*)(&msgs[14]), 3, 0, {0},&reftables[184], &reftables[185]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_MESSAGE, 0, false, false, false, false, "options", 8, &msgs[7], (const upb_def*)(&msgs[8]), 3, 0, {0},&reftables[186], &reftables[187]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_MESSAGE, 0, false, false, false, false, "options", 3, &msgs[16], (const upb_def*)(&msgs[17]), 7, 1, {0},&reftables[188], &reftables[189]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_MESSAGE, 0, false, false, false, false, "options", 3, &msgs[5], (const upb_def*)(&msgs[6]), 3, 0, {0},&reftables[190], &reftables[191]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_MESSAGE, 0, false, false, false, false, "options", 3, &msgs[5], (const upb_def*)(&msgs[6]), 3, 0, {0},&reftables[188], &reftables[189]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_MESSAGE, 0, false, false, false, false, "options", 3, &msgs[16], (const upb_def*)(&msgs[17]), 7, 1, {0},&reftables[190], &reftables[191]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_MESSAGE, 0, false, false, false, false, "options", 3, &msgs[3], (const upb_def*)(&msgs[4]), 7, 1, {0},&reftables[192], &reftables[193]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "output_type", 3, &msgs[13], NULL, 10, 3, {0},&reftables[194], &reftables[195]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "package", 2, &msgs[9], NULL, 25, 7, {0},&reftables[196], &reftables[197]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "packed", 2, &msgs[8], NULL, 7, 2, {0},&reftables[198], &reftables[199]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_INT32, UPB_INTFMT_VARIABLE, false, false, false, true, "path", 1, &msgs[19], NULL, 4, 0, {0},&reftables[200], &reftables[201]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_UINT64, UPB_INTFMT_VARIABLE, false, false, false, false, "positive_int_value", 4, &msgs[20], NULL, 9, 2, {0},&reftables[202], &reftables[203]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_INT32, UPB_INTFMT_VARIABLE, false, false, false, false, "public_dependency", 10, &msgs[9], NULL, 35, 9, {0},&reftables[204], &reftables[205]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "py_generic_services", 18, &msgs[11], NULL, 19, 8, {0},&reftables[206], &reftables[207]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_STRING, 0, false, false, false, false, "reserved_name", 10, &msgs[0], NULL, 37, 9, {0},&reftables[208], &reftables[209]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "reserved_range", 9, &msgs[0], (const upb_def*)(&msgs[2]), 31, 7, {0},&reftables[210], &reftables[211]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "server_streaming", 6, &msgs[13], NULL, 14, 5, {0},&reftables[212], &reftables[213]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "service", 6, &msgs[9], (const upb_def*)(&msgs[16]), 16, 2, {0},&reftables[214], &reftables[215]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_MESSAGE, 0, false, false, false, false, "source_code_info", 9, &msgs[9], (const upb_def*)(&msgs[18]), 21, 5, {0},&reftables[216], &reftables[217]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_INT32, UPB_INTFMT_VARIABLE, false, false, false, true, "span", 2, &msgs[19], NULL, 7, 1, {0},&reftables[218], &reftables[219]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_INT32, UPB_INTFMT_VARIABLE, false, false, false, false, "start", 1, &msgs[2], NULL, 2, 0, {0},&reftables[220], &reftables[221]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_INT32, UPB_INTFMT_VARIABLE, false, false, false, false, "start", 1, &msgs[1], NULL, 2, 0, {0},&reftables[222], &reftables[223]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BYTES, 0, false, false, false, false, "string_value", 7, &msgs[20], NULL, 12, 5, {0},&reftables[224], &reftables[225]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "syntax", 12, &msgs[9], NULL, 39, 11, {0},&reftables[226], &reftables[227]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "trailing_comments", 4, &msgs[19], NULL, 11, 3, {0},&reftables[228], &reftables[229]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_ENUM, 0, false, false, false, false, "type", 5, &msgs[7], (const upb_def*)(&enums[1]), 12, 5, {0},&reftables[230], &reftables[231]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "type_name", 6, &msgs[7], NULL, 13, 6, {0},&reftables[232], &reftables[233]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "uninterpreted_option", 999, &msgs[11], (const upb_def*)(&msgs[20]), 5, 0, {0},&reftables[234], &reftables[235]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "uninterpreted_option", 999, &msgs[12], (const upb_def*)(&msgs[20]), 5, 0, {0},&reftables[236], &reftables[237]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "uninterpreted_option", 999, &msgs[6], (const upb_def*)(&msgs[20]), 5, 0, {0},&reftables[238], &reftables[239]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "uninterpreted_option", 999, &msgs[4], (const upb_def*)(&msgs[20]), 5, 0, {0},&reftables[240], &reftables[241]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "php_class_prefix", 40, &msgs[11], NULL, 31, 16, {0},&reftables[202], &reftables[203]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_UINT64, UPB_INTFMT_VARIABLE, false, false, false, false, "positive_int_value", 4, &msgs[20], NULL, 9, 2, {0},&reftables[204], &reftables[205]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_INT32, UPB_INTFMT_VARIABLE, false, false, false, false, "public_dependency", 10, &msgs[9], NULL, 35, 9, {0},&reftables[206], &reftables[207]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "py_generic_services", 18, &msgs[11], NULL, 19, 8, {0},&reftables[208], &reftables[209]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_STRING, 0, false, false, false, false, "reserved_name", 10, &msgs[0], NULL, 37, 9, {0},&reftables[210], &reftables[211]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "reserved_range", 9, &msgs[0], (const upb_def*)(&msgs[2]), 31, 7, {0},&reftables[212], &reftables[213]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "server_streaming", 6, &msgs[13], NULL, 14, 5, {0},&reftables[214], &reftables[215]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "service", 6, &msgs[9], (const upb_def*)(&msgs[16]), 16, 2, {0},&reftables[216], &reftables[217]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_MESSAGE, 0, false, false, false, false, "source_code_info", 9, &msgs[9], (const upb_def*)(&msgs[18]), 21, 5, {0},&reftables[218], &reftables[219]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_INT32, UPB_INTFMT_VARIABLE, false, false, false, true, "span", 2, &msgs[19], NULL, 7, 1, {0},&reftables[220], &reftables[221]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_INT32, UPB_INTFMT_VARIABLE, false, false, false, false, "start", 1, &msgs[2], NULL, 2, 0, {0},&reftables[222], &reftables[223]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_INT32, UPB_INTFMT_VARIABLE, false, false, false, false, "start", 1, &msgs[1], NULL, 2, 0, {0},&reftables[224], &reftables[225]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BYTES, 0, false, false, false, false, "string_value", 7, &msgs[20], NULL, 12, 5, {0},&reftables[226], &reftables[227]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "syntax", 12, &msgs[9], NULL, 39, 11, {0},&reftables[228], &reftables[229]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "trailing_comments", 4, &msgs[19], NULL, 11, 3, {0},&reftables[230], &reftables[231]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_ENUM, 0, false, false, false, false, "type", 5, &msgs[7], (const upb_def*)(&enums[1]), 12, 5, {0},&reftables[232], &reftables[233]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_STRING, 0, false, false, false, false, "type_name", 6, &msgs[7], NULL, 13, 6, {0},&reftables[234], &reftables[235]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "uninterpreted_option", 999, &msgs[14], (const upb_def*)(&msgs[20]), 5, 0, {0},&reftables[236], &reftables[237]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "uninterpreted_option", 999, &msgs[12], (const upb_def*)(&msgs[20]), 5, 0, {0},&reftables[238], &reftables[239]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "uninterpreted_option", 999, &msgs[17], (const upb_def*)(&msgs[20]), 5, 0, {0},&reftables[240], &reftables[241]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "uninterpreted_option", 999, &msgs[8], (const upb_def*)(&msgs[20]), 5, 0, {0},&reftables[242], &reftables[243]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "uninterpreted_option", 999, &msgs[14], (const upb_def*)(&msgs[20]), 5, 0, {0},&reftables[244], &reftables[245]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "uninterpreted_option", 999, &msgs[17], (const upb_def*)(&msgs[20]), 5, 0, {0},&reftables[246], &reftables[247]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "value", 2, &msgs[3], (const upb_def*)(&msgs[5]), 6, 0, {0},&reftables[248], &reftables[249]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "weak", 10, &msgs[8], NULL, 11, 6, {0},&reftables[250], &reftables[251]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_INT32, UPB_INTFMT_VARIABLE, false, false, false, false, "weak_dependency", 11, &msgs[9], NULL, 38, 10, {0},&reftables[252], &reftables[253]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "uninterpreted_option", 999, &msgs[11], (const upb_def*)(&msgs[20]), 5, 0, {0},&reftables[244], &reftables[245]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "uninterpreted_option", 999, &msgs[6], (const upb_def*)(&msgs[20]), 5, 0, {0},&reftables[246], &reftables[247]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "uninterpreted_option", 999, &msgs[4], (const upb_def*)(&msgs[20]), 5, 0, {0},&reftables[248], &reftables[249]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_MESSAGE, 0, false, false, false, false, "value", 2, &msgs[3], (const upb_def*)(&msgs[5]), 6, 0, {0},&reftables[250], &reftables[251]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_OPTIONAL, UPB_TYPE_BOOL, 0, false, false, false, false, "weak", 10, &msgs[8], NULL, 11, 6, {0},&reftables[252], &reftables[253]), |
|
|
|
|
UPB_FIELDDEF_INIT(UPB_LABEL_REPEATED, UPB_TYPE_INT32, UPB_INTFMT_VARIABLE, false, false, false, false, "weak_dependency", 11, &msgs[9], NULL, 38, 10, {0},&reftables[254], &reftables[255]), |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
static const upb_enumdef enums[5] = { |
|
|
|
|
UPB_ENUMDEF_INIT("google.protobuf.FieldDescriptorProto.Label", UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_INT32, 2, &strentries[188]), UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_CSTR, 0, NULL, &arrays[151], 4, 3), 0, &reftables[254], &reftables[255]), |
|
|
|
|
UPB_ENUMDEF_INIT("google.protobuf.FieldDescriptorProto.Type", UPB_STRTABLE_INIT(18, 31, UPB_CTYPE_INT32, 5, &strentries[192]), UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_CSTR, 0, NULL, &arrays[155], 19, 18), 0, &reftables[256], &reftables[257]), |
|
|
|
|
UPB_ENUMDEF_INIT("google.protobuf.FieldOptions.CType", UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_INT32, 2, &strentries[224]), UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_CSTR, 0, NULL, &arrays[174], 3, 3), 0, &reftables[258], &reftables[259]), |
|
|
|
|
UPB_ENUMDEF_INIT("google.protobuf.FieldOptions.JSType", UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_INT32, 2, &strentries[228]), UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_CSTR, 0, NULL, &arrays[177], 3, 3), 0, &reftables[260], &reftables[261]), |
|
|
|
|
UPB_ENUMDEF_INIT("google.protobuf.FileOptions.OptimizeMode", UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_INT32, 2, &strentries[232]), UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_CSTR, 0, NULL, &arrays[180], 4, 3), 0, &reftables[262], &reftables[263]), |
|
|
|
|
UPB_ENUMDEF_INIT("google.protobuf.FieldDescriptorProto.Label", UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_INT32, 2, &strentries[188]), UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_CSTR, 0, NULL, &arrays[153], 4, 3), 0, &reftables[256], &reftables[257]), |
|
|
|
|
UPB_ENUMDEF_INIT("google.protobuf.FieldDescriptorProto.Type", UPB_STRTABLE_INIT(18, 31, UPB_CTYPE_INT32, 5, &strentries[192]), UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_CSTR, 0, NULL, &arrays[157], 19, 18), 0, &reftables[258], &reftables[259]), |
|
|
|
|
UPB_ENUMDEF_INIT("google.protobuf.FieldOptions.CType", UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_INT32, 2, &strentries[224]), UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_CSTR, 0, NULL, &arrays[176], 3, 3), 0, &reftables[260], &reftables[261]), |
|
|
|
|
UPB_ENUMDEF_INIT("google.protobuf.FieldOptions.JSType", UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_INT32, 2, &strentries[228]), UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_CSTR, 0, NULL, &arrays[179], 3, 3), 0, &reftables[262], &reftables[263]), |
|
|
|
|
UPB_ENUMDEF_INIT("google.protobuf.FileOptions.OptimizeMode", UPB_STRTABLE_INIT(3, 3, UPB_CTYPE_INT32, 2, &strentries[232]), UPB_INTTABLE_INIT(0, 0, UPB_CTYPE_CSTR, 0, NULL, &arrays[182], 4, 3), 0, &reftables[264], &reftables[265]), |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
static const upb_tabent strentries[236] = { |
|
|
|
|
{UPB_TABKEY_STR("\011", "\000", "\000", "\000", "extension"), UPB_TABVALUE_PTR_INIT(&fields[22]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\015", "\000", "\000", "\000", "reserved_name"), UPB_TABVALUE_PTR_INIT(&fields[82]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[52]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\015", "\000", "\000", "\000", "reserved_name"), UPB_TABVALUE_PTR_INIT(&fields[83]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[50]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
@ -6709,38 +6584,38 @@ static const upb_tabent strentries[236] = { |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\013", "\000", "\000", "\000", "nested_type"), UPB_TABVALUE_PTR_INIT(&fields[60]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\016", "\000", "\000", "\000", "reserved_range"), UPB_TABVALUE_PTR_INIT(&fields[83]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\007", "\000", "\000", "\000", "options"), UPB_TABVALUE_PTR_INIT(&fields[68]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\016", "\000", "\000", "\000", "reserved_range"), UPB_TABVALUE_PTR_INIT(&fields[84]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\007", "\000", "\000", "\000", "options"), UPB_TABVALUE_PTR_INIT(&fields[69]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "oneof_decl"), UPB_TABVALUE_PTR_INIT(&fields[65]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\011", "\000", "\000", "\000", "enum_type"), UPB_TABVALUE_PTR_INIT(&fields[19]), &strentries[13]}, |
|
|
|
|
{UPB_TABKEY_STR("\005", "\000", "\000", "\000", "start"), UPB_TABVALUE_PTR_INIT(&fields[89]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\011", "\000", "\000", "\000", "enum_type"), UPB_TABVALUE_PTR_INIT(&fields[20]), &strentries[13]}, |
|
|
|
|
{UPB_TABKEY_STR("\005", "\000", "\000", "\000", "start"), UPB_TABVALUE_PTR_INIT(&fields[90]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\003", "\000", "\000", "\000", "end"), UPB_TABVALUE_PTR_INIT(&fields[18]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\005", "\000", "\000", "\000", "start"), UPB_TABVALUE_PTR_INIT(&fields[88]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\005", "\000", "\000", "\000", "start"), UPB_TABVALUE_PTR_INIT(&fields[89]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\003", "\000", "\000", "\000", "end"), UPB_TABVALUE_PTR_INIT(&fields[17]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\005", "\000", "\000", "\000", "value"), UPB_TABVALUE_PTR_INIT(&fields[102]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\005", "\000", "\000", "\000", "value"), UPB_TABVALUE_PTR_INIT(&fields[103]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\007", "\000", "\000", "\000", "options"), UPB_TABVALUE_PTR_INIT(&fields[74]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[49]), &strentries[26]}, |
|
|
|
|
{UPB_TABKEY_STR("\024", "\000", "\000", "\000", "uninterpreted_option"), UPB_TABVALUE_PTR_INIT(&fields[98]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "deprecated"), UPB_TABVALUE_PTR_INIT(&fields[13]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[54]), &strentries[26]}, |
|
|
|
|
{UPB_TABKEY_STR("\024", "\000", "\000", "\000", "uninterpreted_option"), UPB_TABVALUE_PTR_INIT(&fields[102]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "deprecated"), UPB_TABVALUE_PTR_INIT(&fields[14]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\013", "\000", "\000", "\000", "allow_alias"), UPB_TABVALUE_PTR_INIT(&fields[1]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\006", "\000", "\000", "\000", "number"), UPB_TABVALUE_PTR_INIT(&fields[62]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\007", "\000", "\000", "\000", "options"), UPB_TABVALUE_PTR_INIT(&fields[73]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[53]), &strentries[34]}, |
|
|
|
|
{UPB_TABKEY_STR("\024", "\000", "\000", "\000", "uninterpreted_option"), UPB_TABVALUE_PTR_INIT(&fields[97]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "deprecated"), UPB_TABVALUE_PTR_INIT(&fields[15]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\007", "\000", "\000", "\000", "options"), UPB_TABVALUE_PTR_INIT(&fields[72]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[51]), &strentries[34]}, |
|
|
|
|
{UPB_TABKEY_STR("\024", "\000", "\000", "\000", "uninterpreted_option"), UPB_TABVALUE_PTR_INIT(&fields[101]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "deprecated"), UPB_TABVALUE_PTR_INIT(&fields[13]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\013", "\000", "\000", "\000", "oneof_index"), UPB_TABVALUE_PTR_INIT(&fields[66]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\005", "\000", "\000", "\000", "label"), UPB_TABVALUE_PTR_INIT(&fields[40]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[55]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[56]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
@ -6748,14 +6623,14 @@ static const upb_tabent strentries[236] = { |
|
|
|
|
{UPB_TABKEY_STR("\006", "\000", "\000", "\000", "number"), UPB_TABVALUE_PTR_INIT(&fields[63]), &strentries[53]}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\010", "\000", "\000", "\000", "extendee"), UPB_TABVALUE_PTR_INIT(&fields[21]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\011", "\000", "\000", "\000", "type_name"), UPB_TABVALUE_PTR_INIT(&fields[94]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\011", "\000", "\000", "\000", "type_name"), UPB_TABVALUE_PTR_INIT(&fields[95]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\011", "\000", "\000", "\000", "json_name"), UPB_TABVALUE_PTR_INIT(&fields[38]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "type"), UPB_TABVALUE_PTR_INIT(&fields[93]), &strentries[50]}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "type"), UPB_TABVALUE_PTR_INIT(&fields[94]), &strentries[50]}, |
|
|
|
|
{UPB_TABKEY_STR("\015", "\000", "\000", "\000", "default_value"), UPB_TABVALUE_PTR_INIT(&fields[7]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\007", "\000", "\000", "\000", "options"), UPB_TABVALUE_PTR_INIT(&fields[71]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\024", "\000", "\000", "\000", "uninterpreted_option"), UPB_TABVALUE_PTR_INIT(&fields[99]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "weak"), UPB_TABVALUE_PTR_INIT(&fields[103]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "weak"), UPB_TABVALUE_PTR_INIT(&fields[104]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
@ -6766,25 +6641,25 @@ static const upb_tabent strentries[236] = { |
|
|
|
|
{UPB_TABKEY_STR("\005", "\000", "\000", "\000", "ctype"), UPB_TABVALUE_PTR_INIT(&fields[6]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\006", "\000", "\000", "\000", "jstype"), UPB_TABVALUE_PTR_INIT(&fields[39]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "deprecated"), UPB_TABVALUE_PTR_INIT(&fields[10]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "deprecated"), UPB_TABVALUE_PTR_INIT(&fields[9]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\011", "\000", "\000", "\000", "extension"), UPB_TABVALUE_PTR_INIT(&fields[23]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\017", "\000", "\000", "\000", "weak_dependency"), UPB_TABVALUE_PTR_INIT(&fields[104]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\017", "\000", "\000", "\000", "weak_dependency"), UPB_TABVALUE_PTR_INIT(&fields[105]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[54]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\007", "\000", "\000", "\000", "service"), UPB_TABVALUE_PTR_INIT(&fields[85]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[57]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\007", "\000", "\000", "\000", "service"), UPB_TABVALUE_PTR_INIT(&fields[86]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\020", "\000", "\000", "\000", "source_code_info"), UPB_TABVALUE_PTR_INIT(&fields[86]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\020", "\000", "\000", "\000", "source_code_info"), UPB_TABVALUE_PTR_INIT(&fields[87]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\006", "\000", "\000", "\000", "syntax"), UPB_TABVALUE_PTR_INIT(&fields[91]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\006", "\000", "\000", "\000", "syntax"), UPB_TABVALUE_PTR_INIT(&fields[92]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "dependency"), UPB_TABVALUE_PTR_INIT(&fields[8]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\014", "\000", "\000", "\000", "message_type"), UPB_TABVALUE_PTR_INIT(&fields[47]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\007", "\000", "\000", "\000", "package"), UPB_TABVALUE_PTR_INIT(&fields[76]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\007", "\000", "\000", "\000", "options"), UPB_TABVALUE_PTR_INIT(&fields[69]), &strentries[86]}, |
|
|
|
|
{UPB_TABKEY_STR("\011", "\000", "\000", "\000", "enum_type"), UPB_TABVALUE_PTR_INIT(&fields[20]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\021", "\000", "\000", "\000", "public_dependency"), UPB_TABVALUE_PTR_INIT(&fields[80]), &strentries[85]}, |
|
|
|
|
{UPB_TABKEY_STR("\007", "\000", "\000", "\000", "options"), UPB_TABVALUE_PTR_INIT(&fields[68]), &strentries[86]}, |
|
|
|
|
{UPB_TABKEY_STR("\011", "\000", "\000", "\000", "enum_type"), UPB_TABVALUE_PTR_INIT(&fields[19]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\021", "\000", "\000", "\000", "public_dependency"), UPB_TABVALUE_PTR_INIT(&fields[81]), &strentries[85]}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "file"), UPB_TABVALUE_PTR_INIT(&fields[26]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
@ -6792,7 +6667,7 @@ static const upb_tabent strentries[236] = { |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\023", "\000", "\000", "\000", "cc_generic_services"), UPB_TABVALUE_PTR_INIT(&fields[3]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\020", "\000", "\000", "\000", "csharp_namespace"), UPB_TABVALUE_PTR_INIT(&fields[5]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\020", "\000", "\000", "\000", "csharp_namespace"), UPB_TABVALUE_PTR_INIT(&fields[5]), &strentries[116]}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
@ -6805,7 +6680,7 @@ static const upb_tabent strentries[236] = { |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\024", "\000", "\000", "\000", "java_outer_classname"), UPB_TABVALUE_PTR_INIT(&fields[34]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\024", "\000", "\000", "\000", "uninterpreted_option"), UPB_TABVALUE_PTR_INIT(&fields[95]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\024", "\000", "\000", "\000", "uninterpreted_option"), UPB_TABVALUE_PTR_INIT(&fields[100]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
@ -6813,9 +6688,9 @@ static const upb_tabent strentries[236] = { |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\025", "\000", "\000", "\000", "java_generic_services"), UPB_TABVALUE_PTR_INIT(&fields[32]), &strentries[118]}, |
|
|
|
|
{UPB_TABKEY_STR("\035", "\000", "\000", "\000", "java_generate_equals_and_hash"), UPB_TABVALUE_PTR_INIT(&fields[31]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\020", "\000", "\000", "\000", "php_class_prefix"), UPB_TABVALUE_PTR_INIT(&fields[79]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\037", "\000", "\000", "\000", "javanano_use_deprecated_package"), UPB_TABVALUE_PTR_INIT(&fields[37]), &strentries[123]}, |
|
|
|
|
{UPB_TABKEY_STR("\023", "\000", "\000", "\000", "py_generic_services"), UPB_TABVALUE_PTR_INIT(&fields[81]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\023", "\000", "\000", "\000", "py_generic_services"), UPB_TABVALUE_PTR_INIT(&fields[82]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\014", "\000", "\000", "\000", "optimize_for"), UPB_TABVALUE_PTR_INIT(&fields[67]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\026", "\000", "\000", "\000", "java_string_check_utf8"), UPB_TABVALUE_PTR_INIT(&fields[36]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "deprecated"), UPB_TABVALUE_PTR_INIT(&fields[12]), &strentries[119]}, |
|
|
|
@ -6825,32 +6700,32 @@ static const upb_tabent strentries[236] = { |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\024", "\000", "\000", "\000", "uninterpreted_option"), UPB_TABVALUE_PTR_INIT(&fields[96]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "deprecated"), UPB_TABVALUE_PTR_INIT(&fields[9]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\024", "\000", "\000", "\000", "uninterpreted_option"), UPB_TABVALUE_PTR_INIT(&fields[97]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "deprecated"), UPB_TABVALUE_PTR_INIT(&fields[11]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\011", "\000", "\000", "\000", "map_entry"), UPB_TABVALUE_PTR_INIT(&fields[45]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\037", "\000", "\000", "\000", "no_standard_descriptor_accessor"), UPB_TABVALUE_PTR_INIT(&fields[61]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\020", "\000", "\000", "\000", "client_streaming"), UPB_TABVALUE_PTR_INIT(&fields[4]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\020", "\000", "\000", "\000", "server_streaming"), UPB_TABVALUE_PTR_INIT(&fields[84]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[56]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\020", "\000", "\000", "\000", "server_streaming"), UPB_TABVALUE_PTR_INIT(&fields[85]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[52]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "input_type"), UPB_TABVALUE_PTR_INIT(&fields[29]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\013", "\000", "\000", "\000", "output_type"), UPB_TABVALUE_PTR_INIT(&fields[75]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\007", "\000", "\000", "\000", "options"), UPB_TABVALUE_PTR_INIT(&fields[70]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\024", "\000", "\000", "\000", "uninterpreted_option"), UPB_TABVALUE_PTR_INIT(&fields[100]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "deprecated"), UPB_TABVALUE_PTR_INIT(&fields[11]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\024", "\000", "\000", "\000", "uninterpreted_option"), UPB_TABVALUE_PTR_INIT(&fields[96]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "deprecated"), UPB_TABVALUE_PTR_INIT(&fields[10]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[50]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[55]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\007", "\000", "\000", "\000", "options"), UPB_TABVALUE_PTR_INIT(&fields[72]), &strentries[150]}, |
|
|
|
|
{UPB_TABKEY_STR("\007", "\000", "\000", "\000", "options"), UPB_TABVALUE_PTR_INIT(&fields[73]), &strentries[150]}, |
|
|
|
|
{UPB_TABKEY_STR("\006", "\000", "\000", "\000", "method"), UPB_TABVALUE_PTR_INIT(&fields[48]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[57]), &strentries[149]}, |
|
|
|
|
{UPB_TABKEY_STR("\024", "\000", "\000", "\000", "uninterpreted_option"), UPB_TABVALUE_PTR_INIT(&fields[101]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "deprecated"), UPB_TABVALUE_PTR_INIT(&fields[14]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[53]), &strentries[149]}, |
|
|
|
|
{UPB_TABKEY_STR("\024", "\000", "\000", "\000", "uninterpreted_option"), UPB_TABVALUE_PTR_INIT(&fields[98]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\012", "\000", "\000", "\000", "deprecated"), UPB_TABVALUE_PTR_INIT(&fields[15]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
@ -6860,15 +6735,15 @@ static const upb_tabent strentries[236] = { |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "span"), UPB_TABVALUE_PTR_INIT(&fields[87]), &strentries[167]}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "span"), UPB_TABVALUE_PTR_INIT(&fields[88]), &strentries[167]}, |
|
|
|
|
{UPB_TABKEY_STR("\031", "\000", "\000", "\000", "leading_detached_comments"), UPB_TABVALUE_PTR_INIT(&fields[43]), &strentries[165]}, |
|
|
|
|
{UPB_TABKEY_STR("\021", "\000", "\000", "\000", "trailing_comments"), UPB_TABVALUE_PTR_INIT(&fields[92]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\021", "\000", "\000", "\000", "trailing_comments"), UPB_TABVALUE_PTR_INIT(&fields[93]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\020", "\000", "\000", "\000", "leading_comments"), UPB_TABVALUE_PTR_INIT(&fields[42]), &strentries[164]}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "path"), UPB_TABVALUE_PTR_INIT(&fields[78]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\014", "\000", "\000", "\000", "double_value"), UPB_TABVALUE_PTR_INIT(&fields[16]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[51]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\004", "\000", "\000", "\000", "name"), UPB_TABVALUE_PTR_INIT(&fields[49]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
@ -6878,9 +6753,9 @@ static const upb_tabent strentries[236] = { |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\022", "\000", "\000", "\000", "positive_int_value"), UPB_TABVALUE_PTR_INIT(&fields[79]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\022", "\000", "\000", "\000", "positive_int_value"), UPB_TABVALUE_PTR_INIT(&fields[80]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\020", "\000", "\000", "\000", "identifier_value"), UPB_TABVALUE_PTR_INIT(&fields[28]), NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\014", "\000", "\000", "\000", "string_value"), UPB_TABVALUE_PTR_INIT(&fields[90]), &strentries[182]}, |
|
|
|
|
{UPB_TABKEY_STR("\014", "\000", "\000", "\000", "string_value"), UPB_TABVALUE_PTR_INIT(&fields[91]), &strentries[182]}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_STR("\014", "\000", "\000", "\000", "is_extension"), UPB_TABVALUE_PTR_INIT(&fields[30]), NULL}, |
|
|
|
@ -6937,64 +6812,64 @@ static const upb_tabent strentries[236] = { |
|
|
|
|
|
|
|
|
|
static const upb_tabent intentries[18] = { |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(999), UPB_TABVALUE_PTR_INIT(&fields[98]), NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(999), UPB_TABVALUE_PTR_INIT(&fields[102]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(999), UPB_TABVALUE_PTR_INIT(&fields[97]), NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(999), UPB_TABVALUE_PTR_INIT(&fields[101]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(999), UPB_TABVALUE_PTR_INIT(&fields[99]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(999), UPB_TABVALUE_PTR_INIT(&fields[95]), NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(999), UPB_TABVALUE_PTR_INIT(&fields[100]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(999), UPB_TABVALUE_PTR_INIT(&fields[96]), NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(999), UPB_TABVALUE_PTR_INIT(&fields[97]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(33), UPB_TABVALUE_PTR_INIT(&fields[11]), NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(33), UPB_TABVALUE_PTR_INIT(&fields[10]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(999), UPB_TABVALUE_PTR_INIT(&fields[100]), NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(999), UPB_TABVALUE_PTR_INIT(&fields[96]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(33), UPB_TABVALUE_PTR_INIT(&fields[14]), NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(33), UPB_TABVALUE_PTR_INIT(&fields[15]), NULL}, |
|
|
|
|
{UPB_TABKEY_NONE, UPB_TABVALUE_EMPTY_INIT, NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(999), UPB_TABVALUE_PTR_INIT(&fields[101]), NULL}, |
|
|
|
|
{UPB_TABKEY_NUM(999), UPB_TABVALUE_PTR_INIT(&fields[98]), NULL}, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
static const upb_tabval arrays[184] = { |
|
|
|
|
static const upb_tabval arrays[186] = { |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[52]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[50]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[25]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[60]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[19]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[20]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[24]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[22]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[68]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[69]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[65]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[84]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[83]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[82]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[89]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[90]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[18]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[88]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[89]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[17]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[49]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[102]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[54]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[103]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[74]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[1]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[13]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[14]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[53]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[51]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[62]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[73]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[72]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[15]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[13]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[55]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[56]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[21]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[63]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[40]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[93]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[94]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[95]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[7]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[71]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[66]), |
|
|
|
@ -7002,27 +6877,27 @@ static const upb_tabval arrays[184] = { |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[6]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[77]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[10]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[9]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[41]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[39]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[103]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[104]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[54]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[57]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[76]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[8]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[47]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[20]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[85]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[23]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[69]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[19]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[86]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[80]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[104]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[91]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[23]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[68]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[87]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[81]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[105]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[92]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[26]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
@ -7043,7 +6918,7 @@ static const upb_tabval arrays[184] = { |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[3]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[32]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[81]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[82]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[31]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
@ -7065,45 +6940,47 @@ static const upb_tabval arrays[184] = { |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[5]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[37]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[79]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[46]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[61]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[9]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[11]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[45]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[56]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[52]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[29]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[75]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[70]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[4]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[84]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[85]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[50]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[55]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[57]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[53]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[48]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[72]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[73]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[44]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[78]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[87]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[88]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[42]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[92]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[93]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[43]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[51]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[49]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[28]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[79]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[80]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[59]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[16]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[90]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[91]), |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[0]), |
|
|
|
|
UPB_TABVALUE_EMPTY_INIT, |
|
|
|
|
UPB_TABVALUE_PTR_INIT(&fields[58]), |
|
|
|
@ -7144,7 +7021,9 @@ static const upb_tabval arrays[184] = { |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
#ifdef UPB_DEBUG_REFS |
|
|
|
|
static upb_inttable reftables[264] = { |
|
|
|
|
static upb_inttable reftables[266] = { |
|
|
|
|
UPB_EMPTY_INTTABLE_INIT(UPB_CTYPE_PTR), |
|
|
|
|
UPB_EMPTY_INTTABLE_INIT(UPB_CTYPE_PTR), |
|
|
|
|
UPB_EMPTY_INTTABLE_INIT(UPB_CTYPE_PTR), |
|
|
|
|
UPB_EMPTY_INTTABLE_INIT(UPB_CTYPE_PTR), |
|
|
|
|
UPB_EMPTY_INTTABLE_INIT(UPB_CTYPE_PTR), |
|
|
|
@ -7686,6 +7565,21 @@ static size_t file_onpackage(void *closure, const void *hd, const char *buf, |
|
|
|
|
return n; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static size_t file_onphpprefix(void *closure, const void *hd, const char *buf, |
|
|
|
|
size_t n, const upb_bufhandle *handle) { |
|
|
|
|
upb_descreader *r = closure; |
|
|
|
|
char *prefix; |
|
|
|
|
bool ok; |
|
|
|
|
UPB_UNUSED(hd); |
|
|
|
|
UPB_UNUSED(handle); |
|
|
|
|
|
|
|
|
|
prefix = upb_gstrndup(buf, n); |
|
|
|
|
ok = upb_filedef_setphpprefix(r->file, prefix, NULL); |
|
|
|
|
upb_gfree(prefix); |
|
|
|
|
UPB_ASSERT(ok); |
|
|
|
|
return n; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static size_t file_onsyntax(void *closure, const void *hd, const char *buf, |
|
|
|
|
size_t n, const upb_bufhandle *handle) { |
|
|
|
|
upb_descreader *r = closure; |
|
|
|
@ -8212,6 +8106,9 @@ static void reghandlers(const void *closure, upb_handlers *h) { |
|
|
|
|
upb_handlers_setbool(h, F(FieldOptions, packed), &field_onpacked, NULL); |
|
|
|
|
} else if (upbdefs_google_protobuf_MessageOptions_is(m)) { |
|
|
|
|
upb_handlers_setbool(h, F(MessageOptions, map_entry), &msg_onmapentry, NULL); |
|
|
|
|
} else if (upbdefs_google_protobuf_FileOptions_is(m)) { |
|
|
|
|
upb_handlers_setstring(h, F(FileOptions, php_class_prefix), |
|
|
|
|
&file_onphpprefix, NULL); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
UPB_ASSERT(upb_ok(upb_handlers_status(h))); |
|
|
|
|