@@ -7291,19 +7291,19 @@ UPB_INLINE char* google_protobuf_DescriptorProto_serialize_ex(const google_proto
7291
7291
return ptr;
7292
7292
}
7293
7293
UPB_INLINE void google_protobuf_DescriptorProto_clear_name(google_protobuf_DescriptorProto* msg) {
7294
- const upb_MiniTableField field = {1, UPB_SIZE(48 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
7294
+ const upb_MiniTableField field = {1, UPB_SIZE(52 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
7295
7295
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
7296
7296
}
7297
7297
UPB_INLINE upb_StringView google_protobuf_DescriptorProto_name(const google_protobuf_DescriptorProto* msg) {
7298
7298
upb_StringView default_val = upb_StringView_FromString("");
7299
7299
upb_StringView ret;
7300
- const upb_MiniTableField field = {1, UPB_SIZE(48 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
7300
+ const upb_MiniTableField field = {1, UPB_SIZE(52 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
7301
7301
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
7302
7302
&default_val, &ret);
7303
7303
return ret;
7304
7304
}
7305
7305
UPB_INLINE bool google_protobuf_DescriptorProto_has_name(const google_protobuf_DescriptorProto* msg) {
7306
- const upb_MiniTableField field = {1, UPB_SIZE(48 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
7306
+ const upb_MiniTableField field = {1, UPB_SIZE(52 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
7307
7307
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
7308
7308
}
7309
7309
UPB_INLINE void google_protobuf_DescriptorProto_clear_field(google_protobuf_DescriptorProto* msg) {
@@ -7600,9 +7600,25 @@ UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_reserved_name_mutable_upb
7600
7600
}
7601
7601
return arr;
7602
7602
}
7603
+ UPB_INLINE void google_protobuf_DescriptorProto_clear_visibility(google_protobuf_DescriptorProto* msg) {
7604
+ const upb_MiniTableField field = {11, UPB_SIZE(48, 12), 66, 8, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
7605
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
7606
+ }
7607
+ UPB_INLINE int32_t google_protobuf_DescriptorProto_visibility(const google_protobuf_DescriptorProto* msg) {
7608
+ int32_t default_val = 0;
7609
+ int32_t ret;
7610
+ const upb_MiniTableField field = {11, UPB_SIZE(48, 12), 66, 8, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
7611
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
7612
+ &default_val, &ret);
7613
+ return ret;
7614
+ }
7615
+ UPB_INLINE bool google_protobuf_DescriptorProto_has_visibility(const google_protobuf_DescriptorProto* msg) {
7616
+ const upb_MiniTableField field = {11, UPB_SIZE(48, 12), 66, 8, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
7617
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
7618
+ }
7603
7619
7604
7620
UPB_INLINE void google_protobuf_DescriptorProto_set_name(google_protobuf_DescriptorProto *msg, upb_StringView value) {
7605
- const upb_MiniTableField field = {1, UPB_SIZE(48 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
7621
+ const upb_MiniTableField field = {1, UPB_SIZE(52 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
7606
7622
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
7607
7623
}
7608
7624
UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_mutable_field(google_protobuf_DescriptorProto* msg, size_t* size) {
@@ -7870,6 +7886,10 @@ UPB_INLINE bool google_protobuf_DescriptorProto_add_reserved_name(google_protobu
7870
7886
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
7871
7887
return true;
7872
7888
}
7889
+ UPB_INLINE void google_protobuf_DescriptorProto_set_visibility(google_protobuf_DescriptorProto *msg, int32_t value) {
7890
+ const upb_MiniTableField field = {11, UPB_SIZE(48, 12), 66, 8, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
7891
+ upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
7892
+ }
7873
7893
7874
7894
/* google.protobuf.DescriptorProto.ExtensionRange */
7875
7895
@@ -8810,19 +8830,19 @@ UPB_INLINE char* google_protobuf_EnumDescriptorProto_serialize_ex(const google_p
8810
8830
return ptr;
8811
8831
}
8812
8832
UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_name(google_protobuf_EnumDescriptorProto* msg) {
8813
- const upb_MiniTableField field = {1, UPB_SIZE(28 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
8833
+ const upb_MiniTableField field = {1, UPB_SIZE(32 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
8814
8834
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
8815
8835
}
8816
8836
UPB_INLINE upb_StringView google_protobuf_EnumDescriptorProto_name(const google_protobuf_EnumDescriptorProto* msg) {
8817
8837
upb_StringView default_val = upb_StringView_FromString("");
8818
8838
upb_StringView ret;
8819
- const upb_MiniTableField field = {1, UPB_SIZE(28 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
8839
+ const upb_MiniTableField field = {1, UPB_SIZE(32 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
8820
8840
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
8821
8841
&default_val, &ret);
8822
8842
return ret;
8823
8843
}
8824
8844
UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_name(const google_protobuf_EnumDescriptorProto* msg) {
8825
- const upb_MiniTableField field = {1, UPB_SIZE(28 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
8845
+ const upb_MiniTableField field = {1, UPB_SIZE(32 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
8826
8846
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
8827
8847
}
8828
8848
UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_value(google_protobuf_EnumDescriptorProto* msg) {
@@ -8944,9 +8964,25 @@ UPB_INLINE upb_Array* _google_protobuf_EnumDescriptorProto_reserved_name_mutable
8944
8964
}
8945
8965
return arr;
8946
8966
}
8967
+ UPB_INLINE void google_protobuf_EnumDescriptorProto_clear_visibility(google_protobuf_EnumDescriptorProto* msg) {
8968
+ const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 66, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
8969
+ upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
8970
+ }
8971
+ UPB_INLINE int32_t google_protobuf_EnumDescriptorProto_visibility(const google_protobuf_EnumDescriptorProto* msg) {
8972
+ int32_t default_val = 0;
8973
+ int32_t ret;
8974
+ const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 66, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
8975
+ _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
8976
+ &default_val, &ret);
8977
+ return ret;
8978
+ }
8979
+ UPB_INLINE bool google_protobuf_EnumDescriptorProto_has_visibility(const google_protobuf_EnumDescriptorProto* msg) {
8980
+ const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 66, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
8981
+ return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
8982
+ }
8947
8983
8948
8984
UPB_INLINE void google_protobuf_EnumDescriptorProto_set_name(google_protobuf_EnumDescriptorProto *msg, upb_StringView value) {
8949
- const upb_MiniTableField field = {1, UPB_SIZE(28 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
8985
+ const upb_MiniTableField field = {1, UPB_SIZE(32 , 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
8950
8986
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
8951
8987
}
8952
8988
UPB_INLINE google_protobuf_EnumValueDescriptorProto** google_protobuf_EnumDescriptorProto_mutable_value(google_protobuf_EnumDescriptorProto* msg, size_t* size) {
@@ -9054,6 +9090,10 @@ UPB_INLINE bool google_protobuf_EnumDescriptorProto_add_reserved_name(google_pro
9054
9090
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
9055
9091
return true;
9056
9092
}
9093
+ UPB_INLINE void google_protobuf_EnumDescriptorProto_set_visibility(google_protobuf_EnumDescriptorProto *msg, int32_t value) {
9094
+ const upb_MiniTableField field = {6, UPB_SIZE(28, 12), 66, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
9095
+ upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
9096
+ }
9057
9097
9058
9098
/* google.protobuf.EnumDescriptorProto.EnumReservedRange */
9059
9099
0 commit comments