• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // NO CHECKED-IN PROTOBUF GENCODE
3 // source: google/protobuf/compiler/java/java_features.proto
4 // Protobuf C++ Version: 5.29.4
5 
6 #include "google/protobuf/compiler/java/java_features.pb.h"
7 
8 #include <algorithm>
9 #include <type_traits>
10 #include "google/protobuf/io/coded_stream.h"
11 #include "google/protobuf/generated_message_tctable_impl.h"
12 #include "google/protobuf/extension_set.h"
13 #include "google/protobuf/generated_message_util.h"
14 #include "google/protobuf/wire_format_lite.h"
15 #include "google/protobuf/descriptor.h"
16 #include "google/protobuf/generated_message_reflection.h"
17 #include "google/protobuf/reflection_ops.h"
18 #include "google/protobuf/wire_format.h"
19 // @@protoc_insertion_point(includes)
20 
21 // Must be included last.
22 #include "google/protobuf/port_def.inc"
23 PROTOBUF_PRAGMA_INIT_SEG
24 namespace _pb = ::google::protobuf;
25 namespace _pbi = ::google::protobuf::internal;
26 namespace _fl = ::google::protobuf::internal::field_layout;
27 namespace pb {
28 
Impl_(::_pbi::ConstantInitialized)29 inline constexpr JavaFeatures::Impl_::Impl_(
30     ::_pbi::ConstantInitialized) noexcept
31       : _cached_size_{0},
32         legacy_closed_enum_{false},
33         utf8_validation_{static_cast< ::pb::JavaFeatures_Utf8Validation >(0)} {}
34 
35 template <typename>
JavaFeatures(::_pbi::ConstantInitialized)36 PROTOBUF_CONSTEXPR JavaFeatures::JavaFeatures(::_pbi::ConstantInitialized)
37 #if defined(PROTOBUF_CUSTOM_VTABLE)
38     : ::google::protobuf::Message(_class_data_.base()),
39 #else   // PROTOBUF_CUSTOM_VTABLE
40     : ::google::protobuf::Message(),
41 #endif  // PROTOBUF_CUSTOM_VTABLE
42       _impl_(::_pbi::ConstantInitialized()) {
43 }
44 struct JavaFeaturesDefaultTypeInternal {
JavaFeaturesDefaultTypeInternalpb::JavaFeaturesDefaultTypeInternal45   PROTOBUF_CONSTEXPR JavaFeaturesDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~JavaFeaturesDefaultTypeInternalpb::JavaFeaturesDefaultTypeInternal46   ~JavaFeaturesDefaultTypeInternal() {}
47   union {
48     JavaFeatures _instance;
49   };
50 };
51 
52 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOC_EXPORT
53     PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JavaFeaturesDefaultTypeInternal _JavaFeatures_default_instance_;
54 }  // namespace pb
55 static const ::_pb::EnumDescriptor* file_level_enum_descriptors_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto[1];
56 static constexpr const ::_pb::ServiceDescriptor**
57     file_level_service_descriptors_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto = nullptr;
58 const ::uint32_t
59     TableStruct_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
60         protodesc_cold) = {
61         PROTOBUF_FIELD_OFFSET(::pb::JavaFeatures, _impl_._has_bits_),
62         PROTOBUF_FIELD_OFFSET(::pb::JavaFeatures, _internal_metadata_),
63         ~0u,  // no _extensions_
64         ~0u,  // no _oneof_case_
65         ~0u,  // no _weak_field_map_
66         ~0u,  // no _inlined_string_donated_
67         ~0u,  // no _split_
68         ~0u,  // no sizeof(Split)
69         PROTOBUF_FIELD_OFFSET(::pb::JavaFeatures, _impl_.legacy_closed_enum_),
70         PROTOBUF_FIELD_OFFSET(::pb::JavaFeatures, _impl_.utf8_validation_),
71         0,
72         1,
73 };
74 
75 static const ::_pbi::MigrationSchema
76     schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
77         {0, 10, -1, sizeof(::pb::JavaFeatures)},
78 };
79 static const ::_pb::Message* const file_default_instances[] = {
80     &::pb::_JavaFeatures_default_instance_._instance,
81 };
82 const char descriptor_table_protodef_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
83     protodesc_cold) = {
84     "\n1google/protobuf/compiler/java/java_fea"
85     "tures.proto\022\002pb\032 google/protobuf/descrip"
86     "tor.proto\"\371\004\n\014JavaFeatures\022\376\001\n\022legacy_cl"
87     "osed_enum\030\001 \001(\010B\341\001\210\001\001\230\001\004\230\001\001\242\001\t\022\004true\030\204\007\242"
88     "\001\n\022\005false\030\347\007\262\001\273\001\010\350\007\020\350\007\032\262\001The legacy clos"
89     "ed enum behavior in Java is deprecated a"
90     "nd is scheduled to be removed in edition"
91     " 2025.  See http://protobuf.dev/programm"
92     "ing-guides/enum/#java for more informati"
93     "on.\022\237\002\n\017utf8_validation\030\002 \001(\0162\037.pb.JavaF"
94     "eatures.Utf8ValidationB\344\001\210\001\001\230\001\004\230\001\001\242\001\014\022\007D"
95     "EFAULT\030\204\007\262\001\310\001\010\350\007\020\351\007\032\277\001The Java-specific "
96     "utf8 validation feature is deprecated an"
97     "d is scheduled to be removed in edition "
98     "2025.  Utf8 validation behavior should u"
99     "se the global cross-language utf8_valida"
100     "tion feature.\"F\n\016Utf8Validation\022\033\n\027UTF8_"
101     "VALIDATION_UNKNOWN\020\000\022\013\n\007DEFAULT\020\001\022\n\n\006VER"
102     "IFY\020\002:<\n\004java\022\033.google.protobuf.FeatureS"
103     "et\030\351\007 \001(\0132\020.pb.JavaFeaturesB(\n\023com.googl"
104     "e.protobufB\021JavaFeaturesProto"
105 };
106 static const ::_pbi::DescriptorTable* const descriptor_table_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto_deps[1] =
107     {
108         &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto,
109 };
110 static ::absl::once_flag descriptor_table_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto_once;
111 PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto = {
112     false,
113     false,
114     829,
115     descriptor_table_protodef_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto,
116     "google/protobuf/compiler/java/java_features.proto",
117     &descriptor_table_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto_once,
118     descriptor_table_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto_deps,
119     1,
120     1,
121     schemas,
122     file_default_instances,
123     TableStruct_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto::offsets,
124     file_level_enum_descriptors_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto,
125     file_level_service_descriptors_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto,
126 };
127 namespace pb {
JavaFeatures_Utf8Validation_descriptor()128 const ::google::protobuf::EnumDescriptor* JavaFeatures_Utf8Validation_descriptor() {
129   ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto);
130   return file_level_enum_descriptors_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto[0];
131 }
132 PROTOBUF_CONSTINIT const uint32_t JavaFeatures_Utf8Validation_internal_data_[] = {
133     196608u, 0u, };
JavaFeatures_Utf8Validation_IsValid(int value)134 bool JavaFeatures_Utf8Validation_IsValid(int value) {
135   return 0 <= value && value <= 2;
136 }
137 #if (__cplusplus < 201703) && \
138   (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
139 
140 constexpr JavaFeatures_Utf8Validation JavaFeatures::UTF8_VALIDATION_UNKNOWN;
141 constexpr JavaFeatures_Utf8Validation JavaFeatures::DEFAULT;
142 constexpr JavaFeatures_Utf8Validation JavaFeatures::VERIFY;
143 constexpr JavaFeatures_Utf8Validation JavaFeatures::Utf8Validation_MIN;
144 constexpr JavaFeatures_Utf8Validation JavaFeatures::Utf8Validation_MAX;
145 constexpr int JavaFeatures::Utf8Validation_ARRAYSIZE;
146 
147 #endif  // (__cplusplus < 201703) &&
148         // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
149 // ===================================================================
150 
151 class JavaFeatures::_Internal {
152  public:
153   using HasBits =
154       decltype(std::declval<JavaFeatures>()._impl_._has_bits_);
155   static constexpr ::int32_t kHasBitsOffset =
156       8 * PROTOBUF_FIELD_OFFSET(JavaFeatures, _impl_._has_bits_);
157 };
158 
JavaFeatures(::google::protobuf::Arena * arena)159 JavaFeatures::JavaFeatures(::google::protobuf::Arena* arena)
160 #if defined(PROTOBUF_CUSTOM_VTABLE)
161     : ::google::protobuf::Message(arena, _class_data_.base()) {
162 #else   // PROTOBUF_CUSTOM_VTABLE
163     : ::google::protobuf::Message(arena) {
164 #endif  // PROTOBUF_CUSTOM_VTABLE
165   SharedCtor(arena);
166   // @@protoc_insertion_point(arena_constructor:pb.JavaFeatures)
167 }
168 JavaFeatures::JavaFeatures(
169     ::google::protobuf::Arena* arena, const JavaFeatures& from)
170     : JavaFeatures(arena) {
171   MergeFrom(from);
172 }
173 inline PROTOBUF_NDEBUG_INLINE JavaFeatures::Impl_::Impl_(
174     ::google::protobuf::internal::InternalVisibility visibility,
175     ::google::protobuf::Arena* arena)
176       : _cached_size_{0} {}
177 
178 inline void JavaFeatures::SharedCtor(::_pb::Arena* arena) {
179   new (&_impl_) Impl_(internal_visibility(), arena);
180   ::memset(reinterpret_cast<char *>(&_impl_) +
181                offsetof(Impl_, legacy_closed_enum_),
182            0,
183            offsetof(Impl_, utf8_validation_) -
184                offsetof(Impl_, legacy_closed_enum_) +
185                sizeof(Impl_::utf8_validation_));
186 }
187 JavaFeatures::~JavaFeatures() {
188   // @@protoc_insertion_point(destructor:pb.JavaFeatures)
189   SharedDtor(*this);
190 }
191 inline void JavaFeatures::SharedDtor(MessageLite& self) {
192   JavaFeatures& this_ = static_cast<JavaFeatures&>(self);
193   this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
194   ABSL_DCHECK(this_.GetArena() == nullptr);
195   this_._impl_.~Impl_();
196 }
197 
198 inline void* JavaFeatures::PlacementNew_(const void*, void* mem,
199                                         ::google::protobuf::Arena* arena) {
200   return ::new (mem) JavaFeatures(arena);
201 }
202 constexpr auto JavaFeatures::InternalNewImpl_() {
203   return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(JavaFeatures),
204                                             alignof(JavaFeatures));
205 }
206 PROTOBUF_CONSTINIT
207 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
208 const ::google::protobuf::internal::ClassDataFull JavaFeatures::_class_data_ = {
209     ::google::protobuf::internal::ClassData{
210         &_JavaFeatures_default_instance_._instance,
211         &_table_.header,
212         nullptr,  // OnDemandRegisterArenaDtor
213         nullptr,  // IsInitialized
214         &JavaFeatures::MergeImpl,
215         ::google::protobuf::Message::GetNewImpl<JavaFeatures>(),
216 #if defined(PROTOBUF_CUSTOM_VTABLE)
217         &JavaFeatures::SharedDtor,
218         ::google::protobuf::Message::GetClearImpl<JavaFeatures>(), &JavaFeatures::ByteSizeLong,
219             &JavaFeatures::_InternalSerialize,
220 #endif  // PROTOBUF_CUSTOM_VTABLE
221         PROTOBUF_FIELD_OFFSET(JavaFeatures, _impl_._cached_size_),
222         false,
223     },
224     &JavaFeatures::kDescriptorMethods,
225     &descriptor_table_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto,
226     nullptr,  // tracker
227 };
228 const ::google::protobuf::internal::ClassData* JavaFeatures::GetClassData() const {
229   ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
230   ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
231   return _class_data_.base();
232 }
233 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
234 const ::_pbi::TcParseTable<1, 2, 1, 0, 2> JavaFeatures::_table_ = {
235   {
236     PROTOBUF_FIELD_OFFSET(JavaFeatures, _impl_._has_bits_),
237     0, // no _extensions_
238     2, 8,  // max_field_number, fast_idx_mask
239     offsetof(decltype(_table_), field_lookup_table),
240     4294967292,  // skipmap
241     offsetof(decltype(_table_), field_entries),
242     2,  // num_field_entries
243     1,  // num_aux_entries
244     offsetof(decltype(_table_), aux_entries),
245     _class_data_.base(),
246     nullptr,  // post_loop_handler
247     ::_pbi::TcParser::GenericFallback,  // fallback
248     #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
249     ::_pbi::TcParser::GetTable<::pb::JavaFeatures>(),  // to_prefetch
250     #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
251   }, {{
252     // optional .pb.JavaFeatures.Utf8Validation utf8_validation = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
253     {::_pbi::TcParser::FastEr0S1,
254      {16, 1, 2, PROTOBUF_FIELD_OFFSET(JavaFeatures, _impl_.utf8_validation_)}},
255     // optional bool legacy_closed_enum = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
256     {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(JavaFeatures, _impl_.legacy_closed_enum_), 0>(),
257      {8, 0, 0, PROTOBUF_FIELD_OFFSET(JavaFeatures, _impl_.legacy_closed_enum_)}},
258   }}, {{
259     65535, 65535
260   }}, {{
261     // optional bool legacy_closed_enum = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
262     {PROTOBUF_FIELD_OFFSET(JavaFeatures, _impl_.legacy_closed_enum_), _Internal::kHasBitsOffset + 0, 0,
263     (0 | ::_fl::kFcOptional | ::_fl::kBool)},
264     // optional .pb.JavaFeatures.Utf8Validation utf8_validation = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
265     {PROTOBUF_FIELD_OFFSET(JavaFeatures, _impl_.utf8_validation_), _Internal::kHasBitsOffset + 1, 0,
266     (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
267   }}, {{
268     {0, 3},
269   }}, {{
270   }},
271 };
272 
273 PROTOBUF_NOINLINE void JavaFeatures::Clear() {
274 // @@protoc_insertion_point(message_clear_start:pb.JavaFeatures)
275   ::google::protobuf::internal::TSanWrite(&_impl_);
276   ::uint32_t cached_has_bits = 0;
277   // Prevent compiler warnings about cached_has_bits being unused
278   (void) cached_has_bits;
279 
280   cached_has_bits = _impl_._has_bits_[0];
281   if (cached_has_bits & 0x00000003u) {
282     ::memset(&_impl_.legacy_closed_enum_, 0, static_cast<::size_t>(
283         reinterpret_cast<char*>(&_impl_.utf8_validation_) -
284         reinterpret_cast<char*>(&_impl_.legacy_closed_enum_)) + sizeof(_impl_.utf8_validation_));
285   }
286   _impl_._has_bits_.Clear();
287   _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
288 }
289 
290 #if defined(PROTOBUF_CUSTOM_VTABLE)
291         ::uint8_t* JavaFeatures::_InternalSerialize(
292             const MessageLite& base, ::uint8_t* target,
293             ::google::protobuf::io::EpsCopyOutputStream* stream) {
294           const JavaFeatures& this_ = static_cast<const JavaFeatures&>(base);
295 #else   // PROTOBUF_CUSTOM_VTABLE
296         ::uint8_t* JavaFeatures::_InternalSerialize(
297             ::uint8_t* target,
298             ::google::protobuf::io::EpsCopyOutputStream* stream) const {
299           const JavaFeatures& this_ = *this;
300 #endif  // PROTOBUF_CUSTOM_VTABLE
301           // @@protoc_insertion_point(serialize_to_array_start:pb.JavaFeatures)
302           ::uint32_t cached_has_bits = 0;
303           (void)cached_has_bits;
304 
305           cached_has_bits = this_._impl_._has_bits_[0];
306           // optional bool legacy_closed_enum = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
307           if (cached_has_bits & 0x00000001u) {
308             target = stream->EnsureSpace(target);
309             target = ::_pbi::WireFormatLite::WriteBoolToArray(
310                 1, this_._internal_legacy_closed_enum(), target);
311           }
312 
313           // optional .pb.JavaFeatures.Utf8Validation utf8_validation = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
314           if (cached_has_bits & 0x00000002u) {
315             target = stream->EnsureSpace(target);
316             target = ::_pbi::WireFormatLite::WriteEnumToArray(
317                 2, this_._internal_utf8_validation(), target);
318           }
319 
320           if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
321             target =
322                 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
323                     this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
324           }
325           // @@protoc_insertion_point(serialize_to_array_end:pb.JavaFeatures)
326           return target;
327         }
328 
329 #if defined(PROTOBUF_CUSTOM_VTABLE)
330         ::size_t JavaFeatures::ByteSizeLong(const MessageLite& base) {
331           const JavaFeatures& this_ = static_cast<const JavaFeatures&>(base);
332 #else   // PROTOBUF_CUSTOM_VTABLE
333         ::size_t JavaFeatures::ByteSizeLong() const {
334           const JavaFeatures& this_ = *this;
335 #endif  // PROTOBUF_CUSTOM_VTABLE
336           // @@protoc_insertion_point(message_byte_size_start:pb.JavaFeatures)
337           ::size_t total_size = 0;
338 
339           ::uint32_t cached_has_bits = 0;
340           // Prevent compiler warnings about cached_has_bits being unused
341           (void)cached_has_bits;
342 
343           ::_pbi::Prefetch5LinesFrom7Lines(&this_);
344           cached_has_bits = this_._impl_._has_bits_[0];
345           if (cached_has_bits & 0x00000003u) {
346             // optional bool legacy_closed_enum = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
347             if (cached_has_bits & 0x00000001u) {
348               total_size += 2;
349             }
350             // optional .pb.JavaFeatures.Utf8Validation utf8_validation = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
351             if (cached_has_bits & 0x00000002u) {
352               total_size += 1 +
353                             ::_pbi::WireFormatLite::EnumSize(this_._internal_utf8_validation());
354             }
355           }
356           return this_.MaybeComputeUnknownFieldsSize(total_size,
357                                                      &this_._impl_._cached_size_);
358         }
359 
360 void JavaFeatures::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
361   auto* const _this = static_cast<JavaFeatures*>(&to_msg);
362   auto& from = static_cast<const JavaFeatures&>(from_msg);
363   // @@protoc_insertion_point(class_specific_merge_from_start:pb.JavaFeatures)
364   ABSL_DCHECK_NE(&from, _this);
365   ::uint32_t cached_has_bits = 0;
366   (void) cached_has_bits;
367 
368   cached_has_bits = from._impl_._has_bits_[0];
369   if (cached_has_bits & 0x00000003u) {
370     if (cached_has_bits & 0x00000001u) {
371       _this->_impl_.legacy_closed_enum_ = from._impl_.legacy_closed_enum_;
372     }
373     if (cached_has_bits & 0x00000002u) {
374       _this->_impl_.utf8_validation_ = from._impl_.utf8_validation_;
375     }
376   }
377   _this->_impl_._has_bits_[0] |= cached_has_bits;
378   _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
379 }
380 
381 void JavaFeatures::CopyFrom(const JavaFeatures& from) {
382 // @@protoc_insertion_point(class_specific_copy_from_start:pb.JavaFeatures)
383   if (&from == this) return;
384   Clear();
385   MergeFrom(from);
386 }
387 
388 
389 void JavaFeatures::InternalSwap(JavaFeatures* PROTOBUF_RESTRICT other) {
390   using std::swap;
391   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
392   swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
393   ::google::protobuf::internal::memswap<
394       PROTOBUF_FIELD_OFFSET(JavaFeatures, _impl_.utf8_validation_)
395       + sizeof(JavaFeatures::_impl_.utf8_validation_)
396       - PROTOBUF_FIELD_OFFSET(JavaFeatures, _impl_.legacy_closed_enum_)>(
397           reinterpret_cast<char*>(&_impl_.legacy_closed_enum_),
398           reinterpret_cast<char*>(&other->_impl_.legacy_closed_enum_));
399 }
400 
401 ::google::protobuf::Metadata JavaFeatures::GetMetadata() const {
402   return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
403 }
404 PROTOBUF_CONSTINIT PROTOC_EXPORT
405     PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::_pbi::
406         ExtensionIdentifier<::google::protobuf::FeatureSet, ::_pbi::MessageTypeTraits< ::pb::JavaFeatures >,
407                             11, false>
408             java(kJavaFieldNumber, &::pb::_JavaFeatures_default_instance_);
409 // @@protoc_insertion_point(namespace_scope)
410 }  // namespace pb
411 namespace google {
412 namespace protobuf {
413 }  // namespace protobuf
414 }  // namespace google
415 // @@protoc_insertion_point(global_scope)
416 PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
417     _static_init2_ PROTOBUF_UNUSED =
418         (::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto),
419         ::_pbi::ExtensionSet::RegisterMessageExtension(
420             &::google::protobuf::FeatureSet::default_instance(), 1001, 11,
421             false, false, &::pb::JavaFeatures::default_instance(),
422             nullptr, ::_pbi::LazyAnnotation::kUndefined),
423          ::std::false_type{});
424 #include "google/protobuf/port_undef.inc"
425