|
|
|
@ -247,6 +247,7 @@ UPB_INLINE const google_protobuf_compiler_Version* google_protobuf_compiler_Code |
|
|
|
|
const google_protobuf_compiler_Version* default_val = NULL; |
|
|
|
|
const google_protobuf_compiler_Version* ret; |
|
|
|
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__compiler__Version_msg_init); |
|
|
|
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, |
|
|
|
|
&default_val, &ret); |
|
|
|
|
return ret; |
|
|
|
@ -261,6 +262,7 @@ UPB_INLINE void google_protobuf_compiler_CodeGeneratorRequest_clear_proto_file(g |
|
|
|
|
} |
|
|
|
|
UPB_INLINE const struct google_protobuf_FileDescriptorProto* const* google_protobuf_compiler_CodeGeneratorRequest_proto_file(const google_protobuf_compiler_CodeGeneratorRequest* msg, size_t* size) { |
|
|
|
|
const upb_MiniTableField field = {15, UPB_SIZE(20, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FileDescriptorProto_msg_init); |
|
|
|
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); |
|
|
|
|
if (arr) { |
|
|
|
|
if (size) *size = arr->UPB_PRIVATE(size); |
|
|
|
@ -272,6 +274,7 @@ UPB_INLINE const struct google_protobuf_FileDescriptorProto* const* google_proto |
|
|
|
|
} |
|
|
|
|
UPB_INLINE const upb_Array* _google_protobuf_compiler_CodeGeneratorRequest_proto_file_upb_array(const google_protobuf_compiler_CodeGeneratorRequest* msg, size_t* size) { |
|
|
|
|
const upb_MiniTableField field = {15, UPB_SIZE(20, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FileDescriptorProto_msg_init); |
|
|
|
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); |
|
|
|
|
if (size) { |
|
|
|
|
*size = arr ? arr->UPB_PRIVATE(size) : 0; |
|
|
|
@ -280,6 +283,7 @@ UPB_INLINE const upb_Array* _google_protobuf_compiler_CodeGeneratorRequest_proto |
|
|
|
|
} |
|
|
|
|
UPB_INLINE upb_Array* _google_protobuf_compiler_CodeGeneratorRequest_proto_file_mutable_upb_array(google_protobuf_compiler_CodeGeneratorRequest* msg, size_t* size, upb_Arena* arena) { |
|
|
|
|
const upb_MiniTableField field = {15, UPB_SIZE(20, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FileDescriptorProto_msg_init); |
|
|
|
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), |
|
|
|
|
&field, arena); |
|
|
|
|
if (size) { |
|
|
|
@ -293,6 +297,7 @@ UPB_INLINE void google_protobuf_compiler_CodeGeneratorRequest_clear_source_file_ |
|
|
|
|
} |
|
|
|
|
UPB_INLINE const struct google_protobuf_FileDescriptorProto* const* google_protobuf_compiler_CodeGeneratorRequest_source_file_descriptors(const google_protobuf_compiler_CodeGeneratorRequest* msg, size_t* size) { |
|
|
|
|
const upb_MiniTableField field = {17, UPB_SIZE(24, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FileDescriptorProto_msg_init); |
|
|
|
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); |
|
|
|
|
if (arr) { |
|
|
|
|
if (size) *size = arr->UPB_PRIVATE(size); |
|
|
|
@ -304,6 +309,7 @@ UPB_INLINE const struct google_protobuf_FileDescriptorProto* const* google_proto |
|
|
|
|
} |
|
|
|
|
UPB_INLINE const upb_Array* _google_protobuf_compiler_CodeGeneratorRequest_source_file_descriptors_upb_array(const google_protobuf_compiler_CodeGeneratorRequest* msg, size_t* size) { |
|
|
|
|
const upb_MiniTableField field = {17, UPB_SIZE(24, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FileDescriptorProto_msg_init); |
|
|
|
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); |
|
|
|
|
if (size) { |
|
|
|
|
*size = arr ? arr->UPB_PRIVATE(size) : 0; |
|
|
|
@ -312,6 +318,7 @@ UPB_INLINE const upb_Array* _google_protobuf_compiler_CodeGeneratorRequest_sourc |
|
|
|
|
} |
|
|
|
|
UPB_INLINE upb_Array* _google_protobuf_compiler_CodeGeneratorRequest_source_file_descriptors_mutable_upb_array(google_protobuf_compiler_CodeGeneratorRequest* msg, size_t* size, upb_Arena* arena) { |
|
|
|
|
const upb_MiniTableField field = {17, UPB_SIZE(24, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FileDescriptorProto_msg_init); |
|
|
|
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), |
|
|
|
|
&field, arena); |
|
|
|
|
if (size) { |
|
|
|
@ -354,6 +361,7 @@ UPB_INLINE void google_protobuf_compiler_CodeGeneratorRequest_set_parameter(goog |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_compiler_CodeGeneratorRequest_set_compiler_version(google_protobuf_compiler_CodeGeneratorRequest *msg, google_protobuf_compiler_Version* value) { |
|
|
|
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__compiler__Version_msg_init); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_compiler_Version* google_protobuf_compiler_CodeGeneratorRequest_mutable_compiler_version(google_protobuf_compiler_CodeGeneratorRequest* msg, upb_Arena* arena) { |
|
|
|
@ -366,6 +374,7 @@ UPB_INLINE struct google_protobuf_compiler_Version* google_protobuf_compiler_Cod |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_FileDescriptorProto** google_protobuf_compiler_CodeGeneratorRequest_mutable_proto_file(google_protobuf_compiler_CodeGeneratorRequest* msg, size_t* size) { |
|
|
|
|
upb_MiniTableField field = {15, UPB_SIZE(20, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FileDescriptorProto_msg_init); |
|
|
|
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); |
|
|
|
|
if (arr) { |
|
|
|
|
if (size) *size = arr->UPB_PRIVATE(size); |
|
|
|
@ -382,6 +391,7 @@ UPB_INLINE struct google_protobuf_FileDescriptorProto** google_protobuf_compiler |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_FileDescriptorProto* google_protobuf_compiler_CodeGeneratorRequest_add_proto_file(google_protobuf_compiler_CodeGeneratorRequest* msg, upb_Arena* arena) { |
|
|
|
|
upb_MiniTableField field = {15, UPB_SIZE(20, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FileDescriptorProto_msg_init); |
|
|
|
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray( |
|
|
|
|
UPB_UPCAST(msg), &field, arena); |
|
|
|
|
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( |
|
|
|
@ -396,6 +406,7 @@ UPB_INLINE struct google_protobuf_FileDescriptorProto* google_protobuf_compiler_ |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_FileDescriptorProto** google_protobuf_compiler_CodeGeneratorRequest_mutable_source_file_descriptors(google_protobuf_compiler_CodeGeneratorRequest* msg, size_t* size) { |
|
|
|
|
upb_MiniTableField field = {17, UPB_SIZE(24, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FileDescriptorProto_msg_init); |
|
|
|
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); |
|
|
|
|
if (arr) { |
|
|
|
|
if (size) *size = arr->UPB_PRIVATE(size); |
|
|
|
@ -412,6 +423,7 @@ UPB_INLINE struct google_protobuf_FileDescriptorProto** google_protobuf_compiler |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_FileDescriptorProto* google_protobuf_compiler_CodeGeneratorRequest_add_source_file_descriptors(google_protobuf_compiler_CodeGeneratorRequest* msg, upb_Arena* arena) { |
|
|
|
|
upb_MiniTableField field = {17, UPB_SIZE(24, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FileDescriptorProto_msg_init); |
|
|
|
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray( |
|
|
|
|
UPB_UPCAST(msg), &field, arena); |
|
|
|
|
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( |
|
|
|
@ -531,6 +543,7 @@ UPB_INLINE void google_protobuf_compiler_CodeGeneratorResponse_clear_file(google |
|
|
|
|
} |
|
|
|
|
UPB_INLINE const google_protobuf_compiler_CodeGeneratorResponse_File* const* google_protobuf_compiler_CodeGeneratorResponse_file(const google_protobuf_compiler_CodeGeneratorResponse* msg, size_t* size) { |
|
|
|
|
const upb_MiniTableField field = {15, UPB_SIZE(20, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__compiler__CodeGeneratorResponse__File_msg_init); |
|
|
|
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); |
|
|
|
|
if (arr) { |
|
|
|
|
if (size) *size = arr->UPB_PRIVATE(size); |
|
|
|
@ -542,6 +555,7 @@ UPB_INLINE const google_protobuf_compiler_CodeGeneratorResponse_File* const* goo |
|
|
|
|
} |
|
|
|
|
UPB_INLINE const upb_Array* _google_protobuf_compiler_CodeGeneratorResponse_file_upb_array(const google_protobuf_compiler_CodeGeneratorResponse* msg, size_t* size) { |
|
|
|
|
const upb_MiniTableField field = {15, UPB_SIZE(20, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__compiler__CodeGeneratorResponse__File_msg_init); |
|
|
|
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field); |
|
|
|
|
if (size) { |
|
|
|
|
*size = arr ? arr->UPB_PRIVATE(size) : 0; |
|
|
|
@ -550,6 +564,7 @@ UPB_INLINE const upb_Array* _google_protobuf_compiler_CodeGeneratorResponse_file |
|
|
|
|
} |
|
|
|
|
UPB_INLINE upb_Array* _google_protobuf_compiler_CodeGeneratorResponse_file_mutable_upb_array(google_protobuf_compiler_CodeGeneratorResponse* msg, size_t* size, upb_Arena* arena) { |
|
|
|
|
const upb_MiniTableField field = {15, UPB_SIZE(20, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__compiler__CodeGeneratorResponse__File_msg_init); |
|
|
|
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg), |
|
|
|
|
&field, arena); |
|
|
|
|
if (size) { |
|
|
|
@ -576,6 +591,7 @@ UPB_INLINE void google_protobuf_compiler_CodeGeneratorResponse_set_maximum_editi |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_compiler_CodeGeneratorResponse_File** google_protobuf_compiler_CodeGeneratorResponse_mutable_file(google_protobuf_compiler_CodeGeneratorResponse* msg, size_t* size) { |
|
|
|
|
upb_MiniTableField field = {15, UPB_SIZE(20, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__compiler__CodeGeneratorResponse__File_msg_init); |
|
|
|
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field); |
|
|
|
|
if (arr) { |
|
|
|
|
if (size) *size = arr->UPB_PRIVATE(size); |
|
|
|
@ -592,6 +608,7 @@ UPB_INLINE google_protobuf_compiler_CodeGeneratorResponse_File** google_protobuf |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_compiler_CodeGeneratorResponse_File* google_protobuf_compiler_CodeGeneratorResponse_add_file(google_protobuf_compiler_CodeGeneratorResponse* msg, upb_Arena* arena) { |
|
|
|
|
upb_MiniTableField field = {15, UPB_SIZE(20, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__compiler__CodeGeneratorResponse__File_msg_init); |
|
|
|
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray( |
|
|
|
|
UPB_UPCAST(msg), &field, arena); |
|
|
|
|
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)( |
|
|
|
@ -697,6 +714,7 @@ UPB_INLINE const struct google_protobuf_GeneratedCodeInfo* google_protobuf_compi |
|
|
|
|
const struct google_protobuf_GeneratedCodeInfo* default_val = NULL; |
|
|
|
|
const struct google_protobuf_GeneratedCodeInfo* ret; |
|
|
|
|
const upb_MiniTableField field = {16, UPB_SIZE(12, 64), 67, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__GeneratedCodeInfo_msg_init); |
|
|
|
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field, |
|
|
|
|
&default_val, &ret); |
|
|
|
|
return ret; |
|
|
|
@ -720,6 +738,7 @@ UPB_INLINE void google_protobuf_compiler_CodeGeneratorResponse_File_set_content( |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_compiler_CodeGeneratorResponse_File_set_generated_code_info(google_protobuf_compiler_CodeGeneratorResponse_File *msg, struct google_protobuf_GeneratedCodeInfo* value) { |
|
|
|
|
const upb_MiniTableField field = {16, UPB_SIZE(12, 64), 67, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}; |
|
|
|
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__GeneratedCodeInfo_msg_init); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_GeneratedCodeInfo* google_protobuf_compiler_CodeGeneratorResponse_File_mutable_generated_code_info(google_protobuf_compiler_CodeGeneratorResponse_File* msg, upb_Arena* arena) { |
|
|
|
|