@@ -9400,12 +9400,28 @@ UPB_INLINE bool google_protobuf_EnumValueOptions_has_debug_redact(const google_p
94009400 const upb_MiniTableField field = {3, UPB_SIZE(16, 10), 66, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
94019401 return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
94029402}
9403+ UPB_INLINE void google_protobuf_EnumValueOptions_clear_feature_support(google_protobuf_EnumValueOptions* msg) {
9404+ const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 67, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
9405+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
9406+ }
9407+ UPB_INLINE const google_protobuf_FieldOptions_FeatureSupport* google_protobuf_EnumValueOptions_feature_support(const google_protobuf_EnumValueOptions* msg) {
9408+ const google_protobuf_FieldOptions_FeatureSupport* default_val = NULL;
9409+ const google_protobuf_FieldOptions_FeatureSupport* ret;
9410+ const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 67, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
9411+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
9412+ &default_val, &ret);
9413+ return ret;
9414+ }
9415+ UPB_INLINE bool google_protobuf_EnumValueOptions_has_feature_support(const google_protobuf_EnumValueOptions* msg) {
9416+ const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 67, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
9417+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
9418+ }
94039419UPB_INLINE void google_protobuf_EnumValueOptions_clear_uninterpreted_option(google_protobuf_EnumValueOptions* msg) {
9404- const upb_MiniTableField field = {999, UPB_SIZE(20, 24 ), 0, 1 , 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
9420+ const upb_MiniTableField field = {999, UPB_SIZE(24, 32 ), 0, 2 , 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
94059421 upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
94069422}
94079423UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_EnumValueOptions_uninterpreted_option(const google_protobuf_EnumValueOptions* msg, size_t* size) {
9408- const upb_MiniTableField field = {999, UPB_SIZE(20, 24 ), 0, 1 , 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
9424+ const upb_MiniTableField field = {999, UPB_SIZE(24, 32 ), 0, 2 , 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
94099425 const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
94109426 if (arr) {
94119427 if (size) *size = arr->UPB_PRIVATE(size);
@@ -9416,15 +9432,15 @@ UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_Enu
94169432 }
94179433}
94189434UPB_INLINE const upb_Array* _google_protobuf_EnumValueOptions_uninterpreted_option_upb_array(const google_protobuf_EnumValueOptions* msg, size_t* size) {
9419- const upb_MiniTableField field = {999, UPB_SIZE(20, 24 ), 0, 1 , 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
9435+ const upb_MiniTableField field = {999, UPB_SIZE(24, 32 ), 0, 2 , 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
94209436 const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
94219437 if (size) {
94229438 *size = arr ? arr->UPB_PRIVATE(size) : 0;
94239439 }
94249440 return arr;
94259441}
94269442UPB_INLINE upb_Array* _google_protobuf_EnumValueOptions_uninterpreted_option_mutable_upb_array(google_protobuf_EnumValueOptions* msg, size_t* size, upb_Arena* arena) {
9427- const upb_MiniTableField field = {999, UPB_SIZE(20, 24 ), 0, 1 , 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
9443+ const upb_MiniTableField field = {999, UPB_SIZE(24, 32 ), 0, 2 , 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
94289444 upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
94299445 &field, arena);
94309446 if (size) {
@@ -9453,8 +9469,20 @@ UPB_INLINE void google_protobuf_EnumValueOptions_set_debug_redact(google_protobu
94539469 const upb_MiniTableField field = {3, UPB_SIZE(16, 10), 66, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
94549470 upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
94559471}
9472+ UPB_INLINE void google_protobuf_EnumValueOptions_set_feature_support(google_protobuf_EnumValueOptions *msg, google_protobuf_FieldOptions_FeatureSupport* value) {
9473+ const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 67, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
9474+ upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
9475+ }
9476+ UPB_INLINE struct google_protobuf_FieldOptions_FeatureSupport* google_protobuf_EnumValueOptions_mutable_feature_support(google_protobuf_EnumValueOptions* msg, upb_Arena* arena) {
9477+ struct google_protobuf_FieldOptions_FeatureSupport* sub = (struct google_protobuf_FieldOptions_FeatureSupport*)google_protobuf_EnumValueOptions_feature_support(msg);
9478+ if (sub == NULL) {
9479+ sub = (struct google_protobuf_FieldOptions_FeatureSupport*)_upb_Message_New(&google__protobuf__FieldOptions__FeatureSupport_msg_init, arena);
9480+ if (sub) google_protobuf_EnumValueOptions_set_feature_support(msg, sub);
9481+ }
9482+ return sub;
9483+ }
94569484UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumValueOptions_mutable_uninterpreted_option(google_protobuf_EnumValueOptions* msg, size_t* size) {
9457- upb_MiniTableField field = {999, UPB_SIZE(20, 24 ), 0, 1 , 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
9485+ upb_MiniTableField field = {999, UPB_SIZE(24, 32 ), 0, 2 , 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
94589486 upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
94599487 if (arr) {
94609488 if (size) *size = arr->UPB_PRIVATE(size);
@@ -9465,12 +9493,12 @@ UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumValueOption
94659493 }
94669494}
94679495UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumValueOptions_resize_uninterpreted_option(google_protobuf_EnumValueOptions* msg, size_t size, upb_Arena* arena) {
9468- upb_MiniTableField field = {999, UPB_SIZE(20, 24 ), 0, 1 , 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
9496+ upb_MiniTableField field = {999, UPB_SIZE(24, 32 ), 0, 2 , 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
94699497 return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
94709498 &field, size, arena);
94719499}
94729500UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_EnumValueOptions_add_uninterpreted_option(google_protobuf_EnumValueOptions* msg, upb_Arena* arena) {
9473- upb_MiniTableField field = {999, UPB_SIZE(20, 24 ), 0, 1 , 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
9501+ upb_MiniTableField field = {999, UPB_SIZE(24, 32 ), 0, 2 , 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
94749502 upb_Array* arr = upb_Message_GetOrCreateMutableArray(
94759503 UPB_UPCAST(msg), &field, arena);
94769504 if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
0 commit comments