|
|
|
@ -236,7 +236,7 @@ typedef enum { |
|
|
|
|
/* google.protobuf.FileDescriptorSet */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_FileDescriptorSet* google_protobuf_FileDescriptorSet_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_FileDescriptorSet*)_upb_Message_New(google__protobuf__FileDescriptorSet_msg_init(), arena); |
|
|
|
|
return (google_protobuf_FileDescriptorSet*)upb_Message_New(google__protobuf__FileDescriptorSet_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FileDescriptorSet* google_protobuf_FileDescriptorSet_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_FileDescriptorSet* ret = google_protobuf_FileDescriptorSet_new(arena); |
|
|
|
@ -327,7 +327,7 @@ UPB_INLINE struct google_protobuf_FileDescriptorProto* google_protobuf_FileDescr |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_FileDescriptorProto* sub = (struct google_protobuf_FileDescriptorProto*)_upb_Message_New(google__protobuf__FileDescriptorProto_msg_init(), arena); |
|
|
|
|
struct google_protobuf_FileDescriptorProto* sub = (struct google_protobuf_FileDescriptorProto*)upb_Message_New(google__protobuf__FileDescriptorProto_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -336,7 +336,7 @@ UPB_INLINE struct google_protobuf_FileDescriptorProto* google_protobuf_FileDescr |
|
|
|
|
/* google.protobuf.FileDescriptorProto */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_FileDescriptorProto* google_protobuf_FileDescriptorProto_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_FileDescriptorProto*)_upb_Message_New(google__protobuf__FileDescriptorProto_msg_init(), arena); |
|
|
|
|
return (google_protobuf_FileDescriptorProto*)upb_Message_New(google__protobuf__FileDescriptorProto_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FileDescriptorProto* google_protobuf_FileDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_FileDescriptorProto* ret = google_protobuf_FileDescriptorProto_new(arena); |
|
|
|
@ -771,7 +771,7 @@ UPB_INLINE struct google_protobuf_DescriptorProto* google_protobuf_FileDescripto |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_DescriptorProto* sub = (struct google_protobuf_DescriptorProto*)_upb_Message_New(google__protobuf__DescriptorProto_msg_init(), arena); |
|
|
|
|
struct google_protobuf_DescriptorProto* sub = (struct google_protobuf_DescriptorProto*)upb_Message_New(google__protobuf__DescriptorProto_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -797,7 +797,7 @@ UPB_INLINE struct google_protobuf_EnumDescriptorProto* google_protobuf_FileDescr |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_EnumDescriptorProto* sub = (struct google_protobuf_EnumDescriptorProto*)_upb_Message_New(google__protobuf__EnumDescriptorProto_msg_init(), arena); |
|
|
|
|
struct google_protobuf_EnumDescriptorProto* sub = (struct google_protobuf_EnumDescriptorProto*)upb_Message_New(google__protobuf__EnumDescriptorProto_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -823,7 +823,7 @@ UPB_INLINE struct google_protobuf_ServiceDescriptorProto* google_protobuf_FileDe |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_ServiceDescriptorProto* sub = (struct google_protobuf_ServiceDescriptorProto*)_upb_Message_New(google__protobuf__ServiceDescriptorProto_msg_init(), arena); |
|
|
|
|
struct google_protobuf_ServiceDescriptorProto* sub = (struct google_protobuf_ServiceDescriptorProto*)upb_Message_New(google__protobuf__ServiceDescriptorProto_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -849,7 +849,7 @@ UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_FileDesc |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_FieldDescriptorProto* sub = (struct google_protobuf_FieldDescriptorProto*)_upb_Message_New(google__protobuf__FieldDescriptorProto_msg_init(), arena); |
|
|
|
|
struct google_protobuf_FieldDescriptorProto* sub = (struct google_protobuf_FieldDescriptorProto*)upb_Message_New(google__protobuf__FieldDescriptorProto_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -861,7 +861,7 @@ UPB_INLINE void google_protobuf_FileDescriptorProto_set_options(google_protobuf_ |
|
|
|
|
UPB_INLINE struct google_protobuf_FileOptions* google_protobuf_FileDescriptorProto_mutable_options(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_FileOptions* sub = (struct google_protobuf_FileOptions*)google_protobuf_FileDescriptorProto_options(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_FileOptions*)_upb_Message_New(google__protobuf__FileOptions_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_FileOptions*)upb_Message_New(google__protobuf__FileOptions_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_FileDescriptorProto_set_options(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -873,7 +873,7 @@ UPB_INLINE void google_protobuf_FileDescriptorProto_set_source_code_info(google_ |
|
|
|
|
UPB_INLINE struct google_protobuf_SourceCodeInfo* google_protobuf_FileDescriptorProto_mutable_source_code_info(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_SourceCodeInfo* sub = (struct google_protobuf_SourceCodeInfo*)google_protobuf_FileDescriptorProto_source_code_info(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_SourceCodeInfo*)_upb_Message_New(google__protobuf__SourceCodeInfo_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_SourceCodeInfo*)upb_Message_New(google__protobuf__SourceCodeInfo_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_FileDescriptorProto_set_source_code_info(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -938,7 +938,7 @@ UPB_INLINE void google_protobuf_FileDescriptorProto_set_edition(google_protobuf_ |
|
|
|
|
/* google.protobuf.DescriptorProto */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_DescriptorProto* google_protobuf_DescriptorProto_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_DescriptorProto*)_upb_Message_New(google__protobuf__DescriptorProto_msg_init(), arena); |
|
|
|
|
return (google_protobuf_DescriptorProto*)upb_Message_New(google__protobuf__DescriptorProto_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_DescriptorProto* google_protobuf_DescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_DescriptorProto* ret = google_protobuf_DescriptorProto_new(arena); |
|
|
|
@ -1322,7 +1322,7 @@ UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_Descript |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_FieldDescriptorProto* sub = (struct google_protobuf_FieldDescriptorProto*)_upb_Message_New(google__protobuf__FieldDescriptorProto_msg_init(), arena); |
|
|
|
|
struct google_protobuf_FieldDescriptorProto* sub = (struct google_protobuf_FieldDescriptorProto*)upb_Message_New(google__protobuf__FieldDescriptorProto_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -1348,7 +1348,7 @@ UPB_INLINE struct google_protobuf_DescriptorProto* google_protobuf_DescriptorPro |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_DescriptorProto* sub = (struct google_protobuf_DescriptorProto*)_upb_Message_New(google__protobuf__DescriptorProto_msg_init(), arena); |
|
|
|
|
struct google_protobuf_DescriptorProto* sub = (struct google_protobuf_DescriptorProto*)upb_Message_New(google__protobuf__DescriptorProto_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -1374,7 +1374,7 @@ UPB_INLINE struct google_protobuf_EnumDescriptorProto* google_protobuf_Descripto |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_EnumDescriptorProto* sub = (struct google_protobuf_EnumDescriptorProto*)_upb_Message_New(google__protobuf__EnumDescriptorProto_msg_init(), arena); |
|
|
|
|
struct google_protobuf_EnumDescriptorProto* sub = (struct google_protobuf_EnumDescriptorProto*)upb_Message_New(google__protobuf__EnumDescriptorProto_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -1400,7 +1400,7 @@ UPB_INLINE struct google_protobuf_DescriptorProto_ExtensionRange* google_protobu |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_DescriptorProto_ExtensionRange* sub = (struct google_protobuf_DescriptorProto_ExtensionRange*)_upb_Message_New(google__protobuf__DescriptorProto__ExtensionRange_msg_init(), arena); |
|
|
|
|
struct google_protobuf_DescriptorProto_ExtensionRange* sub = (struct google_protobuf_DescriptorProto_ExtensionRange*)upb_Message_New(google__protobuf__DescriptorProto__ExtensionRange_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -1426,7 +1426,7 @@ UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_Descript |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_FieldDescriptorProto* sub = (struct google_protobuf_FieldDescriptorProto*)_upb_Message_New(google__protobuf__FieldDescriptorProto_msg_init(), arena); |
|
|
|
|
struct google_protobuf_FieldDescriptorProto* sub = (struct google_protobuf_FieldDescriptorProto*)upb_Message_New(google__protobuf__FieldDescriptorProto_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -1438,7 +1438,7 @@ UPB_INLINE void google_protobuf_DescriptorProto_set_options(google_protobuf_Desc |
|
|
|
|
UPB_INLINE struct google_protobuf_MessageOptions* google_protobuf_DescriptorProto_mutable_options(google_protobuf_DescriptorProto* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_MessageOptions* sub = (struct google_protobuf_MessageOptions*)google_protobuf_DescriptorProto_options(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_MessageOptions*)_upb_Message_New(google__protobuf__MessageOptions_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_MessageOptions*)upb_Message_New(google__protobuf__MessageOptions_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_DescriptorProto_set_options(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -1464,7 +1464,7 @@ UPB_INLINE struct google_protobuf_OneofDescriptorProto* google_protobuf_Descript |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_OneofDescriptorProto* sub = (struct google_protobuf_OneofDescriptorProto*)_upb_Message_New(google__protobuf__OneofDescriptorProto_msg_init(), arena); |
|
|
|
|
struct google_protobuf_OneofDescriptorProto* sub = (struct google_protobuf_OneofDescriptorProto*)upb_Message_New(google__protobuf__OneofDescriptorProto_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -1490,7 +1490,7 @@ UPB_INLINE struct google_protobuf_DescriptorProto_ReservedRange* google_protobuf |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_DescriptorProto_ReservedRange* sub = (struct google_protobuf_DescriptorProto_ReservedRange*)_upb_Message_New(google__protobuf__DescriptorProto__ReservedRange_msg_init(), arena); |
|
|
|
|
struct google_protobuf_DescriptorProto_ReservedRange* sub = (struct google_protobuf_DescriptorProto_ReservedRange*)upb_Message_New(google__protobuf__DescriptorProto__ReservedRange_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -1523,7 +1523,7 @@ UPB_INLINE bool google_protobuf_DescriptorProto_add_reserved_name(google_protobu |
|
|
|
|
/* google.protobuf.DescriptorProto.ExtensionRange */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange* google_protobuf_DescriptorProto_ExtensionRange_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_DescriptorProto_ExtensionRange*)_upb_Message_New(google__protobuf__DescriptorProto__ExtensionRange_msg_init(), arena); |
|
|
|
|
return (google_protobuf_DescriptorProto_ExtensionRange*)upb_Message_New(google__protobuf__DescriptorProto__ExtensionRange_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_DescriptorProto_ExtensionRange* google_protobuf_DescriptorProto_ExtensionRange_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_DescriptorProto_ExtensionRange* ret = google_protobuf_DescriptorProto_ExtensionRange_new(arena); |
|
|
|
@ -1616,7 +1616,7 @@ UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_options(googl |
|
|
|
|
UPB_INLINE struct google_protobuf_ExtensionRangeOptions* google_protobuf_DescriptorProto_ExtensionRange_mutable_options(google_protobuf_DescriptorProto_ExtensionRange* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_ExtensionRangeOptions* sub = (struct google_protobuf_ExtensionRangeOptions*)google_protobuf_DescriptorProto_ExtensionRange_options(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_ExtensionRangeOptions*)_upb_Message_New(google__protobuf__ExtensionRangeOptions_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_ExtensionRangeOptions*)upb_Message_New(google__protobuf__ExtensionRangeOptions_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_DescriptorProto_ExtensionRange_set_options(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -1625,7 +1625,7 @@ UPB_INLINE struct google_protobuf_ExtensionRangeOptions* google_protobuf_Descrip |
|
|
|
|
/* google.protobuf.DescriptorProto.ReservedRange */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_DescriptorProto_ReservedRange* google_protobuf_DescriptorProto_ReservedRange_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_DescriptorProto_ReservedRange*)_upb_Message_New(google__protobuf__DescriptorProto__ReservedRange_msg_init(), arena); |
|
|
|
|
return (google_protobuf_DescriptorProto_ReservedRange*)upb_Message_New(google__protobuf__DescriptorProto__ReservedRange_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_DescriptorProto_ReservedRange* google_protobuf_DescriptorProto_ReservedRange_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_DescriptorProto_ReservedRange* ret = google_protobuf_DescriptorProto_ReservedRange_new(arena); |
|
|
|
@ -1700,7 +1700,7 @@ UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_set_end(google_pro |
|
|
|
|
/* google.protobuf.ExtensionRangeOptions */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_ExtensionRangeOptions* google_protobuf_ExtensionRangeOptions_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_ExtensionRangeOptions*)_upb_Message_New(google__protobuf__ExtensionRangeOptions_msg_init(), arena); |
|
|
|
|
return (google_protobuf_ExtensionRangeOptions*)upb_Message_New(google__protobuf__ExtensionRangeOptions_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_ExtensionRangeOptions* google_protobuf_ExtensionRangeOptions_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_ExtensionRangeOptions* ret = google_protobuf_ExtensionRangeOptions_new(arena); |
|
|
|
@ -1858,7 +1858,7 @@ UPB_INLINE struct google_protobuf_ExtensionRangeOptions_Declaration* google_prot |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_ExtensionRangeOptions_Declaration* sub = (struct google_protobuf_ExtensionRangeOptions_Declaration*)_upb_Message_New(google__protobuf__ExtensionRangeOptions__Declaration_msg_init(), arena); |
|
|
|
|
struct google_protobuf_ExtensionRangeOptions_Declaration* sub = (struct google_protobuf_ExtensionRangeOptions_Declaration*)upb_Message_New(google__protobuf__ExtensionRangeOptions__Declaration_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -1874,7 +1874,7 @@ UPB_INLINE void google_protobuf_ExtensionRangeOptions_set_features(google_protob |
|
|
|
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_ExtensionRangeOptions_mutable_features(google_protobuf_ExtensionRangeOptions* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_ExtensionRangeOptions_features(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_ExtensionRangeOptions_set_features(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -1900,7 +1900,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_Extension |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -1909,7 +1909,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_Extension |
|
|
|
|
/* google.protobuf.ExtensionRangeOptions.Declaration */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_ExtensionRangeOptions_Declaration* google_protobuf_ExtensionRangeOptions_Declaration_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_ExtensionRangeOptions_Declaration*)_upb_Message_New(google__protobuf__ExtensionRangeOptions__Declaration_msg_init(), arena); |
|
|
|
|
return (google_protobuf_ExtensionRangeOptions_Declaration*)upb_Message_New(google__protobuf__ExtensionRangeOptions__Declaration_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_ExtensionRangeOptions_Declaration* google_protobuf_ExtensionRangeOptions_Declaration_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_ExtensionRangeOptions_Declaration* ret = google_protobuf_ExtensionRangeOptions_Declaration_new(arena); |
|
|
|
@ -2041,7 +2041,7 @@ UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_repeated(g |
|
|
|
|
/* google.protobuf.FieldDescriptorProto */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_FieldDescriptorProto* google_protobuf_FieldDescriptorProto_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_FieldDescriptorProto*)_upb_Message_New(google__protobuf__FieldDescriptorProto_msg_init(), arena); |
|
|
|
|
return (google_protobuf_FieldDescriptorProto*)upb_Message_New(google__protobuf__FieldDescriptorProto_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FieldDescriptorProto* google_protobuf_FieldDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_FieldDescriptorProto* ret = google_protobuf_FieldDescriptorProto_new(arena); |
|
|
|
@ -2274,7 +2274,7 @@ UPB_INLINE void google_protobuf_FieldDescriptorProto_set_options(google_protobuf |
|
|
|
|
UPB_INLINE struct google_protobuf_FieldOptions* google_protobuf_FieldDescriptorProto_mutable_options(google_protobuf_FieldDescriptorProto* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_FieldOptions* sub = (struct google_protobuf_FieldOptions*)google_protobuf_FieldDescriptorProto_options(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_FieldOptions*)_upb_Message_New(google__protobuf__FieldOptions_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_FieldOptions*)upb_Message_New(google__protobuf__FieldOptions_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_FieldDescriptorProto_set_options(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -2295,7 +2295,7 @@ UPB_INLINE void google_protobuf_FieldDescriptorProto_set_proto3_optional(google_ |
|
|
|
|
/* google.protobuf.OneofDescriptorProto */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_OneofDescriptorProto* google_protobuf_OneofDescriptorProto_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_OneofDescriptorProto*)_upb_Message_New(google__protobuf__OneofDescriptorProto_msg_init(), arena); |
|
|
|
|
return (google_protobuf_OneofDescriptorProto*)upb_Message_New(google__protobuf__OneofDescriptorProto_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_OneofDescriptorProto* google_protobuf_OneofDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_OneofDescriptorProto* ret = google_protobuf_OneofDescriptorProto_new(arena); |
|
|
|
@ -2369,7 +2369,7 @@ UPB_INLINE void google_protobuf_OneofDescriptorProto_set_options(google_protobuf |
|
|
|
|
UPB_INLINE struct google_protobuf_OneofOptions* google_protobuf_OneofDescriptorProto_mutable_options(google_protobuf_OneofDescriptorProto* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_OneofOptions* sub = (struct google_protobuf_OneofOptions*)google_protobuf_OneofDescriptorProto_options(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_OneofOptions*)_upb_Message_New(google__protobuf__OneofOptions_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_OneofOptions*)upb_Message_New(google__protobuf__OneofOptions_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_OneofDescriptorProto_set_options(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -2378,7 +2378,7 @@ UPB_INLINE struct google_protobuf_OneofOptions* google_protobuf_OneofDescriptorP |
|
|
|
|
/* google.protobuf.EnumDescriptorProto */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_EnumDescriptorProto* google_protobuf_EnumDescriptorProto_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_EnumDescriptorProto*)_upb_Message_New(google__protobuf__EnumDescriptorProto_msg_init(), arena); |
|
|
|
|
return (google_protobuf_EnumDescriptorProto*)upb_Message_New(google__protobuf__EnumDescriptorProto_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_EnumDescriptorProto* google_protobuf_EnumDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_EnumDescriptorProto* ret = google_protobuf_EnumDescriptorProto_new(arena); |
|
|
|
@ -2577,7 +2577,7 @@ UPB_INLINE struct google_protobuf_EnumValueDescriptorProto* google_protobuf_Enum |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_EnumValueDescriptorProto* sub = (struct google_protobuf_EnumValueDescriptorProto*)_upb_Message_New(google__protobuf__EnumValueDescriptorProto_msg_init(), arena); |
|
|
|
|
struct google_protobuf_EnumValueDescriptorProto* sub = (struct google_protobuf_EnumValueDescriptorProto*)upb_Message_New(google__protobuf__EnumValueDescriptorProto_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -2589,7 +2589,7 @@ UPB_INLINE void google_protobuf_EnumDescriptorProto_set_options(google_protobuf_ |
|
|
|
|
UPB_INLINE struct google_protobuf_EnumOptions* google_protobuf_EnumDescriptorProto_mutable_options(google_protobuf_EnumDescriptorProto* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_EnumOptions* sub = (struct google_protobuf_EnumOptions*)google_protobuf_EnumDescriptorProto_options(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_EnumOptions*)_upb_Message_New(google__protobuf__EnumOptions_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_EnumOptions*)upb_Message_New(google__protobuf__EnumOptions_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_EnumDescriptorProto_set_options(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -2615,7 +2615,7 @@ UPB_INLINE struct google_protobuf_EnumDescriptorProto_EnumReservedRange* google_ |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_EnumDescriptorProto_EnumReservedRange* sub = (struct google_protobuf_EnumDescriptorProto_EnumReservedRange*)_upb_Message_New(google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init(), arena); |
|
|
|
|
struct google_protobuf_EnumDescriptorProto_EnumReservedRange* sub = (struct google_protobuf_EnumDescriptorProto_EnumReservedRange*)upb_Message_New(google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -2648,7 +2648,7 @@ UPB_INLINE bool google_protobuf_EnumDescriptorProto_add_reserved_name(google_pro |
|
|
|
|
/* google.protobuf.EnumDescriptorProto.EnumReservedRange */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange* google_protobuf_EnumDescriptorProto_EnumReservedRange_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_EnumDescriptorProto_EnumReservedRange*)_upb_Message_New(google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init(), arena); |
|
|
|
|
return (google_protobuf_EnumDescriptorProto_EnumReservedRange*)upb_Message_New(google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_EnumDescriptorProto_EnumReservedRange* google_protobuf_EnumDescriptorProto_EnumReservedRange_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_EnumDescriptorProto_EnumReservedRange* ret = google_protobuf_EnumDescriptorProto_EnumReservedRange_new(arena); |
|
|
|
@ -2723,7 +2723,7 @@ UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_set_end(go |
|
|
|
|
/* google.protobuf.EnumValueDescriptorProto */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_EnumValueDescriptorProto* google_protobuf_EnumValueDescriptorProto_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_EnumValueDescriptorProto*)_upb_Message_New(google__protobuf__EnumValueDescriptorProto_msg_init(), arena); |
|
|
|
|
return (google_protobuf_EnumValueDescriptorProto*)upb_Message_New(google__protobuf__EnumValueDescriptorProto_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_EnumValueDescriptorProto* google_protobuf_EnumValueDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_EnumValueDescriptorProto* ret = google_protobuf_EnumValueDescriptorProto_new(arena); |
|
|
|
@ -2816,7 +2816,7 @@ UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_options(google_prot |
|
|
|
|
UPB_INLINE struct google_protobuf_EnumValueOptions* google_protobuf_EnumValueDescriptorProto_mutable_options(google_protobuf_EnumValueDescriptorProto* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_EnumValueOptions* sub = (struct google_protobuf_EnumValueOptions*)google_protobuf_EnumValueDescriptorProto_options(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_EnumValueOptions*)_upb_Message_New(google__protobuf__EnumValueOptions_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_EnumValueOptions*)upb_Message_New(google__protobuf__EnumValueOptions_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_EnumValueDescriptorProto_set_options(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -2825,7 +2825,7 @@ UPB_INLINE struct google_protobuf_EnumValueOptions* google_protobuf_EnumValueDes |
|
|
|
|
/* google.protobuf.ServiceDescriptorProto */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_ServiceDescriptorProto* google_protobuf_ServiceDescriptorProto_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_ServiceDescriptorProto*)_upb_Message_New(google__protobuf__ServiceDescriptorProto_msg_init(), arena); |
|
|
|
|
return (google_protobuf_ServiceDescriptorProto*)upb_Message_New(google__protobuf__ServiceDescriptorProto_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_ServiceDescriptorProto* google_protobuf_ServiceDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_ServiceDescriptorProto* ret = google_protobuf_ServiceDescriptorProto_new(arena); |
|
|
|
@ -2950,7 +2950,7 @@ UPB_INLINE struct google_protobuf_MethodDescriptorProto* google_protobuf_Service |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_MethodDescriptorProto* sub = (struct google_protobuf_MethodDescriptorProto*)_upb_Message_New(google__protobuf__MethodDescriptorProto_msg_init(), arena); |
|
|
|
|
struct google_protobuf_MethodDescriptorProto* sub = (struct google_protobuf_MethodDescriptorProto*)upb_Message_New(google__protobuf__MethodDescriptorProto_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -2962,7 +2962,7 @@ UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_options(google_protob |
|
|
|
|
UPB_INLINE struct google_protobuf_ServiceOptions* google_protobuf_ServiceDescriptorProto_mutable_options(google_protobuf_ServiceDescriptorProto* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_ServiceOptions* sub = (struct google_protobuf_ServiceOptions*)google_protobuf_ServiceDescriptorProto_options(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_ServiceOptions*)_upb_Message_New(google__protobuf__ServiceOptions_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_ServiceOptions*)upb_Message_New(google__protobuf__ServiceOptions_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_ServiceDescriptorProto_set_options(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -2971,7 +2971,7 @@ UPB_INLINE struct google_protobuf_ServiceOptions* google_protobuf_ServiceDescrip |
|
|
|
|
/* google.protobuf.MethodDescriptorProto */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_MethodDescriptorProto* google_protobuf_MethodDescriptorProto_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_MethodDescriptorProto*)_upb_Message_New(google__protobuf__MethodDescriptorProto_msg_init(), arena); |
|
|
|
|
return (google_protobuf_MethodDescriptorProto*)upb_Message_New(google__protobuf__MethodDescriptorProto_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_MethodDescriptorProto* google_protobuf_MethodDescriptorProto_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_MethodDescriptorProto* ret = google_protobuf_MethodDescriptorProto_new(arena); |
|
|
|
@ -3113,7 +3113,7 @@ UPB_INLINE void google_protobuf_MethodDescriptorProto_set_options(google_protobu |
|
|
|
|
UPB_INLINE struct google_protobuf_MethodOptions* google_protobuf_MethodDescriptorProto_mutable_options(google_protobuf_MethodDescriptorProto* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_MethodOptions* sub = (struct google_protobuf_MethodOptions*)google_protobuf_MethodDescriptorProto_options(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_MethodOptions*)_upb_Message_New(google__protobuf__MethodOptions_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_MethodOptions*)upb_Message_New(google__protobuf__MethodOptions_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_MethodDescriptorProto_set_options(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -3130,7 +3130,7 @@ UPB_INLINE void google_protobuf_MethodDescriptorProto_set_server_streaming(googl |
|
|
|
|
/* google.protobuf.FileOptions */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_FileOptions* google_protobuf_FileOptions_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_FileOptions*)_upb_Message_New(google__protobuf__FileOptions_msg_init(), arena); |
|
|
|
|
return (google_protobuf_FileOptions*)upb_Message_New(google__protobuf__FileOptions_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FileOptions* google_protobuf_FileOptions_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_FileOptions* ret = google_protobuf_FileOptions_new(arena); |
|
|
|
@ -3602,7 +3602,7 @@ UPB_INLINE void google_protobuf_FileOptions_set_features(google_protobuf_FileOpt |
|
|
|
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FileOptions_mutable_features(google_protobuf_FileOptions* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_FileOptions_features(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_FileOptions_set_features(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -3628,7 +3628,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_FileOptio |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -3637,7 +3637,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_FileOptio |
|
|
|
|
/* google.protobuf.MessageOptions */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_MessageOptions* google_protobuf_MessageOptions_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_MessageOptions*)_upb_Message_New(google__protobuf__MessageOptions_msg_init(), arena); |
|
|
|
|
return (google_protobuf_MessageOptions*)upb_Message_New(google__protobuf__MessageOptions_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_MessageOptions* google_protobuf_MessageOptions_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_MessageOptions* ret = google_protobuf_MessageOptions_new(arena); |
|
|
|
@ -3824,7 +3824,7 @@ UPB_INLINE void google_protobuf_MessageOptions_set_features(google_protobuf_Mess |
|
|
|
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_MessageOptions_mutable_features(google_protobuf_MessageOptions* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_MessageOptions_features(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_MessageOptions_set_features(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -3850,7 +3850,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_MessageOp |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -3859,7 +3859,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_MessageOp |
|
|
|
|
/* google.protobuf.FieldOptions */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_FieldOptions* google_protobuf_FieldOptions_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_FieldOptions*)_upb_Message_New(google__protobuf__FieldOptions_msg_init(), arena); |
|
|
|
|
return (google_protobuf_FieldOptions*)upb_Message_New(google__protobuf__FieldOptions_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FieldOptions* google_protobuf_FieldOptions_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_FieldOptions* ret = google_protobuf_FieldOptions_new(arena); |
|
|
|
@ -4234,7 +4234,7 @@ UPB_INLINE struct google_protobuf_FieldOptions_EditionDefault* google_protobuf_F |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_FieldOptions_EditionDefault* sub = (struct google_protobuf_FieldOptions_EditionDefault*)_upb_Message_New(google__protobuf__FieldOptions__EditionDefault_msg_init(), arena); |
|
|
|
|
struct google_protobuf_FieldOptions_EditionDefault* sub = (struct google_protobuf_FieldOptions_EditionDefault*)upb_Message_New(google__protobuf__FieldOptions__EditionDefault_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -4246,7 +4246,7 @@ UPB_INLINE void google_protobuf_FieldOptions_set_features(google_protobuf_FieldO |
|
|
|
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FieldOptions_mutable_features(google_protobuf_FieldOptions* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_FieldOptions_features(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_FieldOptions_set_features(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -4272,7 +4272,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_FieldOpti |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -4281,7 +4281,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_FieldOpti |
|
|
|
|
/* google.protobuf.FieldOptions.EditionDefault */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_FieldOptions_EditionDefault* google_protobuf_FieldOptions_EditionDefault_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_FieldOptions_EditionDefault*)_upb_Message_New(google__protobuf__FieldOptions__EditionDefault_msg_init(), arena); |
|
|
|
|
return (google_protobuf_FieldOptions_EditionDefault*)upb_Message_New(google__protobuf__FieldOptions__EditionDefault_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FieldOptions_EditionDefault* google_protobuf_FieldOptions_EditionDefault_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_FieldOptions_EditionDefault* ret = google_protobuf_FieldOptions_EditionDefault_new(arena); |
|
|
|
@ -4356,7 +4356,7 @@ UPB_INLINE void google_protobuf_FieldOptions_EditionDefault_set_edition(google_p |
|
|
|
|
/* google.protobuf.OneofOptions */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_OneofOptions* google_protobuf_OneofOptions_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_OneofOptions*)_upb_Message_New(google__protobuf__OneofOptions_msg_init(), arena); |
|
|
|
|
return (google_protobuf_OneofOptions*)upb_Message_New(google__protobuf__OneofOptions_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_OneofOptions* google_protobuf_OneofOptions_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_OneofOptions* ret = google_protobuf_OneofOptions_new(arena); |
|
|
|
@ -4448,7 +4448,7 @@ UPB_INLINE void google_protobuf_OneofOptions_set_features(google_protobuf_OneofO |
|
|
|
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_OneofOptions_mutable_features(google_protobuf_OneofOptions* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_OneofOptions_features(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_OneofOptions_set_features(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -4474,7 +4474,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_OneofOpti |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -4483,7 +4483,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_OneofOpti |
|
|
|
|
/* google.protobuf.EnumOptions */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_EnumOptions* google_protobuf_EnumOptions_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_EnumOptions*)_upb_Message_New(google__protobuf__EnumOptions_msg_init(), arena); |
|
|
|
|
return (google_protobuf_EnumOptions*)upb_Message_New(google__protobuf__EnumOptions_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_EnumOptions* google_protobuf_EnumOptions_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_EnumOptions* ret = google_protobuf_EnumOptions_new(arena); |
|
|
|
@ -4632,7 +4632,7 @@ UPB_INLINE void google_protobuf_EnumOptions_set_features(google_protobuf_EnumOpt |
|
|
|
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_EnumOptions_mutable_features(google_protobuf_EnumOptions* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_EnumOptions_features(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_EnumOptions_set_features(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -4658,7 +4658,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_EnumOptio |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -4667,7 +4667,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_EnumOptio |
|
|
|
|
/* google.protobuf.EnumValueOptions */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_EnumValueOptions* google_protobuf_EnumValueOptions_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_EnumValueOptions*)_upb_Message_New(google__protobuf__EnumValueOptions_msg_init(), arena); |
|
|
|
|
return (google_protobuf_EnumValueOptions*)upb_Message_New(google__protobuf__EnumValueOptions_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_EnumValueOptions* google_protobuf_EnumValueOptions_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_EnumValueOptions* ret = google_protobuf_EnumValueOptions_new(arena); |
|
|
|
@ -4793,7 +4793,7 @@ UPB_INLINE void google_protobuf_EnumValueOptions_set_features(google_protobuf_En |
|
|
|
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_EnumValueOptions_mutable_features(google_protobuf_EnumValueOptions* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_EnumValueOptions_features(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_EnumValueOptions_set_features(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -4823,7 +4823,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_EnumValue |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -4832,7 +4832,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_EnumValue |
|
|
|
|
/* google.protobuf.ServiceOptions */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_ServiceOptions* google_protobuf_ServiceOptions_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_ServiceOptions*)_upb_Message_New(google__protobuf__ServiceOptions_msg_init(), arena); |
|
|
|
|
return (google_protobuf_ServiceOptions*)upb_Message_New(google__protobuf__ServiceOptions_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_ServiceOptions* google_protobuf_ServiceOptions_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_ServiceOptions* ret = google_protobuf_ServiceOptions_new(arena); |
|
|
|
@ -4943,7 +4943,7 @@ UPB_INLINE void google_protobuf_ServiceOptions_set_features(google_protobuf_Serv |
|
|
|
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_ServiceOptions_mutable_features(google_protobuf_ServiceOptions* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_ServiceOptions_features(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_ServiceOptions_set_features(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -4969,7 +4969,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_ServiceOp |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -4978,7 +4978,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_ServiceOp |
|
|
|
|
/* google.protobuf.MethodOptions */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_MethodOptions* google_protobuf_MethodOptions_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_MethodOptions*)_upb_Message_New(google__protobuf__MethodOptions_msg_init(), arena); |
|
|
|
|
return (google_protobuf_MethodOptions*)upb_Message_New(google__protobuf__MethodOptions_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_MethodOptions* google_protobuf_MethodOptions_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_MethodOptions* ret = google_protobuf_MethodOptions_new(arena); |
|
|
|
@ -5108,7 +5108,7 @@ UPB_INLINE void google_protobuf_MethodOptions_set_features(google_protobuf_Metho |
|
|
|
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_MethodOptions_mutable_features(google_protobuf_MethodOptions* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_MethodOptions_features(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_MethodOptions_set_features(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -5134,7 +5134,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_MethodOpt |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)_upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
struct google_protobuf_UninterpretedOption* sub = (struct google_protobuf_UninterpretedOption*)upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -5143,7 +5143,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_MethodOpt |
|
|
|
|
/* google.protobuf.UninterpretedOption */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_UninterpretedOption* google_protobuf_UninterpretedOption_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_UninterpretedOption*)_upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
return (google_protobuf_UninterpretedOption*)upb_Message_New(google__protobuf__UninterpretedOption_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_UninterpretedOption* google_protobuf_UninterpretedOption_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_UninterpretedOption* ret = google_protobuf_UninterpretedOption_new(arena); |
|
|
|
@ -5324,7 +5324,7 @@ UPB_INLINE struct google_protobuf_UninterpretedOption_NamePart* google_protobuf_ |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_UninterpretedOption_NamePart* sub = (struct google_protobuf_UninterpretedOption_NamePart*)_upb_Message_New(google__protobuf__UninterpretedOption__NamePart_msg_init(), arena); |
|
|
|
|
struct google_protobuf_UninterpretedOption_NamePart* sub = (struct google_protobuf_UninterpretedOption_NamePart*)upb_Message_New(google__protobuf__UninterpretedOption__NamePart_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -5357,7 +5357,7 @@ UPB_INLINE void google_protobuf_UninterpretedOption_set_aggregate_value(google_p |
|
|
|
|
/* google.protobuf.UninterpretedOption.NamePart */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_UninterpretedOption_NamePart* google_protobuf_UninterpretedOption_NamePart_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_UninterpretedOption_NamePart*)_upb_Message_New(google__protobuf__UninterpretedOption__NamePart_msg_init(), arena); |
|
|
|
|
return (google_protobuf_UninterpretedOption_NamePart*)upb_Message_New(google__protobuf__UninterpretedOption__NamePart_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_UninterpretedOption_NamePart* google_protobuf_UninterpretedOption_NamePart_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_UninterpretedOption_NamePart* ret = google_protobuf_UninterpretedOption_NamePart_new(arena); |
|
|
|
@ -5432,7 +5432,7 @@ UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_set_is_extension(go |
|
|
|
|
/* google.protobuf.FeatureSet */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_FeatureSet* google_protobuf_FeatureSet_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_FeatureSet*)_upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
return (google_protobuf_FeatureSet*)upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FeatureSet* google_protobuf_FeatureSet_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_FeatureSet* ret = google_protobuf_FeatureSet_new(arena); |
|
|
|
@ -5583,7 +5583,7 @@ UPB_INLINE void google_protobuf_FeatureSet_set_json_format(google_protobuf_Featu |
|
|
|
|
/* google.protobuf.FeatureSetDefaults */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_FeatureSetDefaults* google_protobuf_FeatureSetDefaults_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_FeatureSetDefaults*)_upb_Message_New(google__protobuf__FeatureSetDefaults_msg_init(), arena); |
|
|
|
|
return (google_protobuf_FeatureSetDefaults*)upb_Message_New(google__protobuf__FeatureSetDefaults_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FeatureSetDefaults* google_protobuf_FeatureSetDefaults_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_FeatureSetDefaults* ret = google_protobuf_FeatureSetDefaults_new(arena); |
|
|
|
@ -5704,7 +5704,7 @@ UPB_INLINE struct google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* g |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* sub = (struct google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault*)_upb_Message_New(google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init(), arena); |
|
|
|
|
struct google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* sub = (struct google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault*)upb_Message_New(google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -5721,7 +5721,7 @@ UPB_INLINE void google_protobuf_FeatureSetDefaults_set_maximum_edition(google_pr |
|
|
|
|
/* google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault*)_upb_Message_New(google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init(), arena); |
|
|
|
|
return (google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault*)upb_Message_New(google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* ret = google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_new(arena); |
|
|
|
@ -5791,7 +5791,7 @@ UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_set_ |
|
|
|
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_mutable_features(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_features(msg); |
|
|
|
|
if (sub == NULL) { |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
sub = (struct google_protobuf_FeatureSet*)upb_Message_New(google__protobuf__FeatureSet_msg_init(), arena); |
|
|
|
|
if (sub) google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_set_features(msg, sub); |
|
|
|
|
} |
|
|
|
|
return sub; |
|
|
|
@ -5804,7 +5804,7 @@ UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_set_ |
|
|
|
|
/* google.protobuf.SourceCodeInfo */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_SourceCodeInfo* google_protobuf_SourceCodeInfo_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_SourceCodeInfo*)_upb_Message_New(google__protobuf__SourceCodeInfo_msg_init(), arena); |
|
|
|
|
return (google_protobuf_SourceCodeInfo*)upb_Message_New(google__protobuf__SourceCodeInfo_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_SourceCodeInfo* google_protobuf_SourceCodeInfo_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_SourceCodeInfo* ret = google_protobuf_SourceCodeInfo_new(arena); |
|
|
|
@ -5895,7 +5895,7 @@ UPB_INLINE struct google_protobuf_SourceCodeInfo_Location* google_protobuf_Sourc |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_SourceCodeInfo_Location* sub = (struct google_protobuf_SourceCodeInfo_Location*)_upb_Message_New(google__protobuf__SourceCodeInfo__Location_msg_init(), arena); |
|
|
|
|
struct google_protobuf_SourceCodeInfo_Location* sub = (struct google_protobuf_SourceCodeInfo_Location*)upb_Message_New(google__protobuf__SourceCodeInfo__Location_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -5904,7 +5904,7 @@ UPB_INLINE struct google_protobuf_SourceCodeInfo_Location* google_protobuf_Sourc |
|
|
|
|
/* google.protobuf.SourceCodeInfo.Location */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_SourceCodeInfo_Location* google_protobuf_SourceCodeInfo_Location_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_SourceCodeInfo_Location*)_upb_Message_New(google__protobuf__SourceCodeInfo__Location_msg_init(), arena); |
|
|
|
|
return (google_protobuf_SourceCodeInfo_Location*)upb_Message_New(google__protobuf__SourceCodeInfo__Location_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_SourceCodeInfo_Location* google_protobuf_SourceCodeInfo_Location_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_SourceCodeInfo_Location* ret = google_protobuf_SourceCodeInfo_Location_new(arena); |
|
|
|
@ -6162,7 +6162,7 @@ UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_leading_detached_com |
|
|
|
|
/* google.protobuf.GeneratedCodeInfo */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_GeneratedCodeInfo* google_protobuf_GeneratedCodeInfo_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_GeneratedCodeInfo*)_upb_Message_New(google__protobuf__GeneratedCodeInfo_msg_init(), arena); |
|
|
|
|
return (google_protobuf_GeneratedCodeInfo*)upb_Message_New(google__protobuf__GeneratedCodeInfo_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_GeneratedCodeInfo* google_protobuf_GeneratedCodeInfo_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_GeneratedCodeInfo* ret = google_protobuf_GeneratedCodeInfo_new(arena); |
|
|
|
@ -6253,7 +6253,7 @@ UPB_INLINE struct google_protobuf_GeneratedCodeInfo_Annotation* google_protobuf_ |
|
|
|
|
if (!arr || !_upb_Array_ResizeUninitialized(arr, arr->size + 1, arena)) { |
|
|
|
|
return NULL; |
|
|
|
|
} |
|
|
|
|
struct google_protobuf_GeneratedCodeInfo_Annotation* sub = (struct google_protobuf_GeneratedCodeInfo_Annotation*)_upb_Message_New(google__protobuf__GeneratedCodeInfo__Annotation_msg_init(), arena); |
|
|
|
|
struct google_protobuf_GeneratedCodeInfo_Annotation* sub = (struct google_protobuf_GeneratedCodeInfo_Annotation*)upb_Message_New(google__protobuf__GeneratedCodeInfo__Annotation_msg_init(), arena); |
|
|
|
|
if (!arr || !sub) return NULL; |
|
|
|
|
UPB_PRIVATE(_upb_Array_Set)(arr, arr->size - 1, &sub, sizeof(sub)); |
|
|
|
|
return sub; |
|
|
|
@ -6262,7 +6262,7 @@ UPB_INLINE struct google_protobuf_GeneratedCodeInfo_Annotation* google_protobuf_ |
|
|
|
|
/* google.protobuf.GeneratedCodeInfo.Annotation */ |
|
|
|
|
|
|
|
|
|
UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation* google_protobuf_GeneratedCodeInfo_Annotation_new(upb_Arena* arena) { |
|
|
|
|
return (google_protobuf_GeneratedCodeInfo_Annotation*)_upb_Message_New(google__protobuf__GeneratedCodeInfo__Annotation_msg_init(), arena); |
|
|
|
|
return (google_protobuf_GeneratedCodeInfo_Annotation*)upb_Message_New(google__protobuf__GeneratedCodeInfo__Annotation_msg_init(), arena); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_GeneratedCodeInfo_Annotation* google_protobuf_GeneratedCodeInfo_Annotation_parse(const char* buf, size_t size, upb_Arena* arena) { |
|
|
|
|
google_protobuf_GeneratedCodeInfo_Annotation* ret = google_protobuf_GeneratedCodeInfo_Annotation_new(arena); |
|
|
|
|