File indexing completed on 2026-09-29 09:14:04
0001
0002
0003
0004
0005
0006 #ifndef google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto_2epb_2eh
0007 #define google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto_2epb_2eh
0008
0009 #include <limits>
0010 #include <string>
0011 #include <type_traits>
0012 #include <utility>
0013
0014 #include "google/protobuf/runtime_version.h"
0015 #if PROTOBUF_VERSION != 6032001
0016 #error "Protobuf C++ gencode is built with an incompatible version of"
0017 #error "Protobuf C++ headers/runtime. See"
0018 #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
0019 #endif
0020 #include "google/protobuf/io/coded_stream.h"
0021 #include "google/protobuf/arena.h"
0022 #include "google/protobuf/arenastring.h"
0023 #include "google/protobuf/generated_message_bases.h"
0024 #include "google/protobuf/generated_message_tctable_decl.h"
0025 #include "google/protobuf/generated_message_util.h"
0026 #include "google/protobuf/metadata_lite.h"
0027 #include "google/protobuf/generated_message_reflection.h"
0028 #include "google/protobuf/message.h"
0029 #include "google/protobuf/message_lite.h"
0030 #include "google/protobuf/repeated_field.h" // IWYU pragma: export
0031 #include "google/protobuf/extension_set.h" // IWYU pragma: export
0032 #include "google/protobuf/generated_enum_reflection.h"
0033 #include "google/protobuf/unknown_field_set.h"
0034 #include "google/protobuf/descriptor.pb.h"
0035
0036
0037
0038 #include "google/protobuf/port_def.inc"
0039
0040 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto PROTOC_EXPORT
0041
0042 namespace google {
0043 namespace protobuf {
0044 namespace internal {
0045 template <typename T>
0046 ::absl::string_view GetAnyMessageName();
0047 }
0048 }
0049 }
0050
0051
0052 struct PROTOC_EXPORT TableStruct_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto {
0053 static const ::uint32_t offsets[];
0054 };
0055 extern "C" {
0056 PROTOC_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto;
0057 }
0058 namespace pb {
0059 enum JavaFeatures_NestInFileClassFeature_NestInFileClass : int;
0060 PROTOC_EXPORT extern const uint32_t JavaFeatures_NestInFileClassFeature_NestInFileClass_internal_data_[];
0061 enum JavaFeatures_Utf8Validation : int;
0062 PROTOC_EXPORT extern const uint32_t JavaFeatures_Utf8Validation_internal_data_[];
0063 class JavaFeatures;
0064 struct JavaFeaturesDefaultTypeInternal;
0065 PROTOC_EXPORT extern JavaFeaturesDefaultTypeInternal _JavaFeatures_default_instance_;
0066 PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull JavaFeatures_class_data_;
0067 class JavaFeatures_NestInFileClassFeature;
0068 struct JavaFeatures_NestInFileClassFeatureDefaultTypeInternal;
0069 PROTOC_EXPORT extern JavaFeatures_NestInFileClassFeatureDefaultTypeInternal _JavaFeatures_NestInFileClassFeature_default_instance_;
0070 PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull JavaFeatures_NestInFileClassFeature_class_data_;
0071 }
0072 namespace google {
0073 namespace protobuf {
0074 template <>
0075 internal::EnumTraitsT<::pb::JavaFeatures_NestInFileClassFeature_NestInFileClass_internal_data_>
0076 internal::EnumTraitsImpl::value<::pb::JavaFeatures_NestInFileClassFeature_NestInFileClass>;
0077 template <>
0078 internal::EnumTraitsT<::pb::JavaFeatures_Utf8Validation_internal_data_>
0079 internal::EnumTraitsImpl::value<::pb::JavaFeatures_Utf8Validation>;
0080 }
0081 }
0082
0083 namespace pb {
0084 enum JavaFeatures_NestInFileClassFeature_NestInFileClass : int {
0085 JavaFeatures_NestInFileClassFeature_NestInFileClass_NEST_IN_FILE_CLASS_UNKNOWN = 0,
0086 JavaFeatures_NestInFileClassFeature_NestInFileClass_NO = 1,
0087 JavaFeatures_NestInFileClassFeature_NestInFileClass_YES = 2,
0088 JavaFeatures_NestInFileClassFeature_NestInFileClass_LEGACY = 3,
0089 };
0090
0091 PROTOC_EXPORT extern const uint32_t JavaFeatures_NestInFileClassFeature_NestInFileClass_internal_data_[];
0092 inline constexpr JavaFeatures_NestInFileClassFeature_NestInFileClass JavaFeatures_NestInFileClassFeature_NestInFileClass_NestInFileClass_MIN =
0093 static_cast<JavaFeatures_NestInFileClassFeature_NestInFileClass>(0);
0094 inline constexpr JavaFeatures_NestInFileClassFeature_NestInFileClass JavaFeatures_NestInFileClassFeature_NestInFileClass_NestInFileClass_MAX =
0095 static_cast<JavaFeatures_NestInFileClassFeature_NestInFileClass>(3);
0096 inline bool JavaFeatures_NestInFileClassFeature_NestInFileClass_IsValid(int value) {
0097 return 0 <= value && value <= 3;
0098 }
0099 inline constexpr int JavaFeatures_NestInFileClassFeature_NestInFileClass_NestInFileClass_ARRAYSIZE = 3 + 1;
0100 PROTOC_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL JavaFeatures_NestInFileClassFeature_NestInFileClass_descriptor();
0101 template <typename T>
0102 const ::std::string& JavaFeatures_NestInFileClassFeature_NestInFileClass_Name(T value) {
0103 static_assert(::std::is_same<T, JavaFeatures_NestInFileClassFeature_NestInFileClass>::value ||
0104 ::std::is_integral<T>::value,
0105 "Incorrect type passed to NestInFileClass_Name().");
0106 return JavaFeatures_NestInFileClassFeature_NestInFileClass_Name(static_cast<JavaFeatures_NestInFileClassFeature_NestInFileClass>(value));
0107 }
0108 template <>
0109 inline const ::std::string& JavaFeatures_NestInFileClassFeature_NestInFileClass_Name(JavaFeatures_NestInFileClassFeature_NestInFileClass value) {
0110 return ::google::protobuf::internal::NameOfDenseEnum<JavaFeatures_NestInFileClassFeature_NestInFileClass_descriptor, 0, 3>(
0111 static_cast<int>(value));
0112 }
0113 inline bool JavaFeatures_NestInFileClassFeature_NestInFileClass_Parse(
0114 ::absl::string_view name, JavaFeatures_NestInFileClassFeature_NestInFileClass* PROTOBUF_NONNULL value) {
0115 return ::google::protobuf::internal::ParseNamedEnum<JavaFeatures_NestInFileClassFeature_NestInFileClass>(JavaFeatures_NestInFileClassFeature_NestInFileClass_descriptor(), name,
0116 value);
0117 }
0118 enum JavaFeatures_Utf8Validation : int {
0119 JavaFeatures_Utf8Validation_UTF8_VALIDATION_UNKNOWN = 0,
0120 JavaFeatures_Utf8Validation_DEFAULT = 1,
0121 JavaFeatures_Utf8Validation_VERIFY = 2,
0122 };
0123
0124 PROTOC_EXPORT extern const uint32_t JavaFeatures_Utf8Validation_internal_data_[];
0125 inline constexpr JavaFeatures_Utf8Validation JavaFeatures_Utf8Validation_Utf8Validation_MIN =
0126 static_cast<JavaFeatures_Utf8Validation>(0);
0127 inline constexpr JavaFeatures_Utf8Validation JavaFeatures_Utf8Validation_Utf8Validation_MAX =
0128 static_cast<JavaFeatures_Utf8Validation>(2);
0129 inline bool JavaFeatures_Utf8Validation_IsValid(int value) {
0130 return 0 <= value && value <= 2;
0131 }
0132 inline constexpr int JavaFeatures_Utf8Validation_Utf8Validation_ARRAYSIZE = 2 + 1;
0133 PROTOC_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL JavaFeatures_Utf8Validation_descriptor();
0134 template <typename T>
0135 const ::std::string& JavaFeatures_Utf8Validation_Name(T value) {
0136 static_assert(::std::is_same<T, JavaFeatures_Utf8Validation>::value ||
0137 ::std::is_integral<T>::value,
0138 "Incorrect type passed to Utf8Validation_Name().");
0139 return JavaFeatures_Utf8Validation_Name(static_cast<JavaFeatures_Utf8Validation>(value));
0140 }
0141 template <>
0142 inline const ::std::string& JavaFeatures_Utf8Validation_Name(JavaFeatures_Utf8Validation value) {
0143 return ::google::protobuf::internal::NameOfDenseEnum<JavaFeatures_Utf8Validation_descriptor, 0, 2>(
0144 static_cast<int>(value));
0145 }
0146 inline bool JavaFeatures_Utf8Validation_Parse(
0147 ::absl::string_view name, JavaFeatures_Utf8Validation* PROTOBUF_NONNULL value) {
0148 return ::google::protobuf::internal::ParseNamedEnum<JavaFeatures_Utf8Validation>(JavaFeatures_Utf8Validation_descriptor(), name,
0149 value);
0150 }
0151
0152
0153
0154
0155
0156
0157 class PROTOC_EXPORT JavaFeatures_NestInFileClassFeature final : public ::google::protobuf::internal::ZeroFieldsBase
0158 {
0159 public:
0160 inline JavaFeatures_NestInFileClassFeature() : JavaFeatures_NestInFileClassFeature(nullptr) {}
0161
0162 #if defined(PROTOBUF_CUSTOM_VTABLE)
0163 void operator delete(JavaFeatures_NestInFileClassFeature* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
0164 SharedDtor(*msg);
0165 ::google::protobuf::internal::SizedDelete(msg, sizeof(JavaFeatures_NestInFileClassFeature));
0166 }
0167 #endif
0168
0169 template <typename = void>
0170 explicit PROTOBUF_CONSTEXPR JavaFeatures_NestInFileClassFeature(::google::protobuf::internal::ConstantInitialized);
0171
0172 inline JavaFeatures_NestInFileClassFeature(const JavaFeatures_NestInFileClassFeature& from) : JavaFeatures_NestInFileClassFeature(nullptr, from) {}
0173 inline JavaFeatures_NestInFileClassFeature(JavaFeatures_NestInFileClassFeature&& from) noexcept
0174 : JavaFeatures_NestInFileClassFeature(nullptr, ::std::move(from)) {}
0175 inline JavaFeatures_NestInFileClassFeature& operator=(const JavaFeatures_NestInFileClassFeature& from) {
0176 CopyFrom(from);
0177 return *this;
0178 }
0179 inline JavaFeatures_NestInFileClassFeature& operator=(JavaFeatures_NestInFileClassFeature&& from) noexcept {
0180 if (this == &from) return *this;
0181 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
0182 InternalSwap(&from);
0183 } else {
0184 CopyFrom(from);
0185 }
0186 return *this;
0187 }
0188
0189 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0190 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0191 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0192 }
0193 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
0194 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0195 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0196 }
0197
0198 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
0199 return GetDescriptor();
0200 }
0201 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
0202 return default_instance().GetMetadata().descriptor;
0203 }
0204 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
0205 return default_instance().GetMetadata().reflection;
0206 }
0207 static const JavaFeatures_NestInFileClassFeature& default_instance() {
0208 return *reinterpret_cast<const JavaFeatures_NestInFileClassFeature*>(
0209 &_JavaFeatures_NestInFileClassFeature_default_instance_);
0210 }
0211 static constexpr int kIndexInFileMessages = 0;
0212 friend void swap(JavaFeatures_NestInFileClassFeature& a, JavaFeatures_NestInFileClassFeature& b) { a.Swap(&b); }
0213 inline void Swap(JavaFeatures_NestInFileClassFeature* PROTOBUF_NONNULL other) {
0214 if (other == this) return;
0215 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
0216 InternalSwap(other);
0217 } else {
0218 ::google::protobuf::internal::GenericSwap(this, other);
0219 }
0220 }
0221 void UnsafeArenaSwap(JavaFeatures_NestInFileClassFeature* PROTOBUF_NONNULL other) {
0222 if (other == this) return;
0223 ABSL_DCHECK(GetArena() == other->GetArena());
0224 InternalSwap(other);
0225 }
0226
0227
0228
0229 JavaFeatures_NestInFileClassFeature* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
0230 return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<JavaFeatures_NestInFileClassFeature>(arena);
0231 }
0232 using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
0233 inline void CopyFrom(const JavaFeatures_NestInFileClassFeature& from) {
0234 ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
0235 }
0236 using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
0237 void MergeFrom(const JavaFeatures_NestInFileClassFeature& from) {
0238 ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
0239 }
0240
0241 public:
0242 bool IsInitialized() const {
0243 return true;
0244 }
0245 private:
0246 template <typename T>
0247 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
0248 static ::absl::string_view FullMessageName() { return "pb.JavaFeatures.NestInFileClassFeature"; }
0249
0250 protected:
0251 explicit JavaFeatures_NestInFileClassFeature(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0252 JavaFeatures_NestInFileClassFeature(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JavaFeatures_NestInFileClassFeature& from);
0253 JavaFeatures_NestInFileClassFeature(
0254 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, JavaFeatures_NestInFileClassFeature&& from) noexcept
0255 : JavaFeatures_NestInFileClassFeature(arena) {
0256 *this = ::std::move(from);
0257 }
0258 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
0259 static void* PROTOBUF_NONNULL PlacementNew_(
0260 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
0261 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0262 static constexpr auto InternalNewImpl_();
0263
0264 public:
0265 static constexpr auto InternalGenerateClassData_();
0266
0267 ::google::protobuf::Metadata GetMetadata() const;
0268
0269 using NestInFileClass = JavaFeatures_NestInFileClassFeature_NestInFileClass;
0270 static constexpr NestInFileClass NEST_IN_FILE_CLASS_UNKNOWN = JavaFeatures_NestInFileClassFeature_NestInFileClass_NEST_IN_FILE_CLASS_UNKNOWN;
0271 static constexpr NestInFileClass NO = JavaFeatures_NestInFileClassFeature_NestInFileClass_NO;
0272 static constexpr NestInFileClass YES = JavaFeatures_NestInFileClassFeature_NestInFileClass_YES;
0273 static constexpr NestInFileClass LEGACY = JavaFeatures_NestInFileClassFeature_NestInFileClass_LEGACY;
0274 static inline bool NestInFileClass_IsValid(int value) {
0275 return JavaFeatures_NestInFileClassFeature_NestInFileClass_IsValid(value);
0276 }
0277 static constexpr NestInFileClass NestInFileClass_MIN = JavaFeatures_NestInFileClassFeature_NestInFileClass_NestInFileClass_MIN;
0278 static constexpr NestInFileClass NestInFileClass_MAX = JavaFeatures_NestInFileClassFeature_NestInFileClass_NestInFileClass_MAX;
0279 static constexpr int NestInFileClass_ARRAYSIZE = JavaFeatures_NestInFileClassFeature_NestInFileClass_NestInFileClass_ARRAYSIZE;
0280 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL NestInFileClass_descriptor() {
0281 return JavaFeatures_NestInFileClassFeature_NestInFileClass_descriptor();
0282 }
0283 template <typename T>
0284 static inline const ::std::string& NestInFileClass_Name(T value) {
0285 return JavaFeatures_NestInFileClassFeature_NestInFileClass_Name(value);
0286 }
0287 static inline bool NestInFileClass_Parse(
0288 ::absl::string_view name, NestInFileClass* PROTOBUF_NONNULL value) {
0289 return JavaFeatures_NestInFileClassFeature_NestInFileClass_Parse(name, value);
0290 }
0291
0292
0293
0294 private:
0295 class _Internal;
0296 friend class ::google::protobuf::internal::TcParser;
0297 static const ::google::protobuf::internal::TcParseTable<0, 0,
0298 0, 0,
0299 2>
0300 _table_;
0301
0302 friend class ::google::protobuf::MessageLite;
0303 friend class ::google::protobuf::Arena;
0304 template <typename T>
0305 friend class ::google::protobuf::Arena::InternalHelper;
0306 using InternalArenaConstructable_ = void;
0307 using DestructorSkippable_ = void;
0308 friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto;
0309 };
0310
0311 PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull JavaFeatures_NestInFileClassFeature_class_data_;
0312
0313
0314 class PROTOC_EXPORT JavaFeatures final : public ::google::protobuf::Message
0315 {
0316 public:
0317 inline JavaFeatures() : JavaFeatures(nullptr) {}
0318 ~JavaFeatures() PROTOBUF_FINAL;
0319
0320 #if defined(PROTOBUF_CUSTOM_VTABLE)
0321 void operator delete(JavaFeatures* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
0322 SharedDtor(*msg);
0323 ::google::protobuf::internal::SizedDelete(msg, sizeof(JavaFeatures));
0324 }
0325 #endif
0326
0327 template <typename = void>
0328 explicit PROTOBUF_CONSTEXPR JavaFeatures(::google::protobuf::internal::ConstantInitialized);
0329
0330 inline JavaFeatures(const JavaFeatures& from) : JavaFeatures(nullptr, from) {}
0331 inline JavaFeatures(JavaFeatures&& from) noexcept
0332 : JavaFeatures(nullptr, ::std::move(from)) {}
0333 inline JavaFeatures& operator=(const JavaFeatures& from) {
0334 CopyFrom(from);
0335 return *this;
0336 }
0337 inline JavaFeatures& operator=(JavaFeatures&& from) noexcept {
0338 if (this == &from) return *this;
0339 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
0340 InternalSwap(&from);
0341 } else {
0342 CopyFrom(from);
0343 }
0344 return *this;
0345 }
0346
0347 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0348 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0349 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0350 }
0351 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
0352 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0353 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0354 }
0355
0356 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
0357 return GetDescriptor();
0358 }
0359 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
0360 return default_instance().GetMetadata().descriptor;
0361 }
0362 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
0363 return default_instance().GetMetadata().reflection;
0364 }
0365 static const JavaFeatures& default_instance() {
0366 return *reinterpret_cast<const JavaFeatures*>(
0367 &_JavaFeatures_default_instance_);
0368 }
0369 static constexpr int kIndexInFileMessages = 1;
0370 friend void swap(JavaFeatures& a, JavaFeatures& b) { a.Swap(&b); }
0371 inline void Swap(JavaFeatures* PROTOBUF_NONNULL other) {
0372 if (other == this) return;
0373 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
0374 InternalSwap(other);
0375 } else {
0376 ::google::protobuf::internal::GenericSwap(this, other);
0377 }
0378 }
0379 void UnsafeArenaSwap(JavaFeatures* PROTOBUF_NONNULL other) {
0380 if (other == this) return;
0381 ABSL_DCHECK(GetArena() == other->GetArena());
0382 InternalSwap(other);
0383 }
0384
0385
0386
0387 JavaFeatures* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
0388 return ::google::protobuf::Message::DefaultConstruct<JavaFeatures>(arena);
0389 }
0390 using ::google::protobuf::Message::CopyFrom;
0391 void CopyFrom(const JavaFeatures& from);
0392 using ::google::protobuf::Message::MergeFrom;
0393 void MergeFrom(const JavaFeatures& from) { JavaFeatures::MergeImpl(*this, from); }
0394
0395 private:
0396 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
0397 const ::google::protobuf::MessageLite& from_msg);
0398
0399 public:
0400 bool IsInitialized() const {
0401 return true;
0402 }
0403 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
0404 #if defined(PROTOBUF_CUSTOM_VTABLE)
0405 private:
0406 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
0407 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0408 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
0409 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
0410
0411 public:
0412 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
0413 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0414 ::uint8_t* PROTOBUF_NONNULL target,
0415 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
0416 return _InternalSerialize(*this, target, stream);
0417 }
0418 #else
0419 ::size_t ByteSizeLong() const final;
0420 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0421 ::uint8_t* PROTOBUF_NONNULL target,
0422 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
0423 #endif
0424 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
0425
0426 private:
0427 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0428 static void SharedDtor(MessageLite& self);
0429 void InternalSwap(JavaFeatures* PROTOBUF_NONNULL other);
0430 private:
0431 template <typename T>
0432 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
0433 static ::absl::string_view FullMessageName() { return "pb.JavaFeatures"; }
0434
0435 protected:
0436 explicit JavaFeatures(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0437 JavaFeatures(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const JavaFeatures& from);
0438 JavaFeatures(
0439 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, JavaFeatures&& from) noexcept
0440 : JavaFeatures(arena) {
0441 *this = ::std::move(from);
0442 }
0443 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
0444 static void* PROTOBUF_NONNULL PlacementNew_(
0445 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
0446 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0447 static constexpr auto InternalNewImpl_();
0448
0449 public:
0450 static constexpr auto InternalGenerateClassData_();
0451
0452 ::google::protobuf::Metadata GetMetadata() const;
0453
0454 using NestInFileClassFeature = JavaFeatures_NestInFileClassFeature;
0455 using Utf8Validation = JavaFeatures_Utf8Validation;
0456 static constexpr Utf8Validation UTF8_VALIDATION_UNKNOWN = JavaFeatures_Utf8Validation_UTF8_VALIDATION_UNKNOWN;
0457 static constexpr Utf8Validation DEFAULT = JavaFeatures_Utf8Validation_DEFAULT;
0458 static constexpr Utf8Validation VERIFY = JavaFeatures_Utf8Validation_VERIFY;
0459 static inline bool Utf8Validation_IsValid(int value) {
0460 return JavaFeatures_Utf8Validation_IsValid(value);
0461 }
0462 static constexpr Utf8Validation Utf8Validation_MIN = JavaFeatures_Utf8Validation_Utf8Validation_MIN;
0463 static constexpr Utf8Validation Utf8Validation_MAX = JavaFeatures_Utf8Validation_Utf8Validation_MAX;
0464 static constexpr int Utf8Validation_ARRAYSIZE = JavaFeatures_Utf8Validation_Utf8Validation_ARRAYSIZE;
0465 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Utf8Validation_descriptor() {
0466 return JavaFeatures_Utf8Validation_descriptor();
0467 }
0468 template <typename T>
0469 static inline const ::std::string& Utf8Validation_Name(T value) {
0470 return JavaFeatures_Utf8Validation_Name(value);
0471 }
0472 static inline bool Utf8Validation_Parse(
0473 ::absl::string_view name, Utf8Validation* PROTOBUF_NONNULL value) {
0474 return JavaFeatures_Utf8Validation_Parse(name, value);
0475 }
0476
0477
0478 enum : int {
0479 kUtf8ValidationFieldNumber = 2,
0480 kLegacyClosedEnumFieldNumber = 1,
0481 kLargeEnumFieldNumber = 3,
0482 kUseOldOuterClassnameDefaultFieldNumber = 4,
0483 kNestInFileClassFieldNumber = 5,
0484 };
0485
0486 bool has_utf8_validation() const;
0487 void clear_utf8_validation() ;
0488 ::pb::JavaFeatures_Utf8Validation utf8_validation() const;
0489 void set_utf8_validation(::pb::JavaFeatures_Utf8Validation value);
0490
0491 private:
0492 ::pb::JavaFeatures_Utf8Validation _internal_utf8_validation() const;
0493 void _internal_set_utf8_validation(::pb::JavaFeatures_Utf8Validation value);
0494
0495 public:
0496
0497 bool has_legacy_closed_enum() const;
0498 void clear_legacy_closed_enum() ;
0499 bool legacy_closed_enum() const;
0500 void set_legacy_closed_enum(bool value);
0501
0502 private:
0503 bool _internal_legacy_closed_enum() const;
0504 void _internal_set_legacy_closed_enum(bool value);
0505
0506 public:
0507
0508 bool has_large_enum() const;
0509 void clear_large_enum() ;
0510 bool large_enum() const;
0511 void set_large_enum(bool value);
0512
0513 private:
0514 bool _internal_large_enum() const;
0515 void _internal_set_large_enum(bool value);
0516
0517 public:
0518
0519 bool has_use_old_outer_classname_default() const;
0520 void clear_use_old_outer_classname_default() ;
0521 bool use_old_outer_classname_default() const;
0522 void set_use_old_outer_classname_default(bool value);
0523
0524 private:
0525 bool _internal_use_old_outer_classname_default() const;
0526 void _internal_set_use_old_outer_classname_default(bool value);
0527
0528 public:
0529
0530 bool has_nest_in_file_class() const;
0531 void clear_nest_in_file_class() ;
0532 ::pb::JavaFeatures_NestInFileClassFeature_NestInFileClass nest_in_file_class() const;
0533 void set_nest_in_file_class(::pb::JavaFeatures_NestInFileClassFeature_NestInFileClass value);
0534
0535 private:
0536 ::pb::JavaFeatures_NestInFileClassFeature_NestInFileClass _internal_nest_in_file_class() const;
0537 void _internal_set_nest_in_file_class(::pb::JavaFeatures_NestInFileClassFeature_NestInFileClass value);
0538
0539 public:
0540
0541 private:
0542 class _Internal;
0543 friend class ::google::protobuf::internal::TcParser;
0544 static const ::google::protobuf::internal::TcParseTable<3, 5,
0545 2, 0,
0546 2>
0547 _table_;
0548
0549 friend class ::google::protobuf::MessageLite;
0550 friend class ::google::protobuf::Arena;
0551 template <typename T>
0552 friend class ::google::protobuf::Arena::InternalHelper;
0553 using InternalArenaConstructable_ = void;
0554 using DestructorSkippable_ = void;
0555 struct Impl_ {
0556 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
0557 inline explicit Impl_(
0558 ::google::protobuf::internal::InternalVisibility visibility,
0559 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0560 inline explicit Impl_(
0561 ::google::protobuf::internal::InternalVisibility visibility,
0562 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
0563 const JavaFeatures& from_msg);
0564 ::google::protobuf::internal::HasBits<1> _has_bits_;
0565 ::google::protobuf::internal::CachedSize _cached_size_;
0566 int utf8_validation_;
0567 bool legacy_closed_enum_;
0568 bool large_enum_;
0569 bool use_old_outer_classname_default_;
0570 int nest_in_file_class_;
0571 PROTOBUF_TSAN_DECLARE_MEMBER
0572 };
0573 union { Impl_ _impl_; };
0574 friend struct ::TableStruct_google_2fprotobuf_2fcompiler_2fjava_2fjava_5ffeatures_2eproto;
0575 };
0576
0577 PROTOC_EXPORT extern const ::google::protobuf::internal::ClassDataFull JavaFeatures_class_data_;
0578
0579
0580
0581
0582
0583 inline constexpr int kJavaFieldNumber = 1001;
0584 PROTOC_EXPORT extern ::google::protobuf::internal::ExtensionIdentifier<
0585 ::google::protobuf::FeatureSet, ::google::protobuf::internal::MessageTypeTraits< ::pb::JavaFeatures >, 11, false>
0586 java;
0587 namespace internal {
0588 template <>
0589 inline ::absl::string_view GetFeatureSetDefaultsData<::pb::JavaFeatures>() {
0590 static constexpr char kDefaults[] = "CicYhAciA8o+ACodCAEQAhgCIAMoATACOAJAAco+CggBEAEYACABKAMKJxjnByIDyj4AKh0IAhABGAEgAigBMAE4AkAByj4KCAAQARgAIAEoAwonGOgHIhMIARABGAEgAigBMAHKPgQIABABKg04AkAByj4GGAAgASgDIOYHKOgH";
0591 return kDefaults;
0592 }
0593 }
0594
0595
0596
0597
0598 #ifdef __GNUC__
0599 #pragma GCC diagnostic push
0600 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
0601 #endif
0602
0603
0604
0605
0606
0607
0608
0609
0610
0611 inline bool JavaFeatures::has_legacy_closed_enum() const {
0612 bool value = (_impl_._has_bits_[0] & 0x00000002U) != 0;
0613 return value;
0614 }
0615 inline void JavaFeatures::clear_legacy_closed_enum() {
0616 ::google::protobuf::internal::TSanWrite(&_impl_);
0617 _impl_.legacy_closed_enum_ = false;
0618 _impl_._has_bits_[0] &= ~0x00000002U;
0619 }
0620 inline bool JavaFeatures::legacy_closed_enum() const {
0621
0622 return _internal_legacy_closed_enum();
0623 }
0624 inline void JavaFeatures::set_legacy_closed_enum(bool value) {
0625 _internal_set_legacy_closed_enum(value);
0626 _impl_._has_bits_[0] |= 0x00000002U;
0627
0628 }
0629 inline bool JavaFeatures::_internal_legacy_closed_enum() const {
0630 ::google::protobuf::internal::TSanRead(&_impl_);
0631 return _impl_.legacy_closed_enum_;
0632 }
0633 inline void JavaFeatures::_internal_set_legacy_closed_enum(bool value) {
0634 ::google::protobuf::internal::TSanWrite(&_impl_);
0635 _impl_.legacy_closed_enum_ = value;
0636 }
0637
0638
0639 inline bool JavaFeatures::has_utf8_validation() const {
0640 bool value = (_impl_._has_bits_[0] & 0x00000001U) != 0;
0641 return value;
0642 }
0643 inline void JavaFeatures::clear_utf8_validation() {
0644 ::google::protobuf::internal::TSanWrite(&_impl_);
0645 _impl_.utf8_validation_ = 0;
0646 _impl_._has_bits_[0] &= ~0x00000001U;
0647 }
0648 inline ::pb::JavaFeatures_Utf8Validation JavaFeatures::utf8_validation() const {
0649
0650 return _internal_utf8_validation();
0651 }
0652 inline void JavaFeatures::set_utf8_validation(::pb::JavaFeatures_Utf8Validation value) {
0653 _internal_set_utf8_validation(value);
0654 _impl_._has_bits_[0] |= 0x00000001U;
0655
0656 }
0657 inline ::pb::JavaFeatures_Utf8Validation JavaFeatures::_internal_utf8_validation() const {
0658 ::google::protobuf::internal::TSanRead(&_impl_);
0659 return static_cast<::pb::JavaFeatures_Utf8Validation>(_impl_.utf8_validation_);
0660 }
0661 inline void JavaFeatures::_internal_set_utf8_validation(::pb::JavaFeatures_Utf8Validation value) {
0662 ::google::protobuf::internal::TSanWrite(&_impl_);
0663
0664 assert(::google::protobuf::internal::ValidateEnum(
0665 value, ::pb::JavaFeatures_Utf8Validation_internal_data_));
0666 _impl_.utf8_validation_ = value;
0667 }
0668
0669
0670 inline bool JavaFeatures::has_large_enum() const {
0671 bool value = (_impl_._has_bits_[0] & 0x00000004U) != 0;
0672 return value;
0673 }
0674 inline void JavaFeatures::clear_large_enum() {
0675 ::google::protobuf::internal::TSanWrite(&_impl_);
0676 _impl_.large_enum_ = false;
0677 _impl_._has_bits_[0] &= ~0x00000004U;
0678 }
0679 inline bool JavaFeatures::large_enum() const {
0680
0681 return _internal_large_enum();
0682 }
0683 inline void JavaFeatures::set_large_enum(bool value) {
0684 _internal_set_large_enum(value);
0685 _impl_._has_bits_[0] |= 0x00000004U;
0686
0687 }
0688 inline bool JavaFeatures::_internal_large_enum() const {
0689 ::google::protobuf::internal::TSanRead(&_impl_);
0690 return _impl_.large_enum_;
0691 }
0692 inline void JavaFeatures::_internal_set_large_enum(bool value) {
0693 ::google::protobuf::internal::TSanWrite(&_impl_);
0694 _impl_.large_enum_ = value;
0695 }
0696
0697
0698 inline bool JavaFeatures::has_use_old_outer_classname_default() const {
0699 bool value = (_impl_._has_bits_[0] & 0x00000008U) != 0;
0700 return value;
0701 }
0702 inline void JavaFeatures::clear_use_old_outer_classname_default() {
0703 ::google::protobuf::internal::TSanWrite(&_impl_);
0704 _impl_.use_old_outer_classname_default_ = false;
0705 _impl_._has_bits_[0] &= ~0x00000008U;
0706 }
0707 inline bool JavaFeatures::use_old_outer_classname_default() const {
0708
0709 return _internal_use_old_outer_classname_default();
0710 }
0711 inline void JavaFeatures::set_use_old_outer_classname_default(bool value) {
0712 _internal_set_use_old_outer_classname_default(value);
0713 _impl_._has_bits_[0] |= 0x00000008U;
0714
0715 }
0716 inline bool JavaFeatures::_internal_use_old_outer_classname_default() const {
0717 ::google::protobuf::internal::TSanRead(&_impl_);
0718 return _impl_.use_old_outer_classname_default_;
0719 }
0720 inline void JavaFeatures::_internal_set_use_old_outer_classname_default(bool value) {
0721 ::google::protobuf::internal::TSanWrite(&_impl_);
0722 _impl_.use_old_outer_classname_default_ = value;
0723 }
0724
0725
0726 inline bool JavaFeatures::has_nest_in_file_class() const {
0727 bool value = (_impl_._has_bits_[0] & 0x00000010U) != 0;
0728 return value;
0729 }
0730 inline void JavaFeatures::clear_nest_in_file_class() {
0731 ::google::protobuf::internal::TSanWrite(&_impl_);
0732 _impl_.nest_in_file_class_ = 0;
0733 _impl_._has_bits_[0] &= ~0x00000010U;
0734 }
0735 inline ::pb::JavaFeatures_NestInFileClassFeature_NestInFileClass JavaFeatures::nest_in_file_class() const {
0736
0737 return _internal_nest_in_file_class();
0738 }
0739 inline void JavaFeatures::set_nest_in_file_class(::pb::JavaFeatures_NestInFileClassFeature_NestInFileClass value) {
0740 _internal_set_nest_in_file_class(value);
0741 _impl_._has_bits_[0] |= 0x00000010U;
0742
0743 }
0744 inline ::pb::JavaFeatures_NestInFileClassFeature_NestInFileClass JavaFeatures::_internal_nest_in_file_class() const {
0745 ::google::protobuf::internal::TSanRead(&_impl_);
0746 return static_cast<::pb::JavaFeatures_NestInFileClassFeature_NestInFileClass>(_impl_.nest_in_file_class_);
0747 }
0748 inline void JavaFeatures::_internal_set_nest_in_file_class(::pb::JavaFeatures_NestInFileClassFeature_NestInFileClass value) {
0749 ::google::protobuf::internal::TSanWrite(&_impl_);
0750
0751 assert(::google::protobuf::internal::ValidateEnum(
0752 value, ::pb::JavaFeatures_NestInFileClassFeature_NestInFileClass_internal_data_));
0753 _impl_.nest_in_file_class_ = value;
0754 }
0755
0756 #ifdef __GNUC__
0757 #pragma GCC diagnostic pop
0758 #endif
0759
0760
0761 }
0762
0763
0764 namespace google {
0765 namespace protobuf {
0766
0767 template <>
0768 struct is_proto_enum<::pb::JavaFeatures_NestInFileClassFeature_NestInFileClass> : std::true_type {};
0769 template <>
0770 inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::pb::JavaFeatures_NestInFileClassFeature_NestInFileClass>() {
0771 return ::pb::JavaFeatures_NestInFileClassFeature_NestInFileClass_descriptor();
0772 }
0773 template <>
0774 struct is_proto_enum<::pb::JavaFeatures_Utf8Validation> : std::true_type {};
0775 template <>
0776 inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::pb::JavaFeatures_Utf8Validation>() {
0777 return ::pb::JavaFeatures_Utf8Validation_descriptor();
0778 }
0779
0780 }
0781 }
0782
0783
0784
0785 #include "google/protobuf/port_undef.inc"
0786
0787 #endif