|
|
|
@ -695,11 +695,11 @@ UPB_INLINE bool google_protobuf_FileDescriptorProto_has_edition(const google_pro |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_name(google_protobuf_FileDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileDescriptorProto_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_package(google_protobuf_FileDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileDescriptorProto_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE upb_StringView* google_protobuf_FileDescriptorProto_mutable_dependency(google_protobuf_FileDescriptorProto* msg, size_t* size) { |
|
|
|
|
upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileDescriptorProto_msg_init(), 3); |
|
|
|
@ -851,7 +851,7 @@ UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_FileDesc |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_options(google_protobuf_FileDescriptorProto *msg, google_protobuf_FileOptions* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileDescriptorProto_msg_init(), 8); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -863,7 +863,7 @@ UPB_INLINE struct google_protobuf_FileOptions* google_protobuf_FileDescriptorPro |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_source_code_info(google_protobuf_FileDescriptorProto *msg, google_protobuf_SourceCodeInfo* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileDescriptorProto_msg_init(), 9); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -931,11 +931,11 @@ UPB_INLINE bool google_protobuf_FileDescriptorProto_add_weak_dependency(google_p |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_syntax(google_protobuf_FileDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileDescriptorProto_msg_init(), 12); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_edition(google_protobuf_FileDescriptorProto *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileDescriptorProto_msg_init(), 14); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* google.protobuf.DescriptorProto */ |
|
|
|
@ -1265,7 +1265,7 @@ UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_reserved_name_mutable_upb |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_DescriptorProto_set_name(google_protobuf_DescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__DescriptorProto_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_mutable_field(google_protobuf_DescriptorProto* msg, size_t* size) { |
|
|
|
|
upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__DescriptorProto_msg_init(), 2); |
|
|
|
@ -1419,7 +1419,7 @@ UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_Descript |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_DescriptorProto_set_options(google_protobuf_DescriptorProto *msg, google_protobuf_MessageOptions* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__DescriptorProto_msg_init(), 7); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -1605,15 +1605,15 @@ UPB_INLINE bool google_protobuf_DescriptorProto_ExtensionRange_has_options(const |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_start(google_protobuf_DescriptorProto_ExtensionRange *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__DescriptorProto__ExtensionRange_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_end(google_protobuf_DescriptorProto_ExtensionRange *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__DescriptorProto__ExtensionRange_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_options(google_protobuf_DescriptorProto_ExtensionRange *msg, google_protobuf_ExtensionRangeOptions* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__DescriptorProto__ExtensionRange_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -1695,11 +1695,11 @@ UPB_INLINE bool google_protobuf_DescriptorProto_ReservedRange_has_end(const goog |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_set_start(google_protobuf_DescriptorProto_ReservedRange *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__DescriptorProto__ReservedRange_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_set_end(google_protobuf_DescriptorProto_ReservedRange *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__DescriptorProto__ReservedRange_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* google.protobuf.ExtensionRangeOptions */ |
|
|
|
@ -1867,11 +1867,11 @@ UPB_INLINE struct google_protobuf_ExtensionRangeOptions_Declaration* google_prot |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_set_verification(google_protobuf_ExtensionRangeOptions *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__ExtensionRangeOptions_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_set_features(google_protobuf_ExtensionRangeOptions *msg, google_protobuf_FeatureSet* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__ExtensionRangeOptions_msg_init(), 50); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -2031,23 +2031,23 @@ UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_repeated(c |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_number(google_protobuf_ExtensionRangeOptions_Declaration *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__ExtensionRangeOptions__Declaration_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_full_name(google_protobuf_ExtensionRangeOptions_Declaration *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__ExtensionRangeOptions__Declaration_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_type(google_protobuf_ExtensionRangeOptions_Declaration *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__ExtensionRangeOptions__Declaration_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_reserved(google_protobuf_ExtensionRangeOptions_Declaration *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__ExtensionRangeOptions__Declaration_msg_init(), 5); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_repeated(google_protobuf_ExtensionRangeOptions_Declaration *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__ExtensionRangeOptions__Declaration_msg_init(), 6); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* google.protobuf.FieldDescriptorProto */ |
|
|
|
@ -2265,35 +2265,35 @@ UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_proto3_optional(const g |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldDescriptorProto_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_extendee(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldDescriptorProto_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_number(google_protobuf_FieldDescriptorProto *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldDescriptorProto_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_label(google_protobuf_FieldDescriptorProto *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldDescriptorProto_msg_init(), 4); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type(google_protobuf_FieldDescriptorProto *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldDescriptorProto_msg_init(), 5); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldDescriptorProto_msg_init(), 6); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_default_value(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldDescriptorProto_msg_init(), 7); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_options(google_protobuf_FieldDescriptorProto *msg, google_protobuf_FieldOptions* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldDescriptorProto_msg_init(), 8); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -2305,15 +2305,15 @@ UPB_INLINE struct google_protobuf_FieldOptions* google_protobuf_FieldDescriptorP |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_oneof_index(google_protobuf_FieldDescriptorProto *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldDescriptorProto_msg_init(), 9); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_json_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldDescriptorProto_msg_init(), 10); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_proto3_optional(google_protobuf_FieldDescriptorProto *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldDescriptorProto_msg_init(), 17); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* google.protobuf.OneofDescriptorProto */ |
|
|
|
@ -2387,11 +2387,11 @@ UPB_INLINE bool google_protobuf_OneofDescriptorProto_has_options(const google_pr |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_OneofDescriptorProto_set_name(google_protobuf_OneofDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__OneofDescriptorProto_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_OneofDescriptorProto_set_options(google_protobuf_OneofDescriptorProto *msg, google_protobuf_OneofOptions* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__OneofDescriptorProto_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -2569,7 +2569,7 @@ UPB_INLINE upb_Array* _google_protobuf_EnumDescriptorProto_reserved_name_mutable |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_EnumDescriptorProto_set_name(google_protobuf_EnumDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumDescriptorProto_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_EnumValueDescriptorProto** google_protobuf_EnumDescriptorProto_mutable_value(google_protobuf_EnumDescriptorProto* msg, size_t* size) { |
|
|
|
|
upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumDescriptorProto_msg_init(), 2); |
|
|
|
@ -2603,7 +2603,7 @@ UPB_INLINE struct google_protobuf_EnumValueDescriptorProto* google_protobuf_Enum |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_EnumDescriptorProto_set_options(google_protobuf_EnumDescriptorProto *msg, google_protobuf_EnumOptions* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumDescriptorProto_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -2743,11 +2743,11 @@ UPB_INLINE bool google_protobuf_EnumDescriptorProto_EnumReservedRange_has_end(co |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_set_start(google_protobuf_EnumDescriptorProto_EnumReservedRange *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_set_end(google_protobuf_EnumDescriptorProto_EnumReservedRange *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumDescriptorProto__EnumReservedRange_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* google.protobuf.EnumValueDescriptorProto */ |
|
|
|
@ -2837,15 +2837,15 @@ UPB_INLINE bool google_protobuf_EnumValueDescriptorProto_has_options(const googl |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_name(google_protobuf_EnumValueDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumValueDescriptorProto_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_number(google_protobuf_EnumValueDescriptorProto *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumValueDescriptorProto_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_options(google_protobuf_EnumValueDescriptorProto *msg, google_protobuf_EnumValueOptions* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumValueDescriptorProto_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -2959,7 +2959,7 @@ UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_options(const google_ |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_name(google_protobuf_ServiceDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__ServiceDescriptorProto_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_MethodDescriptorProto** google_protobuf_ServiceDescriptorProto_mutable_method(google_protobuf_ServiceDescriptorProto* msg, size_t* size) { |
|
|
|
|
upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__ServiceDescriptorProto_msg_init(), 2); |
|
|
|
@ -2993,7 +2993,7 @@ UPB_INLINE struct google_protobuf_MethodDescriptorProto* google_protobuf_Service |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_options(google_protobuf_ServiceDescriptorProto *msg, google_protobuf_ServiceOptions* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__ServiceDescriptorProto_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -3139,19 +3139,19 @@ UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_server_streaming(const |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_name(google_protobuf_MethodDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__MethodDescriptorProto_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_input_type(google_protobuf_MethodDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__MethodDescriptorProto_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_output_type(google_protobuf_MethodDescriptorProto *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__MethodDescriptorProto_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_options(google_protobuf_MethodDescriptorProto *msg, google_protobuf_MethodOptions* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__MethodDescriptorProto_msg_init(), 4); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -3163,11 +3163,11 @@ UPB_INLINE struct google_protobuf_MethodOptions* google_protobuf_MethodDescripto |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_client_streaming(google_protobuf_MethodDescriptorProto *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__MethodDescriptorProto_msg_init(), 5); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_server_streaming(google_protobuf_MethodDescriptorProto *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__MethodDescriptorProto_msg_init(), 6); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* google.protobuf.FileOptions */ |
|
|
|
@ -3561,83 +3561,83 @@ UPB_INLINE upb_Array* _google_protobuf_FileOptions_uninterpreted_option_mutable_ |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_java_package(google_protobuf_FileOptions *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_java_outer_classname(google_protobuf_FileOptions *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 8); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_optimize_for(google_protobuf_FileOptions *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 9); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_java_multiple_files(google_protobuf_FileOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 10); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_go_package(google_protobuf_FileOptions *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 11); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_cc_generic_services(google_protobuf_FileOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 16); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_java_generic_services(google_protobuf_FileOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 17); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_py_generic_services(google_protobuf_FileOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 18); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_java_generate_equals_and_hash(google_protobuf_FileOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 20); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_deprecated(google_protobuf_FileOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 23); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_java_string_check_utf8(google_protobuf_FileOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 27); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_cc_enable_arenas(google_protobuf_FileOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 31); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_objc_class_prefix(google_protobuf_FileOptions *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 36); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_csharp_namespace(google_protobuf_FileOptions *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 37); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_swift_prefix(google_protobuf_FileOptions *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 39); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_php_class_prefix(google_protobuf_FileOptions *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 40); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_php_namespace(google_protobuf_FileOptions *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 41); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_php_metadata_namespace(google_protobuf_FileOptions *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 44); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_ruby_package(google_protobuf_FileOptions *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 45); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FileOptions_set_features(google_protobuf_FileOptions *msg, google_protobuf_FeatureSet* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FileOptions_msg_init(), 50); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -3845,27 +3845,27 @@ UPB_INLINE upb_Array* _google_protobuf_MessageOptions_uninterpreted_option_mutab |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_MessageOptions_set_message_set_wire_format(google_protobuf_MessageOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__MessageOptions_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_MessageOptions_set_no_standard_descriptor_accessor(google_protobuf_MessageOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__MessageOptions_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_MessageOptions_set_deprecated(google_protobuf_MessageOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__MessageOptions_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_MessageOptions_set_map_entry(google_protobuf_MessageOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__MessageOptions_msg_init(), 7); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_MessageOptions_set_deprecated_legacy_json_field_conflicts(google_protobuf_MessageOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__MessageOptions_msg_init(), 11); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_MessageOptions_set_features(google_protobuf_MessageOptions *msg, google_protobuf_FeatureSet* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__MessageOptions_msg_init(), 12); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -4217,39 +4217,39 @@ UPB_INLINE upb_Array* _google_protobuf_FieldOptions_uninterpreted_option_mutable |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_ctype(google_protobuf_FieldOptions *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_packed(google_protobuf_FieldOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_deprecated(google_protobuf_FieldOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_lazy(google_protobuf_FieldOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions_msg_init(), 5); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_jstype(google_protobuf_FieldOptions *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions_msg_init(), 6); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_weak(google_protobuf_FieldOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions_msg_init(), 10); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_unverified_lazy(google_protobuf_FieldOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions_msg_init(), 15); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_debug_redact(google_protobuf_FieldOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions_msg_init(), 16); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_retention(google_protobuf_FieldOptions *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions_msg_init(), 17); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE int32_t* google_protobuf_FieldOptions_mutable_targets(google_protobuf_FieldOptions* msg, size_t* size) { |
|
|
|
|
upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions_msg_init(), 19); |
|
|
|
@ -4311,7 +4311,7 @@ UPB_INLINE struct google_protobuf_FieldOptions_EditionDefault* google_protobuf_F |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_features(google_protobuf_FieldOptions *msg, google_protobuf_FeatureSet* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions_msg_init(), 21); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -4323,7 +4323,7 @@ UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FieldOptions_mutab |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_set_feature_support(google_protobuf_FieldOptions *msg, google_protobuf_FieldOptions_FeatureSupport* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions_msg_init(), 22); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_FieldOptions_FeatureSupport* google_protobuf_FieldOptions_mutable_feature_support(google_protobuf_FieldOptions* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_FieldOptions_FeatureSupport* sub = (struct google_protobuf_FieldOptions_FeatureSupport*)google_protobuf_FieldOptions_feature_support(msg); |
|
|
|
@ -4435,11 +4435,11 @@ UPB_INLINE bool google_protobuf_FieldOptions_EditionDefault_has_edition(const go |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_EditionDefault_set_value(google_protobuf_FieldOptions_EditionDefault *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions__EditionDefault_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_EditionDefault_set_edition(google_protobuf_FieldOptions_EditionDefault *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions__EditionDefault_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* google.protobuf.FieldOptions.FeatureSupport */ |
|
|
|
@ -4545,19 +4545,19 @@ UPB_INLINE bool google_protobuf_FieldOptions_FeatureSupport_has_edition_removed( |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_FeatureSupport_set_edition_introduced(google_protobuf_FieldOptions_FeatureSupport *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions__FeatureSupport_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_FeatureSupport_set_edition_deprecated(google_protobuf_FieldOptions_FeatureSupport *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions__FeatureSupport_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_FeatureSupport_set_deprecation_warning(google_protobuf_FieldOptions_FeatureSupport *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions__FeatureSupport_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FieldOptions_FeatureSupport_set_edition_removed(google_protobuf_FieldOptions_FeatureSupport *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FieldOptions__FeatureSupport_msg_init(), 4); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* google.protobuf.OneofOptions */ |
|
|
|
@ -4647,7 +4647,7 @@ UPB_INLINE upb_Array* _google_protobuf_OneofOptions_uninterpreted_option_mutable |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_OneofOptions_set_features(google_protobuf_OneofOptions *msg, google_protobuf_FeatureSet* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__OneofOptions_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -4823,19 +4823,19 @@ UPB_INLINE upb_Array* _google_protobuf_EnumOptions_uninterpreted_option_mutable_ |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_EnumOptions_set_allow_alias(google_protobuf_EnumOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumOptions_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_EnumOptions_set_deprecated(google_protobuf_EnumOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumOptions_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_EnumOptions_set_deprecated_legacy_json_field_conflicts(google_protobuf_EnumOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumOptions_msg_init(), 6); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_EnumOptions_set_features(google_protobuf_EnumOptions *msg, google_protobuf_FeatureSet* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumOptions_msg_init(), 7); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -4995,11 +4995,11 @@ UPB_INLINE upb_Array* _google_protobuf_EnumValueOptions_uninterpreted_option_mut |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_EnumValueOptions_set_deprecated(google_protobuf_EnumValueOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumValueOptions_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_EnumValueOptions_set_features(google_protobuf_EnumValueOptions *msg, google_protobuf_FeatureSet* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumValueOptions_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -5011,7 +5011,7 @@ UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_EnumValueOptions_m |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_EnumValueOptions_set_debug_redact(google_protobuf_EnumValueOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumValueOptions_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumValueOptions_mutable_uninterpreted_option(google_protobuf_EnumValueOptions* msg, size_t* size) { |
|
|
|
|
upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__EnumValueOptions_msg_init(), 999); |
|
|
|
@ -5147,11 +5147,11 @@ UPB_INLINE upb_Array* _google_protobuf_ServiceOptions_uninterpreted_option_mutab |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_ServiceOptions_set_deprecated(google_protobuf_ServiceOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__ServiceOptions_msg_init(), 33); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_ServiceOptions_set_features(google_protobuf_ServiceOptions *msg, google_protobuf_FeatureSet* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__ServiceOptions_msg_init(), 34); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -5311,15 +5311,15 @@ UPB_INLINE upb_Array* _google_protobuf_MethodOptions_uninterpreted_option_mutabl |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_MethodOptions_set_deprecated(google_protobuf_MethodOptions *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__MethodOptions_msg_init(), 33); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_MethodOptions_set_idempotency_level(google_protobuf_MethodOptions *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__MethodOptions_msg_init(), 34); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_MethodOptions_set_features(google_protobuf_MethodOptions *msg, google_protobuf_FeatureSet* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__MethodOptions_msg_init(), 35); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -5557,27 +5557,27 @@ UPB_INLINE struct google_protobuf_UninterpretedOption_NamePart* google_protobuf_ |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_identifier_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__UninterpretedOption_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_positive_int_value(google_protobuf_UninterpretedOption *msg, uint64_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__UninterpretedOption_msg_init(), 4); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_negative_int_value(google_protobuf_UninterpretedOption *msg, int64_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__UninterpretedOption_msg_init(), 5); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_double_value(google_protobuf_UninterpretedOption *msg, double value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__UninterpretedOption_msg_init(), 6); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_string_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__UninterpretedOption_msg_init(), 7); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_aggregate_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__UninterpretedOption_msg_init(), 8); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* google.protobuf.UninterpretedOption.NamePart */ |
|
|
|
@ -5651,11 +5651,11 @@ UPB_INLINE bool google_protobuf_UninterpretedOption_NamePart_has_is_extension(co |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_set_name_part(google_protobuf_UninterpretedOption_NamePart *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__UninterpretedOption__NamePart_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_set_is_extension(google_protobuf_UninterpretedOption_NamePart *msg, bool value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__UninterpretedOption__NamePart_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* google.protobuf.FeatureSet */ |
|
|
|
@ -5793,27 +5793,27 @@ UPB_INLINE bool google_protobuf_FeatureSet_has_json_format(const google_protobuf |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_FeatureSet_set_field_presence(google_protobuf_FeatureSet *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FeatureSet_msg_init(), 1); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FeatureSet_set_enum_type(google_protobuf_FeatureSet *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FeatureSet_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FeatureSet_set_repeated_field_encoding(google_protobuf_FeatureSet *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FeatureSet_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FeatureSet_set_utf8_validation(google_protobuf_FeatureSet *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FeatureSet_msg_init(), 4); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FeatureSet_set_message_encoding(google_protobuf_FeatureSet *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FeatureSet_msg_init(), 5); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FeatureSet_set_json_format(google_protobuf_FeatureSet *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FeatureSet_msg_init(), 6); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* google.protobuf.FeatureSetDefaults */ |
|
|
|
@ -5949,11 +5949,11 @@ UPB_INLINE struct google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* g |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FeatureSetDefaults_set_minimum_edition(google_protobuf_FeatureSetDefaults *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FeatureSetDefaults_msg_init(), 4); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FeatureSetDefaults_set_maximum_edition(google_protobuf_FeatureSetDefaults *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FeatureSetDefaults_msg_init(), 5); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault */ |
|
|
|
@ -6059,7 +6059,7 @@ UPB_INLINE bool google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_has_ |
|
|
|
|
|
|
|
|
|
UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_set_features(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault *msg, google_protobuf_FeatureSet* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
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); |
|
|
|
@ -6071,11 +6071,11 @@ UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FeatureSetDefaults |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_set_edition(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_set_overridable_features(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault *msg, google_protobuf_FeatureSet* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init(), 4); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_mutable_overridable_features(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_overridable_features(msg); |
|
|
|
@ -6087,7 +6087,7 @@ UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FeatureSetDefaults |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_set_fixed_features(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault *msg, google_protobuf_FeatureSet* value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init(), 5); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_mutable_fixed_features(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg, upb_Arena* arena) { |
|
|
|
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_fixed_features(msg); |
|
|
|
@ -6421,11 +6421,11 @@ UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_span(google_protobuf |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_leading_comments(google_protobuf_SourceCodeInfo_Location *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__SourceCodeInfo__Location_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_trailing_comments(google_protobuf_SourceCodeInfo_Location *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__SourceCodeInfo__Location_msg_init(), 4); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE upb_StringView* google_protobuf_SourceCodeInfo_Location_mutable_leading_detached_comments(google_protobuf_SourceCodeInfo_Location* msg, size_t* size) { |
|
|
|
|
upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__SourceCodeInfo__Location_msg_init(), 6); |
|
|
|
@ -6719,19 +6719,19 @@ UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_add_path(google_pro |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_source_file(google_protobuf_GeneratedCodeInfo_Annotation *msg, upb_StringView value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__GeneratedCodeInfo__Annotation_msg_init(), 2); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_begin(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__GeneratedCodeInfo__Annotation_msg_init(), 3); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_end(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__GeneratedCodeInfo__Annotation_msg_init(), 4); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_semantic(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value) { |
|
|
|
|
const upb_MiniTableField field = *upb_MiniTable_FindFieldByNumber(google__protobuf__GeneratedCodeInfo__Annotation_msg_init(), 5); |
|
|
|
|
_upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value); |
|
|
|
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* Max size 32 is google.protobuf.FileOptions */ |
|
|
|
|