1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // NO CHECKED-IN PROTOBUF GENCODE
3 // source: google/protobuf/descriptor.proto
4 // Protobuf C++ Version: 5.29.4
5
6 #ifndef google_2fprotobuf_2fdescriptor_2eproto_2epb_2eh
7 #define google_2fprotobuf_2fdescriptor_2eproto_2epb_2eh
8
9 #include <limits>
10 #include <string>
11 #include <type_traits>
12 #include <utility>
13
14 #include "google/protobuf/runtime_version.h"
15 #if PROTOBUF_VERSION != 5029004
16 #error "Protobuf C++ gencode is built with an incompatible version of"
17 #error "Protobuf C++ headers/runtime. See"
18 #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19 #endif
20 #include "google/protobuf/io/coded_stream.h"
21 #include "google/protobuf/arena.h"
22 #include "google/protobuf/arenastring.h"
23 #include "google/protobuf/generated_message_tctable_decl.h"
24 #include "google/protobuf/generated_message_util.h"
25 #include "google/protobuf/metadata_lite.h"
26 #include "google/protobuf/generated_message_reflection.h"
27 #include "google/protobuf/message.h"
28 #include "google/protobuf/message_lite.h"
29 #include "google/protobuf/repeated_field.h" // IWYU pragma: export
30 #include "google/protobuf/extension_set.h" // IWYU pragma: export
31 #include "google/protobuf/generated_enum_reflection.h"
32 #include "google/protobuf/unknown_field_set.h"
33 // @@protoc_insertion_point(includes)
34
35 // Must be included last.
36 #include "google/protobuf/port_def.inc"
37
38 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto PROTOBUF_EXPORT
39
40 namespace google {
41 namespace protobuf {
42 namespace internal {
43 template <typename T>
44 ::absl::string_view GetAnyMessageName();
45 } // namespace internal
46 } // namespace protobuf
47 } // namespace google
48
49 // Internal implementation detail -- do not use these members.
50 struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fdescriptor_2eproto {
51 static const ::uint32_t offsets[];
52 };
53 PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable
54 descriptor_table_google_2fprotobuf_2fdescriptor_2eproto;
55 namespace google {
56 namespace protobuf {
57 class DescriptorProto;
58 struct DescriptorProtoDefaultTypeInternal;
59 PROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_;
60 class DescriptorProto_ExtensionRange;
61 struct DescriptorProto_ExtensionRangeDefaultTypeInternal;
62 PROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_;
63 class DescriptorProto_ReservedRange;
64 struct DescriptorProto_ReservedRangeDefaultTypeInternal;
65 PROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_;
66 class EnumDescriptorProto;
67 struct EnumDescriptorProtoDefaultTypeInternal;
68 PROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_;
69 class EnumDescriptorProto_EnumReservedRange;
70 struct EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal;
71 PROTOBUF_EXPORT extern EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal _EnumDescriptorProto_EnumReservedRange_default_instance_;
72 class EnumOptions;
73 struct EnumOptionsDefaultTypeInternal;
74 PROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_;
75 class EnumValueDescriptorProto;
76 struct EnumValueDescriptorProtoDefaultTypeInternal;
77 PROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_;
78 class EnumValueOptions;
79 struct EnumValueOptionsDefaultTypeInternal;
80 PROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_;
81 class ExtensionRangeOptions;
82 struct ExtensionRangeOptionsDefaultTypeInternal;
83 PROTOBUF_EXPORT extern ExtensionRangeOptionsDefaultTypeInternal _ExtensionRangeOptions_default_instance_;
84 class ExtensionRangeOptions_Declaration;
85 struct ExtensionRangeOptions_DeclarationDefaultTypeInternal;
86 PROTOBUF_EXPORT extern ExtensionRangeOptions_DeclarationDefaultTypeInternal _ExtensionRangeOptions_Declaration_default_instance_;
87 class FeatureSet;
88 struct FeatureSetDefaultTypeInternal;
89 PROTOBUF_EXPORT extern FeatureSetDefaultTypeInternal _FeatureSet_default_instance_;
90 class FeatureSetDefaults;
91 struct FeatureSetDefaultsDefaultTypeInternal;
92 PROTOBUF_EXPORT extern FeatureSetDefaultsDefaultTypeInternal _FeatureSetDefaults_default_instance_;
93 class FeatureSetDefaults_FeatureSetEditionDefault;
94 struct FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal;
95 PROTOBUF_EXPORT extern FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal _FeatureSetDefaults_FeatureSetEditionDefault_default_instance_;
96 class FieldDescriptorProto;
97 struct FieldDescriptorProtoDefaultTypeInternal;
98 PROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_;
99 class FieldOptions;
100 struct FieldOptionsDefaultTypeInternal;
101 PROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_;
102 class FieldOptions_EditionDefault;
103 struct FieldOptions_EditionDefaultDefaultTypeInternal;
104 PROTOBUF_EXPORT extern FieldOptions_EditionDefaultDefaultTypeInternal _FieldOptions_EditionDefault_default_instance_;
105 class FieldOptions_FeatureSupport;
106 struct FieldOptions_FeatureSupportDefaultTypeInternal;
107 PROTOBUF_EXPORT extern FieldOptions_FeatureSupportDefaultTypeInternal _FieldOptions_FeatureSupport_default_instance_;
108 class FileDescriptorProto;
109 struct FileDescriptorProtoDefaultTypeInternal;
110 PROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_;
111 class FileDescriptorSet;
112 struct FileDescriptorSetDefaultTypeInternal;
113 PROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_;
114 class FileOptions;
115 struct FileOptionsDefaultTypeInternal;
116 PROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_;
117 class GeneratedCodeInfo;
118 struct GeneratedCodeInfoDefaultTypeInternal;
119 PROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_;
120 class GeneratedCodeInfo_Annotation;
121 struct GeneratedCodeInfo_AnnotationDefaultTypeInternal;
122 PROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_;
123 class MessageOptions;
124 struct MessageOptionsDefaultTypeInternal;
125 PROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_;
126 class MethodDescriptorProto;
127 struct MethodDescriptorProtoDefaultTypeInternal;
128 PROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_;
129 class MethodOptions;
130 struct MethodOptionsDefaultTypeInternal;
131 PROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_;
132 class OneofDescriptorProto;
133 struct OneofDescriptorProtoDefaultTypeInternal;
134 PROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_;
135 class OneofOptions;
136 struct OneofOptionsDefaultTypeInternal;
137 PROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_;
138 class ServiceDescriptorProto;
139 struct ServiceDescriptorProtoDefaultTypeInternal;
140 PROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_;
141 class ServiceOptions;
142 struct ServiceOptionsDefaultTypeInternal;
143 PROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_;
144 class SourceCodeInfo;
145 struct SourceCodeInfoDefaultTypeInternal;
146 PROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_;
147 class SourceCodeInfo_Location;
148 struct SourceCodeInfo_LocationDefaultTypeInternal;
149 PROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_;
150 class UninterpretedOption;
151 struct UninterpretedOptionDefaultTypeInternal;
152 PROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_;
153 class UninterpretedOption_NamePart;
154 struct UninterpretedOption_NamePartDefaultTypeInternal;
155 PROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_;
156 namespace internal {
157 #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
158 PROTOBUF_EXPORT void InitializeFileDescriptorDefaultInstancesSlow();
159 #endif // !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES)
160 } // namespace internal
161 } // namespace protobuf
162 } // namespace google
163
164 namespace google {
165 namespace protobuf {
166 enum ExtensionRangeOptions_VerificationState : int {
167 ExtensionRangeOptions_VerificationState_DECLARATION = 0,
168 ExtensionRangeOptions_VerificationState_UNVERIFIED = 1,
169 };
170
171 PROTOBUF_EXPORT bool ExtensionRangeOptions_VerificationState_IsValid(int value);
172 PROTOBUF_EXPORT extern const uint32_t ExtensionRangeOptions_VerificationState_internal_data_[];
173 constexpr ExtensionRangeOptions_VerificationState ExtensionRangeOptions_VerificationState_VerificationState_MIN = static_cast<ExtensionRangeOptions_VerificationState>(0);
174 constexpr ExtensionRangeOptions_VerificationState ExtensionRangeOptions_VerificationState_VerificationState_MAX = static_cast<ExtensionRangeOptions_VerificationState>(1);
175 constexpr int ExtensionRangeOptions_VerificationState_VerificationState_ARRAYSIZE = 1 + 1;
176 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
177 ExtensionRangeOptions_VerificationState_descriptor();
178 template <typename T>
ExtensionRangeOptions_VerificationState_Name(T value)179 const std::string& ExtensionRangeOptions_VerificationState_Name(T value) {
180 static_assert(std::is_same<T, ExtensionRangeOptions_VerificationState>::value ||
181 std::is_integral<T>::value,
182 "Incorrect type passed to VerificationState_Name().");
183 return ExtensionRangeOptions_VerificationState_Name(static_cast<ExtensionRangeOptions_VerificationState>(value));
184 }
185 template <>
ExtensionRangeOptions_VerificationState_Name(ExtensionRangeOptions_VerificationState value)186 inline const std::string& ExtensionRangeOptions_VerificationState_Name(ExtensionRangeOptions_VerificationState value) {
187 return ::google::protobuf::internal::NameOfDenseEnum<ExtensionRangeOptions_VerificationState_descriptor,
188 0, 1>(
189 static_cast<int>(value));
190 }
ExtensionRangeOptions_VerificationState_Parse(absl::string_view name,ExtensionRangeOptions_VerificationState * value)191 inline bool ExtensionRangeOptions_VerificationState_Parse(absl::string_view name, ExtensionRangeOptions_VerificationState* value) {
192 return ::google::protobuf::internal::ParseNamedEnum<ExtensionRangeOptions_VerificationState>(
193 ExtensionRangeOptions_VerificationState_descriptor(), name, value);
194 }
195 enum FieldDescriptorProto_Type : int {
196 FieldDescriptorProto_Type_TYPE_DOUBLE = 1,
197 FieldDescriptorProto_Type_TYPE_FLOAT = 2,
198 FieldDescriptorProto_Type_TYPE_INT64 = 3,
199 FieldDescriptorProto_Type_TYPE_UINT64 = 4,
200 FieldDescriptorProto_Type_TYPE_INT32 = 5,
201 FieldDescriptorProto_Type_TYPE_FIXED64 = 6,
202 FieldDescriptorProto_Type_TYPE_FIXED32 = 7,
203 FieldDescriptorProto_Type_TYPE_BOOL = 8,
204 FieldDescriptorProto_Type_TYPE_STRING = 9,
205 FieldDescriptorProto_Type_TYPE_GROUP = 10,
206 FieldDescriptorProto_Type_TYPE_MESSAGE = 11,
207 FieldDescriptorProto_Type_TYPE_BYTES = 12,
208 FieldDescriptorProto_Type_TYPE_UINT32 = 13,
209 FieldDescriptorProto_Type_TYPE_ENUM = 14,
210 FieldDescriptorProto_Type_TYPE_SFIXED32 = 15,
211 FieldDescriptorProto_Type_TYPE_SFIXED64 = 16,
212 FieldDescriptorProto_Type_TYPE_SINT32 = 17,
213 FieldDescriptorProto_Type_TYPE_SINT64 = 18,
214 };
215
216 PROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value);
217 PROTOBUF_EXPORT extern const uint32_t FieldDescriptorProto_Type_internal_data_[];
218 constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = static_cast<FieldDescriptorProto_Type>(1);
219 constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = static_cast<FieldDescriptorProto_Type>(18);
220 constexpr int FieldDescriptorProto_Type_Type_ARRAYSIZE = 18 + 1;
221 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
222 FieldDescriptorProto_Type_descriptor();
223 template <typename T>
FieldDescriptorProto_Type_Name(T value)224 const std::string& FieldDescriptorProto_Type_Name(T value) {
225 static_assert(std::is_same<T, FieldDescriptorProto_Type>::value ||
226 std::is_integral<T>::value,
227 "Incorrect type passed to Type_Name().");
228 return FieldDescriptorProto_Type_Name(static_cast<FieldDescriptorProto_Type>(value));
229 }
230 template <>
FieldDescriptorProto_Type_Name(FieldDescriptorProto_Type value)231 inline const std::string& FieldDescriptorProto_Type_Name(FieldDescriptorProto_Type value) {
232 return ::google::protobuf::internal::NameOfDenseEnum<FieldDescriptorProto_Type_descriptor,
233 1, 18>(
234 static_cast<int>(value));
235 }
FieldDescriptorProto_Type_Parse(absl::string_view name,FieldDescriptorProto_Type * value)236 inline bool FieldDescriptorProto_Type_Parse(absl::string_view name, FieldDescriptorProto_Type* value) {
237 return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Type>(
238 FieldDescriptorProto_Type_descriptor(), name, value);
239 }
240 enum FieldDescriptorProto_Label : int {
241 FieldDescriptorProto_Label_LABEL_OPTIONAL = 1,
242 FieldDescriptorProto_Label_LABEL_REPEATED = 3,
243 FieldDescriptorProto_Label_LABEL_REQUIRED = 2,
244 };
245
246 PROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value);
247 PROTOBUF_EXPORT extern const uint32_t FieldDescriptorProto_Label_internal_data_[];
248 constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = static_cast<FieldDescriptorProto_Label>(1);
249 constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = static_cast<FieldDescriptorProto_Label>(3);
250 constexpr int FieldDescriptorProto_Label_Label_ARRAYSIZE = 3 + 1;
251 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
252 FieldDescriptorProto_Label_descriptor();
253 template <typename T>
FieldDescriptorProto_Label_Name(T value)254 const std::string& FieldDescriptorProto_Label_Name(T value) {
255 static_assert(std::is_same<T, FieldDescriptorProto_Label>::value ||
256 std::is_integral<T>::value,
257 "Incorrect type passed to Label_Name().");
258 return FieldDescriptorProto_Label_Name(static_cast<FieldDescriptorProto_Label>(value));
259 }
260 template <>
FieldDescriptorProto_Label_Name(FieldDescriptorProto_Label value)261 inline const std::string& FieldDescriptorProto_Label_Name(FieldDescriptorProto_Label value) {
262 return ::google::protobuf::internal::NameOfDenseEnum<FieldDescriptorProto_Label_descriptor,
263 1, 3>(
264 static_cast<int>(value));
265 }
FieldDescriptorProto_Label_Parse(absl::string_view name,FieldDescriptorProto_Label * value)266 inline bool FieldDescriptorProto_Label_Parse(absl::string_view name, FieldDescriptorProto_Label* value) {
267 return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Label>(
268 FieldDescriptorProto_Label_descriptor(), name, value);
269 }
270 enum FileOptions_OptimizeMode : int {
271 FileOptions_OptimizeMode_SPEED = 1,
272 FileOptions_OptimizeMode_CODE_SIZE = 2,
273 FileOptions_OptimizeMode_LITE_RUNTIME = 3,
274 };
275
276 PROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value);
277 PROTOBUF_EXPORT extern const uint32_t FileOptions_OptimizeMode_internal_data_[];
278 constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = static_cast<FileOptions_OptimizeMode>(1);
279 constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = static_cast<FileOptions_OptimizeMode>(3);
280 constexpr int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = 3 + 1;
281 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
282 FileOptions_OptimizeMode_descriptor();
283 template <typename T>
FileOptions_OptimizeMode_Name(T value)284 const std::string& FileOptions_OptimizeMode_Name(T value) {
285 static_assert(std::is_same<T, FileOptions_OptimizeMode>::value ||
286 std::is_integral<T>::value,
287 "Incorrect type passed to OptimizeMode_Name().");
288 return FileOptions_OptimizeMode_Name(static_cast<FileOptions_OptimizeMode>(value));
289 }
290 template <>
FileOptions_OptimizeMode_Name(FileOptions_OptimizeMode value)291 inline const std::string& FileOptions_OptimizeMode_Name(FileOptions_OptimizeMode value) {
292 return ::google::protobuf::internal::NameOfDenseEnum<FileOptions_OptimizeMode_descriptor,
293 1, 3>(
294 static_cast<int>(value));
295 }
FileOptions_OptimizeMode_Parse(absl::string_view name,FileOptions_OptimizeMode * value)296 inline bool FileOptions_OptimizeMode_Parse(absl::string_view name, FileOptions_OptimizeMode* value) {
297 return ::google::protobuf::internal::ParseNamedEnum<FileOptions_OptimizeMode>(
298 FileOptions_OptimizeMode_descriptor(), name, value);
299 }
300 enum FieldOptions_CType : int {
301 FieldOptions_CType_STRING = 0,
302 FieldOptions_CType_CORD = 1,
303 FieldOptions_CType_STRING_PIECE = 2,
304 };
305
306 PROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value);
307 PROTOBUF_EXPORT extern const uint32_t FieldOptions_CType_internal_data_[];
308 constexpr FieldOptions_CType FieldOptions_CType_CType_MIN = static_cast<FieldOptions_CType>(0);
309 constexpr FieldOptions_CType FieldOptions_CType_CType_MAX = static_cast<FieldOptions_CType>(2);
310 constexpr int FieldOptions_CType_CType_ARRAYSIZE = 2 + 1;
311 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
312 FieldOptions_CType_descriptor();
313 template <typename T>
FieldOptions_CType_Name(T value)314 const std::string& FieldOptions_CType_Name(T value) {
315 static_assert(std::is_same<T, FieldOptions_CType>::value ||
316 std::is_integral<T>::value,
317 "Incorrect type passed to CType_Name().");
318 return FieldOptions_CType_Name(static_cast<FieldOptions_CType>(value));
319 }
320 template <>
FieldOptions_CType_Name(FieldOptions_CType value)321 inline const std::string& FieldOptions_CType_Name(FieldOptions_CType value) {
322 return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_CType_descriptor,
323 0, 2>(
324 static_cast<int>(value));
325 }
FieldOptions_CType_Parse(absl::string_view name,FieldOptions_CType * value)326 inline bool FieldOptions_CType_Parse(absl::string_view name, FieldOptions_CType* value) {
327 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_CType>(
328 FieldOptions_CType_descriptor(), name, value);
329 }
330 enum FieldOptions_JSType : int {
331 FieldOptions_JSType_JS_NORMAL = 0,
332 FieldOptions_JSType_JS_STRING = 1,
333 FieldOptions_JSType_JS_NUMBER = 2,
334 };
335
336 PROTOBUF_EXPORT bool FieldOptions_JSType_IsValid(int value);
337 PROTOBUF_EXPORT extern const uint32_t FieldOptions_JSType_internal_data_[];
338 constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MIN = static_cast<FieldOptions_JSType>(0);
339 constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MAX = static_cast<FieldOptions_JSType>(2);
340 constexpr int FieldOptions_JSType_JSType_ARRAYSIZE = 2 + 1;
341 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
342 FieldOptions_JSType_descriptor();
343 template <typename T>
FieldOptions_JSType_Name(T value)344 const std::string& FieldOptions_JSType_Name(T value) {
345 static_assert(std::is_same<T, FieldOptions_JSType>::value ||
346 std::is_integral<T>::value,
347 "Incorrect type passed to JSType_Name().");
348 return FieldOptions_JSType_Name(static_cast<FieldOptions_JSType>(value));
349 }
350 template <>
FieldOptions_JSType_Name(FieldOptions_JSType value)351 inline const std::string& FieldOptions_JSType_Name(FieldOptions_JSType value) {
352 return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_JSType_descriptor,
353 0, 2>(
354 static_cast<int>(value));
355 }
FieldOptions_JSType_Parse(absl::string_view name,FieldOptions_JSType * value)356 inline bool FieldOptions_JSType_Parse(absl::string_view name, FieldOptions_JSType* value) {
357 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>(
358 FieldOptions_JSType_descriptor(), name, value);
359 }
360 enum FieldOptions_OptionRetention : int {
361 FieldOptions_OptionRetention_RETENTION_UNKNOWN = 0,
362 FieldOptions_OptionRetention_RETENTION_RUNTIME = 1,
363 FieldOptions_OptionRetention_RETENTION_SOURCE = 2,
364 };
365
366 PROTOBUF_EXPORT bool FieldOptions_OptionRetention_IsValid(int value);
367 PROTOBUF_EXPORT extern const uint32_t FieldOptions_OptionRetention_internal_data_[];
368 constexpr FieldOptions_OptionRetention FieldOptions_OptionRetention_OptionRetention_MIN = static_cast<FieldOptions_OptionRetention>(0);
369 constexpr FieldOptions_OptionRetention FieldOptions_OptionRetention_OptionRetention_MAX = static_cast<FieldOptions_OptionRetention>(2);
370 constexpr int FieldOptions_OptionRetention_OptionRetention_ARRAYSIZE = 2 + 1;
371 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
372 FieldOptions_OptionRetention_descriptor();
373 template <typename T>
FieldOptions_OptionRetention_Name(T value)374 const std::string& FieldOptions_OptionRetention_Name(T value) {
375 static_assert(std::is_same<T, FieldOptions_OptionRetention>::value ||
376 std::is_integral<T>::value,
377 "Incorrect type passed to OptionRetention_Name().");
378 return FieldOptions_OptionRetention_Name(static_cast<FieldOptions_OptionRetention>(value));
379 }
380 template <>
FieldOptions_OptionRetention_Name(FieldOptions_OptionRetention value)381 inline const std::string& FieldOptions_OptionRetention_Name(FieldOptions_OptionRetention value) {
382 return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_OptionRetention_descriptor,
383 0, 2>(
384 static_cast<int>(value));
385 }
FieldOptions_OptionRetention_Parse(absl::string_view name,FieldOptions_OptionRetention * value)386 inline bool FieldOptions_OptionRetention_Parse(absl::string_view name, FieldOptions_OptionRetention* value) {
387 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_OptionRetention>(
388 FieldOptions_OptionRetention_descriptor(), name, value);
389 }
390 enum FieldOptions_OptionTargetType : int {
391 FieldOptions_OptionTargetType_TARGET_TYPE_UNKNOWN = 0,
392 FieldOptions_OptionTargetType_TARGET_TYPE_FILE = 1,
393 FieldOptions_OptionTargetType_TARGET_TYPE_EXTENSION_RANGE = 2,
394 FieldOptions_OptionTargetType_TARGET_TYPE_MESSAGE = 3,
395 FieldOptions_OptionTargetType_TARGET_TYPE_FIELD = 4,
396 FieldOptions_OptionTargetType_TARGET_TYPE_ONEOF = 5,
397 FieldOptions_OptionTargetType_TARGET_TYPE_ENUM = 6,
398 FieldOptions_OptionTargetType_TARGET_TYPE_ENUM_ENTRY = 7,
399 FieldOptions_OptionTargetType_TARGET_TYPE_SERVICE = 8,
400 FieldOptions_OptionTargetType_TARGET_TYPE_METHOD = 9,
401 };
402
403 PROTOBUF_EXPORT bool FieldOptions_OptionTargetType_IsValid(int value);
404 PROTOBUF_EXPORT extern const uint32_t FieldOptions_OptionTargetType_internal_data_[];
405 constexpr FieldOptions_OptionTargetType FieldOptions_OptionTargetType_OptionTargetType_MIN = static_cast<FieldOptions_OptionTargetType>(0);
406 constexpr FieldOptions_OptionTargetType FieldOptions_OptionTargetType_OptionTargetType_MAX = static_cast<FieldOptions_OptionTargetType>(9);
407 constexpr int FieldOptions_OptionTargetType_OptionTargetType_ARRAYSIZE = 9 + 1;
408 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
409 FieldOptions_OptionTargetType_descriptor();
410 template <typename T>
FieldOptions_OptionTargetType_Name(T value)411 const std::string& FieldOptions_OptionTargetType_Name(T value) {
412 static_assert(std::is_same<T, FieldOptions_OptionTargetType>::value ||
413 std::is_integral<T>::value,
414 "Incorrect type passed to OptionTargetType_Name().");
415 return FieldOptions_OptionTargetType_Name(static_cast<FieldOptions_OptionTargetType>(value));
416 }
417 template <>
FieldOptions_OptionTargetType_Name(FieldOptions_OptionTargetType value)418 inline const std::string& FieldOptions_OptionTargetType_Name(FieldOptions_OptionTargetType value) {
419 return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_OptionTargetType_descriptor,
420 0, 9>(
421 static_cast<int>(value));
422 }
FieldOptions_OptionTargetType_Parse(absl::string_view name,FieldOptions_OptionTargetType * value)423 inline bool FieldOptions_OptionTargetType_Parse(absl::string_view name, FieldOptions_OptionTargetType* value) {
424 return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_OptionTargetType>(
425 FieldOptions_OptionTargetType_descriptor(), name, value);
426 }
427 enum MethodOptions_IdempotencyLevel : int {
428 MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN = 0,
429 MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS = 1,
430 MethodOptions_IdempotencyLevel_IDEMPOTENT = 2,
431 };
432
433 PROTOBUF_EXPORT bool MethodOptions_IdempotencyLevel_IsValid(int value);
434 PROTOBUF_EXPORT extern const uint32_t MethodOptions_IdempotencyLevel_internal_data_[];
435 constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN = static_cast<MethodOptions_IdempotencyLevel>(0);
436 constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX = static_cast<MethodOptions_IdempotencyLevel>(2);
437 constexpr int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = 2 + 1;
438 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
439 MethodOptions_IdempotencyLevel_descriptor();
440 template <typename T>
MethodOptions_IdempotencyLevel_Name(T value)441 const std::string& MethodOptions_IdempotencyLevel_Name(T value) {
442 static_assert(std::is_same<T, MethodOptions_IdempotencyLevel>::value ||
443 std::is_integral<T>::value,
444 "Incorrect type passed to IdempotencyLevel_Name().");
445 return MethodOptions_IdempotencyLevel_Name(static_cast<MethodOptions_IdempotencyLevel>(value));
446 }
447 template <>
MethodOptions_IdempotencyLevel_Name(MethodOptions_IdempotencyLevel value)448 inline const std::string& MethodOptions_IdempotencyLevel_Name(MethodOptions_IdempotencyLevel value) {
449 return ::google::protobuf::internal::NameOfDenseEnum<MethodOptions_IdempotencyLevel_descriptor,
450 0, 2>(
451 static_cast<int>(value));
452 }
MethodOptions_IdempotencyLevel_Parse(absl::string_view name,MethodOptions_IdempotencyLevel * value)453 inline bool MethodOptions_IdempotencyLevel_Parse(absl::string_view name, MethodOptions_IdempotencyLevel* value) {
454 return ::google::protobuf::internal::ParseNamedEnum<MethodOptions_IdempotencyLevel>(
455 MethodOptions_IdempotencyLevel_descriptor(), name, value);
456 }
457 enum FeatureSet_FieldPresence : int {
458 FeatureSet_FieldPresence_FIELD_PRESENCE_UNKNOWN = 0,
459 FeatureSet_FieldPresence_EXPLICIT = 1,
460 FeatureSet_FieldPresence_IMPLICIT = 2,
461 FeatureSet_FieldPresence_LEGACY_REQUIRED = 3,
462 };
463
464 PROTOBUF_EXPORT bool FeatureSet_FieldPresence_IsValid(int value);
465 PROTOBUF_EXPORT extern const uint32_t FeatureSet_FieldPresence_internal_data_[];
466 constexpr FeatureSet_FieldPresence FeatureSet_FieldPresence_FieldPresence_MIN = static_cast<FeatureSet_FieldPresence>(0);
467 constexpr FeatureSet_FieldPresence FeatureSet_FieldPresence_FieldPresence_MAX = static_cast<FeatureSet_FieldPresence>(3);
468 constexpr int FeatureSet_FieldPresence_FieldPresence_ARRAYSIZE = 3 + 1;
469 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
470 FeatureSet_FieldPresence_descriptor();
471 template <typename T>
FeatureSet_FieldPresence_Name(T value)472 const std::string& FeatureSet_FieldPresence_Name(T value) {
473 static_assert(std::is_same<T, FeatureSet_FieldPresence>::value ||
474 std::is_integral<T>::value,
475 "Incorrect type passed to FieldPresence_Name().");
476 return FeatureSet_FieldPresence_Name(static_cast<FeatureSet_FieldPresence>(value));
477 }
478 template <>
FeatureSet_FieldPresence_Name(FeatureSet_FieldPresence value)479 inline const std::string& FeatureSet_FieldPresence_Name(FeatureSet_FieldPresence value) {
480 return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_FieldPresence_descriptor,
481 0, 3>(
482 static_cast<int>(value));
483 }
FeatureSet_FieldPresence_Parse(absl::string_view name,FeatureSet_FieldPresence * value)484 inline bool FeatureSet_FieldPresence_Parse(absl::string_view name, FeatureSet_FieldPresence* value) {
485 return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_FieldPresence>(
486 FeatureSet_FieldPresence_descriptor(), name, value);
487 }
488 enum FeatureSet_EnumType : int {
489 FeatureSet_EnumType_ENUM_TYPE_UNKNOWN = 0,
490 FeatureSet_EnumType_OPEN = 1,
491 FeatureSet_EnumType_CLOSED = 2,
492 };
493
494 PROTOBUF_EXPORT bool FeatureSet_EnumType_IsValid(int value);
495 PROTOBUF_EXPORT extern const uint32_t FeatureSet_EnumType_internal_data_[];
496 constexpr FeatureSet_EnumType FeatureSet_EnumType_EnumType_MIN = static_cast<FeatureSet_EnumType>(0);
497 constexpr FeatureSet_EnumType FeatureSet_EnumType_EnumType_MAX = static_cast<FeatureSet_EnumType>(2);
498 constexpr int FeatureSet_EnumType_EnumType_ARRAYSIZE = 2 + 1;
499 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
500 FeatureSet_EnumType_descriptor();
501 template <typename T>
FeatureSet_EnumType_Name(T value)502 const std::string& FeatureSet_EnumType_Name(T value) {
503 static_assert(std::is_same<T, FeatureSet_EnumType>::value ||
504 std::is_integral<T>::value,
505 "Incorrect type passed to EnumType_Name().");
506 return FeatureSet_EnumType_Name(static_cast<FeatureSet_EnumType>(value));
507 }
508 template <>
FeatureSet_EnumType_Name(FeatureSet_EnumType value)509 inline const std::string& FeatureSet_EnumType_Name(FeatureSet_EnumType value) {
510 return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_EnumType_descriptor,
511 0, 2>(
512 static_cast<int>(value));
513 }
FeatureSet_EnumType_Parse(absl::string_view name,FeatureSet_EnumType * value)514 inline bool FeatureSet_EnumType_Parse(absl::string_view name, FeatureSet_EnumType* value) {
515 return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_EnumType>(
516 FeatureSet_EnumType_descriptor(), name, value);
517 }
518 enum FeatureSet_RepeatedFieldEncoding : int {
519 FeatureSet_RepeatedFieldEncoding_REPEATED_FIELD_ENCODING_UNKNOWN = 0,
520 FeatureSet_RepeatedFieldEncoding_PACKED = 1,
521 FeatureSet_RepeatedFieldEncoding_EXPANDED = 2,
522 };
523
524 PROTOBUF_EXPORT bool FeatureSet_RepeatedFieldEncoding_IsValid(int value);
525 PROTOBUF_EXPORT extern const uint32_t FeatureSet_RepeatedFieldEncoding_internal_data_[];
526 constexpr FeatureSet_RepeatedFieldEncoding FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_MIN = static_cast<FeatureSet_RepeatedFieldEncoding>(0);
527 constexpr FeatureSet_RepeatedFieldEncoding FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_MAX = static_cast<FeatureSet_RepeatedFieldEncoding>(2);
528 constexpr int FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_ARRAYSIZE = 2 + 1;
529 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
530 FeatureSet_RepeatedFieldEncoding_descriptor();
531 template <typename T>
FeatureSet_RepeatedFieldEncoding_Name(T value)532 const std::string& FeatureSet_RepeatedFieldEncoding_Name(T value) {
533 static_assert(std::is_same<T, FeatureSet_RepeatedFieldEncoding>::value ||
534 std::is_integral<T>::value,
535 "Incorrect type passed to RepeatedFieldEncoding_Name().");
536 return FeatureSet_RepeatedFieldEncoding_Name(static_cast<FeatureSet_RepeatedFieldEncoding>(value));
537 }
538 template <>
FeatureSet_RepeatedFieldEncoding_Name(FeatureSet_RepeatedFieldEncoding value)539 inline const std::string& FeatureSet_RepeatedFieldEncoding_Name(FeatureSet_RepeatedFieldEncoding value) {
540 return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_RepeatedFieldEncoding_descriptor,
541 0, 2>(
542 static_cast<int>(value));
543 }
FeatureSet_RepeatedFieldEncoding_Parse(absl::string_view name,FeatureSet_RepeatedFieldEncoding * value)544 inline bool FeatureSet_RepeatedFieldEncoding_Parse(absl::string_view name, FeatureSet_RepeatedFieldEncoding* value) {
545 return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_RepeatedFieldEncoding>(
546 FeatureSet_RepeatedFieldEncoding_descriptor(), name, value);
547 }
548 enum FeatureSet_Utf8Validation : int {
549 FeatureSet_Utf8Validation_UTF8_VALIDATION_UNKNOWN = 0,
550 FeatureSet_Utf8Validation_VERIFY = 2,
551 FeatureSet_Utf8Validation_NONE = 3,
552 };
553
554 PROTOBUF_EXPORT bool FeatureSet_Utf8Validation_IsValid(int value);
555 PROTOBUF_EXPORT extern const uint32_t FeatureSet_Utf8Validation_internal_data_[];
556 constexpr FeatureSet_Utf8Validation FeatureSet_Utf8Validation_Utf8Validation_MIN = static_cast<FeatureSet_Utf8Validation>(0);
557 constexpr FeatureSet_Utf8Validation FeatureSet_Utf8Validation_Utf8Validation_MAX = static_cast<FeatureSet_Utf8Validation>(3);
558 constexpr int FeatureSet_Utf8Validation_Utf8Validation_ARRAYSIZE = 3 + 1;
559 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
560 FeatureSet_Utf8Validation_descriptor();
561 template <typename T>
FeatureSet_Utf8Validation_Name(T value)562 const std::string& FeatureSet_Utf8Validation_Name(T value) {
563 static_assert(std::is_same<T, FeatureSet_Utf8Validation>::value ||
564 std::is_integral<T>::value,
565 "Incorrect type passed to Utf8Validation_Name().");
566 return FeatureSet_Utf8Validation_Name(static_cast<FeatureSet_Utf8Validation>(value));
567 }
568 template <>
FeatureSet_Utf8Validation_Name(FeatureSet_Utf8Validation value)569 inline const std::string& FeatureSet_Utf8Validation_Name(FeatureSet_Utf8Validation value) {
570 return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_Utf8Validation_descriptor,
571 0, 3>(
572 static_cast<int>(value));
573 }
FeatureSet_Utf8Validation_Parse(absl::string_view name,FeatureSet_Utf8Validation * value)574 inline bool FeatureSet_Utf8Validation_Parse(absl::string_view name, FeatureSet_Utf8Validation* value) {
575 return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_Utf8Validation>(
576 FeatureSet_Utf8Validation_descriptor(), name, value);
577 }
578 enum FeatureSet_MessageEncoding : int {
579 FeatureSet_MessageEncoding_MESSAGE_ENCODING_UNKNOWN = 0,
580 FeatureSet_MessageEncoding_LENGTH_PREFIXED = 1,
581 FeatureSet_MessageEncoding_DELIMITED = 2,
582 };
583
584 PROTOBUF_EXPORT bool FeatureSet_MessageEncoding_IsValid(int value);
585 PROTOBUF_EXPORT extern const uint32_t FeatureSet_MessageEncoding_internal_data_[];
586 constexpr FeatureSet_MessageEncoding FeatureSet_MessageEncoding_MessageEncoding_MIN = static_cast<FeatureSet_MessageEncoding>(0);
587 constexpr FeatureSet_MessageEncoding FeatureSet_MessageEncoding_MessageEncoding_MAX = static_cast<FeatureSet_MessageEncoding>(2);
588 constexpr int FeatureSet_MessageEncoding_MessageEncoding_ARRAYSIZE = 2 + 1;
589 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
590 FeatureSet_MessageEncoding_descriptor();
591 template <typename T>
FeatureSet_MessageEncoding_Name(T value)592 const std::string& FeatureSet_MessageEncoding_Name(T value) {
593 static_assert(std::is_same<T, FeatureSet_MessageEncoding>::value ||
594 std::is_integral<T>::value,
595 "Incorrect type passed to MessageEncoding_Name().");
596 return FeatureSet_MessageEncoding_Name(static_cast<FeatureSet_MessageEncoding>(value));
597 }
598 template <>
FeatureSet_MessageEncoding_Name(FeatureSet_MessageEncoding value)599 inline const std::string& FeatureSet_MessageEncoding_Name(FeatureSet_MessageEncoding value) {
600 return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_MessageEncoding_descriptor,
601 0, 2>(
602 static_cast<int>(value));
603 }
FeatureSet_MessageEncoding_Parse(absl::string_view name,FeatureSet_MessageEncoding * value)604 inline bool FeatureSet_MessageEncoding_Parse(absl::string_view name, FeatureSet_MessageEncoding* value) {
605 return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_MessageEncoding>(
606 FeatureSet_MessageEncoding_descriptor(), name, value);
607 }
608 enum FeatureSet_JsonFormat : int {
609 FeatureSet_JsonFormat_JSON_FORMAT_UNKNOWN = 0,
610 FeatureSet_JsonFormat_ALLOW = 1,
611 FeatureSet_JsonFormat_LEGACY_BEST_EFFORT = 2,
612 };
613
614 PROTOBUF_EXPORT bool FeatureSet_JsonFormat_IsValid(int value);
615 PROTOBUF_EXPORT extern const uint32_t FeatureSet_JsonFormat_internal_data_[];
616 constexpr FeatureSet_JsonFormat FeatureSet_JsonFormat_JsonFormat_MIN = static_cast<FeatureSet_JsonFormat>(0);
617 constexpr FeatureSet_JsonFormat FeatureSet_JsonFormat_JsonFormat_MAX = static_cast<FeatureSet_JsonFormat>(2);
618 constexpr int FeatureSet_JsonFormat_JsonFormat_ARRAYSIZE = 2 + 1;
619 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
620 FeatureSet_JsonFormat_descriptor();
621 template <typename T>
FeatureSet_JsonFormat_Name(T value)622 const std::string& FeatureSet_JsonFormat_Name(T value) {
623 static_assert(std::is_same<T, FeatureSet_JsonFormat>::value ||
624 std::is_integral<T>::value,
625 "Incorrect type passed to JsonFormat_Name().");
626 return FeatureSet_JsonFormat_Name(static_cast<FeatureSet_JsonFormat>(value));
627 }
628 template <>
FeatureSet_JsonFormat_Name(FeatureSet_JsonFormat value)629 inline const std::string& FeatureSet_JsonFormat_Name(FeatureSet_JsonFormat value) {
630 return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_JsonFormat_descriptor,
631 0, 2>(
632 static_cast<int>(value));
633 }
FeatureSet_JsonFormat_Parse(absl::string_view name,FeatureSet_JsonFormat * value)634 inline bool FeatureSet_JsonFormat_Parse(absl::string_view name, FeatureSet_JsonFormat* value) {
635 return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_JsonFormat>(
636 FeatureSet_JsonFormat_descriptor(), name, value);
637 }
638 enum GeneratedCodeInfo_Annotation_Semantic : int {
639 GeneratedCodeInfo_Annotation_Semantic_NONE = 0,
640 GeneratedCodeInfo_Annotation_Semantic_SET = 1,
641 GeneratedCodeInfo_Annotation_Semantic_ALIAS = 2,
642 };
643
644 PROTOBUF_EXPORT bool GeneratedCodeInfo_Annotation_Semantic_IsValid(int value);
645 PROTOBUF_EXPORT extern const uint32_t GeneratedCodeInfo_Annotation_Semantic_internal_data_[];
646 constexpr GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation_Semantic_Semantic_MIN = static_cast<GeneratedCodeInfo_Annotation_Semantic>(0);
647 constexpr GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation_Semantic_Semantic_MAX = static_cast<GeneratedCodeInfo_Annotation_Semantic>(2);
648 constexpr int GeneratedCodeInfo_Annotation_Semantic_Semantic_ARRAYSIZE = 2 + 1;
649 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
650 GeneratedCodeInfo_Annotation_Semantic_descriptor();
651 template <typename T>
GeneratedCodeInfo_Annotation_Semantic_Name(T value)652 const std::string& GeneratedCodeInfo_Annotation_Semantic_Name(T value) {
653 static_assert(std::is_same<T, GeneratedCodeInfo_Annotation_Semantic>::value ||
654 std::is_integral<T>::value,
655 "Incorrect type passed to Semantic_Name().");
656 return GeneratedCodeInfo_Annotation_Semantic_Name(static_cast<GeneratedCodeInfo_Annotation_Semantic>(value));
657 }
658 template <>
GeneratedCodeInfo_Annotation_Semantic_Name(GeneratedCodeInfo_Annotation_Semantic value)659 inline const std::string& GeneratedCodeInfo_Annotation_Semantic_Name(GeneratedCodeInfo_Annotation_Semantic value) {
660 return ::google::protobuf::internal::NameOfDenseEnum<GeneratedCodeInfo_Annotation_Semantic_descriptor,
661 0, 2>(
662 static_cast<int>(value));
663 }
GeneratedCodeInfo_Annotation_Semantic_Parse(absl::string_view name,GeneratedCodeInfo_Annotation_Semantic * value)664 inline bool GeneratedCodeInfo_Annotation_Semantic_Parse(absl::string_view name, GeneratedCodeInfo_Annotation_Semantic* value) {
665 return ::google::protobuf::internal::ParseNamedEnum<GeneratedCodeInfo_Annotation_Semantic>(
666 GeneratedCodeInfo_Annotation_Semantic_descriptor(), name, value);
667 }
668 enum Edition : int {
669 EDITION_UNKNOWN = 0,
670 EDITION_LEGACY = 900,
671 EDITION_PROTO2 = 998,
672 EDITION_PROTO3 = 999,
673 EDITION_2023 = 1000,
674 EDITION_2024 = 1001,
675 EDITION_1_TEST_ONLY = 1,
676 EDITION_2_TEST_ONLY = 2,
677 EDITION_99997_TEST_ONLY = 99997,
678 EDITION_99998_TEST_ONLY = 99998,
679 EDITION_99999_TEST_ONLY = 99999,
680 EDITION_MAX = 2147483647,
681 };
682
683 PROTOBUF_EXPORT bool Edition_IsValid(int value);
684 PROTOBUF_EXPORT extern const uint32_t Edition_internal_data_[];
685 constexpr Edition Edition_MIN = static_cast<Edition>(0);
686 constexpr Edition Edition_MAX = static_cast<Edition>(2147483647);
687 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
688 Edition_descriptor();
689 template <typename T>
Edition_Name(T value)690 const std::string& Edition_Name(T value) {
691 static_assert(std::is_same<T, Edition>::value ||
692 std::is_integral<T>::value,
693 "Incorrect type passed to Edition_Name().");
694 return ::google::protobuf::internal::NameOfEnum(Edition_descriptor(), value);
695 }
Edition_Parse(absl::string_view name,Edition * value)696 inline bool Edition_Parse(absl::string_view name, Edition* value) {
697 return ::google::protobuf::internal::ParseNamedEnum<Edition>(
698 Edition_descriptor(), name, value);
699 }
700
701 // ===================================================================
702
703
704 // -------------------------------------------------------------------
705
706 class PROTOBUF_EXPORT UninterpretedOption_NamePart final : public ::google::protobuf::Message
707 /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption.NamePart) */ {
708 public:
UninterpretedOption_NamePart()709 inline UninterpretedOption_NamePart() : UninterpretedOption_NamePart(nullptr) {}
710 ~UninterpretedOption_NamePart() PROTOBUF_FINAL;
711
712 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(UninterpretedOption_NamePart * msg,std::destroying_delete_t)713 void operator delete(UninterpretedOption_NamePart* msg, std::destroying_delete_t) {
714 SharedDtor(*msg);
715 ::google::protobuf::internal::SizedDelete(msg, sizeof(UninterpretedOption_NamePart));
716 }
717 #endif
718
719 template <typename = void>
720 explicit PROTOBUF_CONSTEXPR UninterpretedOption_NamePart(
721 ::google::protobuf::internal::ConstantInitialized);
722
UninterpretedOption_NamePart(const UninterpretedOption_NamePart & from)723 inline UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from) : UninterpretedOption_NamePart(nullptr, from) {}
UninterpretedOption_NamePart(UninterpretedOption_NamePart && from)724 inline UninterpretedOption_NamePart(UninterpretedOption_NamePart&& from) noexcept
725 : UninterpretedOption_NamePart(nullptr, std::move(from)) {}
726 inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) {
727 CopyFrom(from);
728 return *this;
729 }
730 inline UninterpretedOption_NamePart& operator=(UninterpretedOption_NamePart&& from) noexcept {
731 if (this == &from) return *this;
732 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
733 InternalSwap(&from);
734 } else {
735 CopyFrom(from);
736 }
737 return *this;
738 }
739
unknown_fields()740 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
741 ABSL_ATTRIBUTE_LIFETIME_BOUND {
742 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
743 }
mutable_unknown_fields()744 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
745 ABSL_ATTRIBUTE_LIFETIME_BOUND {
746 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
747 }
748
descriptor()749 static const ::google::protobuf::Descriptor* descriptor() {
750 return GetDescriptor();
751 }
GetDescriptor()752 static const ::google::protobuf::Descriptor* GetDescriptor() {
753 return default_instance().GetMetadata().descriptor;
754 }
GetReflection()755 static const ::google::protobuf::Reflection* GetReflection() {
756 return default_instance().GetMetadata().reflection;
757 }
default_instance()758 static const UninterpretedOption_NamePart& default_instance() {
759 return *internal_default_instance();
760 }
internal_default_instance()761 static inline const UninterpretedOption_NamePart* internal_default_instance() {
762 return reinterpret_cast<const UninterpretedOption_NamePart*>(
763 &_UninterpretedOption_NamePart_default_instance_);
764 }
765 static constexpr int kIndexInFileMessages = 24;
swap(UninterpretedOption_NamePart & a,UninterpretedOption_NamePart & b)766 friend void swap(UninterpretedOption_NamePart& a, UninterpretedOption_NamePart& b) { a.Swap(&b); }
Swap(UninterpretedOption_NamePart * other)767 inline void Swap(UninterpretedOption_NamePart* other) {
768 if (other == this) return;
769 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
770 InternalSwap(other);
771 } else {
772 ::google::protobuf::internal::GenericSwap(this, other);
773 }
774 }
UnsafeArenaSwap(UninterpretedOption_NamePart * other)775 void UnsafeArenaSwap(UninterpretedOption_NamePart* other) {
776 if (other == this) return;
777 ABSL_DCHECK(GetArena() == other->GetArena());
778 InternalSwap(other);
779 }
780
781 // implements Message ----------------------------------------------
782
783 UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena = nullptr) const {
784 return ::google::protobuf::Message::DefaultConstruct<UninterpretedOption_NamePart>(arena);
785 }
786 using ::google::protobuf::Message::CopyFrom;
787 void CopyFrom(const UninterpretedOption_NamePart& from);
788 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const UninterpretedOption_NamePart & from)789 void MergeFrom(const UninterpretedOption_NamePart& from) { UninterpretedOption_NamePart::MergeImpl(*this, from); }
790
791 private:
792 static void MergeImpl(
793 ::google::protobuf::MessageLite& to_msg,
794 const ::google::protobuf::MessageLite& from_msg);
795
796 public:
IsInitialized()797 bool IsInitialized() const {
798 return IsInitializedImpl(*this);
799 }
800
801 private:
802 static bool IsInitializedImpl(const MessageLite& msg);
803
804 public:
805 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
806 #if defined(PROTOBUF_CUSTOM_VTABLE)
807 private:
808 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
809 static ::uint8_t* _InternalSerialize(
810 const MessageLite& msg, ::uint8_t* target,
811 ::google::protobuf::io::EpsCopyOutputStream* stream);
812
813 public:
ByteSizeLong()814 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)815 ::uint8_t* _InternalSerialize(
816 ::uint8_t* target,
817 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
818 return _InternalSerialize(*this, target, stream);
819 }
820 #else // PROTOBUF_CUSTOM_VTABLE
821 ::size_t ByteSizeLong() const final;
822 ::uint8_t* _InternalSerialize(
823 ::uint8_t* target,
824 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
825 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()826 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
827
828 private:
829 void SharedCtor(::google::protobuf::Arena* arena);
830 static void SharedDtor(MessageLite& self);
831 void InternalSwap(UninterpretedOption_NamePart* other);
832 private:
833 template <typename T>
834 friend ::absl::string_view(
835 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()836 static ::absl::string_view FullMessageName() { return "google.protobuf.UninterpretedOption.NamePart"; }
837
838 protected:
839 explicit UninterpretedOption_NamePart(::google::protobuf::Arena* arena);
840 UninterpretedOption_NamePart(::google::protobuf::Arena* arena, const UninterpretedOption_NamePart& from);
UninterpretedOption_NamePart(::google::protobuf::Arena * arena,UninterpretedOption_NamePart && from)841 UninterpretedOption_NamePart(::google::protobuf::Arena* arena, UninterpretedOption_NamePart&& from) noexcept
842 : UninterpretedOption_NamePart(arena) {
843 *this = ::std::move(from);
844 }
845 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
846 static void* PlacementNew_(const void*, void* mem,
847 ::google::protobuf::Arena* arena);
848 static constexpr auto InternalNewImpl_();
849 static const ::google::protobuf::internal::ClassDataFull _class_data_;
850
851 public:
852 ::google::protobuf::Metadata GetMetadata() const;
853 // nested types ----------------------------------------------------
854
855 // accessors -------------------------------------------------------
856 enum : int {
857 kNamePartFieldNumber = 1,
858 kIsExtensionFieldNumber = 2,
859 };
860 // required string name_part = 1;
861 bool has_name_part() const;
862 void clear_name_part() ;
863 const std::string& name_part() const;
864 template <typename Arg_ = const std::string&, typename... Args_>
865 void set_name_part(Arg_&& arg, Args_... args);
866 std::string* mutable_name_part();
867 PROTOBUF_NODISCARD std::string* release_name_part();
868 void set_allocated_name_part(std::string* value);
869
870 private:
871 const std::string& _internal_name_part() const;
872 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name_part(
873 const std::string& value);
874 std::string* _internal_mutable_name_part();
875
876 public:
877 // required bool is_extension = 2;
878 bool has_is_extension() const;
879 void clear_is_extension() ;
880 bool is_extension() const;
881 void set_is_extension(bool value);
882
883 private:
884 bool _internal_is_extension() const;
885 void _internal_set_is_extension(bool value);
886
887 public:
888 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart)
889 private:
890 class _Internal;
891 friend class ::google::protobuf::internal::TcParser;
892 static const ::google::protobuf::internal::TcParseTable<
893 1, 2, 0,
894 62, 2>
895 _table_;
896
897 friend class ::google::protobuf::MessageLite;
898 friend class ::google::protobuf::Arena;
899 template <typename T>
900 friend class ::google::protobuf::Arena::InternalHelper;
901 using InternalArenaConstructable_ = void;
902 using DestructorSkippable_ = void;
903 struct Impl_ {
904 inline explicit constexpr Impl_(
905 ::google::protobuf::internal::ConstantInitialized) noexcept;
906 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
907 ::google::protobuf::Arena* arena);
908 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
909 ::google::protobuf::Arena* arena, const Impl_& from,
910 const UninterpretedOption_NamePart& from_msg);
911 ::google::protobuf::internal::HasBits<1> _has_bits_;
912 ::google::protobuf::internal::CachedSize _cached_size_;
913 ::google::protobuf::internal::ArenaStringPtr name_part_;
914 bool is_extension_;
915 PROTOBUF_TSAN_DECLARE_MEMBER
916 };
917 union { Impl_ _impl_; };
918 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
919 };
920 // -------------------------------------------------------------------
921
922 class PROTOBUF_EXPORT SourceCodeInfo_Location final : public ::google::protobuf::Message
923 /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo.Location) */ {
924 public:
SourceCodeInfo_Location()925 inline SourceCodeInfo_Location() : SourceCodeInfo_Location(nullptr) {}
926 ~SourceCodeInfo_Location() PROTOBUF_FINAL;
927
928 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(SourceCodeInfo_Location * msg,std::destroying_delete_t)929 void operator delete(SourceCodeInfo_Location* msg, std::destroying_delete_t) {
930 SharedDtor(*msg);
931 ::google::protobuf::internal::SizedDelete(msg, sizeof(SourceCodeInfo_Location));
932 }
933 #endif
934
935 template <typename = void>
936 explicit PROTOBUF_CONSTEXPR SourceCodeInfo_Location(
937 ::google::protobuf::internal::ConstantInitialized);
938
SourceCodeInfo_Location(const SourceCodeInfo_Location & from)939 inline SourceCodeInfo_Location(const SourceCodeInfo_Location& from) : SourceCodeInfo_Location(nullptr, from) {}
SourceCodeInfo_Location(SourceCodeInfo_Location && from)940 inline SourceCodeInfo_Location(SourceCodeInfo_Location&& from) noexcept
941 : SourceCodeInfo_Location(nullptr, std::move(from)) {}
942 inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) {
943 CopyFrom(from);
944 return *this;
945 }
946 inline SourceCodeInfo_Location& operator=(SourceCodeInfo_Location&& from) noexcept {
947 if (this == &from) return *this;
948 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
949 InternalSwap(&from);
950 } else {
951 CopyFrom(from);
952 }
953 return *this;
954 }
955
unknown_fields()956 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
957 ABSL_ATTRIBUTE_LIFETIME_BOUND {
958 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
959 }
mutable_unknown_fields()960 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
961 ABSL_ATTRIBUTE_LIFETIME_BOUND {
962 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
963 }
964
descriptor()965 static const ::google::protobuf::Descriptor* descriptor() {
966 return GetDescriptor();
967 }
GetDescriptor()968 static const ::google::protobuf::Descriptor* GetDescriptor() {
969 return default_instance().GetMetadata().descriptor;
970 }
GetReflection()971 static const ::google::protobuf::Reflection* GetReflection() {
972 return default_instance().GetMetadata().reflection;
973 }
default_instance()974 static const SourceCodeInfo_Location& default_instance() {
975 return *internal_default_instance();
976 }
internal_default_instance()977 static inline const SourceCodeInfo_Location* internal_default_instance() {
978 return reinterpret_cast<const SourceCodeInfo_Location*>(
979 &_SourceCodeInfo_Location_default_instance_);
980 }
981 static constexpr int kIndexInFileMessages = 29;
swap(SourceCodeInfo_Location & a,SourceCodeInfo_Location & b)982 friend void swap(SourceCodeInfo_Location& a, SourceCodeInfo_Location& b) { a.Swap(&b); }
Swap(SourceCodeInfo_Location * other)983 inline void Swap(SourceCodeInfo_Location* other) {
984 if (other == this) return;
985 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
986 InternalSwap(other);
987 } else {
988 ::google::protobuf::internal::GenericSwap(this, other);
989 }
990 }
UnsafeArenaSwap(SourceCodeInfo_Location * other)991 void UnsafeArenaSwap(SourceCodeInfo_Location* other) {
992 if (other == this) return;
993 ABSL_DCHECK(GetArena() == other->GetArena());
994 InternalSwap(other);
995 }
996
997 // implements Message ----------------------------------------------
998
999 SourceCodeInfo_Location* New(::google::protobuf::Arena* arena = nullptr) const {
1000 return ::google::protobuf::Message::DefaultConstruct<SourceCodeInfo_Location>(arena);
1001 }
1002 using ::google::protobuf::Message::CopyFrom;
1003 void CopyFrom(const SourceCodeInfo_Location& from);
1004 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const SourceCodeInfo_Location & from)1005 void MergeFrom(const SourceCodeInfo_Location& from) { SourceCodeInfo_Location::MergeImpl(*this, from); }
1006
1007 private:
1008 static void MergeImpl(
1009 ::google::protobuf::MessageLite& to_msg,
1010 const ::google::protobuf::MessageLite& from_msg);
1011
1012 public:
IsInitialized()1013 bool IsInitialized() const {
1014 return true;
1015 }
1016 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1017 #if defined(PROTOBUF_CUSTOM_VTABLE)
1018 private:
1019 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1020 static ::uint8_t* _InternalSerialize(
1021 const MessageLite& msg, ::uint8_t* target,
1022 ::google::protobuf::io::EpsCopyOutputStream* stream);
1023
1024 public:
ByteSizeLong()1025 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)1026 ::uint8_t* _InternalSerialize(
1027 ::uint8_t* target,
1028 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1029 return _InternalSerialize(*this, target, stream);
1030 }
1031 #else // PROTOBUF_CUSTOM_VTABLE
1032 ::size_t ByteSizeLong() const final;
1033 ::uint8_t* _InternalSerialize(
1034 ::uint8_t* target,
1035 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
1036 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()1037 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1038
1039 private:
1040 void SharedCtor(::google::protobuf::Arena* arena);
1041 static void SharedDtor(MessageLite& self);
1042 void InternalSwap(SourceCodeInfo_Location* other);
1043 private:
1044 template <typename T>
1045 friend ::absl::string_view(
1046 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()1047 static ::absl::string_view FullMessageName() { return "google.protobuf.SourceCodeInfo.Location"; }
1048
1049 protected:
1050 explicit SourceCodeInfo_Location(::google::protobuf::Arena* arena);
1051 SourceCodeInfo_Location(::google::protobuf::Arena* arena, const SourceCodeInfo_Location& from);
SourceCodeInfo_Location(::google::protobuf::Arena * arena,SourceCodeInfo_Location && from)1052 SourceCodeInfo_Location(::google::protobuf::Arena* arena, SourceCodeInfo_Location&& from) noexcept
1053 : SourceCodeInfo_Location(arena) {
1054 *this = ::std::move(from);
1055 }
1056 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
1057 static void* PlacementNew_(const void*, void* mem,
1058 ::google::protobuf::Arena* arena);
1059 static constexpr auto InternalNewImpl_();
1060 static const ::google::protobuf::internal::ClassDataFull _class_data_;
1061
1062 public:
1063 ::google::protobuf::Metadata GetMetadata() const;
1064 // nested types ----------------------------------------------------
1065
1066 // accessors -------------------------------------------------------
1067 enum : int {
1068 kPathFieldNumber = 1,
1069 kSpanFieldNumber = 2,
1070 kLeadingDetachedCommentsFieldNumber = 6,
1071 kLeadingCommentsFieldNumber = 3,
1072 kTrailingCommentsFieldNumber = 4,
1073 };
1074 // repeated int32 path = 1 [packed = true];
1075 int path_size() const;
1076 private:
1077 int _internal_path_size() const;
1078
1079 public:
1080 void clear_path() ;
1081 ::int32_t path(int index) const;
1082 void set_path(int index, ::int32_t value);
1083 void add_path(::int32_t value);
1084 const ::google::protobuf::RepeatedField<::int32_t>& path() const;
1085 ::google::protobuf::RepeatedField<::int32_t>* mutable_path();
1086
1087 private:
1088 const ::google::protobuf::RepeatedField<::int32_t>& _internal_path() const;
1089 ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_path();
1090
1091 public:
1092 // repeated int32 span = 2 [packed = true];
1093 int span_size() const;
1094 private:
1095 int _internal_span_size() const;
1096
1097 public:
1098 void clear_span() ;
1099 ::int32_t span(int index) const;
1100 void set_span(int index, ::int32_t value);
1101 void add_span(::int32_t value);
1102 const ::google::protobuf::RepeatedField<::int32_t>& span() const;
1103 ::google::protobuf::RepeatedField<::int32_t>* mutable_span();
1104
1105 private:
1106 const ::google::protobuf::RepeatedField<::int32_t>& _internal_span() const;
1107 ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_span();
1108
1109 public:
1110 // repeated string leading_detached_comments = 6;
1111 int leading_detached_comments_size() const;
1112 private:
1113 int _internal_leading_detached_comments_size() const;
1114
1115 public:
1116 void clear_leading_detached_comments() ;
1117 const std::string& leading_detached_comments(int index) const;
1118 std::string* mutable_leading_detached_comments(int index);
1119 template <typename Arg_ = const std::string&, typename... Args_>
1120 void set_leading_detached_comments(int index, Arg_&& value, Args_... args);
1121 std::string* add_leading_detached_comments();
1122 template <typename Arg_ = const std::string&, typename... Args_>
1123 void add_leading_detached_comments(Arg_&& value, Args_... args);
1124 const ::google::protobuf::RepeatedPtrField<std::string>& leading_detached_comments() const;
1125 ::google::protobuf::RepeatedPtrField<std::string>* mutable_leading_detached_comments();
1126
1127 private:
1128 const ::google::protobuf::RepeatedPtrField<std::string>& _internal_leading_detached_comments() const;
1129 ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_leading_detached_comments();
1130
1131 public:
1132 // optional string leading_comments = 3;
1133 bool has_leading_comments() const;
1134 void clear_leading_comments() ;
1135 const std::string& leading_comments() const;
1136 template <typename Arg_ = const std::string&, typename... Args_>
1137 void set_leading_comments(Arg_&& arg, Args_... args);
1138 std::string* mutable_leading_comments();
1139 PROTOBUF_NODISCARD std::string* release_leading_comments();
1140 void set_allocated_leading_comments(std::string* value);
1141
1142 private:
1143 const std::string& _internal_leading_comments() const;
1144 inline PROTOBUF_ALWAYS_INLINE void _internal_set_leading_comments(
1145 const std::string& value);
1146 std::string* _internal_mutable_leading_comments();
1147
1148 public:
1149 // optional string trailing_comments = 4;
1150 bool has_trailing_comments() const;
1151 void clear_trailing_comments() ;
1152 const std::string& trailing_comments() const;
1153 template <typename Arg_ = const std::string&, typename... Args_>
1154 void set_trailing_comments(Arg_&& arg, Args_... args);
1155 std::string* mutable_trailing_comments();
1156 PROTOBUF_NODISCARD std::string* release_trailing_comments();
1157 void set_allocated_trailing_comments(std::string* value);
1158
1159 private:
1160 const std::string& _internal_trailing_comments() const;
1161 inline PROTOBUF_ALWAYS_INLINE void _internal_set_trailing_comments(
1162 const std::string& value);
1163 std::string* _internal_mutable_trailing_comments();
1164
1165 public:
1166 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location)
1167 private:
1168 class _Internal;
1169 friend class ::google::protobuf::internal::TcParser;
1170 static const ::google::protobuf::internal::TcParseTable<
1171 3, 5, 0,
1172 106, 2>
1173 _table_;
1174
1175 friend class ::google::protobuf::MessageLite;
1176 friend class ::google::protobuf::Arena;
1177 template <typename T>
1178 friend class ::google::protobuf::Arena::InternalHelper;
1179 using InternalArenaConstructable_ = void;
1180 using DestructorSkippable_ = void;
1181 struct Impl_ {
1182 inline explicit constexpr Impl_(
1183 ::google::protobuf::internal::ConstantInitialized) noexcept;
1184 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1185 ::google::protobuf::Arena* arena);
1186 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1187 ::google::protobuf::Arena* arena, const Impl_& from,
1188 const SourceCodeInfo_Location& from_msg);
1189 ::google::protobuf::internal::HasBits<1> _has_bits_;
1190 ::google::protobuf::internal::CachedSize _cached_size_;
1191 ::google::protobuf::RepeatedField<::int32_t> path_;
1192 ::google::protobuf::internal::CachedSize _path_cached_byte_size_;
1193 ::google::protobuf::RepeatedField<::int32_t> span_;
1194 ::google::protobuf::internal::CachedSize _span_cached_byte_size_;
1195 ::google::protobuf::RepeatedPtrField<std::string> leading_detached_comments_;
1196 ::google::protobuf::internal::ArenaStringPtr leading_comments_;
1197 ::google::protobuf::internal::ArenaStringPtr trailing_comments_;
1198 PROTOBUF_TSAN_DECLARE_MEMBER
1199 };
1200 union { Impl_ _impl_; };
1201 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
1202 };
1203 // -------------------------------------------------------------------
1204
1205 class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation final : public ::google::protobuf::Message
1206 /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo.Annotation) */ {
1207 public:
GeneratedCodeInfo_Annotation()1208 inline GeneratedCodeInfo_Annotation() : GeneratedCodeInfo_Annotation(nullptr) {}
1209 ~GeneratedCodeInfo_Annotation() PROTOBUF_FINAL;
1210
1211 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(GeneratedCodeInfo_Annotation * msg,std::destroying_delete_t)1212 void operator delete(GeneratedCodeInfo_Annotation* msg, std::destroying_delete_t) {
1213 SharedDtor(*msg);
1214 ::google::protobuf::internal::SizedDelete(msg, sizeof(GeneratedCodeInfo_Annotation));
1215 }
1216 #endif
1217
1218 template <typename = void>
1219 explicit PROTOBUF_CONSTEXPR GeneratedCodeInfo_Annotation(
1220 ::google::protobuf::internal::ConstantInitialized);
1221
GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation & from)1222 inline GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from) : GeneratedCodeInfo_Annotation(nullptr, from) {}
GeneratedCodeInfo_Annotation(GeneratedCodeInfo_Annotation && from)1223 inline GeneratedCodeInfo_Annotation(GeneratedCodeInfo_Annotation&& from) noexcept
1224 : GeneratedCodeInfo_Annotation(nullptr, std::move(from)) {}
1225 inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotation& from) {
1226 CopyFrom(from);
1227 return *this;
1228 }
1229 inline GeneratedCodeInfo_Annotation& operator=(GeneratedCodeInfo_Annotation&& from) noexcept {
1230 if (this == &from) return *this;
1231 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1232 InternalSwap(&from);
1233 } else {
1234 CopyFrom(from);
1235 }
1236 return *this;
1237 }
1238
unknown_fields()1239 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1240 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1241 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1242 }
mutable_unknown_fields()1243 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
1244 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1245 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1246 }
1247
descriptor()1248 static const ::google::protobuf::Descriptor* descriptor() {
1249 return GetDescriptor();
1250 }
GetDescriptor()1251 static const ::google::protobuf::Descriptor* GetDescriptor() {
1252 return default_instance().GetMetadata().descriptor;
1253 }
GetReflection()1254 static const ::google::protobuf::Reflection* GetReflection() {
1255 return default_instance().GetMetadata().reflection;
1256 }
default_instance()1257 static const GeneratedCodeInfo_Annotation& default_instance() {
1258 return *internal_default_instance();
1259 }
internal_default_instance()1260 static inline const GeneratedCodeInfo_Annotation* internal_default_instance() {
1261 return reinterpret_cast<const GeneratedCodeInfo_Annotation*>(
1262 &_GeneratedCodeInfo_Annotation_default_instance_);
1263 }
1264 static constexpr int kIndexInFileMessages = 31;
swap(GeneratedCodeInfo_Annotation & a,GeneratedCodeInfo_Annotation & b)1265 friend void swap(GeneratedCodeInfo_Annotation& a, GeneratedCodeInfo_Annotation& b) { a.Swap(&b); }
Swap(GeneratedCodeInfo_Annotation * other)1266 inline void Swap(GeneratedCodeInfo_Annotation* other) {
1267 if (other == this) return;
1268 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1269 InternalSwap(other);
1270 } else {
1271 ::google::protobuf::internal::GenericSwap(this, other);
1272 }
1273 }
UnsafeArenaSwap(GeneratedCodeInfo_Annotation * other)1274 void UnsafeArenaSwap(GeneratedCodeInfo_Annotation* other) {
1275 if (other == this) return;
1276 ABSL_DCHECK(GetArena() == other->GetArena());
1277 InternalSwap(other);
1278 }
1279
1280 // implements Message ----------------------------------------------
1281
1282 GeneratedCodeInfo_Annotation* New(::google::protobuf::Arena* arena = nullptr) const {
1283 return ::google::protobuf::Message::DefaultConstruct<GeneratedCodeInfo_Annotation>(arena);
1284 }
1285 using ::google::protobuf::Message::CopyFrom;
1286 void CopyFrom(const GeneratedCodeInfo_Annotation& from);
1287 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const GeneratedCodeInfo_Annotation & from)1288 void MergeFrom(const GeneratedCodeInfo_Annotation& from) { GeneratedCodeInfo_Annotation::MergeImpl(*this, from); }
1289
1290 private:
1291 static void MergeImpl(
1292 ::google::protobuf::MessageLite& to_msg,
1293 const ::google::protobuf::MessageLite& from_msg);
1294
1295 public:
IsInitialized()1296 bool IsInitialized() const {
1297 return true;
1298 }
1299 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1300 #if defined(PROTOBUF_CUSTOM_VTABLE)
1301 private:
1302 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1303 static ::uint8_t* _InternalSerialize(
1304 const MessageLite& msg, ::uint8_t* target,
1305 ::google::protobuf::io::EpsCopyOutputStream* stream);
1306
1307 public:
ByteSizeLong()1308 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)1309 ::uint8_t* _InternalSerialize(
1310 ::uint8_t* target,
1311 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1312 return _InternalSerialize(*this, target, stream);
1313 }
1314 #else // PROTOBUF_CUSTOM_VTABLE
1315 ::size_t ByteSizeLong() const final;
1316 ::uint8_t* _InternalSerialize(
1317 ::uint8_t* target,
1318 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
1319 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()1320 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1321
1322 private:
1323 void SharedCtor(::google::protobuf::Arena* arena);
1324 static void SharedDtor(MessageLite& self);
1325 void InternalSwap(GeneratedCodeInfo_Annotation* other);
1326 private:
1327 template <typename T>
1328 friend ::absl::string_view(
1329 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()1330 static ::absl::string_view FullMessageName() { return "google.protobuf.GeneratedCodeInfo.Annotation"; }
1331
1332 protected:
1333 explicit GeneratedCodeInfo_Annotation(::google::protobuf::Arena* arena);
1334 GeneratedCodeInfo_Annotation(::google::protobuf::Arena* arena, const GeneratedCodeInfo_Annotation& from);
GeneratedCodeInfo_Annotation(::google::protobuf::Arena * arena,GeneratedCodeInfo_Annotation && from)1335 GeneratedCodeInfo_Annotation(::google::protobuf::Arena* arena, GeneratedCodeInfo_Annotation&& from) noexcept
1336 : GeneratedCodeInfo_Annotation(arena) {
1337 *this = ::std::move(from);
1338 }
1339 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
1340 static void* PlacementNew_(const void*, void* mem,
1341 ::google::protobuf::Arena* arena);
1342 static constexpr auto InternalNewImpl_();
1343 static const ::google::protobuf::internal::ClassDataFull _class_data_;
1344
1345 public:
1346 ::google::protobuf::Metadata GetMetadata() const;
1347 // nested types ----------------------------------------------------
1348 using Semantic = GeneratedCodeInfo_Annotation_Semantic;
1349 static constexpr Semantic NONE = GeneratedCodeInfo_Annotation_Semantic_NONE;
1350 static constexpr Semantic SET = GeneratedCodeInfo_Annotation_Semantic_SET;
1351 static constexpr Semantic ALIAS = GeneratedCodeInfo_Annotation_Semantic_ALIAS;
Semantic_IsValid(int value)1352 static inline bool Semantic_IsValid(int value) {
1353 return GeneratedCodeInfo_Annotation_Semantic_IsValid(value);
1354 }
1355 static constexpr Semantic Semantic_MIN = GeneratedCodeInfo_Annotation_Semantic_Semantic_MIN;
1356 static constexpr Semantic Semantic_MAX = GeneratedCodeInfo_Annotation_Semantic_Semantic_MAX;
1357 static constexpr int Semantic_ARRAYSIZE = GeneratedCodeInfo_Annotation_Semantic_Semantic_ARRAYSIZE;
Semantic_descriptor()1358 static inline const ::google::protobuf::EnumDescriptor* Semantic_descriptor() {
1359 return GeneratedCodeInfo_Annotation_Semantic_descriptor();
1360 }
1361 template <typename T>
Semantic_Name(T value)1362 static inline const std::string& Semantic_Name(T value) {
1363 return GeneratedCodeInfo_Annotation_Semantic_Name(value);
1364 }
Semantic_Parse(absl::string_view name,Semantic * value)1365 static inline bool Semantic_Parse(absl::string_view name, Semantic* value) {
1366 return GeneratedCodeInfo_Annotation_Semantic_Parse(name, value);
1367 }
1368
1369 // accessors -------------------------------------------------------
1370 enum : int {
1371 kPathFieldNumber = 1,
1372 kSourceFileFieldNumber = 2,
1373 kBeginFieldNumber = 3,
1374 kEndFieldNumber = 4,
1375 kSemanticFieldNumber = 5,
1376 };
1377 // repeated int32 path = 1 [packed = true];
1378 int path_size() const;
1379 private:
1380 int _internal_path_size() const;
1381
1382 public:
1383 void clear_path() ;
1384 ::int32_t path(int index) const;
1385 void set_path(int index, ::int32_t value);
1386 void add_path(::int32_t value);
1387 const ::google::protobuf::RepeatedField<::int32_t>& path() const;
1388 ::google::protobuf::RepeatedField<::int32_t>* mutable_path();
1389
1390 private:
1391 const ::google::protobuf::RepeatedField<::int32_t>& _internal_path() const;
1392 ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_path();
1393
1394 public:
1395 // optional string source_file = 2;
1396 bool has_source_file() const;
1397 void clear_source_file() ;
1398 const std::string& source_file() const;
1399 template <typename Arg_ = const std::string&, typename... Args_>
1400 void set_source_file(Arg_&& arg, Args_... args);
1401 std::string* mutable_source_file();
1402 PROTOBUF_NODISCARD std::string* release_source_file();
1403 void set_allocated_source_file(std::string* value);
1404
1405 private:
1406 const std::string& _internal_source_file() const;
1407 inline PROTOBUF_ALWAYS_INLINE void _internal_set_source_file(
1408 const std::string& value);
1409 std::string* _internal_mutable_source_file();
1410
1411 public:
1412 // optional int32 begin = 3;
1413 bool has_begin() const;
1414 void clear_begin() ;
1415 ::int32_t begin() const;
1416 void set_begin(::int32_t value);
1417
1418 private:
1419 ::int32_t _internal_begin() const;
1420 void _internal_set_begin(::int32_t value);
1421
1422 public:
1423 // optional int32 end = 4;
1424 bool has_end() const;
1425 void clear_end() ;
1426 ::int32_t end() const;
1427 void set_end(::int32_t value);
1428
1429 private:
1430 ::int32_t _internal_end() const;
1431 void _internal_set_end(::int32_t value);
1432
1433 public:
1434 // optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5;
1435 bool has_semantic() const;
1436 void clear_semantic() ;
1437 ::google::protobuf::GeneratedCodeInfo_Annotation_Semantic semantic() const;
1438 void set_semantic(::google::protobuf::GeneratedCodeInfo_Annotation_Semantic value);
1439
1440 private:
1441 ::google::protobuf::GeneratedCodeInfo_Annotation_Semantic _internal_semantic() const;
1442 void _internal_set_semantic(::google::protobuf::GeneratedCodeInfo_Annotation_Semantic value);
1443
1444 public:
1445 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Annotation)
1446 private:
1447 class _Internal;
1448 friend class ::google::protobuf::internal::TcParser;
1449 static const ::google::protobuf::internal::TcParseTable<
1450 3, 5, 1,
1451 64, 2>
1452 _table_;
1453
1454 friend class ::google::protobuf::MessageLite;
1455 friend class ::google::protobuf::Arena;
1456 template <typename T>
1457 friend class ::google::protobuf::Arena::InternalHelper;
1458 using InternalArenaConstructable_ = void;
1459 using DestructorSkippable_ = void;
1460 struct Impl_ {
1461 inline explicit constexpr Impl_(
1462 ::google::protobuf::internal::ConstantInitialized) noexcept;
1463 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1464 ::google::protobuf::Arena* arena);
1465 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1466 ::google::protobuf::Arena* arena, const Impl_& from,
1467 const GeneratedCodeInfo_Annotation& from_msg);
1468 ::google::protobuf::internal::HasBits<1> _has_bits_;
1469 ::google::protobuf::internal::CachedSize _cached_size_;
1470 ::google::protobuf::RepeatedField<::int32_t> path_;
1471 ::google::protobuf::internal::CachedSize _path_cached_byte_size_;
1472 ::google::protobuf::internal::ArenaStringPtr source_file_;
1473 ::int32_t begin_;
1474 ::int32_t end_;
1475 int semantic_;
1476 PROTOBUF_TSAN_DECLARE_MEMBER
1477 };
1478 union { Impl_ _impl_; };
1479 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
1480 };
1481 // -------------------------------------------------------------------
1482
1483 class PROTOBUF_EXPORT FieldOptions_FeatureSupport final : public ::google::protobuf::Message
1484 /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions.FeatureSupport) */ {
1485 public:
FieldOptions_FeatureSupport()1486 inline FieldOptions_FeatureSupport() : FieldOptions_FeatureSupport(nullptr) {}
1487 ~FieldOptions_FeatureSupport() PROTOBUF_FINAL;
1488
1489 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(FieldOptions_FeatureSupport * msg,std::destroying_delete_t)1490 void operator delete(FieldOptions_FeatureSupport* msg, std::destroying_delete_t) {
1491 SharedDtor(*msg);
1492 ::google::protobuf::internal::SizedDelete(msg, sizeof(FieldOptions_FeatureSupport));
1493 }
1494 #endif
1495
1496 template <typename = void>
1497 explicit PROTOBUF_CONSTEXPR FieldOptions_FeatureSupport(
1498 ::google::protobuf::internal::ConstantInitialized);
1499
FieldOptions_FeatureSupport(const FieldOptions_FeatureSupport & from)1500 inline FieldOptions_FeatureSupport(const FieldOptions_FeatureSupport& from) : FieldOptions_FeatureSupport(nullptr, from) {}
FieldOptions_FeatureSupport(FieldOptions_FeatureSupport && from)1501 inline FieldOptions_FeatureSupport(FieldOptions_FeatureSupport&& from) noexcept
1502 : FieldOptions_FeatureSupport(nullptr, std::move(from)) {}
1503 inline FieldOptions_FeatureSupport& operator=(const FieldOptions_FeatureSupport& from) {
1504 CopyFrom(from);
1505 return *this;
1506 }
1507 inline FieldOptions_FeatureSupport& operator=(FieldOptions_FeatureSupport&& from) noexcept {
1508 if (this == &from) return *this;
1509 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1510 InternalSwap(&from);
1511 } else {
1512 CopyFrom(from);
1513 }
1514 return *this;
1515 }
1516
unknown_fields()1517 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1518 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1519 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1520 }
mutable_unknown_fields()1521 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
1522 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1523 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1524 }
1525
descriptor()1526 static const ::google::protobuf::Descriptor* descriptor() {
1527 return GetDescriptor();
1528 }
GetDescriptor()1529 static const ::google::protobuf::Descriptor* GetDescriptor() {
1530 return default_instance().GetMetadata().descriptor;
1531 }
GetReflection()1532 static const ::google::protobuf::Reflection* GetReflection() {
1533 return default_instance().GetMetadata().reflection;
1534 }
default_instance()1535 static const FieldOptions_FeatureSupport& default_instance() {
1536 return *internal_default_instance();
1537 }
internal_default_instance()1538 static inline const FieldOptions_FeatureSupport* internal_default_instance() {
1539 return reinterpret_cast<const FieldOptions_FeatureSupport*>(
1540 &_FieldOptions_FeatureSupport_default_instance_);
1541 }
1542 static constexpr int kIndexInFileMessages = 17;
swap(FieldOptions_FeatureSupport & a,FieldOptions_FeatureSupport & b)1543 friend void swap(FieldOptions_FeatureSupport& a, FieldOptions_FeatureSupport& b) { a.Swap(&b); }
Swap(FieldOptions_FeatureSupport * other)1544 inline void Swap(FieldOptions_FeatureSupport* other) {
1545 if (other == this) return;
1546 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1547 InternalSwap(other);
1548 } else {
1549 ::google::protobuf::internal::GenericSwap(this, other);
1550 }
1551 }
UnsafeArenaSwap(FieldOptions_FeatureSupport * other)1552 void UnsafeArenaSwap(FieldOptions_FeatureSupport* other) {
1553 if (other == this) return;
1554 ABSL_DCHECK(GetArena() == other->GetArena());
1555 InternalSwap(other);
1556 }
1557
1558 // implements Message ----------------------------------------------
1559
1560 FieldOptions_FeatureSupport* New(::google::protobuf::Arena* arena = nullptr) const {
1561 return ::google::protobuf::Message::DefaultConstruct<FieldOptions_FeatureSupport>(arena);
1562 }
1563 using ::google::protobuf::Message::CopyFrom;
1564 void CopyFrom(const FieldOptions_FeatureSupport& from);
1565 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const FieldOptions_FeatureSupport & from)1566 void MergeFrom(const FieldOptions_FeatureSupport& from) { FieldOptions_FeatureSupport::MergeImpl(*this, from); }
1567
1568 private:
1569 static void MergeImpl(
1570 ::google::protobuf::MessageLite& to_msg,
1571 const ::google::protobuf::MessageLite& from_msg);
1572
1573 public:
IsInitialized()1574 bool IsInitialized() const {
1575 return true;
1576 }
1577 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1578 #if defined(PROTOBUF_CUSTOM_VTABLE)
1579 private:
1580 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1581 static ::uint8_t* _InternalSerialize(
1582 const MessageLite& msg, ::uint8_t* target,
1583 ::google::protobuf::io::EpsCopyOutputStream* stream);
1584
1585 public:
ByteSizeLong()1586 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)1587 ::uint8_t* _InternalSerialize(
1588 ::uint8_t* target,
1589 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1590 return _InternalSerialize(*this, target, stream);
1591 }
1592 #else // PROTOBUF_CUSTOM_VTABLE
1593 ::size_t ByteSizeLong() const final;
1594 ::uint8_t* _InternalSerialize(
1595 ::uint8_t* target,
1596 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
1597 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()1598 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1599
1600 private:
1601 void SharedCtor(::google::protobuf::Arena* arena);
1602 static void SharedDtor(MessageLite& self);
1603 void InternalSwap(FieldOptions_FeatureSupport* other);
1604 private:
1605 template <typename T>
1606 friend ::absl::string_view(
1607 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()1608 static ::absl::string_view FullMessageName() { return "google.protobuf.FieldOptions.FeatureSupport"; }
1609
1610 protected:
1611 explicit FieldOptions_FeatureSupport(::google::protobuf::Arena* arena);
1612 FieldOptions_FeatureSupport(::google::protobuf::Arena* arena, const FieldOptions_FeatureSupport& from);
FieldOptions_FeatureSupport(::google::protobuf::Arena * arena,FieldOptions_FeatureSupport && from)1613 FieldOptions_FeatureSupport(::google::protobuf::Arena* arena, FieldOptions_FeatureSupport&& from) noexcept
1614 : FieldOptions_FeatureSupport(arena) {
1615 *this = ::std::move(from);
1616 }
1617 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
1618 static void* PlacementNew_(const void*, void* mem,
1619 ::google::protobuf::Arena* arena);
1620 static constexpr auto InternalNewImpl_();
1621 static const ::google::protobuf::internal::ClassDataFull _class_data_;
1622
1623 public:
1624 ::google::protobuf::Metadata GetMetadata() const;
1625 // nested types ----------------------------------------------------
1626
1627 // accessors -------------------------------------------------------
1628 enum : int {
1629 kDeprecationWarningFieldNumber = 3,
1630 kEditionIntroducedFieldNumber = 1,
1631 kEditionDeprecatedFieldNumber = 2,
1632 kEditionRemovedFieldNumber = 4,
1633 };
1634 // optional string deprecation_warning = 3;
1635 bool has_deprecation_warning() const;
1636 void clear_deprecation_warning() ;
1637 const std::string& deprecation_warning() const;
1638 template <typename Arg_ = const std::string&, typename... Args_>
1639 void set_deprecation_warning(Arg_&& arg, Args_... args);
1640 std::string* mutable_deprecation_warning();
1641 PROTOBUF_NODISCARD std::string* release_deprecation_warning();
1642 void set_allocated_deprecation_warning(std::string* value);
1643
1644 private:
1645 const std::string& _internal_deprecation_warning() const;
1646 inline PROTOBUF_ALWAYS_INLINE void _internal_set_deprecation_warning(
1647 const std::string& value);
1648 std::string* _internal_mutable_deprecation_warning();
1649
1650 public:
1651 // optional .google.protobuf.Edition edition_introduced = 1;
1652 bool has_edition_introduced() const;
1653 void clear_edition_introduced() ;
1654 ::google::protobuf::Edition edition_introduced() const;
1655 void set_edition_introduced(::google::protobuf::Edition value);
1656
1657 private:
1658 ::google::protobuf::Edition _internal_edition_introduced() const;
1659 void _internal_set_edition_introduced(::google::protobuf::Edition value);
1660
1661 public:
1662 // optional .google.protobuf.Edition edition_deprecated = 2;
1663 bool has_edition_deprecated() const;
1664 void clear_edition_deprecated() ;
1665 ::google::protobuf::Edition edition_deprecated() const;
1666 void set_edition_deprecated(::google::protobuf::Edition value);
1667
1668 private:
1669 ::google::protobuf::Edition _internal_edition_deprecated() const;
1670 void _internal_set_edition_deprecated(::google::protobuf::Edition value);
1671
1672 public:
1673 // optional .google.protobuf.Edition edition_removed = 4;
1674 bool has_edition_removed() const;
1675 void clear_edition_removed() ;
1676 ::google::protobuf::Edition edition_removed() const;
1677 void set_edition_removed(::google::protobuf::Edition value);
1678
1679 private:
1680 ::google::protobuf::Edition _internal_edition_removed() const;
1681 void _internal_set_edition_removed(::google::protobuf::Edition value);
1682
1683 public:
1684 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions.FeatureSupport)
1685 private:
1686 class _Internal;
1687 friend class ::google::protobuf::internal::TcParser;
1688 static const ::google::protobuf::internal::TcParseTable<
1689 2, 4, 3,
1690 71, 2>
1691 _table_;
1692
1693 friend class ::google::protobuf::MessageLite;
1694 friend class ::google::protobuf::Arena;
1695 template <typename T>
1696 friend class ::google::protobuf::Arena::InternalHelper;
1697 using InternalArenaConstructable_ = void;
1698 using DestructorSkippable_ = void;
1699 struct Impl_ {
1700 inline explicit constexpr Impl_(
1701 ::google::protobuf::internal::ConstantInitialized) noexcept;
1702 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1703 ::google::protobuf::Arena* arena);
1704 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1705 ::google::protobuf::Arena* arena, const Impl_& from,
1706 const FieldOptions_FeatureSupport& from_msg);
1707 ::google::protobuf::internal::HasBits<1> _has_bits_;
1708 ::google::protobuf::internal::CachedSize _cached_size_;
1709 ::google::protobuf::internal::ArenaStringPtr deprecation_warning_;
1710 int edition_introduced_;
1711 int edition_deprecated_;
1712 int edition_removed_;
1713 PROTOBUF_TSAN_DECLARE_MEMBER
1714 };
1715 union { Impl_ _impl_; };
1716 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
1717 };
1718 // -------------------------------------------------------------------
1719
1720 class PROTOBUF_EXPORT FieldOptions_EditionDefault final : public ::google::protobuf::Message
1721 /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions.EditionDefault) */ {
1722 public:
FieldOptions_EditionDefault()1723 inline FieldOptions_EditionDefault() : FieldOptions_EditionDefault(nullptr) {}
1724 ~FieldOptions_EditionDefault() PROTOBUF_FINAL;
1725
1726 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(FieldOptions_EditionDefault * msg,std::destroying_delete_t)1727 void operator delete(FieldOptions_EditionDefault* msg, std::destroying_delete_t) {
1728 SharedDtor(*msg);
1729 ::google::protobuf::internal::SizedDelete(msg, sizeof(FieldOptions_EditionDefault));
1730 }
1731 #endif
1732
1733 template <typename = void>
1734 explicit PROTOBUF_CONSTEXPR FieldOptions_EditionDefault(
1735 ::google::protobuf::internal::ConstantInitialized);
1736
FieldOptions_EditionDefault(const FieldOptions_EditionDefault & from)1737 inline FieldOptions_EditionDefault(const FieldOptions_EditionDefault& from) : FieldOptions_EditionDefault(nullptr, from) {}
FieldOptions_EditionDefault(FieldOptions_EditionDefault && from)1738 inline FieldOptions_EditionDefault(FieldOptions_EditionDefault&& from) noexcept
1739 : FieldOptions_EditionDefault(nullptr, std::move(from)) {}
1740 inline FieldOptions_EditionDefault& operator=(const FieldOptions_EditionDefault& from) {
1741 CopyFrom(from);
1742 return *this;
1743 }
1744 inline FieldOptions_EditionDefault& operator=(FieldOptions_EditionDefault&& from) noexcept {
1745 if (this == &from) return *this;
1746 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1747 InternalSwap(&from);
1748 } else {
1749 CopyFrom(from);
1750 }
1751 return *this;
1752 }
1753
unknown_fields()1754 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1755 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1756 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1757 }
mutable_unknown_fields()1758 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
1759 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1760 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1761 }
1762
descriptor()1763 static const ::google::protobuf::Descriptor* descriptor() {
1764 return GetDescriptor();
1765 }
GetDescriptor()1766 static const ::google::protobuf::Descriptor* GetDescriptor() {
1767 return default_instance().GetMetadata().descriptor;
1768 }
GetReflection()1769 static const ::google::protobuf::Reflection* GetReflection() {
1770 return default_instance().GetMetadata().reflection;
1771 }
default_instance()1772 static const FieldOptions_EditionDefault& default_instance() {
1773 return *internal_default_instance();
1774 }
internal_default_instance()1775 static inline const FieldOptions_EditionDefault* internal_default_instance() {
1776 return reinterpret_cast<const FieldOptions_EditionDefault*>(
1777 &_FieldOptions_EditionDefault_default_instance_);
1778 }
1779 static constexpr int kIndexInFileMessages = 16;
swap(FieldOptions_EditionDefault & a,FieldOptions_EditionDefault & b)1780 friend void swap(FieldOptions_EditionDefault& a, FieldOptions_EditionDefault& b) { a.Swap(&b); }
Swap(FieldOptions_EditionDefault * other)1781 inline void Swap(FieldOptions_EditionDefault* other) {
1782 if (other == this) return;
1783 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1784 InternalSwap(other);
1785 } else {
1786 ::google::protobuf::internal::GenericSwap(this, other);
1787 }
1788 }
UnsafeArenaSwap(FieldOptions_EditionDefault * other)1789 void UnsafeArenaSwap(FieldOptions_EditionDefault* other) {
1790 if (other == this) return;
1791 ABSL_DCHECK(GetArena() == other->GetArena());
1792 InternalSwap(other);
1793 }
1794
1795 // implements Message ----------------------------------------------
1796
1797 FieldOptions_EditionDefault* New(::google::protobuf::Arena* arena = nullptr) const {
1798 return ::google::protobuf::Message::DefaultConstruct<FieldOptions_EditionDefault>(arena);
1799 }
1800 using ::google::protobuf::Message::CopyFrom;
1801 void CopyFrom(const FieldOptions_EditionDefault& from);
1802 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const FieldOptions_EditionDefault & from)1803 void MergeFrom(const FieldOptions_EditionDefault& from) { FieldOptions_EditionDefault::MergeImpl(*this, from); }
1804
1805 private:
1806 static void MergeImpl(
1807 ::google::protobuf::MessageLite& to_msg,
1808 const ::google::protobuf::MessageLite& from_msg);
1809
1810 public:
IsInitialized()1811 bool IsInitialized() const {
1812 return true;
1813 }
1814 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1815 #if defined(PROTOBUF_CUSTOM_VTABLE)
1816 private:
1817 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1818 static ::uint8_t* _InternalSerialize(
1819 const MessageLite& msg, ::uint8_t* target,
1820 ::google::protobuf::io::EpsCopyOutputStream* stream);
1821
1822 public:
ByteSizeLong()1823 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)1824 ::uint8_t* _InternalSerialize(
1825 ::uint8_t* target,
1826 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1827 return _InternalSerialize(*this, target, stream);
1828 }
1829 #else // PROTOBUF_CUSTOM_VTABLE
1830 ::size_t ByteSizeLong() const final;
1831 ::uint8_t* _InternalSerialize(
1832 ::uint8_t* target,
1833 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
1834 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()1835 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1836
1837 private:
1838 void SharedCtor(::google::protobuf::Arena* arena);
1839 static void SharedDtor(MessageLite& self);
1840 void InternalSwap(FieldOptions_EditionDefault* other);
1841 private:
1842 template <typename T>
1843 friend ::absl::string_view(
1844 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()1845 static ::absl::string_view FullMessageName() { return "google.protobuf.FieldOptions.EditionDefault"; }
1846
1847 protected:
1848 explicit FieldOptions_EditionDefault(::google::protobuf::Arena* arena);
1849 FieldOptions_EditionDefault(::google::protobuf::Arena* arena, const FieldOptions_EditionDefault& from);
FieldOptions_EditionDefault(::google::protobuf::Arena * arena,FieldOptions_EditionDefault && from)1850 FieldOptions_EditionDefault(::google::protobuf::Arena* arena, FieldOptions_EditionDefault&& from) noexcept
1851 : FieldOptions_EditionDefault(arena) {
1852 *this = ::std::move(from);
1853 }
1854 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
1855 static void* PlacementNew_(const void*, void* mem,
1856 ::google::protobuf::Arena* arena);
1857 static constexpr auto InternalNewImpl_();
1858 static const ::google::protobuf::internal::ClassDataFull _class_data_;
1859
1860 public:
1861 ::google::protobuf::Metadata GetMetadata() const;
1862 // nested types ----------------------------------------------------
1863
1864 // accessors -------------------------------------------------------
1865 enum : int {
1866 kValueFieldNumber = 2,
1867 kEditionFieldNumber = 3,
1868 };
1869 // optional string value = 2;
1870 bool has_value() const;
1871 void clear_value() ;
1872 const std::string& value() const;
1873 template <typename Arg_ = const std::string&, typename... Args_>
1874 void set_value(Arg_&& arg, Args_... args);
1875 std::string* mutable_value();
1876 PROTOBUF_NODISCARD std::string* release_value();
1877 void set_allocated_value(std::string* value);
1878
1879 private:
1880 const std::string& _internal_value() const;
1881 inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(
1882 const std::string& value);
1883 std::string* _internal_mutable_value();
1884
1885 public:
1886 // optional .google.protobuf.Edition edition = 3;
1887 bool has_edition() const;
1888 void clear_edition() ;
1889 ::google::protobuf::Edition edition() const;
1890 void set_edition(::google::protobuf::Edition value);
1891
1892 private:
1893 ::google::protobuf::Edition _internal_edition() const;
1894 void _internal_set_edition(::google::protobuf::Edition value);
1895
1896 public:
1897 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions.EditionDefault)
1898 private:
1899 class _Internal;
1900 friend class ::google::protobuf::internal::TcParser;
1901 static const ::google::protobuf::internal::TcParseTable<
1902 1, 2, 1,
1903 57, 2>
1904 _table_;
1905
1906 friend class ::google::protobuf::MessageLite;
1907 friend class ::google::protobuf::Arena;
1908 template <typename T>
1909 friend class ::google::protobuf::Arena::InternalHelper;
1910 using InternalArenaConstructable_ = void;
1911 using DestructorSkippable_ = void;
1912 struct Impl_ {
1913 inline explicit constexpr Impl_(
1914 ::google::protobuf::internal::ConstantInitialized) noexcept;
1915 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1916 ::google::protobuf::Arena* arena);
1917 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1918 ::google::protobuf::Arena* arena, const Impl_& from,
1919 const FieldOptions_EditionDefault& from_msg);
1920 ::google::protobuf::internal::HasBits<1> _has_bits_;
1921 ::google::protobuf::internal::CachedSize _cached_size_;
1922 ::google::protobuf::internal::ArenaStringPtr value_;
1923 int edition_;
1924 PROTOBUF_TSAN_DECLARE_MEMBER
1925 };
1926 union { Impl_ _impl_; };
1927 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
1928 };
1929 // -------------------------------------------------------------------
1930
1931 class PROTOBUF_EXPORT FeatureSet final : public ::google::protobuf::Message
1932 /* @@protoc_insertion_point(class_definition:google.protobuf.FeatureSet) */ {
1933 public:
FeatureSet()1934 inline FeatureSet() : FeatureSet(nullptr) {}
1935 ~FeatureSet() PROTOBUF_FINAL;
1936
1937 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(FeatureSet * msg,std::destroying_delete_t)1938 void operator delete(FeatureSet* msg, std::destroying_delete_t) {
1939 SharedDtor(*msg);
1940 ::google::protobuf::internal::SizedDelete(msg, sizeof(FeatureSet));
1941 }
1942 #endif
1943
1944 template <typename = void>
1945 explicit PROTOBUF_CONSTEXPR FeatureSet(
1946 ::google::protobuf::internal::ConstantInitialized);
1947
FeatureSet(const FeatureSet & from)1948 inline FeatureSet(const FeatureSet& from) : FeatureSet(nullptr, from) {}
FeatureSet(FeatureSet && from)1949 inline FeatureSet(FeatureSet&& from) noexcept
1950 : FeatureSet(nullptr, std::move(from)) {}
1951 inline FeatureSet& operator=(const FeatureSet& from) {
1952 CopyFrom(from);
1953 return *this;
1954 }
1955 inline FeatureSet& operator=(FeatureSet&& from) noexcept {
1956 if (this == &from) return *this;
1957 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1958 InternalSwap(&from);
1959 } else {
1960 CopyFrom(from);
1961 }
1962 return *this;
1963 }
1964
unknown_fields()1965 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1966 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1967 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1968 }
mutable_unknown_fields()1969 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
1970 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1971 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1972 }
1973
descriptor()1974 static const ::google::protobuf::Descriptor* descriptor() {
1975 return GetDescriptor();
1976 }
GetDescriptor()1977 static const ::google::protobuf::Descriptor* GetDescriptor() {
1978 return default_instance().GetMetadata().descriptor;
1979 }
GetReflection()1980 static const ::google::protobuf::Reflection* GetReflection() {
1981 return default_instance().GetMetadata().reflection;
1982 }
default_instance()1983 static const FeatureSet& default_instance() {
1984 return *internal_default_instance();
1985 }
internal_default_instance()1986 static inline const FeatureSet* internal_default_instance() {
1987 return reinterpret_cast<const FeatureSet*>(
1988 &_FeatureSet_default_instance_);
1989 }
1990 static constexpr int kIndexInFileMessages = 26;
swap(FeatureSet & a,FeatureSet & b)1991 friend void swap(FeatureSet& a, FeatureSet& b) { a.Swap(&b); }
Swap(FeatureSet * other)1992 inline void Swap(FeatureSet* other) {
1993 if (other == this) return;
1994 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1995 InternalSwap(other);
1996 } else {
1997 ::google::protobuf::internal::GenericSwap(this, other);
1998 }
1999 }
UnsafeArenaSwap(FeatureSet * other)2000 void UnsafeArenaSwap(FeatureSet* other) {
2001 if (other == this) return;
2002 ABSL_DCHECK(GetArena() == other->GetArena());
2003 InternalSwap(other);
2004 }
2005
2006 // implements Message ----------------------------------------------
2007
2008 FeatureSet* New(::google::protobuf::Arena* arena = nullptr) const {
2009 return ::google::protobuf::Message::DefaultConstruct<FeatureSet>(arena);
2010 }
2011 using ::google::protobuf::Message::CopyFrom;
2012 void CopyFrom(const FeatureSet& from);
2013 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const FeatureSet & from)2014 void MergeFrom(const FeatureSet& from) { FeatureSet::MergeImpl(*this, from); }
2015
2016 private:
2017 static void MergeImpl(
2018 ::google::protobuf::MessageLite& to_msg,
2019 const ::google::protobuf::MessageLite& from_msg);
2020
2021 public:
IsInitialized()2022 bool IsInitialized() const {
2023 return IsInitializedImpl(*this);
2024 }
2025
2026 private:
2027 static bool IsInitializedImpl(const MessageLite& msg);
2028
2029 public:
2030 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
2031 #if defined(PROTOBUF_CUSTOM_VTABLE)
2032 private:
2033 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2034 static ::uint8_t* _InternalSerialize(
2035 const MessageLite& msg, ::uint8_t* target,
2036 ::google::protobuf::io::EpsCopyOutputStream* stream);
2037
2038 public:
ByteSizeLong()2039 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)2040 ::uint8_t* _InternalSerialize(
2041 ::uint8_t* target,
2042 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2043 return _InternalSerialize(*this, target, stream);
2044 }
2045 #else // PROTOBUF_CUSTOM_VTABLE
2046 ::size_t ByteSizeLong() const final;
2047 ::uint8_t* _InternalSerialize(
2048 ::uint8_t* target,
2049 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
2050 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()2051 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
2052
2053 private:
2054 void SharedCtor(::google::protobuf::Arena* arena);
2055 static void SharedDtor(MessageLite& self);
2056 void InternalSwap(FeatureSet* other);
2057 private:
2058 template <typename T>
2059 friend ::absl::string_view(
2060 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()2061 static ::absl::string_view FullMessageName() { return "google.protobuf.FeatureSet"; }
2062
2063 protected:
2064 explicit FeatureSet(::google::protobuf::Arena* arena);
2065 FeatureSet(::google::protobuf::Arena* arena, const FeatureSet& from);
FeatureSet(::google::protobuf::Arena * arena,FeatureSet && from)2066 FeatureSet(::google::protobuf::Arena* arena, FeatureSet&& from) noexcept
2067 : FeatureSet(arena) {
2068 *this = ::std::move(from);
2069 }
2070 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
2071 static void* PlacementNew_(const void*, void* mem,
2072 ::google::protobuf::Arena* arena);
2073 static constexpr auto InternalNewImpl_();
2074 static const ::google::protobuf::internal::ClassDataFull _class_data_;
2075
2076 public:
2077 ::google::protobuf::Metadata GetMetadata() const;
2078 // nested types ----------------------------------------------------
2079 using FieldPresence = FeatureSet_FieldPresence;
2080 static constexpr FieldPresence FIELD_PRESENCE_UNKNOWN = FeatureSet_FieldPresence_FIELD_PRESENCE_UNKNOWN;
2081 static constexpr FieldPresence EXPLICIT = FeatureSet_FieldPresence_EXPLICIT;
2082 static constexpr FieldPresence IMPLICIT = FeatureSet_FieldPresence_IMPLICIT;
2083 static constexpr FieldPresence LEGACY_REQUIRED = FeatureSet_FieldPresence_LEGACY_REQUIRED;
FieldPresence_IsValid(int value)2084 static inline bool FieldPresence_IsValid(int value) {
2085 return FeatureSet_FieldPresence_IsValid(value);
2086 }
2087 static constexpr FieldPresence FieldPresence_MIN = FeatureSet_FieldPresence_FieldPresence_MIN;
2088 static constexpr FieldPresence FieldPresence_MAX = FeatureSet_FieldPresence_FieldPresence_MAX;
2089 static constexpr int FieldPresence_ARRAYSIZE = FeatureSet_FieldPresence_FieldPresence_ARRAYSIZE;
FieldPresence_descriptor()2090 static inline const ::google::protobuf::EnumDescriptor* FieldPresence_descriptor() {
2091 return FeatureSet_FieldPresence_descriptor();
2092 }
2093 template <typename T>
FieldPresence_Name(T value)2094 static inline const std::string& FieldPresence_Name(T value) {
2095 return FeatureSet_FieldPresence_Name(value);
2096 }
FieldPresence_Parse(absl::string_view name,FieldPresence * value)2097 static inline bool FieldPresence_Parse(absl::string_view name, FieldPresence* value) {
2098 return FeatureSet_FieldPresence_Parse(name, value);
2099 }
2100 using EnumType = FeatureSet_EnumType;
2101 static constexpr EnumType ENUM_TYPE_UNKNOWN = FeatureSet_EnumType_ENUM_TYPE_UNKNOWN;
2102 static constexpr EnumType OPEN = FeatureSet_EnumType_OPEN;
2103 static constexpr EnumType CLOSED = FeatureSet_EnumType_CLOSED;
EnumType_IsValid(int value)2104 static inline bool EnumType_IsValid(int value) {
2105 return FeatureSet_EnumType_IsValid(value);
2106 }
2107 static constexpr EnumType EnumType_MIN = FeatureSet_EnumType_EnumType_MIN;
2108 static constexpr EnumType EnumType_MAX = FeatureSet_EnumType_EnumType_MAX;
2109 static constexpr int EnumType_ARRAYSIZE = FeatureSet_EnumType_EnumType_ARRAYSIZE;
EnumType_descriptor()2110 static inline const ::google::protobuf::EnumDescriptor* EnumType_descriptor() {
2111 return FeatureSet_EnumType_descriptor();
2112 }
2113 template <typename T>
EnumType_Name(T value)2114 static inline const std::string& EnumType_Name(T value) {
2115 return FeatureSet_EnumType_Name(value);
2116 }
EnumType_Parse(absl::string_view name,EnumType * value)2117 static inline bool EnumType_Parse(absl::string_view name, EnumType* value) {
2118 return FeatureSet_EnumType_Parse(name, value);
2119 }
2120 using RepeatedFieldEncoding = FeatureSet_RepeatedFieldEncoding;
2121 static constexpr RepeatedFieldEncoding REPEATED_FIELD_ENCODING_UNKNOWN = FeatureSet_RepeatedFieldEncoding_REPEATED_FIELD_ENCODING_UNKNOWN;
2122 static constexpr RepeatedFieldEncoding PACKED = FeatureSet_RepeatedFieldEncoding_PACKED;
2123 static constexpr RepeatedFieldEncoding EXPANDED = FeatureSet_RepeatedFieldEncoding_EXPANDED;
RepeatedFieldEncoding_IsValid(int value)2124 static inline bool RepeatedFieldEncoding_IsValid(int value) {
2125 return FeatureSet_RepeatedFieldEncoding_IsValid(value);
2126 }
2127 static constexpr RepeatedFieldEncoding RepeatedFieldEncoding_MIN = FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_MIN;
2128 static constexpr RepeatedFieldEncoding RepeatedFieldEncoding_MAX = FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_MAX;
2129 static constexpr int RepeatedFieldEncoding_ARRAYSIZE = FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_ARRAYSIZE;
RepeatedFieldEncoding_descriptor()2130 static inline const ::google::protobuf::EnumDescriptor* RepeatedFieldEncoding_descriptor() {
2131 return FeatureSet_RepeatedFieldEncoding_descriptor();
2132 }
2133 template <typename T>
RepeatedFieldEncoding_Name(T value)2134 static inline const std::string& RepeatedFieldEncoding_Name(T value) {
2135 return FeatureSet_RepeatedFieldEncoding_Name(value);
2136 }
RepeatedFieldEncoding_Parse(absl::string_view name,RepeatedFieldEncoding * value)2137 static inline bool RepeatedFieldEncoding_Parse(absl::string_view name, RepeatedFieldEncoding* value) {
2138 return FeatureSet_RepeatedFieldEncoding_Parse(name, value);
2139 }
2140 using Utf8Validation = FeatureSet_Utf8Validation;
2141 static constexpr Utf8Validation UTF8_VALIDATION_UNKNOWN = FeatureSet_Utf8Validation_UTF8_VALIDATION_UNKNOWN;
2142 static constexpr Utf8Validation VERIFY = FeatureSet_Utf8Validation_VERIFY;
2143 static constexpr Utf8Validation NONE = FeatureSet_Utf8Validation_NONE;
Utf8Validation_IsValid(int value)2144 static inline bool Utf8Validation_IsValid(int value) {
2145 return FeatureSet_Utf8Validation_IsValid(value);
2146 }
2147 static constexpr Utf8Validation Utf8Validation_MIN = FeatureSet_Utf8Validation_Utf8Validation_MIN;
2148 static constexpr Utf8Validation Utf8Validation_MAX = FeatureSet_Utf8Validation_Utf8Validation_MAX;
2149 static constexpr int Utf8Validation_ARRAYSIZE = FeatureSet_Utf8Validation_Utf8Validation_ARRAYSIZE;
Utf8Validation_descriptor()2150 static inline const ::google::protobuf::EnumDescriptor* Utf8Validation_descriptor() {
2151 return FeatureSet_Utf8Validation_descriptor();
2152 }
2153 template <typename T>
Utf8Validation_Name(T value)2154 static inline const std::string& Utf8Validation_Name(T value) {
2155 return FeatureSet_Utf8Validation_Name(value);
2156 }
Utf8Validation_Parse(absl::string_view name,Utf8Validation * value)2157 static inline bool Utf8Validation_Parse(absl::string_view name, Utf8Validation* value) {
2158 return FeatureSet_Utf8Validation_Parse(name, value);
2159 }
2160 using MessageEncoding = FeatureSet_MessageEncoding;
2161 static constexpr MessageEncoding MESSAGE_ENCODING_UNKNOWN = FeatureSet_MessageEncoding_MESSAGE_ENCODING_UNKNOWN;
2162 static constexpr MessageEncoding LENGTH_PREFIXED = FeatureSet_MessageEncoding_LENGTH_PREFIXED;
2163 static constexpr MessageEncoding DELIMITED = FeatureSet_MessageEncoding_DELIMITED;
MessageEncoding_IsValid(int value)2164 static inline bool MessageEncoding_IsValid(int value) {
2165 return FeatureSet_MessageEncoding_IsValid(value);
2166 }
2167 static constexpr MessageEncoding MessageEncoding_MIN = FeatureSet_MessageEncoding_MessageEncoding_MIN;
2168 static constexpr MessageEncoding MessageEncoding_MAX = FeatureSet_MessageEncoding_MessageEncoding_MAX;
2169 static constexpr int MessageEncoding_ARRAYSIZE = FeatureSet_MessageEncoding_MessageEncoding_ARRAYSIZE;
MessageEncoding_descriptor()2170 static inline const ::google::protobuf::EnumDescriptor* MessageEncoding_descriptor() {
2171 return FeatureSet_MessageEncoding_descriptor();
2172 }
2173 template <typename T>
MessageEncoding_Name(T value)2174 static inline const std::string& MessageEncoding_Name(T value) {
2175 return FeatureSet_MessageEncoding_Name(value);
2176 }
MessageEncoding_Parse(absl::string_view name,MessageEncoding * value)2177 static inline bool MessageEncoding_Parse(absl::string_view name, MessageEncoding* value) {
2178 return FeatureSet_MessageEncoding_Parse(name, value);
2179 }
2180 using JsonFormat = FeatureSet_JsonFormat;
2181 static constexpr JsonFormat JSON_FORMAT_UNKNOWN = FeatureSet_JsonFormat_JSON_FORMAT_UNKNOWN;
2182 static constexpr JsonFormat ALLOW = FeatureSet_JsonFormat_ALLOW;
2183 static constexpr JsonFormat LEGACY_BEST_EFFORT = FeatureSet_JsonFormat_LEGACY_BEST_EFFORT;
JsonFormat_IsValid(int value)2184 static inline bool JsonFormat_IsValid(int value) {
2185 return FeatureSet_JsonFormat_IsValid(value);
2186 }
2187 static constexpr JsonFormat JsonFormat_MIN = FeatureSet_JsonFormat_JsonFormat_MIN;
2188 static constexpr JsonFormat JsonFormat_MAX = FeatureSet_JsonFormat_JsonFormat_MAX;
2189 static constexpr int JsonFormat_ARRAYSIZE = FeatureSet_JsonFormat_JsonFormat_ARRAYSIZE;
JsonFormat_descriptor()2190 static inline const ::google::protobuf::EnumDescriptor* JsonFormat_descriptor() {
2191 return FeatureSet_JsonFormat_descriptor();
2192 }
2193 template <typename T>
JsonFormat_Name(T value)2194 static inline const std::string& JsonFormat_Name(T value) {
2195 return FeatureSet_JsonFormat_Name(value);
2196 }
JsonFormat_Parse(absl::string_view name,JsonFormat * value)2197 static inline bool JsonFormat_Parse(absl::string_view name, JsonFormat* value) {
2198 return FeatureSet_JsonFormat_Parse(name, value);
2199 }
2200
2201 // accessors -------------------------------------------------------
2202 enum : int {
2203 kFieldPresenceFieldNumber = 1,
2204 kEnumTypeFieldNumber = 2,
2205 kRepeatedFieldEncodingFieldNumber = 3,
2206 kUtf8ValidationFieldNumber = 4,
2207 kMessageEncodingFieldNumber = 5,
2208 kJsonFormatFieldNumber = 6,
2209 };
2210 // optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
2211 bool has_field_presence() const;
2212 void clear_field_presence() ;
2213 ::google::protobuf::FeatureSet_FieldPresence field_presence() const;
2214 void set_field_presence(::google::protobuf::FeatureSet_FieldPresence value);
2215
2216 private:
2217 ::google::protobuf::FeatureSet_FieldPresence _internal_field_presence() const;
2218 void _internal_set_field_presence(::google::protobuf::FeatureSet_FieldPresence value);
2219
2220 public:
2221 // optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = {
2222 bool has_enum_type() const;
2223 void clear_enum_type() ;
2224 ::google::protobuf::FeatureSet_EnumType enum_type() const;
2225 void set_enum_type(::google::protobuf::FeatureSet_EnumType value);
2226
2227 private:
2228 ::google::protobuf::FeatureSet_EnumType _internal_enum_type() const;
2229 void _internal_set_enum_type(::google::protobuf::FeatureSet_EnumType value);
2230
2231 public:
2232 // optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
2233 bool has_repeated_field_encoding() const;
2234 void clear_repeated_field_encoding() ;
2235 ::google::protobuf::FeatureSet_RepeatedFieldEncoding repeated_field_encoding() const;
2236 void set_repeated_field_encoding(::google::protobuf::FeatureSet_RepeatedFieldEncoding value);
2237
2238 private:
2239 ::google::protobuf::FeatureSet_RepeatedFieldEncoding _internal_repeated_field_encoding() const;
2240 void _internal_set_repeated_field_encoding(::google::protobuf::FeatureSet_RepeatedFieldEncoding value);
2241
2242 public:
2243 // optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
2244 bool has_utf8_validation() const;
2245 void clear_utf8_validation() ;
2246 ::google::protobuf::FeatureSet_Utf8Validation utf8_validation() const;
2247 void set_utf8_validation(::google::protobuf::FeatureSet_Utf8Validation value);
2248
2249 private:
2250 ::google::protobuf::FeatureSet_Utf8Validation _internal_utf8_validation() const;
2251 void _internal_set_utf8_validation(::google::protobuf::FeatureSet_Utf8Validation value);
2252
2253 public:
2254 // optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = {
2255 bool has_message_encoding() const;
2256 void clear_message_encoding() ;
2257 ::google::protobuf::FeatureSet_MessageEncoding message_encoding() const;
2258 void set_message_encoding(::google::protobuf::FeatureSet_MessageEncoding value);
2259
2260 private:
2261 ::google::protobuf::FeatureSet_MessageEncoding _internal_message_encoding() const;
2262 void _internal_set_message_encoding(::google::protobuf::FeatureSet_MessageEncoding value);
2263
2264 public:
2265 // optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = {
2266 bool has_json_format() const;
2267 void clear_json_format() ;
2268 ::google::protobuf::FeatureSet_JsonFormat json_format() const;
2269 void set_json_format(::google::protobuf::FeatureSet_JsonFormat value);
2270
2271 private:
2272 ::google::protobuf::FeatureSet_JsonFormat _internal_json_format() const;
2273 void _internal_set_json_format(::google::protobuf::FeatureSet_JsonFormat value);
2274
2275 public:
2276 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2277 bool _is_packed,
2278 typename = typename _proto_TypeTraits::Singular>
HasExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id)2279 inline bool HasExtension(
2280 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2281 _field_type, _is_packed>& id) const {
2282 return _impl_._extensions_.Has(id.number());
2283 }
2284
2285 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2286 bool _is_packed>
ClearExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id)2287 inline void ClearExtension(
2288 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2289 _field_type, _is_packed>& id) {
2290 _impl_._extensions_.ClearExtension(id.number());
2291 }
2292
2293 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2294 bool _is_packed,
2295 typename = typename _proto_TypeTraits::Repeated>
ExtensionSize(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id)2296 inline int ExtensionSize(
2297 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2298 _field_type, _is_packed>& id) const {
2299 return _impl_._extensions_.ExtensionSize(id.number());
2300 }
2301
2302 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2303 bool _is_packed,
2304 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id)2305 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
2306 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2307 _field_type, _is_packed>& id) const {
2308 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
2309 }
2310
2311 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2312 bool _is_packed,
2313 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id)2314 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
2315 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2316 _field_type, _is_packed>& id) const
2317 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2318 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
2319 }
2320
2321 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2322 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id)2323 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
2324 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2325 _field_type, _is_packed>& id)
2326 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2327 return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_);
2328 }
2329
2330 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2331 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::ConstType value)2332 inline void SetExtension(
2333 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2334 _field_type, _is_packed>& id,
2335 typename _proto_TypeTraits::Singular::ConstType value) {
2336 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
2337 }
2338
2339 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2340 bool _is_packed>
SetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)2341 inline void SetAllocatedExtension(
2342 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2343 _field_type, _is_packed>& id,
2344 typename _proto_TypeTraits::Singular::MutableType value) {
2345 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
2346 &_impl_._extensions_);
2347 }
2348 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2349 bool _is_packed>
UnsafeArenaSetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)2350 inline void UnsafeArenaSetAllocatedExtension(
2351 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2352 _field_type, _is_packed>& id,
2353 typename _proto_TypeTraits::Singular::MutableType value) {
2354 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
2355 value, &_impl_._extensions_);
2356 }
2357 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2358 bool _is_packed>
2359 PROTOBUF_NODISCARD inline
2360 typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id)2361 ReleaseExtension(
2362 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2363 _field_type, _is_packed>& id) {
2364 return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_);
2365 }
2366 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2367 bool _is_packed>
2368 inline typename _proto_TypeTraits::Singular::MutableType
UnsafeArenaReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id)2369 UnsafeArenaReleaseExtension(
2370 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2371 _field_type, _is_packed>& id) {
2372 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
2373 &_impl_._extensions_);
2374 }
2375
2376 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2377 bool _is_packed,
2378 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id,int index)2379 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
2380 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2381 _field_type, _is_packed>& id,
2382 int index) const {
2383 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
2384 }
2385
2386 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2387 bool _is_packed,
2388 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id,int index)2389 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
2390 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2391 _field_type, _is_packed>& id,
2392 int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2393 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
2394 }
2395
2396 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2397 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id,int index)2398 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
2399 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2400 _field_type, _is_packed>& id,
2401 int index) ABSL_ATTRIBUTE_LIFETIME_BOUND {
2402 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
2403 }
2404
2405 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2406 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id,int index,typename _proto_TypeTraits::Repeated::ConstType value)2407 inline void SetExtension(
2408 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2409 _field_type, _is_packed>& id,
2410 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
2411 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
2412 }
2413
2414 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2415 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id)2416 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
2417 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2418 _field_type, _is_packed>& id)
2419 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2420 typename _proto_TypeTraits::Repeated::MutableType to_add =
2421 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
2422 return to_add;
2423 }
2424
2425 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2426 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Repeated::ConstType value)2427 inline void AddExtension(
2428 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2429 _field_type, _is_packed>& id,
2430 typename _proto_TypeTraits::Repeated::ConstType value) {
2431 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
2432 &_impl_._extensions_);
2433 }
2434
2435 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2436 bool _is_packed>
2437 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
GetRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id)2438 GetRepeatedExtension(
2439 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2440 _field_type, _is_packed>& id) const
2441 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2442 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
2443 }
2444
2445 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
2446 bool _is_packed>
2447 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
MutableRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<FeatureSet,_proto_TypeTraits,_field_type,_is_packed> & id)2448 MutableRepeatedExtension(
2449 const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits,
2450 _field_type, _is_packed>& id)
2451 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2452 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
2453 _is_packed, &_impl_._extensions_);
2454 }
2455 // @@protoc_insertion_point(class_scope:google.protobuf.FeatureSet)
2456 private:
2457 class _Internal;
2458 friend class ::google::protobuf::internal::TcParser;
2459 static const ::google::protobuf::internal::TcParseTable<
2460 3, 6, 6,
2461 0, 2>
2462 _table_;
2463
2464 friend class ::google::protobuf::MessageLite;
2465 friend class ::google::protobuf::Arena;
2466 template <typename T>
2467 friend class ::google::protobuf::Arena::InternalHelper;
2468 using InternalArenaConstructable_ = void;
2469 using DestructorSkippable_ = void;
2470 struct Impl_ {
2471 inline explicit constexpr Impl_(
2472 ::google::protobuf::internal::ConstantInitialized) noexcept;
2473 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
2474 ::google::protobuf::Arena* arena);
2475 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
2476 ::google::protobuf::Arena* arena, const Impl_& from,
2477 const FeatureSet& from_msg);
2478 ::google::protobuf::internal::ExtensionSet _extensions_;
2479 ::google::protobuf::internal::HasBits<1> _has_bits_;
2480 ::google::protobuf::internal::CachedSize _cached_size_;
2481 int field_presence_;
2482 int enum_type_;
2483 int repeated_field_encoding_;
2484 int utf8_validation_;
2485 int message_encoding_;
2486 int json_format_;
2487 PROTOBUF_TSAN_DECLARE_MEMBER
2488 };
2489 union { Impl_ _impl_; };
2490 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
2491 };
2492 // -------------------------------------------------------------------
2493
2494 class PROTOBUF_EXPORT ExtensionRangeOptions_Declaration final : public ::google::protobuf::Message
2495 /* @@protoc_insertion_point(class_definition:google.protobuf.ExtensionRangeOptions.Declaration) */ {
2496 public:
ExtensionRangeOptions_Declaration()2497 inline ExtensionRangeOptions_Declaration() : ExtensionRangeOptions_Declaration(nullptr) {}
2498 ~ExtensionRangeOptions_Declaration() PROTOBUF_FINAL;
2499
2500 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(ExtensionRangeOptions_Declaration * msg,std::destroying_delete_t)2501 void operator delete(ExtensionRangeOptions_Declaration* msg, std::destroying_delete_t) {
2502 SharedDtor(*msg);
2503 ::google::protobuf::internal::SizedDelete(msg, sizeof(ExtensionRangeOptions_Declaration));
2504 }
2505 #endif
2506
2507 template <typename = void>
2508 explicit PROTOBUF_CONSTEXPR ExtensionRangeOptions_Declaration(
2509 ::google::protobuf::internal::ConstantInitialized);
2510
ExtensionRangeOptions_Declaration(const ExtensionRangeOptions_Declaration & from)2511 inline ExtensionRangeOptions_Declaration(const ExtensionRangeOptions_Declaration& from) : ExtensionRangeOptions_Declaration(nullptr, from) {}
ExtensionRangeOptions_Declaration(ExtensionRangeOptions_Declaration && from)2512 inline ExtensionRangeOptions_Declaration(ExtensionRangeOptions_Declaration&& from) noexcept
2513 : ExtensionRangeOptions_Declaration(nullptr, std::move(from)) {}
2514 inline ExtensionRangeOptions_Declaration& operator=(const ExtensionRangeOptions_Declaration& from) {
2515 CopyFrom(from);
2516 return *this;
2517 }
2518 inline ExtensionRangeOptions_Declaration& operator=(ExtensionRangeOptions_Declaration&& from) noexcept {
2519 if (this == &from) return *this;
2520 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2521 InternalSwap(&from);
2522 } else {
2523 CopyFrom(from);
2524 }
2525 return *this;
2526 }
2527
unknown_fields()2528 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
2529 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2530 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2531 }
mutable_unknown_fields()2532 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
2533 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2534 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2535 }
2536
descriptor()2537 static const ::google::protobuf::Descriptor* descriptor() {
2538 return GetDescriptor();
2539 }
GetDescriptor()2540 static const ::google::protobuf::Descriptor* GetDescriptor() {
2541 return default_instance().GetMetadata().descriptor;
2542 }
GetReflection()2543 static const ::google::protobuf::Reflection* GetReflection() {
2544 return default_instance().GetMetadata().reflection;
2545 }
default_instance()2546 static const ExtensionRangeOptions_Declaration& default_instance() {
2547 return *internal_default_instance();
2548 }
internal_default_instance()2549 static inline const ExtensionRangeOptions_Declaration* internal_default_instance() {
2550 return reinterpret_cast<const ExtensionRangeOptions_Declaration*>(
2551 &_ExtensionRangeOptions_Declaration_default_instance_);
2552 }
2553 static constexpr int kIndexInFileMessages = 5;
swap(ExtensionRangeOptions_Declaration & a,ExtensionRangeOptions_Declaration & b)2554 friend void swap(ExtensionRangeOptions_Declaration& a, ExtensionRangeOptions_Declaration& b) { a.Swap(&b); }
Swap(ExtensionRangeOptions_Declaration * other)2555 inline void Swap(ExtensionRangeOptions_Declaration* other) {
2556 if (other == this) return;
2557 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2558 InternalSwap(other);
2559 } else {
2560 ::google::protobuf::internal::GenericSwap(this, other);
2561 }
2562 }
UnsafeArenaSwap(ExtensionRangeOptions_Declaration * other)2563 void UnsafeArenaSwap(ExtensionRangeOptions_Declaration* other) {
2564 if (other == this) return;
2565 ABSL_DCHECK(GetArena() == other->GetArena());
2566 InternalSwap(other);
2567 }
2568
2569 // implements Message ----------------------------------------------
2570
2571 ExtensionRangeOptions_Declaration* New(::google::protobuf::Arena* arena = nullptr) const {
2572 return ::google::protobuf::Message::DefaultConstruct<ExtensionRangeOptions_Declaration>(arena);
2573 }
2574 using ::google::protobuf::Message::CopyFrom;
2575 void CopyFrom(const ExtensionRangeOptions_Declaration& from);
2576 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const ExtensionRangeOptions_Declaration & from)2577 void MergeFrom(const ExtensionRangeOptions_Declaration& from) { ExtensionRangeOptions_Declaration::MergeImpl(*this, from); }
2578
2579 private:
2580 static void MergeImpl(
2581 ::google::protobuf::MessageLite& to_msg,
2582 const ::google::protobuf::MessageLite& from_msg);
2583
2584 public:
IsInitialized()2585 bool IsInitialized() const {
2586 return true;
2587 }
2588 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
2589 #if defined(PROTOBUF_CUSTOM_VTABLE)
2590 private:
2591 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2592 static ::uint8_t* _InternalSerialize(
2593 const MessageLite& msg, ::uint8_t* target,
2594 ::google::protobuf::io::EpsCopyOutputStream* stream);
2595
2596 public:
ByteSizeLong()2597 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)2598 ::uint8_t* _InternalSerialize(
2599 ::uint8_t* target,
2600 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2601 return _InternalSerialize(*this, target, stream);
2602 }
2603 #else // PROTOBUF_CUSTOM_VTABLE
2604 ::size_t ByteSizeLong() const final;
2605 ::uint8_t* _InternalSerialize(
2606 ::uint8_t* target,
2607 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
2608 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()2609 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
2610
2611 private:
2612 void SharedCtor(::google::protobuf::Arena* arena);
2613 static void SharedDtor(MessageLite& self);
2614 void InternalSwap(ExtensionRangeOptions_Declaration* other);
2615 private:
2616 template <typename T>
2617 friend ::absl::string_view(
2618 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()2619 static ::absl::string_view FullMessageName() { return "google.protobuf.ExtensionRangeOptions.Declaration"; }
2620
2621 protected:
2622 explicit ExtensionRangeOptions_Declaration(::google::protobuf::Arena* arena);
2623 ExtensionRangeOptions_Declaration(::google::protobuf::Arena* arena, const ExtensionRangeOptions_Declaration& from);
ExtensionRangeOptions_Declaration(::google::protobuf::Arena * arena,ExtensionRangeOptions_Declaration && from)2624 ExtensionRangeOptions_Declaration(::google::protobuf::Arena* arena, ExtensionRangeOptions_Declaration&& from) noexcept
2625 : ExtensionRangeOptions_Declaration(arena) {
2626 *this = ::std::move(from);
2627 }
2628 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
2629 static void* PlacementNew_(const void*, void* mem,
2630 ::google::protobuf::Arena* arena);
2631 static constexpr auto InternalNewImpl_();
2632 static const ::google::protobuf::internal::ClassDataFull _class_data_;
2633
2634 public:
2635 ::google::protobuf::Metadata GetMetadata() const;
2636 // nested types ----------------------------------------------------
2637
2638 // accessors -------------------------------------------------------
2639 enum : int {
2640 kFullNameFieldNumber = 2,
2641 kTypeFieldNumber = 3,
2642 kNumberFieldNumber = 1,
2643 kReservedFieldNumber = 5,
2644 kRepeatedFieldNumber = 6,
2645 };
2646 // optional string full_name = 2;
2647 bool has_full_name() const;
2648 void clear_full_name() ;
2649 const std::string& full_name() const;
2650 template <typename Arg_ = const std::string&, typename... Args_>
2651 void set_full_name(Arg_&& arg, Args_... args);
2652 std::string* mutable_full_name();
2653 PROTOBUF_NODISCARD std::string* release_full_name();
2654 void set_allocated_full_name(std::string* value);
2655
2656 private:
2657 const std::string& _internal_full_name() const;
2658 inline PROTOBUF_ALWAYS_INLINE void _internal_set_full_name(
2659 const std::string& value);
2660 std::string* _internal_mutable_full_name();
2661
2662 public:
2663 // optional string type = 3;
2664 bool has_type() const;
2665 void clear_type() ;
2666 const std::string& type() const;
2667 template <typename Arg_ = const std::string&, typename... Args_>
2668 void set_type(Arg_&& arg, Args_... args);
2669 std::string* mutable_type();
2670 PROTOBUF_NODISCARD std::string* release_type();
2671 void set_allocated_type(std::string* value);
2672
2673 private:
2674 const std::string& _internal_type() const;
2675 inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(
2676 const std::string& value);
2677 std::string* _internal_mutable_type();
2678
2679 public:
2680 // optional int32 number = 1;
2681 bool has_number() const;
2682 void clear_number() ;
2683 ::int32_t number() const;
2684 void set_number(::int32_t value);
2685
2686 private:
2687 ::int32_t _internal_number() const;
2688 void _internal_set_number(::int32_t value);
2689
2690 public:
2691 // optional bool reserved = 5;
2692 bool has_reserved() const;
2693 void clear_reserved() ;
2694 bool reserved() const;
2695 void set_reserved(bool value);
2696
2697 private:
2698 bool _internal_reserved() const;
2699 void _internal_set_reserved(bool value);
2700
2701 public:
2702 // optional bool repeated = 6;
2703 bool has_repeated() const;
2704 void clear_repeated() ;
2705 bool repeated() const;
2706 void set_repeated(bool value);
2707
2708 private:
2709 bool _internal_repeated() const;
2710 void _internal_set_repeated(bool value);
2711
2712 public:
2713 // @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions.Declaration)
2714 private:
2715 class _Internal;
2716 friend class ::google::protobuf::internal::TcParser;
2717 static const ::google::protobuf::internal::TcParseTable<
2718 3, 5, 0,
2719 71, 2>
2720 _table_;
2721
2722 friend class ::google::protobuf::MessageLite;
2723 friend class ::google::protobuf::Arena;
2724 template <typename T>
2725 friend class ::google::protobuf::Arena::InternalHelper;
2726 using InternalArenaConstructable_ = void;
2727 using DestructorSkippable_ = void;
2728 struct Impl_ {
2729 inline explicit constexpr Impl_(
2730 ::google::protobuf::internal::ConstantInitialized) noexcept;
2731 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
2732 ::google::protobuf::Arena* arena);
2733 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
2734 ::google::protobuf::Arena* arena, const Impl_& from,
2735 const ExtensionRangeOptions_Declaration& from_msg);
2736 ::google::protobuf::internal::HasBits<1> _has_bits_;
2737 ::google::protobuf::internal::CachedSize _cached_size_;
2738 ::google::protobuf::internal::ArenaStringPtr full_name_;
2739 ::google::protobuf::internal::ArenaStringPtr type_;
2740 ::int32_t number_;
2741 bool reserved_;
2742 bool repeated_;
2743 PROTOBUF_TSAN_DECLARE_MEMBER
2744 };
2745 union { Impl_ _impl_; };
2746 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
2747 };
2748 // -------------------------------------------------------------------
2749
2750 class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange final : public ::google::protobuf::Message
2751 /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto.EnumReservedRange) */ {
2752 public:
EnumDescriptorProto_EnumReservedRange()2753 inline EnumDescriptorProto_EnumReservedRange() : EnumDescriptorProto_EnumReservedRange(nullptr) {}
2754 ~EnumDescriptorProto_EnumReservedRange() PROTOBUF_FINAL;
2755
2756 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(EnumDescriptorProto_EnumReservedRange * msg,std::destroying_delete_t)2757 void operator delete(EnumDescriptorProto_EnumReservedRange* msg, std::destroying_delete_t) {
2758 SharedDtor(*msg);
2759 ::google::protobuf::internal::SizedDelete(msg, sizeof(EnumDescriptorProto_EnumReservedRange));
2760 }
2761 #endif
2762
2763 template <typename = void>
2764 explicit PROTOBUF_CONSTEXPR EnumDescriptorProto_EnumReservedRange(
2765 ::google::protobuf::internal::ConstantInitialized);
2766
EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange & from)2767 inline EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange& from) : EnumDescriptorProto_EnumReservedRange(nullptr, from) {}
EnumDescriptorProto_EnumReservedRange(EnumDescriptorProto_EnumReservedRange && from)2768 inline EnumDescriptorProto_EnumReservedRange(EnumDescriptorProto_EnumReservedRange&& from) noexcept
2769 : EnumDescriptorProto_EnumReservedRange(nullptr, std::move(from)) {}
2770 inline EnumDescriptorProto_EnumReservedRange& operator=(const EnumDescriptorProto_EnumReservedRange& from) {
2771 CopyFrom(from);
2772 return *this;
2773 }
2774 inline EnumDescriptorProto_EnumReservedRange& operator=(EnumDescriptorProto_EnumReservedRange&& from) noexcept {
2775 if (this == &from) return *this;
2776 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2777 InternalSwap(&from);
2778 } else {
2779 CopyFrom(from);
2780 }
2781 return *this;
2782 }
2783
unknown_fields()2784 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
2785 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2786 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2787 }
mutable_unknown_fields()2788 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
2789 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2790 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2791 }
2792
descriptor()2793 static const ::google::protobuf::Descriptor* descriptor() {
2794 return GetDescriptor();
2795 }
GetDescriptor()2796 static const ::google::protobuf::Descriptor* GetDescriptor() {
2797 return default_instance().GetMetadata().descriptor;
2798 }
GetReflection()2799 static const ::google::protobuf::Reflection* GetReflection() {
2800 return default_instance().GetMetadata().reflection;
2801 }
default_instance()2802 static const EnumDescriptorProto_EnumReservedRange& default_instance() {
2803 return *internal_default_instance();
2804 }
internal_default_instance()2805 static inline const EnumDescriptorProto_EnumReservedRange* internal_default_instance() {
2806 return reinterpret_cast<const EnumDescriptorProto_EnumReservedRange*>(
2807 &_EnumDescriptorProto_EnumReservedRange_default_instance_);
2808 }
2809 static constexpr int kIndexInFileMessages = 9;
swap(EnumDescriptorProto_EnumReservedRange & a,EnumDescriptorProto_EnumReservedRange & b)2810 friend void swap(EnumDescriptorProto_EnumReservedRange& a, EnumDescriptorProto_EnumReservedRange& b) { a.Swap(&b); }
Swap(EnumDescriptorProto_EnumReservedRange * other)2811 inline void Swap(EnumDescriptorProto_EnumReservedRange* other) {
2812 if (other == this) return;
2813 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2814 InternalSwap(other);
2815 } else {
2816 ::google::protobuf::internal::GenericSwap(this, other);
2817 }
2818 }
UnsafeArenaSwap(EnumDescriptorProto_EnumReservedRange * other)2819 void UnsafeArenaSwap(EnumDescriptorProto_EnumReservedRange* other) {
2820 if (other == this) return;
2821 ABSL_DCHECK(GetArena() == other->GetArena());
2822 InternalSwap(other);
2823 }
2824
2825 // implements Message ----------------------------------------------
2826
2827 EnumDescriptorProto_EnumReservedRange* New(::google::protobuf::Arena* arena = nullptr) const {
2828 return ::google::protobuf::Message::DefaultConstruct<EnumDescriptorProto_EnumReservedRange>(arena);
2829 }
2830 using ::google::protobuf::Message::CopyFrom;
2831 void CopyFrom(const EnumDescriptorProto_EnumReservedRange& from);
2832 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const EnumDescriptorProto_EnumReservedRange & from)2833 void MergeFrom(const EnumDescriptorProto_EnumReservedRange& from) { EnumDescriptorProto_EnumReservedRange::MergeImpl(*this, from); }
2834
2835 private:
2836 static void MergeImpl(
2837 ::google::protobuf::MessageLite& to_msg,
2838 const ::google::protobuf::MessageLite& from_msg);
2839
2840 public:
IsInitialized()2841 bool IsInitialized() const {
2842 return true;
2843 }
2844 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
2845 #if defined(PROTOBUF_CUSTOM_VTABLE)
2846 private:
2847 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2848 static ::uint8_t* _InternalSerialize(
2849 const MessageLite& msg, ::uint8_t* target,
2850 ::google::protobuf::io::EpsCopyOutputStream* stream);
2851
2852 public:
ByteSizeLong()2853 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)2854 ::uint8_t* _InternalSerialize(
2855 ::uint8_t* target,
2856 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2857 return _InternalSerialize(*this, target, stream);
2858 }
2859 #else // PROTOBUF_CUSTOM_VTABLE
2860 ::size_t ByteSizeLong() const final;
2861 ::uint8_t* _InternalSerialize(
2862 ::uint8_t* target,
2863 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
2864 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()2865 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
2866
2867 private:
2868 void SharedCtor(::google::protobuf::Arena* arena);
2869 static void SharedDtor(MessageLite& self);
2870 void InternalSwap(EnumDescriptorProto_EnumReservedRange* other);
2871 private:
2872 template <typename T>
2873 friend ::absl::string_view(
2874 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()2875 static ::absl::string_view FullMessageName() { return "google.protobuf.EnumDescriptorProto.EnumReservedRange"; }
2876
2877 protected:
2878 explicit EnumDescriptorProto_EnumReservedRange(::google::protobuf::Arena* arena);
2879 EnumDescriptorProto_EnumReservedRange(::google::protobuf::Arena* arena, const EnumDescriptorProto_EnumReservedRange& from);
EnumDescriptorProto_EnumReservedRange(::google::protobuf::Arena * arena,EnumDescriptorProto_EnumReservedRange && from)2880 EnumDescriptorProto_EnumReservedRange(::google::protobuf::Arena* arena, EnumDescriptorProto_EnumReservedRange&& from) noexcept
2881 : EnumDescriptorProto_EnumReservedRange(arena) {
2882 *this = ::std::move(from);
2883 }
2884 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
2885 static void* PlacementNew_(const void*, void* mem,
2886 ::google::protobuf::Arena* arena);
2887 static constexpr auto InternalNewImpl_();
2888 static const ::google::protobuf::internal::ClassDataFull _class_data_;
2889
2890 public:
2891 ::google::protobuf::Metadata GetMetadata() const;
2892 // nested types ----------------------------------------------------
2893
2894 // accessors -------------------------------------------------------
2895 enum : int {
2896 kStartFieldNumber = 1,
2897 kEndFieldNumber = 2,
2898 };
2899 // optional int32 start = 1;
2900 bool has_start() const;
2901 void clear_start() ;
2902 ::int32_t start() const;
2903 void set_start(::int32_t value);
2904
2905 private:
2906 ::int32_t _internal_start() const;
2907 void _internal_set_start(::int32_t value);
2908
2909 public:
2910 // optional int32 end = 2;
2911 bool has_end() const;
2912 void clear_end() ;
2913 ::int32_t end() const;
2914 void set_end(::int32_t value);
2915
2916 private:
2917 ::int32_t _internal_end() const;
2918 void _internal_set_end(::int32_t value);
2919
2920 public:
2921 // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto.EnumReservedRange)
2922 private:
2923 class _Internal;
2924 friend class ::google::protobuf::internal::TcParser;
2925 static const ::google::protobuf::internal::TcParseTable<
2926 1, 2, 0,
2927 0, 2>
2928 _table_;
2929
2930 friend class ::google::protobuf::MessageLite;
2931 friend class ::google::protobuf::Arena;
2932 template <typename T>
2933 friend class ::google::protobuf::Arena::InternalHelper;
2934 using InternalArenaConstructable_ = void;
2935 using DestructorSkippable_ = void;
2936 struct Impl_ {
2937 inline explicit constexpr Impl_(
2938 ::google::protobuf::internal::ConstantInitialized) noexcept;
2939 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
2940 ::google::protobuf::Arena* arena);
2941 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
2942 ::google::protobuf::Arena* arena, const Impl_& from,
2943 const EnumDescriptorProto_EnumReservedRange& from_msg);
2944 ::google::protobuf::internal::HasBits<1> _has_bits_;
2945 ::google::protobuf::internal::CachedSize _cached_size_;
2946 ::int32_t start_;
2947 ::int32_t end_;
2948 PROTOBUF_TSAN_DECLARE_MEMBER
2949 };
2950 union { Impl_ _impl_; };
2951 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
2952 };
2953 // -------------------------------------------------------------------
2954
2955 class PROTOBUF_EXPORT DescriptorProto_ReservedRange final : public ::google::protobuf::Message
2956 /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ReservedRange) */ {
2957 public:
DescriptorProto_ReservedRange()2958 inline DescriptorProto_ReservedRange() : DescriptorProto_ReservedRange(nullptr) {}
2959 ~DescriptorProto_ReservedRange() PROTOBUF_FINAL;
2960
2961 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(DescriptorProto_ReservedRange * msg,std::destroying_delete_t)2962 void operator delete(DescriptorProto_ReservedRange* msg, std::destroying_delete_t) {
2963 SharedDtor(*msg);
2964 ::google::protobuf::internal::SizedDelete(msg, sizeof(DescriptorProto_ReservedRange));
2965 }
2966 #endif
2967
2968 template <typename = void>
2969 explicit PROTOBUF_CONSTEXPR DescriptorProto_ReservedRange(
2970 ::google::protobuf::internal::ConstantInitialized);
2971
DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange & from)2972 inline DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from) : DescriptorProto_ReservedRange(nullptr, from) {}
DescriptorProto_ReservedRange(DescriptorProto_ReservedRange && from)2973 inline DescriptorProto_ReservedRange(DescriptorProto_ReservedRange&& from) noexcept
2974 : DescriptorProto_ReservedRange(nullptr, std::move(from)) {}
2975 inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) {
2976 CopyFrom(from);
2977 return *this;
2978 }
2979 inline DescriptorProto_ReservedRange& operator=(DescriptorProto_ReservedRange&& from) noexcept {
2980 if (this == &from) return *this;
2981 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2982 InternalSwap(&from);
2983 } else {
2984 CopyFrom(from);
2985 }
2986 return *this;
2987 }
2988
unknown_fields()2989 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
2990 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2991 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2992 }
mutable_unknown_fields()2993 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
2994 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2995 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2996 }
2997
descriptor()2998 static const ::google::protobuf::Descriptor* descriptor() {
2999 return GetDescriptor();
3000 }
GetDescriptor()3001 static const ::google::protobuf::Descriptor* GetDescriptor() {
3002 return default_instance().GetMetadata().descriptor;
3003 }
GetReflection()3004 static const ::google::protobuf::Reflection* GetReflection() {
3005 return default_instance().GetMetadata().reflection;
3006 }
default_instance()3007 static const DescriptorProto_ReservedRange& default_instance() {
3008 return *internal_default_instance();
3009 }
internal_default_instance()3010 static inline const DescriptorProto_ReservedRange* internal_default_instance() {
3011 return reinterpret_cast<const DescriptorProto_ReservedRange*>(
3012 &_DescriptorProto_ReservedRange_default_instance_);
3013 }
3014 static constexpr int kIndexInFileMessages = 3;
swap(DescriptorProto_ReservedRange & a,DescriptorProto_ReservedRange & b)3015 friend void swap(DescriptorProto_ReservedRange& a, DescriptorProto_ReservedRange& b) { a.Swap(&b); }
Swap(DescriptorProto_ReservedRange * other)3016 inline void Swap(DescriptorProto_ReservedRange* other) {
3017 if (other == this) return;
3018 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
3019 InternalSwap(other);
3020 } else {
3021 ::google::protobuf::internal::GenericSwap(this, other);
3022 }
3023 }
UnsafeArenaSwap(DescriptorProto_ReservedRange * other)3024 void UnsafeArenaSwap(DescriptorProto_ReservedRange* other) {
3025 if (other == this) return;
3026 ABSL_DCHECK(GetArena() == other->GetArena());
3027 InternalSwap(other);
3028 }
3029
3030 // implements Message ----------------------------------------------
3031
3032 DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena = nullptr) const {
3033 return ::google::protobuf::Message::DefaultConstruct<DescriptorProto_ReservedRange>(arena);
3034 }
3035 using ::google::protobuf::Message::CopyFrom;
3036 void CopyFrom(const DescriptorProto_ReservedRange& from);
3037 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const DescriptorProto_ReservedRange & from)3038 void MergeFrom(const DescriptorProto_ReservedRange& from) { DescriptorProto_ReservedRange::MergeImpl(*this, from); }
3039
3040 private:
3041 static void MergeImpl(
3042 ::google::protobuf::MessageLite& to_msg,
3043 const ::google::protobuf::MessageLite& from_msg);
3044
3045 public:
IsInitialized()3046 bool IsInitialized() const {
3047 return true;
3048 }
3049 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
3050 #if defined(PROTOBUF_CUSTOM_VTABLE)
3051 private:
3052 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
3053 static ::uint8_t* _InternalSerialize(
3054 const MessageLite& msg, ::uint8_t* target,
3055 ::google::protobuf::io::EpsCopyOutputStream* stream);
3056
3057 public:
ByteSizeLong()3058 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)3059 ::uint8_t* _InternalSerialize(
3060 ::uint8_t* target,
3061 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3062 return _InternalSerialize(*this, target, stream);
3063 }
3064 #else // PROTOBUF_CUSTOM_VTABLE
3065 ::size_t ByteSizeLong() const final;
3066 ::uint8_t* _InternalSerialize(
3067 ::uint8_t* target,
3068 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
3069 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()3070 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
3071
3072 private:
3073 void SharedCtor(::google::protobuf::Arena* arena);
3074 static void SharedDtor(MessageLite& self);
3075 void InternalSwap(DescriptorProto_ReservedRange* other);
3076 private:
3077 template <typename T>
3078 friend ::absl::string_view(
3079 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()3080 static ::absl::string_view FullMessageName() { return "google.protobuf.DescriptorProto.ReservedRange"; }
3081
3082 protected:
3083 explicit DescriptorProto_ReservedRange(::google::protobuf::Arena* arena);
3084 DescriptorProto_ReservedRange(::google::protobuf::Arena* arena, const DescriptorProto_ReservedRange& from);
DescriptorProto_ReservedRange(::google::protobuf::Arena * arena,DescriptorProto_ReservedRange && from)3085 DescriptorProto_ReservedRange(::google::protobuf::Arena* arena, DescriptorProto_ReservedRange&& from) noexcept
3086 : DescriptorProto_ReservedRange(arena) {
3087 *this = ::std::move(from);
3088 }
3089 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
3090 static void* PlacementNew_(const void*, void* mem,
3091 ::google::protobuf::Arena* arena);
3092 static constexpr auto InternalNewImpl_();
3093 static const ::google::protobuf::internal::ClassDataFull _class_data_;
3094
3095 public:
3096 ::google::protobuf::Metadata GetMetadata() const;
3097 // nested types ----------------------------------------------------
3098
3099 // accessors -------------------------------------------------------
3100 enum : int {
3101 kStartFieldNumber = 1,
3102 kEndFieldNumber = 2,
3103 };
3104 // optional int32 start = 1;
3105 bool has_start() const;
3106 void clear_start() ;
3107 ::int32_t start() const;
3108 void set_start(::int32_t value);
3109
3110 private:
3111 ::int32_t _internal_start() const;
3112 void _internal_set_start(::int32_t value);
3113
3114 public:
3115 // optional int32 end = 2;
3116 bool has_end() const;
3117 void clear_end() ;
3118 ::int32_t end() const;
3119 void set_end(::int32_t value);
3120
3121 private:
3122 ::int32_t _internal_end() const;
3123 void _internal_set_end(::int32_t value);
3124
3125 public:
3126 // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange)
3127 private:
3128 class _Internal;
3129 friend class ::google::protobuf::internal::TcParser;
3130 static const ::google::protobuf::internal::TcParseTable<
3131 1, 2, 0,
3132 0, 2>
3133 _table_;
3134
3135 friend class ::google::protobuf::MessageLite;
3136 friend class ::google::protobuf::Arena;
3137 template <typename T>
3138 friend class ::google::protobuf::Arena::InternalHelper;
3139 using InternalArenaConstructable_ = void;
3140 using DestructorSkippable_ = void;
3141 struct Impl_ {
3142 inline explicit constexpr Impl_(
3143 ::google::protobuf::internal::ConstantInitialized) noexcept;
3144 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
3145 ::google::protobuf::Arena* arena);
3146 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
3147 ::google::protobuf::Arena* arena, const Impl_& from,
3148 const DescriptorProto_ReservedRange& from_msg);
3149 ::google::protobuf::internal::HasBits<1> _has_bits_;
3150 ::google::protobuf::internal::CachedSize _cached_size_;
3151 ::int32_t start_;
3152 ::int32_t end_;
3153 PROTOBUF_TSAN_DECLARE_MEMBER
3154 };
3155 union { Impl_ _impl_; };
3156 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
3157 };
3158 // -------------------------------------------------------------------
3159
3160 class PROTOBUF_EXPORT UninterpretedOption final : public ::google::protobuf::Message
3161 /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption) */ {
3162 public:
UninterpretedOption()3163 inline UninterpretedOption() : UninterpretedOption(nullptr) {}
3164 ~UninterpretedOption() PROTOBUF_FINAL;
3165
3166 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(UninterpretedOption * msg,std::destroying_delete_t)3167 void operator delete(UninterpretedOption* msg, std::destroying_delete_t) {
3168 SharedDtor(*msg);
3169 ::google::protobuf::internal::SizedDelete(msg, sizeof(UninterpretedOption));
3170 }
3171 #endif
3172
3173 template <typename = void>
3174 explicit PROTOBUF_CONSTEXPR UninterpretedOption(
3175 ::google::protobuf::internal::ConstantInitialized);
3176
UninterpretedOption(const UninterpretedOption & from)3177 inline UninterpretedOption(const UninterpretedOption& from) : UninterpretedOption(nullptr, from) {}
UninterpretedOption(UninterpretedOption && from)3178 inline UninterpretedOption(UninterpretedOption&& from) noexcept
3179 : UninterpretedOption(nullptr, std::move(from)) {}
3180 inline UninterpretedOption& operator=(const UninterpretedOption& from) {
3181 CopyFrom(from);
3182 return *this;
3183 }
3184 inline UninterpretedOption& operator=(UninterpretedOption&& from) noexcept {
3185 if (this == &from) return *this;
3186 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
3187 InternalSwap(&from);
3188 } else {
3189 CopyFrom(from);
3190 }
3191 return *this;
3192 }
3193
unknown_fields()3194 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
3195 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3196 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
3197 }
mutable_unknown_fields()3198 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
3199 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3200 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
3201 }
3202
descriptor()3203 static const ::google::protobuf::Descriptor* descriptor() {
3204 return GetDescriptor();
3205 }
GetDescriptor()3206 static const ::google::protobuf::Descriptor* GetDescriptor() {
3207 return default_instance().GetMetadata().descriptor;
3208 }
GetReflection()3209 static const ::google::protobuf::Reflection* GetReflection() {
3210 return default_instance().GetMetadata().reflection;
3211 }
default_instance()3212 static const UninterpretedOption& default_instance() {
3213 return *internal_default_instance();
3214 }
internal_default_instance()3215 static inline const UninterpretedOption* internal_default_instance() {
3216 return reinterpret_cast<const UninterpretedOption*>(
3217 &_UninterpretedOption_default_instance_);
3218 }
3219 static constexpr int kIndexInFileMessages = 25;
swap(UninterpretedOption & a,UninterpretedOption & b)3220 friend void swap(UninterpretedOption& a, UninterpretedOption& b) { a.Swap(&b); }
Swap(UninterpretedOption * other)3221 inline void Swap(UninterpretedOption* other) {
3222 if (other == this) return;
3223 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
3224 InternalSwap(other);
3225 } else {
3226 ::google::protobuf::internal::GenericSwap(this, other);
3227 }
3228 }
UnsafeArenaSwap(UninterpretedOption * other)3229 void UnsafeArenaSwap(UninterpretedOption* other) {
3230 if (other == this) return;
3231 ABSL_DCHECK(GetArena() == other->GetArena());
3232 InternalSwap(other);
3233 }
3234
3235 // implements Message ----------------------------------------------
3236
3237 UninterpretedOption* New(::google::protobuf::Arena* arena = nullptr) const {
3238 return ::google::protobuf::Message::DefaultConstruct<UninterpretedOption>(arena);
3239 }
3240 using ::google::protobuf::Message::CopyFrom;
3241 void CopyFrom(const UninterpretedOption& from);
3242 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const UninterpretedOption & from)3243 void MergeFrom(const UninterpretedOption& from) { UninterpretedOption::MergeImpl(*this, from); }
3244
3245 private:
3246 static void MergeImpl(
3247 ::google::protobuf::MessageLite& to_msg,
3248 const ::google::protobuf::MessageLite& from_msg);
3249
3250 public:
IsInitialized()3251 bool IsInitialized() const {
3252 return IsInitializedImpl(*this);
3253 }
3254
3255 private:
3256 static bool IsInitializedImpl(const MessageLite& msg);
3257
3258 public:
3259 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
3260 #if defined(PROTOBUF_CUSTOM_VTABLE)
3261 private:
3262 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
3263 static ::uint8_t* _InternalSerialize(
3264 const MessageLite& msg, ::uint8_t* target,
3265 ::google::protobuf::io::EpsCopyOutputStream* stream);
3266
3267 public:
ByteSizeLong()3268 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)3269 ::uint8_t* _InternalSerialize(
3270 ::uint8_t* target,
3271 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3272 return _InternalSerialize(*this, target, stream);
3273 }
3274 #else // PROTOBUF_CUSTOM_VTABLE
3275 ::size_t ByteSizeLong() const final;
3276 ::uint8_t* _InternalSerialize(
3277 ::uint8_t* target,
3278 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
3279 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()3280 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
3281
3282 private:
3283 void SharedCtor(::google::protobuf::Arena* arena);
3284 static void SharedDtor(MessageLite& self);
3285 void InternalSwap(UninterpretedOption* other);
3286 private:
3287 template <typename T>
3288 friend ::absl::string_view(
3289 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()3290 static ::absl::string_view FullMessageName() { return "google.protobuf.UninterpretedOption"; }
3291
3292 protected:
3293 explicit UninterpretedOption(::google::protobuf::Arena* arena);
3294 UninterpretedOption(::google::protobuf::Arena* arena, const UninterpretedOption& from);
UninterpretedOption(::google::protobuf::Arena * arena,UninterpretedOption && from)3295 UninterpretedOption(::google::protobuf::Arena* arena, UninterpretedOption&& from) noexcept
3296 : UninterpretedOption(arena) {
3297 *this = ::std::move(from);
3298 }
3299 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
3300 static void* PlacementNew_(const void*, void* mem,
3301 ::google::protobuf::Arena* arena);
3302 static constexpr auto InternalNewImpl_();
3303 static const ::google::protobuf::internal::ClassDataFull _class_data_;
3304
3305 public:
3306 ::google::protobuf::Metadata GetMetadata() const;
3307 // nested types ----------------------------------------------------
3308 using NamePart = UninterpretedOption_NamePart;
3309
3310 // accessors -------------------------------------------------------
3311 enum : int {
3312 kNameFieldNumber = 2,
3313 kIdentifierValueFieldNumber = 3,
3314 kStringValueFieldNumber = 7,
3315 kAggregateValueFieldNumber = 8,
3316 kPositiveIntValueFieldNumber = 4,
3317 kNegativeIntValueFieldNumber = 5,
3318 kDoubleValueFieldNumber = 6,
3319 };
3320 // repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
3321 int name_size() const;
3322 private:
3323 int _internal_name_size() const;
3324
3325 public:
3326 void clear_name() ;
3327 ::google::protobuf::UninterpretedOption_NamePart* mutable_name(int index);
3328 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>* mutable_name();
3329
3330 private:
3331 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>& _internal_name() const;
3332 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>* _internal_mutable_name();
3333 public:
3334 const ::google::protobuf::UninterpretedOption_NamePart& name(int index) const;
3335 ::google::protobuf::UninterpretedOption_NamePart* add_name();
3336 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>& name() const;
3337 // optional string identifier_value = 3;
3338 bool has_identifier_value() const;
3339 void clear_identifier_value() ;
3340 const std::string& identifier_value() const;
3341 template <typename Arg_ = const std::string&, typename... Args_>
3342 void set_identifier_value(Arg_&& arg, Args_... args);
3343 std::string* mutable_identifier_value();
3344 PROTOBUF_NODISCARD std::string* release_identifier_value();
3345 void set_allocated_identifier_value(std::string* value);
3346
3347 private:
3348 const std::string& _internal_identifier_value() const;
3349 inline PROTOBUF_ALWAYS_INLINE void _internal_set_identifier_value(
3350 const std::string& value);
3351 std::string* _internal_mutable_identifier_value();
3352
3353 public:
3354 // optional bytes string_value = 7;
3355 bool has_string_value() const;
3356 void clear_string_value() ;
3357 const std::string& string_value() const;
3358 template <typename Arg_ = const std::string&, typename... Args_>
3359 void set_string_value(Arg_&& arg, Args_... args);
3360 std::string* mutable_string_value();
3361 PROTOBUF_NODISCARD std::string* release_string_value();
3362 void set_allocated_string_value(std::string* value);
3363
3364 private:
3365 const std::string& _internal_string_value() const;
3366 inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(
3367 const std::string& value);
3368 std::string* _internal_mutable_string_value();
3369
3370 public:
3371 // optional string aggregate_value = 8;
3372 bool has_aggregate_value() const;
3373 void clear_aggregate_value() ;
3374 const std::string& aggregate_value() const;
3375 template <typename Arg_ = const std::string&, typename... Args_>
3376 void set_aggregate_value(Arg_&& arg, Args_... args);
3377 std::string* mutable_aggregate_value();
3378 PROTOBUF_NODISCARD std::string* release_aggregate_value();
3379 void set_allocated_aggregate_value(std::string* value);
3380
3381 private:
3382 const std::string& _internal_aggregate_value() const;
3383 inline PROTOBUF_ALWAYS_INLINE void _internal_set_aggregate_value(
3384 const std::string& value);
3385 std::string* _internal_mutable_aggregate_value();
3386
3387 public:
3388 // optional uint64 positive_int_value = 4;
3389 bool has_positive_int_value() const;
3390 void clear_positive_int_value() ;
3391 ::uint64_t positive_int_value() const;
3392 void set_positive_int_value(::uint64_t value);
3393
3394 private:
3395 ::uint64_t _internal_positive_int_value() const;
3396 void _internal_set_positive_int_value(::uint64_t value);
3397
3398 public:
3399 // optional int64 negative_int_value = 5;
3400 bool has_negative_int_value() const;
3401 void clear_negative_int_value() ;
3402 ::int64_t negative_int_value() const;
3403 void set_negative_int_value(::int64_t value);
3404
3405 private:
3406 ::int64_t _internal_negative_int_value() const;
3407 void _internal_set_negative_int_value(::int64_t value);
3408
3409 public:
3410 // optional double double_value = 6;
3411 bool has_double_value() const;
3412 void clear_double_value() ;
3413 double double_value() const;
3414 void set_double_value(double value);
3415
3416 private:
3417 double _internal_double_value() const;
3418 void _internal_set_double_value(double value);
3419
3420 public:
3421 // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption)
3422 private:
3423 class _Internal;
3424 friend class ::google::protobuf::internal::TcParser;
3425 static const ::google::protobuf::internal::TcParseTable<
3426 3, 7, 1,
3427 75, 2>
3428 _table_;
3429
3430 friend class ::google::protobuf::MessageLite;
3431 friend class ::google::protobuf::Arena;
3432 template <typename T>
3433 friend class ::google::protobuf::Arena::InternalHelper;
3434 using InternalArenaConstructable_ = void;
3435 using DestructorSkippable_ = void;
3436 struct Impl_ {
3437 inline explicit constexpr Impl_(
3438 ::google::protobuf::internal::ConstantInitialized) noexcept;
3439 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
3440 ::google::protobuf::Arena* arena);
3441 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
3442 ::google::protobuf::Arena* arena, const Impl_& from,
3443 const UninterpretedOption& from_msg);
3444 ::google::protobuf::internal::HasBits<1> _has_bits_;
3445 ::google::protobuf::internal::CachedSize _cached_size_;
3446 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart > name_;
3447 ::google::protobuf::internal::ArenaStringPtr identifier_value_;
3448 ::google::protobuf::internal::ArenaStringPtr string_value_;
3449 ::google::protobuf::internal::ArenaStringPtr aggregate_value_;
3450 ::uint64_t positive_int_value_;
3451 ::int64_t negative_int_value_;
3452 double double_value_;
3453 PROTOBUF_TSAN_DECLARE_MEMBER
3454 };
3455 union { Impl_ _impl_; };
3456 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
3457 };
3458 // -------------------------------------------------------------------
3459
3460 class PROTOBUF_EXPORT SourceCodeInfo final : public ::google::protobuf::Message
3461 /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ {
3462 public:
SourceCodeInfo()3463 inline SourceCodeInfo() : SourceCodeInfo(nullptr) {}
3464 ~SourceCodeInfo() PROTOBUF_FINAL;
3465
3466 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(SourceCodeInfo * msg,std::destroying_delete_t)3467 void operator delete(SourceCodeInfo* msg, std::destroying_delete_t) {
3468 SharedDtor(*msg);
3469 ::google::protobuf::internal::SizedDelete(msg, sizeof(SourceCodeInfo));
3470 }
3471 #endif
3472
3473 template <typename = void>
3474 explicit PROTOBUF_CONSTEXPR SourceCodeInfo(
3475 ::google::protobuf::internal::ConstantInitialized);
3476
SourceCodeInfo(const SourceCodeInfo & from)3477 inline SourceCodeInfo(const SourceCodeInfo& from) : SourceCodeInfo(nullptr, from) {}
SourceCodeInfo(SourceCodeInfo && from)3478 inline SourceCodeInfo(SourceCodeInfo&& from) noexcept
3479 : SourceCodeInfo(nullptr, std::move(from)) {}
3480 inline SourceCodeInfo& operator=(const SourceCodeInfo& from) {
3481 CopyFrom(from);
3482 return *this;
3483 }
3484 inline SourceCodeInfo& operator=(SourceCodeInfo&& from) noexcept {
3485 if (this == &from) return *this;
3486 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
3487 InternalSwap(&from);
3488 } else {
3489 CopyFrom(from);
3490 }
3491 return *this;
3492 }
3493
unknown_fields()3494 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
3495 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3496 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
3497 }
mutable_unknown_fields()3498 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
3499 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3500 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
3501 }
3502
descriptor()3503 static const ::google::protobuf::Descriptor* descriptor() {
3504 return GetDescriptor();
3505 }
GetDescriptor()3506 static const ::google::protobuf::Descriptor* GetDescriptor() {
3507 return default_instance().GetMetadata().descriptor;
3508 }
GetReflection()3509 static const ::google::protobuf::Reflection* GetReflection() {
3510 return default_instance().GetMetadata().reflection;
3511 }
default_instance()3512 static const SourceCodeInfo& default_instance() {
3513 return *internal_default_instance();
3514 }
internal_default_instance()3515 static inline const SourceCodeInfo* internal_default_instance() {
3516 return reinterpret_cast<const SourceCodeInfo*>(
3517 &_SourceCodeInfo_default_instance_);
3518 }
3519 static constexpr int kIndexInFileMessages = 30;
swap(SourceCodeInfo & a,SourceCodeInfo & b)3520 friend void swap(SourceCodeInfo& a, SourceCodeInfo& b) { a.Swap(&b); }
Swap(SourceCodeInfo * other)3521 inline void Swap(SourceCodeInfo* other) {
3522 if (other == this) return;
3523 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
3524 InternalSwap(other);
3525 } else {
3526 ::google::protobuf::internal::GenericSwap(this, other);
3527 }
3528 }
UnsafeArenaSwap(SourceCodeInfo * other)3529 void UnsafeArenaSwap(SourceCodeInfo* other) {
3530 if (other == this) return;
3531 ABSL_DCHECK(GetArena() == other->GetArena());
3532 InternalSwap(other);
3533 }
3534
3535 // implements Message ----------------------------------------------
3536
3537 SourceCodeInfo* New(::google::protobuf::Arena* arena = nullptr) const {
3538 return ::google::protobuf::Message::DefaultConstruct<SourceCodeInfo>(arena);
3539 }
3540 using ::google::protobuf::Message::CopyFrom;
3541 void CopyFrom(const SourceCodeInfo& from);
3542 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const SourceCodeInfo & from)3543 void MergeFrom(const SourceCodeInfo& from) { SourceCodeInfo::MergeImpl(*this, from); }
3544
3545 private:
3546 static void MergeImpl(
3547 ::google::protobuf::MessageLite& to_msg,
3548 const ::google::protobuf::MessageLite& from_msg);
3549
3550 public:
IsInitialized()3551 bool IsInitialized() const {
3552 return IsInitializedImpl(*this);
3553 }
3554
3555 private:
3556 static bool IsInitializedImpl(const MessageLite& msg);
3557
3558 public:
3559 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
3560 #if defined(PROTOBUF_CUSTOM_VTABLE)
3561 private:
3562 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
3563 static ::uint8_t* _InternalSerialize(
3564 const MessageLite& msg, ::uint8_t* target,
3565 ::google::protobuf::io::EpsCopyOutputStream* stream);
3566
3567 public:
ByteSizeLong()3568 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)3569 ::uint8_t* _InternalSerialize(
3570 ::uint8_t* target,
3571 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3572 return _InternalSerialize(*this, target, stream);
3573 }
3574 #else // PROTOBUF_CUSTOM_VTABLE
3575 ::size_t ByteSizeLong() const final;
3576 ::uint8_t* _InternalSerialize(
3577 ::uint8_t* target,
3578 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
3579 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()3580 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
3581
3582 private:
3583 void SharedCtor(::google::protobuf::Arena* arena);
3584 static void SharedDtor(MessageLite& self);
3585 void InternalSwap(SourceCodeInfo* other);
3586 private:
3587 template <typename T>
3588 friend ::absl::string_view(
3589 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()3590 static ::absl::string_view FullMessageName() { return "google.protobuf.SourceCodeInfo"; }
3591
3592 protected:
3593 explicit SourceCodeInfo(::google::protobuf::Arena* arena);
3594 SourceCodeInfo(::google::protobuf::Arena* arena, const SourceCodeInfo& from);
SourceCodeInfo(::google::protobuf::Arena * arena,SourceCodeInfo && from)3595 SourceCodeInfo(::google::protobuf::Arena* arena, SourceCodeInfo&& from) noexcept
3596 : SourceCodeInfo(arena) {
3597 *this = ::std::move(from);
3598 }
3599 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
3600 static void* PlacementNew_(const void*, void* mem,
3601 ::google::protobuf::Arena* arena);
3602 static constexpr auto InternalNewImpl_();
3603 static const ::google::protobuf::internal::ClassDataFull _class_data_;
3604
3605 public:
3606 ::google::protobuf::Metadata GetMetadata() const;
3607 // nested types ----------------------------------------------------
3608 using Location = SourceCodeInfo_Location;
3609
3610 // accessors -------------------------------------------------------
3611 enum : int {
3612 kLocationFieldNumber = 1,
3613 };
3614 // repeated .google.protobuf.SourceCodeInfo.Location location = 1;
3615 int location_size() const;
3616 private:
3617 int _internal_location_size() const;
3618
3619 public:
3620 void clear_location() ;
3621 ::google::protobuf::SourceCodeInfo_Location* mutable_location(int index);
3622 ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>* mutable_location();
3623
3624 private:
3625 const ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>& _internal_location() const;
3626 ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>* _internal_mutable_location();
3627 public:
3628 const ::google::protobuf::SourceCodeInfo_Location& location(int index) const;
3629 ::google::protobuf::SourceCodeInfo_Location* add_location();
3630 const ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>& location() const;
3631 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3632 bool _is_packed,
3633 typename = typename _proto_TypeTraits::Singular>
HasExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id)3634 inline bool HasExtension(
3635 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3636 _field_type, _is_packed>& id) const {
3637 return _impl_._extensions_.Has(id.number());
3638 }
3639
3640 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3641 bool _is_packed>
ClearExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id)3642 inline void ClearExtension(
3643 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3644 _field_type, _is_packed>& id) {
3645 _impl_._extensions_.ClearExtension(id.number());
3646 }
3647
3648 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3649 bool _is_packed,
3650 typename = typename _proto_TypeTraits::Repeated>
ExtensionSize(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id)3651 inline int ExtensionSize(
3652 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3653 _field_type, _is_packed>& id) const {
3654 return _impl_._extensions_.ExtensionSize(id.number());
3655 }
3656
3657 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3658 bool _is_packed,
3659 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id)3660 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
3661 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3662 _field_type, _is_packed>& id) const {
3663 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
3664 }
3665
3666 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3667 bool _is_packed,
3668 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id)3669 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
3670 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3671 _field_type, _is_packed>& id) const
3672 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3673 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
3674 }
3675
3676 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3677 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id)3678 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
3679 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3680 _field_type, _is_packed>& id)
3681 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3682 return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_);
3683 }
3684
3685 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3686 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::ConstType value)3687 inline void SetExtension(
3688 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3689 _field_type, _is_packed>& id,
3690 typename _proto_TypeTraits::Singular::ConstType value) {
3691 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
3692 }
3693
3694 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3695 bool _is_packed>
SetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)3696 inline void SetAllocatedExtension(
3697 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3698 _field_type, _is_packed>& id,
3699 typename _proto_TypeTraits::Singular::MutableType value) {
3700 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
3701 &_impl_._extensions_);
3702 }
3703 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3704 bool _is_packed>
UnsafeArenaSetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)3705 inline void UnsafeArenaSetAllocatedExtension(
3706 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3707 _field_type, _is_packed>& id,
3708 typename _proto_TypeTraits::Singular::MutableType value) {
3709 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
3710 value, &_impl_._extensions_);
3711 }
3712 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3713 bool _is_packed>
3714 PROTOBUF_NODISCARD inline
3715 typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id)3716 ReleaseExtension(
3717 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3718 _field_type, _is_packed>& id) {
3719 return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_);
3720 }
3721 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3722 bool _is_packed>
3723 inline typename _proto_TypeTraits::Singular::MutableType
UnsafeArenaReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id)3724 UnsafeArenaReleaseExtension(
3725 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3726 _field_type, _is_packed>& id) {
3727 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
3728 &_impl_._extensions_);
3729 }
3730
3731 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3732 bool _is_packed,
3733 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id,int index)3734 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
3735 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3736 _field_type, _is_packed>& id,
3737 int index) const {
3738 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
3739 }
3740
3741 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3742 bool _is_packed,
3743 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id,int index)3744 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
3745 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3746 _field_type, _is_packed>& id,
3747 int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3748 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
3749 }
3750
3751 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3752 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id,int index)3753 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
3754 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3755 _field_type, _is_packed>& id,
3756 int index) ABSL_ATTRIBUTE_LIFETIME_BOUND {
3757 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
3758 }
3759
3760 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3761 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id,int index,typename _proto_TypeTraits::Repeated::ConstType value)3762 inline void SetExtension(
3763 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3764 _field_type, _is_packed>& id,
3765 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
3766 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
3767 }
3768
3769 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3770 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id)3771 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
3772 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3773 _field_type, _is_packed>& id)
3774 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3775 typename _proto_TypeTraits::Repeated::MutableType to_add =
3776 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
3777 return to_add;
3778 }
3779
3780 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3781 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Repeated::ConstType value)3782 inline void AddExtension(
3783 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3784 _field_type, _is_packed>& id,
3785 typename _proto_TypeTraits::Repeated::ConstType value) {
3786 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
3787 &_impl_._extensions_);
3788 }
3789
3790 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3791 bool _is_packed>
3792 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
GetRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id)3793 GetRepeatedExtension(
3794 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3795 _field_type, _is_packed>& id) const
3796 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3797 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
3798 }
3799
3800 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
3801 bool _is_packed>
3802 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
MutableRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo,_proto_TypeTraits,_field_type,_is_packed> & id)3803 MutableRepeatedExtension(
3804 const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _proto_TypeTraits,
3805 _field_type, _is_packed>& id)
3806 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3807 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
3808 _is_packed, &_impl_._extensions_);
3809 }
3810 // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo)
3811 private:
3812 class _Internal;
3813 friend class ::google::protobuf::internal::TcParser;
3814 static const ::google::protobuf::internal::TcParseTable<
3815 0, 1, 1,
3816 0, 2>
3817 _table_;
3818
3819 friend class ::google::protobuf::MessageLite;
3820 friend class ::google::protobuf::Arena;
3821 template <typename T>
3822 friend class ::google::protobuf::Arena::InternalHelper;
3823 using InternalArenaConstructable_ = void;
3824 using DestructorSkippable_ = void;
3825 struct Impl_ {
3826 inline explicit constexpr Impl_(
3827 ::google::protobuf::internal::ConstantInitialized) noexcept;
3828 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
3829 ::google::protobuf::Arena* arena);
3830 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
3831 ::google::protobuf::Arena* arena, const Impl_& from,
3832 const SourceCodeInfo& from_msg);
3833 ::google::protobuf::internal::ExtensionSet _extensions_;
3834 ::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location > location_;
3835 ::google::protobuf::internal::CachedSize _cached_size_;
3836 PROTOBUF_TSAN_DECLARE_MEMBER
3837 };
3838 union { Impl_ _impl_; };
3839 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
3840 };
3841 // -------------------------------------------------------------------
3842
3843 class PROTOBUF_EXPORT GeneratedCodeInfo final : public ::google::protobuf::Message
3844 /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo) */ {
3845 public:
GeneratedCodeInfo()3846 inline GeneratedCodeInfo() : GeneratedCodeInfo(nullptr) {}
3847 ~GeneratedCodeInfo() PROTOBUF_FINAL;
3848
3849 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(GeneratedCodeInfo * msg,std::destroying_delete_t)3850 void operator delete(GeneratedCodeInfo* msg, std::destroying_delete_t) {
3851 SharedDtor(*msg);
3852 ::google::protobuf::internal::SizedDelete(msg, sizeof(GeneratedCodeInfo));
3853 }
3854 #endif
3855
3856 template <typename = void>
3857 explicit PROTOBUF_CONSTEXPR GeneratedCodeInfo(
3858 ::google::protobuf::internal::ConstantInitialized);
3859
GeneratedCodeInfo(const GeneratedCodeInfo & from)3860 inline GeneratedCodeInfo(const GeneratedCodeInfo& from) : GeneratedCodeInfo(nullptr, from) {}
GeneratedCodeInfo(GeneratedCodeInfo && from)3861 inline GeneratedCodeInfo(GeneratedCodeInfo&& from) noexcept
3862 : GeneratedCodeInfo(nullptr, std::move(from)) {}
3863 inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) {
3864 CopyFrom(from);
3865 return *this;
3866 }
3867 inline GeneratedCodeInfo& operator=(GeneratedCodeInfo&& from) noexcept {
3868 if (this == &from) return *this;
3869 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
3870 InternalSwap(&from);
3871 } else {
3872 CopyFrom(from);
3873 }
3874 return *this;
3875 }
3876
unknown_fields()3877 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
3878 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3879 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
3880 }
mutable_unknown_fields()3881 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
3882 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3883 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
3884 }
3885
descriptor()3886 static const ::google::protobuf::Descriptor* descriptor() {
3887 return GetDescriptor();
3888 }
GetDescriptor()3889 static const ::google::protobuf::Descriptor* GetDescriptor() {
3890 return default_instance().GetMetadata().descriptor;
3891 }
GetReflection()3892 static const ::google::protobuf::Reflection* GetReflection() {
3893 return default_instance().GetMetadata().reflection;
3894 }
default_instance()3895 static const GeneratedCodeInfo& default_instance() {
3896 return *internal_default_instance();
3897 }
internal_default_instance()3898 static inline const GeneratedCodeInfo* internal_default_instance() {
3899 return reinterpret_cast<const GeneratedCodeInfo*>(
3900 &_GeneratedCodeInfo_default_instance_);
3901 }
3902 static constexpr int kIndexInFileMessages = 32;
swap(GeneratedCodeInfo & a,GeneratedCodeInfo & b)3903 friend void swap(GeneratedCodeInfo& a, GeneratedCodeInfo& b) { a.Swap(&b); }
Swap(GeneratedCodeInfo * other)3904 inline void Swap(GeneratedCodeInfo* other) {
3905 if (other == this) return;
3906 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
3907 InternalSwap(other);
3908 } else {
3909 ::google::protobuf::internal::GenericSwap(this, other);
3910 }
3911 }
UnsafeArenaSwap(GeneratedCodeInfo * other)3912 void UnsafeArenaSwap(GeneratedCodeInfo* other) {
3913 if (other == this) return;
3914 ABSL_DCHECK(GetArena() == other->GetArena());
3915 InternalSwap(other);
3916 }
3917
3918 // implements Message ----------------------------------------------
3919
3920 GeneratedCodeInfo* New(::google::protobuf::Arena* arena = nullptr) const {
3921 return ::google::protobuf::Message::DefaultConstruct<GeneratedCodeInfo>(arena);
3922 }
3923 using ::google::protobuf::Message::CopyFrom;
3924 void CopyFrom(const GeneratedCodeInfo& from);
3925 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const GeneratedCodeInfo & from)3926 void MergeFrom(const GeneratedCodeInfo& from) { GeneratedCodeInfo::MergeImpl(*this, from); }
3927
3928 private:
3929 static void MergeImpl(
3930 ::google::protobuf::MessageLite& to_msg,
3931 const ::google::protobuf::MessageLite& from_msg);
3932
3933 public:
IsInitialized()3934 bool IsInitialized() const {
3935 return true;
3936 }
3937 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
3938 #if defined(PROTOBUF_CUSTOM_VTABLE)
3939 private:
3940 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
3941 static ::uint8_t* _InternalSerialize(
3942 const MessageLite& msg, ::uint8_t* target,
3943 ::google::protobuf::io::EpsCopyOutputStream* stream);
3944
3945 public:
ByteSizeLong()3946 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)3947 ::uint8_t* _InternalSerialize(
3948 ::uint8_t* target,
3949 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3950 return _InternalSerialize(*this, target, stream);
3951 }
3952 #else // PROTOBUF_CUSTOM_VTABLE
3953 ::size_t ByteSizeLong() const final;
3954 ::uint8_t* _InternalSerialize(
3955 ::uint8_t* target,
3956 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
3957 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()3958 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
3959
3960 private:
3961 void SharedCtor(::google::protobuf::Arena* arena);
3962 static void SharedDtor(MessageLite& self);
3963 void InternalSwap(GeneratedCodeInfo* other);
3964 private:
3965 template <typename T>
3966 friend ::absl::string_view(
3967 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()3968 static ::absl::string_view FullMessageName() { return "google.protobuf.GeneratedCodeInfo"; }
3969
3970 protected:
3971 explicit GeneratedCodeInfo(::google::protobuf::Arena* arena);
3972 GeneratedCodeInfo(::google::protobuf::Arena* arena, const GeneratedCodeInfo& from);
GeneratedCodeInfo(::google::protobuf::Arena * arena,GeneratedCodeInfo && from)3973 GeneratedCodeInfo(::google::protobuf::Arena* arena, GeneratedCodeInfo&& from) noexcept
3974 : GeneratedCodeInfo(arena) {
3975 *this = ::std::move(from);
3976 }
3977 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
3978 static void* PlacementNew_(const void*, void* mem,
3979 ::google::protobuf::Arena* arena);
3980 static constexpr auto InternalNewImpl_();
3981 static const ::google::protobuf::internal::ClassDataFull _class_data_;
3982
3983 public:
3984 ::google::protobuf::Metadata GetMetadata() const;
3985 // nested types ----------------------------------------------------
3986 using Annotation = GeneratedCodeInfo_Annotation;
3987
3988 // accessors -------------------------------------------------------
3989 enum : int {
3990 kAnnotationFieldNumber = 1,
3991 };
3992 // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
3993 int annotation_size() const;
3994 private:
3995 int _internal_annotation_size() const;
3996
3997 public:
3998 void clear_annotation() ;
3999 ::google::protobuf::GeneratedCodeInfo_Annotation* mutable_annotation(int index);
4000 ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>* mutable_annotation();
4001
4002 private:
4003 const ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>& _internal_annotation() const;
4004 ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>* _internal_mutable_annotation();
4005 public:
4006 const ::google::protobuf::GeneratedCodeInfo_Annotation& annotation(int index) const;
4007 ::google::protobuf::GeneratedCodeInfo_Annotation* add_annotation();
4008 const ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>& annotation() const;
4009 // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo)
4010 private:
4011 class _Internal;
4012 friend class ::google::protobuf::internal::TcParser;
4013 static const ::google::protobuf::internal::TcParseTable<
4014 0, 1, 1,
4015 0, 2>
4016 _table_;
4017
4018 friend class ::google::protobuf::MessageLite;
4019 friend class ::google::protobuf::Arena;
4020 template <typename T>
4021 friend class ::google::protobuf::Arena::InternalHelper;
4022 using InternalArenaConstructable_ = void;
4023 using DestructorSkippable_ = void;
4024 struct Impl_ {
4025 inline explicit constexpr Impl_(
4026 ::google::protobuf::internal::ConstantInitialized) noexcept;
4027 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
4028 ::google::protobuf::Arena* arena);
4029 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
4030 ::google::protobuf::Arena* arena, const Impl_& from,
4031 const GeneratedCodeInfo& from_msg);
4032 ::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation > annotation_;
4033 ::google::protobuf::internal::CachedSize _cached_size_;
4034 PROTOBUF_TSAN_DECLARE_MEMBER
4035 };
4036 union { Impl_ _impl_; };
4037 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
4038 };
4039 // -------------------------------------------------------------------
4040
4041 class PROTOBUF_EXPORT FeatureSetDefaults_FeatureSetEditionDefault final : public ::google::protobuf::Message
4042 /* @@protoc_insertion_point(class_definition:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault) */ {
4043 public:
FeatureSetDefaults_FeatureSetEditionDefault()4044 inline FeatureSetDefaults_FeatureSetEditionDefault() : FeatureSetDefaults_FeatureSetEditionDefault(nullptr) {}
4045 ~FeatureSetDefaults_FeatureSetEditionDefault() PROTOBUF_FINAL;
4046
4047 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(FeatureSetDefaults_FeatureSetEditionDefault * msg,std::destroying_delete_t)4048 void operator delete(FeatureSetDefaults_FeatureSetEditionDefault* msg, std::destroying_delete_t) {
4049 SharedDtor(*msg);
4050 ::google::protobuf::internal::SizedDelete(msg, sizeof(FeatureSetDefaults_FeatureSetEditionDefault));
4051 }
4052 #endif
4053
4054 template <typename = void>
4055 explicit PROTOBUF_CONSTEXPR FeatureSetDefaults_FeatureSetEditionDefault(
4056 ::google::protobuf::internal::ConstantInitialized);
4057
FeatureSetDefaults_FeatureSetEditionDefault(const FeatureSetDefaults_FeatureSetEditionDefault & from)4058 inline FeatureSetDefaults_FeatureSetEditionDefault(const FeatureSetDefaults_FeatureSetEditionDefault& from) : FeatureSetDefaults_FeatureSetEditionDefault(nullptr, from) {}
FeatureSetDefaults_FeatureSetEditionDefault(FeatureSetDefaults_FeatureSetEditionDefault && from)4059 inline FeatureSetDefaults_FeatureSetEditionDefault(FeatureSetDefaults_FeatureSetEditionDefault&& from) noexcept
4060 : FeatureSetDefaults_FeatureSetEditionDefault(nullptr, std::move(from)) {}
4061 inline FeatureSetDefaults_FeatureSetEditionDefault& operator=(const FeatureSetDefaults_FeatureSetEditionDefault& from) {
4062 CopyFrom(from);
4063 return *this;
4064 }
4065 inline FeatureSetDefaults_FeatureSetEditionDefault& operator=(FeatureSetDefaults_FeatureSetEditionDefault&& from) noexcept {
4066 if (this == &from) return *this;
4067 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
4068 InternalSwap(&from);
4069 } else {
4070 CopyFrom(from);
4071 }
4072 return *this;
4073 }
4074
unknown_fields()4075 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
4076 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4077 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
4078 }
mutable_unknown_fields()4079 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
4080 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4081 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
4082 }
4083
descriptor()4084 static const ::google::protobuf::Descriptor* descriptor() {
4085 return GetDescriptor();
4086 }
GetDescriptor()4087 static const ::google::protobuf::Descriptor* GetDescriptor() {
4088 return default_instance().GetMetadata().descriptor;
4089 }
GetReflection()4090 static const ::google::protobuf::Reflection* GetReflection() {
4091 return default_instance().GetMetadata().reflection;
4092 }
default_instance()4093 static const FeatureSetDefaults_FeatureSetEditionDefault& default_instance() {
4094 return *internal_default_instance();
4095 }
internal_default_instance()4096 static inline const FeatureSetDefaults_FeatureSetEditionDefault* internal_default_instance() {
4097 return reinterpret_cast<const FeatureSetDefaults_FeatureSetEditionDefault*>(
4098 &_FeatureSetDefaults_FeatureSetEditionDefault_default_instance_);
4099 }
4100 static constexpr int kIndexInFileMessages = 27;
swap(FeatureSetDefaults_FeatureSetEditionDefault & a,FeatureSetDefaults_FeatureSetEditionDefault & b)4101 friend void swap(FeatureSetDefaults_FeatureSetEditionDefault& a, FeatureSetDefaults_FeatureSetEditionDefault& b) { a.Swap(&b); }
Swap(FeatureSetDefaults_FeatureSetEditionDefault * other)4102 inline void Swap(FeatureSetDefaults_FeatureSetEditionDefault* other) {
4103 if (other == this) return;
4104 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
4105 InternalSwap(other);
4106 } else {
4107 ::google::protobuf::internal::GenericSwap(this, other);
4108 }
4109 }
UnsafeArenaSwap(FeatureSetDefaults_FeatureSetEditionDefault * other)4110 void UnsafeArenaSwap(FeatureSetDefaults_FeatureSetEditionDefault* other) {
4111 if (other == this) return;
4112 ABSL_DCHECK(GetArena() == other->GetArena());
4113 InternalSwap(other);
4114 }
4115
4116 // implements Message ----------------------------------------------
4117
4118 FeatureSetDefaults_FeatureSetEditionDefault* New(::google::protobuf::Arena* arena = nullptr) const {
4119 return ::google::protobuf::Message::DefaultConstruct<FeatureSetDefaults_FeatureSetEditionDefault>(arena);
4120 }
4121 using ::google::protobuf::Message::CopyFrom;
4122 void CopyFrom(const FeatureSetDefaults_FeatureSetEditionDefault& from);
4123 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const FeatureSetDefaults_FeatureSetEditionDefault & from)4124 void MergeFrom(const FeatureSetDefaults_FeatureSetEditionDefault& from) { FeatureSetDefaults_FeatureSetEditionDefault::MergeImpl(*this, from); }
4125
4126 private:
4127 static void MergeImpl(
4128 ::google::protobuf::MessageLite& to_msg,
4129 const ::google::protobuf::MessageLite& from_msg);
4130
4131 public:
IsInitialized()4132 bool IsInitialized() const {
4133 return IsInitializedImpl(*this);
4134 }
4135
4136 private:
4137 static bool IsInitializedImpl(const MessageLite& msg);
4138
4139 public:
4140 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
4141 #if defined(PROTOBUF_CUSTOM_VTABLE)
4142 private:
4143 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
4144 static ::uint8_t* _InternalSerialize(
4145 const MessageLite& msg, ::uint8_t* target,
4146 ::google::protobuf::io::EpsCopyOutputStream* stream);
4147
4148 public:
ByteSizeLong()4149 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)4150 ::uint8_t* _InternalSerialize(
4151 ::uint8_t* target,
4152 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4153 return _InternalSerialize(*this, target, stream);
4154 }
4155 #else // PROTOBUF_CUSTOM_VTABLE
4156 ::size_t ByteSizeLong() const final;
4157 ::uint8_t* _InternalSerialize(
4158 ::uint8_t* target,
4159 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
4160 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()4161 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
4162
4163 private:
4164 void SharedCtor(::google::protobuf::Arena* arena);
4165 static void SharedDtor(MessageLite& self);
4166 void InternalSwap(FeatureSetDefaults_FeatureSetEditionDefault* other);
4167 private:
4168 template <typename T>
4169 friend ::absl::string_view(
4170 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()4171 static ::absl::string_view FullMessageName() { return "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"; }
4172
4173 protected:
4174 explicit FeatureSetDefaults_FeatureSetEditionDefault(::google::protobuf::Arena* arena);
4175 FeatureSetDefaults_FeatureSetEditionDefault(::google::protobuf::Arena* arena, const FeatureSetDefaults_FeatureSetEditionDefault& from);
FeatureSetDefaults_FeatureSetEditionDefault(::google::protobuf::Arena * arena,FeatureSetDefaults_FeatureSetEditionDefault && from)4176 FeatureSetDefaults_FeatureSetEditionDefault(::google::protobuf::Arena* arena, FeatureSetDefaults_FeatureSetEditionDefault&& from) noexcept
4177 : FeatureSetDefaults_FeatureSetEditionDefault(arena) {
4178 *this = ::std::move(from);
4179 }
4180 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
4181 static void* PlacementNew_(const void*, void* mem,
4182 ::google::protobuf::Arena* arena);
4183 static constexpr auto InternalNewImpl_();
4184 static const ::google::protobuf::internal::ClassDataFull _class_data_;
4185
4186 public:
4187 ::google::protobuf::Metadata GetMetadata() const;
4188 // nested types ----------------------------------------------------
4189
4190 // accessors -------------------------------------------------------
4191 enum : int {
4192 kOverridableFeaturesFieldNumber = 4,
4193 kFixedFeaturesFieldNumber = 5,
4194 kEditionFieldNumber = 3,
4195 };
4196 // optional .google.protobuf.FeatureSet overridable_features = 4;
4197 bool has_overridable_features() const;
4198 void clear_overridable_features() ;
4199 const ::google::protobuf::FeatureSet& overridable_features() const;
4200 PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_overridable_features();
4201 ::google::protobuf::FeatureSet* mutable_overridable_features();
4202 void set_allocated_overridable_features(::google::protobuf::FeatureSet* value);
4203 void unsafe_arena_set_allocated_overridable_features(::google::protobuf::FeatureSet* value);
4204 ::google::protobuf::FeatureSet* unsafe_arena_release_overridable_features();
4205
4206 private:
4207 const ::google::protobuf::FeatureSet& _internal_overridable_features() const;
4208 ::google::protobuf::FeatureSet* _internal_mutable_overridable_features();
4209
4210 public:
4211 // optional .google.protobuf.FeatureSet fixed_features = 5;
4212 bool has_fixed_features() const;
4213 void clear_fixed_features() ;
4214 const ::google::protobuf::FeatureSet& fixed_features() const;
4215 PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_fixed_features();
4216 ::google::protobuf::FeatureSet* mutable_fixed_features();
4217 void set_allocated_fixed_features(::google::protobuf::FeatureSet* value);
4218 void unsafe_arena_set_allocated_fixed_features(::google::protobuf::FeatureSet* value);
4219 ::google::protobuf::FeatureSet* unsafe_arena_release_fixed_features();
4220
4221 private:
4222 const ::google::protobuf::FeatureSet& _internal_fixed_features() const;
4223 ::google::protobuf::FeatureSet* _internal_mutable_fixed_features();
4224
4225 public:
4226 // optional .google.protobuf.Edition edition = 3;
4227 bool has_edition() const;
4228 void clear_edition() ;
4229 ::google::protobuf::Edition edition() const;
4230 void set_edition(::google::protobuf::Edition value);
4231
4232 private:
4233 ::google::protobuf::Edition _internal_edition() const;
4234 void _internal_set_edition(::google::protobuf::Edition value);
4235
4236 public:
4237 // @@protoc_insertion_point(class_scope:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault)
4238 private:
4239 class _Internal;
4240 friend class ::google::protobuf::internal::TcParser;
4241 static const ::google::protobuf::internal::TcParseTable<
4242 2, 3, 3,
4243 0, 2>
4244 _table_;
4245
4246 friend class ::google::protobuf::MessageLite;
4247 friend class ::google::protobuf::Arena;
4248 template <typename T>
4249 friend class ::google::protobuf::Arena::InternalHelper;
4250 using InternalArenaConstructable_ = void;
4251 using DestructorSkippable_ = void;
4252 struct Impl_ {
4253 inline explicit constexpr Impl_(
4254 ::google::protobuf::internal::ConstantInitialized) noexcept;
4255 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
4256 ::google::protobuf::Arena* arena);
4257 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
4258 ::google::protobuf::Arena* arena, const Impl_& from,
4259 const FeatureSetDefaults_FeatureSetEditionDefault& from_msg);
4260 ::google::protobuf::internal::HasBits<1> _has_bits_;
4261 ::google::protobuf::internal::CachedSize _cached_size_;
4262 ::google::protobuf::FeatureSet* overridable_features_;
4263 ::google::protobuf::FeatureSet* fixed_features_;
4264 int edition_;
4265 PROTOBUF_TSAN_DECLARE_MEMBER
4266 };
4267 union { Impl_ _impl_; };
4268 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
4269 };
4270 // -------------------------------------------------------------------
4271
4272 class PROTOBUF_EXPORT ServiceOptions final : public ::google::protobuf::Message
4273 /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ {
4274 public:
ServiceOptions()4275 inline ServiceOptions() : ServiceOptions(nullptr) {}
4276 ~ServiceOptions() PROTOBUF_FINAL;
4277
4278 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(ServiceOptions * msg,std::destroying_delete_t)4279 void operator delete(ServiceOptions* msg, std::destroying_delete_t) {
4280 SharedDtor(*msg);
4281 ::google::protobuf::internal::SizedDelete(msg, sizeof(ServiceOptions));
4282 }
4283 #endif
4284
4285 template <typename = void>
4286 explicit PROTOBUF_CONSTEXPR ServiceOptions(
4287 ::google::protobuf::internal::ConstantInitialized);
4288
ServiceOptions(const ServiceOptions & from)4289 inline ServiceOptions(const ServiceOptions& from) : ServiceOptions(nullptr, from) {}
ServiceOptions(ServiceOptions && from)4290 inline ServiceOptions(ServiceOptions&& from) noexcept
4291 : ServiceOptions(nullptr, std::move(from)) {}
4292 inline ServiceOptions& operator=(const ServiceOptions& from) {
4293 CopyFrom(from);
4294 return *this;
4295 }
4296 inline ServiceOptions& operator=(ServiceOptions&& from) noexcept {
4297 if (this == &from) return *this;
4298 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
4299 InternalSwap(&from);
4300 } else {
4301 CopyFrom(from);
4302 }
4303 return *this;
4304 }
4305
unknown_fields()4306 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
4307 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4308 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
4309 }
mutable_unknown_fields()4310 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
4311 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4312 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
4313 }
4314
descriptor()4315 static const ::google::protobuf::Descriptor* descriptor() {
4316 return GetDescriptor();
4317 }
GetDescriptor()4318 static const ::google::protobuf::Descriptor* GetDescriptor() {
4319 return default_instance().GetMetadata().descriptor;
4320 }
GetReflection()4321 static const ::google::protobuf::Reflection* GetReflection() {
4322 return default_instance().GetMetadata().reflection;
4323 }
default_instance()4324 static const ServiceOptions& default_instance() {
4325 return *internal_default_instance();
4326 }
internal_default_instance()4327 static inline const ServiceOptions* internal_default_instance() {
4328 return reinterpret_cast<const ServiceOptions*>(
4329 &_ServiceOptions_default_instance_);
4330 }
4331 static constexpr int kIndexInFileMessages = 22;
swap(ServiceOptions & a,ServiceOptions & b)4332 friend void swap(ServiceOptions& a, ServiceOptions& b) { a.Swap(&b); }
Swap(ServiceOptions * other)4333 inline void Swap(ServiceOptions* other) {
4334 if (other == this) return;
4335 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
4336 InternalSwap(other);
4337 } else {
4338 ::google::protobuf::internal::GenericSwap(this, other);
4339 }
4340 }
UnsafeArenaSwap(ServiceOptions * other)4341 void UnsafeArenaSwap(ServiceOptions* other) {
4342 if (other == this) return;
4343 ABSL_DCHECK(GetArena() == other->GetArena());
4344 InternalSwap(other);
4345 }
4346
4347 // implements Message ----------------------------------------------
4348
4349 ServiceOptions* New(::google::protobuf::Arena* arena = nullptr) const {
4350 return ::google::protobuf::Message::DefaultConstruct<ServiceOptions>(arena);
4351 }
4352 using ::google::protobuf::Message::CopyFrom;
4353 void CopyFrom(const ServiceOptions& from);
4354 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const ServiceOptions & from)4355 void MergeFrom(const ServiceOptions& from) { ServiceOptions::MergeImpl(*this, from); }
4356
4357 private:
4358 static void MergeImpl(
4359 ::google::protobuf::MessageLite& to_msg,
4360 const ::google::protobuf::MessageLite& from_msg);
4361
4362 public:
IsInitialized()4363 bool IsInitialized() const {
4364 return IsInitializedImpl(*this);
4365 }
4366
4367 private:
4368 static bool IsInitializedImpl(const MessageLite& msg);
4369
4370 public:
4371 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
4372 #if defined(PROTOBUF_CUSTOM_VTABLE)
4373 private:
4374 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
4375 static ::uint8_t* _InternalSerialize(
4376 const MessageLite& msg, ::uint8_t* target,
4377 ::google::protobuf::io::EpsCopyOutputStream* stream);
4378
4379 public:
ByteSizeLong()4380 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)4381 ::uint8_t* _InternalSerialize(
4382 ::uint8_t* target,
4383 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4384 return _InternalSerialize(*this, target, stream);
4385 }
4386 #else // PROTOBUF_CUSTOM_VTABLE
4387 ::size_t ByteSizeLong() const final;
4388 ::uint8_t* _InternalSerialize(
4389 ::uint8_t* target,
4390 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
4391 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()4392 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
4393
4394 private:
4395 void SharedCtor(::google::protobuf::Arena* arena);
4396 static void SharedDtor(MessageLite& self);
4397 void InternalSwap(ServiceOptions* other);
4398 private:
4399 template <typename T>
4400 friend ::absl::string_view(
4401 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()4402 static ::absl::string_view FullMessageName() { return "google.protobuf.ServiceOptions"; }
4403
4404 protected:
4405 explicit ServiceOptions(::google::protobuf::Arena* arena);
4406 ServiceOptions(::google::protobuf::Arena* arena, const ServiceOptions& from);
ServiceOptions(::google::protobuf::Arena * arena,ServiceOptions && from)4407 ServiceOptions(::google::protobuf::Arena* arena, ServiceOptions&& from) noexcept
4408 : ServiceOptions(arena) {
4409 *this = ::std::move(from);
4410 }
4411 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
4412 static void* PlacementNew_(const void*, void* mem,
4413 ::google::protobuf::Arena* arena);
4414 static constexpr auto InternalNewImpl_();
4415 static const ::google::protobuf::internal::ClassDataFull _class_data_;
4416
4417 public:
4418 ::google::protobuf::Metadata GetMetadata() const;
4419 // nested types ----------------------------------------------------
4420
4421 // accessors -------------------------------------------------------
4422 enum : int {
4423 kUninterpretedOptionFieldNumber = 999,
4424 kFeaturesFieldNumber = 34,
4425 kDeprecatedFieldNumber = 33,
4426 };
4427 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
4428 int uninterpreted_option_size() const;
4429 private:
4430 int _internal_uninterpreted_option_size() const;
4431
4432 public:
4433 void clear_uninterpreted_option() ;
4434 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
4435 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option();
4436
4437 private:
4438 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
4439 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option();
4440 public:
4441 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
4442 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
4443 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
4444 // optional .google.protobuf.FeatureSet features = 34;
4445 bool has_features() const;
4446 void clear_features() ;
4447 const ::google::protobuf::FeatureSet& features() const;
4448 PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features();
4449 ::google::protobuf::FeatureSet* mutable_features();
4450 void set_allocated_features(::google::protobuf::FeatureSet* value);
4451 void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value);
4452 ::google::protobuf::FeatureSet* unsafe_arena_release_features();
4453
4454 private:
4455 const ::google::protobuf::FeatureSet& _internal_features() const;
4456 ::google::protobuf::FeatureSet* _internal_mutable_features();
4457
4458 public:
4459 // optional bool deprecated = 33 [default = false];
4460 bool has_deprecated() const;
4461 void clear_deprecated() ;
4462 bool deprecated() const;
4463 void set_deprecated(bool value);
4464
4465 private:
4466 bool _internal_deprecated() const;
4467 void _internal_set_deprecated(bool value);
4468
4469 public:
4470 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4471 bool _is_packed,
4472 typename = typename _proto_TypeTraits::Singular>
HasExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4473 inline bool HasExtension(
4474 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4475 _field_type, _is_packed>& id) const {
4476 return _impl_._extensions_.Has(id.number());
4477 }
4478
4479 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4480 bool _is_packed>
ClearExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4481 inline void ClearExtension(
4482 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4483 _field_type, _is_packed>& id) {
4484 _impl_._extensions_.ClearExtension(id.number());
4485 }
4486
4487 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4488 bool _is_packed,
4489 typename = typename _proto_TypeTraits::Repeated>
ExtensionSize(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4490 inline int ExtensionSize(
4491 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4492 _field_type, _is_packed>& id) const {
4493 return _impl_._extensions_.ExtensionSize(id.number());
4494 }
4495
4496 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4497 bool _is_packed,
4498 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4499 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
4500 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4501 _field_type, _is_packed>& id) const {
4502 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
4503 }
4504
4505 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4506 bool _is_packed,
4507 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4508 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
4509 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4510 _field_type, _is_packed>& id) const
4511 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4512 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
4513 }
4514
4515 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4516 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4517 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
4518 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4519 _field_type, _is_packed>& id)
4520 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4521 return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_);
4522 }
4523
4524 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4525 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::ConstType value)4526 inline void SetExtension(
4527 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4528 _field_type, _is_packed>& id,
4529 typename _proto_TypeTraits::Singular::ConstType value) {
4530 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
4531 }
4532
4533 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4534 bool _is_packed>
SetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)4535 inline void SetAllocatedExtension(
4536 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4537 _field_type, _is_packed>& id,
4538 typename _proto_TypeTraits::Singular::MutableType value) {
4539 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
4540 &_impl_._extensions_);
4541 }
4542 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4543 bool _is_packed>
UnsafeArenaSetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)4544 inline void UnsafeArenaSetAllocatedExtension(
4545 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4546 _field_type, _is_packed>& id,
4547 typename _proto_TypeTraits::Singular::MutableType value) {
4548 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
4549 value, &_impl_._extensions_);
4550 }
4551 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4552 bool _is_packed>
4553 PROTOBUF_NODISCARD inline
4554 typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4555 ReleaseExtension(
4556 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4557 _field_type, _is_packed>& id) {
4558 return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_);
4559 }
4560 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4561 bool _is_packed>
4562 inline typename _proto_TypeTraits::Singular::MutableType
UnsafeArenaReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4563 UnsafeArenaReleaseExtension(
4564 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4565 _field_type, _is_packed>& id) {
4566 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
4567 &_impl_._extensions_);
4568 }
4569
4570 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4571 bool _is_packed,
4572 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)4573 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
4574 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4575 _field_type, _is_packed>& id,
4576 int index) const {
4577 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
4578 }
4579
4580 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4581 bool _is_packed,
4582 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)4583 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
4584 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4585 _field_type, _is_packed>& id,
4586 int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4587 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
4588 }
4589
4590 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4591 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)4592 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
4593 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4594 _field_type, _is_packed>& id,
4595 int index) ABSL_ATTRIBUTE_LIFETIME_BOUND {
4596 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
4597 }
4598
4599 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4600 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index,typename _proto_TypeTraits::Repeated::ConstType value)4601 inline void SetExtension(
4602 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4603 _field_type, _is_packed>& id,
4604 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
4605 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
4606 }
4607
4608 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4609 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4610 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
4611 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4612 _field_type, _is_packed>& id)
4613 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4614 typename _proto_TypeTraits::Repeated::MutableType to_add =
4615 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
4616 return to_add;
4617 }
4618
4619 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4620 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Repeated::ConstType value)4621 inline void AddExtension(
4622 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4623 _field_type, _is_packed>& id,
4624 typename _proto_TypeTraits::Repeated::ConstType value) {
4625 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
4626 &_impl_._extensions_);
4627 }
4628
4629 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4630 bool _is_packed>
4631 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
GetRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4632 GetRepeatedExtension(
4633 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4634 _field_type, _is_packed>& id) const
4635 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4636 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
4637 }
4638
4639 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4640 bool _is_packed>
4641 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
MutableRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<ServiceOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4642 MutableRepeatedExtension(
4643 const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _proto_TypeTraits,
4644 _field_type, _is_packed>& id)
4645 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4646 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
4647 _is_packed, &_impl_._extensions_);
4648 }
4649 // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions)
4650 private:
4651 class _Internal;
4652 friend class ::google::protobuf::internal::TcParser;
4653 static const ::google::protobuf::internal::TcParseTable<
4654 2, 3, 2,
4655 0, 12>
4656 _table_;
4657
4658 friend class ::google::protobuf::MessageLite;
4659 friend class ::google::protobuf::Arena;
4660 template <typename T>
4661 friend class ::google::protobuf::Arena::InternalHelper;
4662 using InternalArenaConstructable_ = void;
4663 using DestructorSkippable_ = void;
4664 struct Impl_ {
4665 inline explicit constexpr Impl_(
4666 ::google::protobuf::internal::ConstantInitialized) noexcept;
4667 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
4668 ::google::protobuf::Arena* arena);
4669 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
4670 ::google::protobuf::Arena* arena, const Impl_& from,
4671 const ServiceOptions& from_msg);
4672 ::google::protobuf::internal::ExtensionSet _extensions_;
4673 ::google::protobuf::internal::HasBits<1> _has_bits_;
4674 ::google::protobuf::internal::CachedSize _cached_size_;
4675 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
4676 ::google::protobuf::FeatureSet* features_;
4677 bool deprecated_;
4678 PROTOBUF_TSAN_DECLARE_MEMBER
4679 };
4680 union { Impl_ _impl_; };
4681 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
4682 };
4683 // -------------------------------------------------------------------
4684
4685 class PROTOBUF_EXPORT OneofOptions final : public ::google::protobuf::Message
4686 /* @@protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ {
4687 public:
OneofOptions()4688 inline OneofOptions() : OneofOptions(nullptr) {}
4689 ~OneofOptions() PROTOBUF_FINAL;
4690
4691 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(OneofOptions * msg,std::destroying_delete_t)4692 void operator delete(OneofOptions* msg, std::destroying_delete_t) {
4693 SharedDtor(*msg);
4694 ::google::protobuf::internal::SizedDelete(msg, sizeof(OneofOptions));
4695 }
4696 #endif
4697
4698 template <typename = void>
4699 explicit PROTOBUF_CONSTEXPR OneofOptions(
4700 ::google::protobuf::internal::ConstantInitialized);
4701
OneofOptions(const OneofOptions & from)4702 inline OneofOptions(const OneofOptions& from) : OneofOptions(nullptr, from) {}
OneofOptions(OneofOptions && from)4703 inline OneofOptions(OneofOptions&& from) noexcept
4704 : OneofOptions(nullptr, std::move(from)) {}
4705 inline OneofOptions& operator=(const OneofOptions& from) {
4706 CopyFrom(from);
4707 return *this;
4708 }
4709 inline OneofOptions& operator=(OneofOptions&& from) noexcept {
4710 if (this == &from) return *this;
4711 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
4712 InternalSwap(&from);
4713 } else {
4714 CopyFrom(from);
4715 }
4716 return *this;
4717 }
4718
unknown_fields()4719 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
4720 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4721 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
4722 }
mutable_unknown_fields()4723 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
4724 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4725 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
4726 }
4727
descriptor()4728 static const ::google::protobuf::Descriptor* descriptor() {
4729 return GetDescriptor();
4730 }
GetDescriptor()4731 static const ::google::protobuf::Descriptor* GetDescriptor() {
4732 return default_instance().GetMetadata().descriptor;
4733 }
GetReflection()4734 static const ::google::protobuf::Reflection* GetReflection() {
4735 return default_instance().GetMetadata().reflection;
4736 }
default_instance()4737 static const OneofOptions& default_instance() {
4738 return *internal_default_instance();
4739 }
internal_default_instance()4740 static inline const OneofOptions* internal_default_instance() {
4741 return reinterpret_cast<const OneofOptions*>(
4742 &_OneofOptions_default_instance_);
4743 }
4744 static constexpr int kIndexInFileMessages = 19;
swap(OneofOptions & a,OneofOptions & b)4745 friend void swap(OneofOptions& a, OneofOptions& b) { a.Swap(&b); }
Swap(OneofOptions * other)4746 inline void Swap(OneofOptions* other) {
4747 if (other == this) return;
4748 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
4749 InternalSwap(other);
4750 } else {
4751 ::google::protobuf::internal::GenericSwap(this, other);
4752 }
4753 }
UnsafeArenaSwap(OneofOptions * other)4754 void UnsafeArenaSwap(OneofOptions* other) {
4755 if (other == this) return;
4756 ABSL_DCHECK(GetArena() == other->GetArena());
4757 InternalSwap(other);
4758 }
4759
4760 // implements Message ----------------------------------------------
4761
4762 OneofOptions* New(::google::protobuf::Arena* arena = nullptr) const {
4763 return ::google::protobuf::Message::DefaultConstruct<OneofOptions>(arena);
4764 }
4765 using ::google::protobuf::Message::CopyFrom;
4766 void CopyFrom(const OneofOptions& from);
4767 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const OneofOptions & from)4768 void MergeFrom(const OneofOptions& from) { OneofOptions::MergeImpl(*this, from); }
4769
4770 private:
4771 static void MergeImpl(
4772 ::google::protobuf::MessageLite& to_msg,
4773 const ::google::protobuf::MessageLite& from_msg);
4774
4775 public:
IsInitialized()4776 bool IsInitialized() const {
4777 return IsInitializedImpl(*this);
4778 }
4779
4780 private:
4781 static bool IsInitializedImpl(const MessageLite& msg);
4782
4783 public:
4784 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
4785 #if defined(PROTOBUF_CUSTOM_VTABLE)
4786 private:
4787 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
4788 static ::uint8_t* _InternalSerialize(
4789 const MessageLite& msg, ::uint8_t* target,
4790 ::google::protobuf::io::EpsCopyOutputStream* stream);
4791
4792 public:
ByteSizeLong()4793 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)4794 ::uint8_t* _InternalSerialize(
4795 ::uint8_t* target,
4796 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4797 return _InternalSerialize(*this, target, stream);
4798 }
4799 #else // PROTOBUF_CUSTOM_VTABLE
4800 ::size_t ByteSizeLong() const final;
4801 ::uint8_t* _InternalSerialize(
4802 ::uint8_t* target,
4803 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
4804 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()4805 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
4806
4807 private:
4808 void SharedCtor(::google::protobuf::Arena* arena);
4809 static void SharedDtor(MessageLite& self);
4810 void InternalSwap(OneofOptions* other);
4811 private:
4812 template <typename T>
4813 friend ::absl::string_view(
4814 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()4815 static ::absl::string_view FullMessageName() { return "google.protobuf.OneofOptions"; }
4816
4817 protected:
4818 explicit OneofOptions(::google::protobuf::Arena* arena);
4819 OneofOptions(::google::protobuf::Arena* arena, const OneofOptions& from);
OneofOptions(::google::protobuf::Arena * arena,OneofOptions && from)4820 OneofOptions(::google::protobuf::Arena* arena, OneofOptions&& from) noexcept
4821 : OneofOptions(arena) {
4822 *this = ::std::move(from);
4823 }
4824 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
4825 static void* PlacementNew_(const void*, void* mem,
4826 ::google::protobuf::Arena* arena);
4827 static constexpr auto InternalNewImpl_();
4828 static const ::google::protobuf::internal::ClassDataFull _class_data_;
4829
4830 public:
4831 ::google::protobuf::Metadata GetMetadata() const;
4832 // nested types ----------------------------------------------------
4833
4834 // accessors -------------------------------------------------------
4835 enum : int {
4836 kUninterpretedOptionFieldNumber = 999,
4837 kFeaturesFieldNumber = 1,
4838 };
4839 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
4840 int uninterpreted_option_size() const;
4841 private:
4842 int _internal_uninterpreted_option_size() const;
4843
4844 public:
4845 void clear_uninterpreted_option() ;
4846 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
4847 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option();
4848
4849 private:
4850 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
4851 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option();
4852 public:
4853 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
4854 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
4855 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
4856 // optional .google.protobuf.FeatureSet features = 1;
4857 bool has_features() const;
4858 void clear_features() ;
4859 const ::google::protobuf::FeatureSet& features() const;
4860 PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features();
4861 ::google::protobuf::FeatureSet* mutable_features();
4862 void set_allocated_features(::google::protobuf::FeatureSet* value);
4863 void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value);
4864 ::google::protobuf::FeatureSet* unsafe_arena_release_features();
4865
4866 private:
4867 const ::google::protobuf::FeatureSet& _internal_features() const;
4868 ::google::protobuf::FeatureSet* _internal_mutable_features();
4869
4870 public:
4871 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4872 bool _is_packed,
4873 typename = typename _proto_TypeTraits::Singular>
HasExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4874 inline bool HasExtension(
4875 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
4876 _field_type, _is_packed>& id) const {
4877 return _impl_._extensions_.Has(id.number());
4878 }
4879
4880 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4881 bool _is_packed>
ClearExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4882 inline void ClearExtension(
4883 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
4884 _field_type, _is_packed>& id) {
4885 _impl_._extensions_.ClearExtension(id.number());
4886 }
4887
4888 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4889 bool _is_packed,
4890 typename = typename _proto_TypeTraits::Repeated>
ExtensionSize(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4891 inline int ExtensionSize(
4892 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
4893 _field_type, _is_packed>& id) const {
4894 return _impl_._extensions_.ExtensionSize(id.number());
4895 }
4896
4897 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4898 bool _is_packed,
4899 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4900 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
4901 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
4902 _field_type, _is_packed>& id) const {
4903 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
4904 }
4905
4906 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4907 bool _is_packed,
4908 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4909 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
4910 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
4911 _field_type, _is_packed>& id) const
4912 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4913 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
4914 }
4915
4916 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4917 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4918 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
4919 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
4920 _field_type, _is_packed>& id)
4921 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4922 return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_);
4923 }
4924
4925 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4926 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::ConstType value)4927 inline void SetExtension(
4928 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
4929 _field_type, _is_packed>& id,
4930 typename _proto_TypeTraits::Singular::ConstType value) {
4931 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
4932 }
4933
4934 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4935 bool _is_packed>
SetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)4936 inline void SetAllocatedExtension(
4937 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
4938 _field_type, _is_packed>& id,
4939 typename _proto_TypeTraits::Singular::MutableType value) {
4940 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
4941 &_impl_._extensions_);
4942 }
4943 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4944 bool _is_packed>
UnsafeArenaSetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)4945 inline void UnsafeArenaSetAllocatedExtension(
4946 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
4947 _field_type, _is_packed>& id,
4948 typename _proto_TypeTraits::Singular::MutableType value) {
4949 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
4950 value, &_impl_._extensions_);
4951 }
4952 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4953 bool _is_packed>
4954 PROTOBUF_NODISCARD inline
4955 typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4956 ReleaseExtension(
4957 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
4958 _field_type, _is_packed>& id) {
4959 return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_);
4960 }
4961 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4962 bool _is_packed>
4963 inline typename _proto_TypeTraits::Singular::MutableType
UnsafeArenaReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id)4964 UnsafeArenaReleaseExtension(
4965 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
4966 _field_type, _is_packed>& id) {
4967 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
4968 &_impl_._extensions_);
4969 }
4970
4971 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4972 bool _is_packed,
4973 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)4974 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
4975 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
4976 _field_type, _is_packed>& id,
4977 int index) const {
4978 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
4979 }
4980
4981 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4982 bool _is_packed,
4983 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)4984 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
4985 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
4986 _field_type, _is_packed>& id,
4987 int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4988 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
4989 }
4990
4991 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
4992 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)4993 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
4994 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
4995 _field_type, _is_packed>& id,
4996 int index) ABSL_ATTRIBUTE_LIFETIME_BOUND {
4997 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
4998 }
4999
5000 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5001 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index,typename _proto_TypeTraits::Repeated::ConstType value)5002 inline void SetExtension(
5003 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
5004 _field_type, _is_packed>& id,
5005 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
5006 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
5007 }
5008
5009 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5010 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5011 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
5012 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
5013 _field_type, _is_packed>& id)
5014 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5015 typename _proto_TypeTraits::Repeated::MutableType to_add =
5016 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
5017 return to_add;
5018 }
5019
5020 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5021 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Repeated::ConstType value)5022 inline void AddExtension(
5023 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
5024 _field_type, _is_packed>& id,
5025 typename _proto_TypeTraits::Repeated::ConstType value) {
5026 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
5027 &_impl_._extensions_);
5028 }
5029
5030 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5031 bool _is_packed>
5032 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
GetRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5033 GetRepeatedExtension(
5034 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
5035 _field_type, _is_packed>& id) const
5036 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5037 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
5038 }
5039
5040 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5041 bool _is_packed>
5042 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
MutableRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<OneofOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5043 MutableRepeatedExtension(
5044 const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _proto_TypeTraits,
5045 _field_type, _is_packed>& id)
5046 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5047 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
5048 _is_packed, &_impl_._extensions_);
5049 }
5050 // @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions)
5051 private:
5052 class _Internal;
5053 friend class ::google::protobuf::internal::TcParser;
5054 static const ::google::protobuf::internal::TcParseTable<
5055 2, 2, 2,
5056 0, 7>
5057 _table_;
5058
5059 friend class ::google::protobuf::MessageLite;
5060 friend class ::google::protobuf::Arena;
5061 template <typename T>
5062 friend class ::google::protobuf::Arena::InternalHelper;
5063 using InternalArenaConstructable_ = void;
5064 using DestructorSkippable_ = void;
5065 struct Impl_ {
5066 inline explicit constexpr Impl_(
5067 ::google::protobuf::internal::ConstantInitialized) noexcept;
5068 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
5069 ::google::protobuf::Arena* arena);
5070 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
5071 ::google::protobuf::Arena* arena, const Impl_& from,
5072 const OneofOptions& from_msg);
5073 ::google::protobuf::internal::ExtensionSet _extensions_;
5074 ::google::protobuf::internal::HasBits<1> _has_bits_;
5075 ::google::protobuf::internal::CachedSize _cached_size_;
5076 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
5077 ::google::protobuf::FeatureSet* features_;
5078 PROTOBUF_TSAN_DECLARE_MEMBER
5079 };
5080 union { Impl_ _impl_; };
5081 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
5082 };
5083 // -------------------------------------------------------------------
5084
5085 class PROTOBUF_EXPORT MethodOptions final : public ::google::protobuf::Message
5086 /* @@protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ {
5087 public:
MethodOptions()5088 inline MethodOptions() : MethodOptions(nullptr) {}
5089 ~MethodOptions() PROTOBUF_FINAL;
5090
5091 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(MethodOptions * msg,std::destroying_delete_t)5092 void operator delete(MethodOptions* msg, std::destroying_delete_t) {
5093 SharedDtor(*msg);
5094 ::google::protobuf::internal::SizedDelete(msg, sizeof(MethodOptions));
5095 }
5096 #endif
5097
5098 template <typename = void>
5099 explicit PROTOBUF_CONSTEXPR MethodOptions(
5100 ::google::protobuf::internal::ConstantInitialized);
5101
MethodOptions(const MethodOptions & from)5102 inline MethodOptions(const MethodOptions& from) : MethodOptions(nullptr, from) {}
MethodOptions(MethodOptions && from)5103 inline MethodOptions(MethodOptions&& from) noexcept
5104 : MethodOptions(nullptr, std::move(from)) {}
5105 inline MethodOptions& operator=(const MethodOptions& from) {
5106 CopyFrom(from);
5107 return *this;
5108 }
5109 inline MethodOptions& operator=(MethodOptions&& from) noexcept {
5110 if (this == &from) return *this;
5111 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
5112 InternalSwap(&from);
5113 } else {
5114 CopyFrom(from);
5115 }
5116 return *this;
5117 }
5118
unknown_fields()5119 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
5120 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5121 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
5122 }
mutable_unknown_fields()5123 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
5124 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5125 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
5126 }
5127
descriptor()5128 static const ::google::protobuf::Descriptor* descriptor() {
5129 return GetDescriptor();
5130 }
GetDescriptor()5131 static const ::google::protobuf::Descriptor* GetDescriptor() {
5132 return default_instance().GetMetadata().descriptor;
5133 }
GetReflection()5134 static const ::google::protobuf::Reflection* GetReflection() {
5135 return default_instance().GetMetadata().reflection;
5136 }
default_instance()5137 static const MethodOptions& default_instance() {
5138 return *internal_default_instance();
5139 }
internal_default_instance()5140 static inline const MethodOptions* internal_default_instance() {
5141 return reinterpret_cast<const MethodOptions*>(
5142 &_MethodOptions_default_instance_);
5143 }
5144 static constexpr int kIndexInFileMessages = 23;
swap(MethodOptions & a,MethodOptions & b)5145 friend void swap(MethodOptions& a, MethodOptions& b) { a.Swap(&b); }
Swap(MethodOptions * other)5146 inline void Swap(MethodOptions* other) {
5147 if (other == this) return;
5148 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
5149 InternalSwap(other);
5150 } else {
5151 ::google::protobuf::internal::GenericSwap(this, other);
5152 }
5153 }
UnsafeArenaSwap(MethodOptions * other)5154 void UnsafeArenaSwap(MethodOptions* other) {
5155 if (other == this) return;
5156 ABSL_DCHECK(GetArena() == other->GetArena());
5157 InternalSwap(other);
5158 }
5159
5160 // implements Message ----------------------------------------------
5161
5162 MethodOptions* New(::google::protobuf::Arena* arena = nullptr) const {
5163 return ::google::protobuf::Message::DefaultConstruct<MethodOptions>(arena);
5164 }
5165 using ::google::protobuf::Message::CopyFrom;
5166 void CopyFrom(const MethodOptions& from);
5167 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const MethodOptions & from)5168 void MergeFrom(const MethodOptions& from) { MethodOptions::MergeImpl(*this, from); }
5169
5170 private:
5171 static void MergeImpl(
5172 ::google::protobuf::MessageLite& to_msg,
5173 const ::google::protobuf::MessageLite& from_msg);
5174
5175 public:
IsInitialized()5176 bool IsInitialized() const {
5177 return IsInitializedImpl(*this);
5178 }
5179
5180 private:
5181 static bool IsInitializedImpl(const MessageLite& msg);
5182
5183 public:
5184 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
5185 #if defined(PROTOBUF_CUSTOM_VTABLE)
5186 private:
5187 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
5188 static ::uint8_t* _InternalSerialize(
5189 const MessageLite& msg, ::uint8_t* target,
5190 ::google::protobuf::io::EpsCopyOutputStream* stream);
5191
5192 public:
ByteSizeLong()5193 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)5194 ::uint8_t* _InternalSerialize(
5195 ::uint8_t* target,
5196 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
5197 return _InternalSerialize(*this, target, stream);
5198 }
5199 #else // PROTOBUF_CUSTOM_VTABLE
5200 ::size_t ByteSizeLong() const final;
5201 ::uint8_t* _InternalSerialize(
5202 ::uint8_t* target,
5203 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
5204 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()5205 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
5206
5207 private:
5208 void SharedCtor(::google::protobuf::Arena* arena);
5209 static void SharedDtor(MessageLite& self);
5210 void InternalSwap(MethodOptions* other);
5211 private:
5212 template <typename T>
5213 friend ::absl::string_view(
5214 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()5215 static ::absl::string_view FullMessageName() { return "google.protobuf.MethodOptions"; }
5216
5217 protected:
5218 explicit MethodOptions(::google::protobuf::Arena* arena);
5219 MethodOptions(::google::protobuf::Arena* arena, const MethodOptions& from);
MethodOptions(::google::protobuf::Arena * arena,MethodOptions && from)5220 MethodOptions(::google::protobuf::Arena* arena, MethodOptions&& from) noexcept
5221 : MethodOptions(arena) {
5222 *this = ::std::move(from);
5223 }
5224 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
5225 static void* PlacementNew_(const void*, void* mem,
5226 ::google::protobuf::Arena* arena);
5227 static constexpr auto InternalNewImpl_();
5228 static const ::google::protobuf::internal::ClassDataFull _class_data_;
5229
5230 public:
5231 ::google::protobuf::Metadata GetMetadata() const;
5232 // nested types ----------------------------------------------------
5233 using IdempotencyLevel = MethodOptions_IdempotencyLevel;
5234 static constexpr IdempotencyLevel IDEMPOTENCY_UNKNOWN = MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN;
5235 static constexpr IdempotencyLevel NO_SIDE_EFFECTS = MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS;
5236 static constexpr IdempotencyLevel IDEMPOTENT = MethodOptions_IdempotencyLevel_IDEMPOTENT;
IdempotencyLevel_IsValid(int value)5237 static inline bool IdempotencyLevel_IsValid(int value) {
5238 return MethodOptions_IdempotencyLevel_IsValid(value);
5239 }
5240 static constexpr IdempotencyLevel IdempotencyLevel_MIN = MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN;
5241 static constexpr IdempotencyLevel IdempotencyLevel_MAX = MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX;
5242 static constexpr int IdempotencyLevel_ARRAYSIZE = MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE;
IdempotencyLevel_descriptor()5243 static inline const ::google::protobuf::EnumDescriptor* IdempotencyLevel_descriptor() {
5244 return MethodOptions_IdempotencyLevel_descriptor();
5245 }
5246 template <typename T>
IdempotencyLevel_Name(T value)5247 static inline const std::string& IdempotencyLevel_Name(T value) {
5248 return MethodOptions_IdempotencyLevel_Name(value);
5249 }
IdempotencyLevel_Parse(absl::string_view name,IdempotencyLevel * value)5250 static inline bool IdempotencyLevel_Parse(absl::string_view name, IdempotencyLevel* value) {
5251 return MethodOptions_IdempotencyLevel_Parse(name, value);
5252 }
5253
5254 // accessors -------------------------------------------------------
5255 enum : int {
5256 kUninterpretedOptionFieldNumber = 999,
5257 kFeaturesFieldNumber = 35,
5258 kDeprecatedFieldNumber = 33,
5259 kIdempotencyLevelFieldNumber = 34,
5260 };
5261 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5262 int uninterpreted_option_size() const;
5263 private:
5264 int _internal_uninterpreted_option_size() const;
5265
5266 public:
5267 void clear_uninterpreted_option() ;
5268 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
5269 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option();
5270
5271 private:
5272 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
5273 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option();
5274 public:
5275 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
5276 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
5277 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
5278 // optional .google.protobuf.FeatureSet features = 35;
5279 bool has_features() const;
5280 void clear_features() ;
5281 const ::google::protobuf::FeatureSet& features() const;
5282 PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features();
5283 ::google::protobuf::FeatureSet* mutable_features();
5284 void set_allocated_features(::google::protobuf::FeatureSet* value);
5285 void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value);
5286 ::google::protobuf::FeatureSet* unsafe_arena_release_features();
5287
5288 private:
5289 const ::google::protobuf::FeatureSet& _internal_features() const;
5290 ::google::protobuf::FeatureSet* _internal_mutable_features();
5291
5292 public:
5293 // optional bool deprecated = 33 [default = false];
5294 bool has_deprecated() const;
5295 void clear_deprecated() ;
5296 bool deprecated() const;
5297 void set_deprecated(bool value);
5298
5299 private:
5300 bool _internal_deprecated() const;
5301 void _internal_set_deprecated(bool value);
5302
5303 public:
5304 // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
5305 bool has_idempotency_level() const;
5306 void clear_idempotency_level() ;
5307 ::google::protobuf::MethodOptions_IdempotencyLevel idempotency_level() const;
5308 void set_idempotency_level(::google::protobuf::MethodOptions_IdempotencyLevel value);
5309
5310 private:
5311 ::google::protobuf::MethodOptions_IdempotencyLevel _internal_idempotency_level() const;
5312 void _internal_set_idempotency_level(::google::protobuf::MethodOptions_IdempotencyLevel value);
5313
5314 public:
5315 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5316 bool _is_packed,
5317 typename = typename _proto_TypeTraits::Singular>
HasExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5318 inline bool HasExtension(
5319 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5320 _field_type, _is_packed>& id) const {
5321 return _impl_._extensions_.Has(id.number());
5322 }
5323
5324 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5325 bool _is_packed>
ClearExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5326 inline void ClearExtension(
5327 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5328 _field_type, _is_packed>& id) {
5329 _impl_._extensions_.ClearExtension(id.number());
5330 }
5331
5332 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5333 bool _is_packed,
5334 typename = typename _proto_TypeTraits::Repeated>
ExtensionSize(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5335 inline int ExtensionSize(
5336 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5337 _field_type, _is_packed>& id) const {
5338 return _impl_._extensions_.ExtensionSize(id.number());
5339 }
5340
5341 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5342 bool _is_packed,
5343 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5344 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
5345 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5346 _field_type, _is_packed>& id) const {
5347 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
5348 }
5349
5350 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5351 bool _is_packed,
5352 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5353 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
5354 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5355 _field_type, _is_packed>& id) const
5356 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5357 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
5358 }
5359
5360 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5361 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5362 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
5363 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5364 _field_type, _is_packed>& id)
5365 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5366 return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_);
5367 }
5368
5369 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5370 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::ConstType value)5371 inline void SetExtension(
5372 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5373 _field_type, _is_packed>& id,
5374 typename _proto_TypeTraits::Singular::ConstType value) {
5375 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
5376 }
5377
5378 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5379 bool _is_packed>
SetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)5380 inline void SetAllocatedExtension(
5381 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5382 _field_type, _is_packed>& id,
5383 typename _proto_TypeTraits::Singular::MutableType value) {
5384 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
5385 &_impl_._extensions_);
5386 }
5387 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5388 bool _is_packed>
UnsafeArenaSetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)5389 inline void UnsafeArenaSetAllocatedExtension(
5390 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5391 _field_type, _is_packed>& id,
5392 typename _proto_TypeTraits::Singular::MutableType value) {
5393 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
5394 value, &_impl_._extensions_);
5395 }
5396 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5397 bool _is_packed>
5398 PROTOBUF_NODISCARD inline
5399 typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5400 ReleaseExtension(
5401 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5402 _field_type, _is_packed>& id) {
5403 return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_);
5404 }
5405 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5406 bool _is_packed>
5407 inline typename _proto_TypeTraits::Singular::MutableType
UnsafeArenaReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5408 UnsafeArenaReleaseExtension(
5409 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5410 _field_type, _is_packed>& id) {
5411 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
5412 &_impl_._extensions_);
5413 }
5414
5415 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5416 bool _is_packed,
5417 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)5418 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
5419 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5420 _field_type, _is_packed>& id,
5421 int index) const {
5422 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
5423 }
5424
5425 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5426 bool _is_packed,
5427 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)5428 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
5429 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5430 _field_type, _is_packed>& id,
5431 int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND {
5432 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
5433 }
5434
5435 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5436 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)5437 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
5438 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5439 _field_type, _is_packed>& id,
5440 int index) ABSL_ATTRIBUTE_LIFETIME_BOUND {
5441 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
5442 }
5443
5444 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5445 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index,typename _proto_TypeTraits::Repeated::ConstType value)5446 inline void SetExtension(
5447 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5448 _field_type, _is_packed>& id,
5449 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
5450 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
5451 }
5452
5453 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5454 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5455 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
5456 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5457 _field_type, _is_packed>& id)
5458 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5459 typename _proto_TypeTraits::Repeated::MutableType to_add =
5460 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
5461 return to_add;
5462 }
5463
5464 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5465 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Repeated::ConstType value)5466 inline void AddExtension(
5467 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5468 _field_type, _is_packed>& id,
5469 typename _proto_TypeTraits::Repeated::ConstType value) {
5470 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
5471 &_impl_._extensions_);
5472 }
5473
5474 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5475 bool _is_packed>
5476 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
GetRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5477 GetRepeatedExtension(
5478 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5479 _field_type, _is_packed>& id) const
5480 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5481 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
5482 }
5483
5484 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5485 bool _is_packed>
5486 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
MutableRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<MethodOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5487 MutableRepeatedExtension(
5488 const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _proto_TypeTraits,
5489 _field_type, _is_packed>& id)
5490 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5491 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
5492 _is_packed, &_impl_._extensions_);
5493 }
5494 // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions)
5495 private:
5496 class _Internal;
5497 friend class ::google::protobuf::internal::TcParser;
5498 static const ::google::protobuf::internal::TcParseTable<
5499 3, 4, 3,
5500 0, 12>
5501 _table_;
5502
5503 friend class ::google::protobuf::MessageLite;
5504 friend class ::google::protobuf::Arena;
5505 template <typename T>
5506 friend class ::google::protobuf::Arena::InternalHelper;
5507 using InternalArenaConstructable_ = void;
5508 using DestructorSkippable_ = void;
5509 struct Impl_ {
5510 inline explicit constexpr Impl_(
5511 ::google::protobuf::internal::ConstantInitialized) noexcept;
5512 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
5513 ::google::protobuf::Arena* arena);
5514 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
5515 ::google::protobuf::Arena* arena, const Impl_& from,
5516 const MethodOptions& from_msg);
5517 ::google::protobuf::internal::ExtensionSet _extensions_;
5518 ::google::protobuf::internal::HasBits<1> _has_bits_;
5519 ::google::protobuf::internal::CachedSize _cached_size_;
5520 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
5521 ::google::protobuf::FeatureSet* features_;
5522 bool deprecated_;
5523 int idempotency_level_;
5524 PROTOBUF_TSAN_DECLARE_MEMBER
5525 };
5526 union { Impl_ _impl_; };
5527 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
5528 };
5529 // -------------------------------------------------------------------
5530
5531 class PROTOBUF_EXPORT MessageOptions final : public ::google::protobuf::Message
5532 /* @@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ {
5533 public:
MessageOptions()5534 inline MessageOptions() : MessageOptions(nullptr) {}
5535 ~MessageOptions() PROTOBUF_FINAL;
5536
5537 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(MessageOptions * msg,std::destroying_delete_t)5538 void operator delete(MessageOptions* msg, std::destroying_delete_t) {
5539 SharedDtor(*msg);
5540 ::google::protobuf::internal::SizedDelete(msg, sizeof(MessageOptions));
5541 }
5542 #endif
5543
5544 template <typename = void>
5545 explicit PROTOBUF_CONSTEXPR MessageOptions(
5546 ::google::protobuf::internal::ConstantInitialized);
5547
MessageOptions(const MessageOptions & from)5548 inline MessageOptions(const MessageOptions& from) : MessageOptions(nullptr, from) {}
MessageOptions(MessageOptions && from)5549 inline MessageOptions(MessageOptions&& from) noexcept
5550 : MessageOptions(nullptr, std::move(from)) {}
5551 inline MessageOptions& operator=(const MessageOptions& from) {
5552 CopyFrom(from);
5553 return *this;
5554 }
5555 inline MessageOptions& operator=(MessageOptions&& from) noexcept {
5556 if (this == &from) return *this;
5557 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
5558 InternalSwap(&from);
5559 } else {
5560 CopyFrom(from);
5561 }
5562 return *this;
5563 }
5564
unknown_fields()5565 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
5566 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5567 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
5568 }
mutable_unknown_fields()5569 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
5570 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5571 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
5572 }
5573
descriptor()5574 static const ::google::protobuf::Descriptor* descriptor() {
5575 return GetDescriptor();
5576 }
GetDescriptor()5577 static const ::google::protobuf::Descriptor* GetDescriptor() {
5578 return default_instance().GetMetadata().descriptor;
5579 }
GetReflection()5580 static const ::google::protobuf::Reflection* GetReflection() {
5581 return default_instance().GetMetadata().reflection;
5582 }
default_instance()5583 static const MessageOptions& default_instance() {
5584 return *internal_default_instance();
5585 }
internal_default_instance()5586 static inline const MessageOptions* internal_default_instance() {
5587 return reinterpret_cast<const MessageOptions*>(
5588 &_MessageOptions_default_instance_);
5589 }
5590 static constexpr int kIndexInFileMessages = 15;
swap(MessageOptions & a,MessageOptions & b)5591 friend void swap(MessageOptions& a, MessageOptions& b) { a.Swap(&b); }
Swap(MessageOptions * other)5592 inline void Swap(MessageOptions* other) {
5593 if (other == this) return;
5594 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
5595 InternalSwap(other);
5596 } else {
5597 ::google::protobuf::internal::GenericSwap(this, other);
5598 }
5599 }
UnsafeArenaSwap(MessageOptions * other)5600 void UnsafeArenaSwap(MessageOptions* other) {
5601 if (other == this) return;
5602 ABSL_DCHECK(GetArena() == other->GetArena());
5603 InternalSwap(other);
5604 }
5605
5606 // implements Message ----------------------------------------------
5607
5608 MessageOptions* New(::google::protobuf::Arena* arena = nullptr) const {
5609 return ::google::protobuf::Message::DefaultConstruct<MessageOptions>(arena);
5610 }
5611 using ::google::protobuf::Message::CopyFrom;
5612 void CopyFrom(const MessageOptions& from);
5613 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const MessageOptions & from)5614 void MergeFrom(const MessageOptions& from) { MessageOptions::MergeImpl(*this, from); }
5615
5616 private:
5617 static void MergeImpl(
5618 ::google::protobuf::MessageLite& to_msg,
5619 const ::google::protobuf::MessageLite& from_msg);
5620
5621 public:
IsInitialized()5622 bool IsInitialized() const {
5623 return IsInitializedImpl(*this);
5624 }
5625
5626 private:
5627 static bool IsInitializedImpl(const MessageLite& msg);
5628
5629 public:
5630 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
5631 #if defined(PROTOBUF_CUSTOM_VTABLE)
5632 private:
5633 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
5634 static ::uint8_t* _InternalSerialize(
5635 const MessageLite& msg, ::uint8_t* target,
5636 ::google::protobuf::io::EpsCopyOutputStream* stream);
5637
5638 public:
ByteSizeLong()5639 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)5640 ::uint8_t* _InternalSerialize(
5641 ::uint8_t* target,
5642 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
5643 return _InternalSerialize(*this, target, stream);
5644 }
5645 #else // PROTOBUF_CUSTOM_VTABLE
5646 ::size_t ByteSizeLong() const final;
5647 ::uint8_t* _InternalSerialize(
5648 ::uint8_t* target,
5649 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
5650 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()5651 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
5652
5653 private:
5654 void SharedCtor(::google::protobuf::Arena* arena);
5655 static void SharedDtor(MessageLite& self);
5656 void InternalSwap(MessageOptions* other);
5657 private:
5658 template <typename T>
5659 friend ::absl::string_view(
5660 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()5661 static ::absl::string_view FullMessageName() { return "google.protobuf.MessageOptions"; }
5662
5663 protected:
5664 explicit MessageOptions(::google::protobuf::Arena* arena);
5665 MessageOptions(::google::protobuf::Arena* arena, const MessageOptions& from);
MessageOptions(::google::protobuf::Arena * arena,MessageOptions && from)5666 MessageOptions(::google::protobuf::Arena* arena, MessageOptions&& from) noexcept
5667 : MessageOptions(arena) {
5668 *this = ::std::move(from);
5669 }
5670 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
5671 static void* PlacementNew_(const void*, void* mem,
5672 ::google::protobuf::Arena* arena);
5673 static constexpr auto InternalNewImpl_();
5674 static const ::google::protobuf::internal::ClassDataFull _class_data_;
5675
5676 public:
5677 ::google::protobuf::Metadata GetMetadata() const;
5678 // nested types ----------------------------------------------------
5679
5680 // accessors -------------------------------------------------------
5681 enum : int {
5682 kUninterpretedOptionFieldNumber = 999,
5683 kFeaturesFieldNumber = 12,
5684 kMessageSetWireFormatFieldNumber = 1,
5685 kNoStandardDescriptorAccessorFieldNumber = 2,
5686 kDeprecatedFieldNumber = 3,
5687 kMapEntryFieldNumber = 7,
5688 kDeprecatedLegacyJsonFieldConflictsFieldNumber = 11,
5689 };
5690 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
5691 int uninterpreted_option_size() const;
5692 private:
5693 int _internal_uninterpreted_option_size() const;
5694
5695 public:
5696 void clear_uninterpreted_option() ;
5697 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
5698 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option();
5699
5700 private:
5701 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
5702 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option();
5703 public:
5704 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
5705 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
5706 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
5707 // optional .google.protobuf.FeatureSet features = 12;
5708 bool has_features() const;
5709 void clear_features() ;
5710 const ::google::protobuf::FeatureSet& features() const;
5711 PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features();
5712 ::google::protobuf::FeatureSet* mutable_features();
5713 void set_allocated_features(::google::protobuf::FeatureSet* value);
5714 void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value);
5715 ::google::protobuf::FeatureSet* unsafe_arena_release_features();
5716
5717 private:
5718 const ::google::protobuf::FeatureSet& _internal_features() const;
5719 ::google::protobuf::FeatureSet* _internal_mutable_features();
5720
5721 public:
5722 // optional bool message_set_wire_format = 1 [default = false];
5723 bool has_message_set_wire_format() const;
5724 void clear_message_set_wire_format() ;
5725 bool message_set_wire_format() const;
5726 void set_message_set_wire_format(bool value);
5727
5728 private:
5729 bool _internal_message_set_wire_format() const;
5730 void _internal_set_message_set_wire_format(bool value);
5731
5732 public:
5733 // optional bool no_standard_descriptor_accessor = 2 [default = false];
5734 bool has_no_standard_descriptor_accessor() const;
5735 void clear_no_standard_descriptor_accessor() ;
5736 bool no_standard_descriptor_accessor() const;
5737 void set_no_standard_descriptor_accessor(bool value);
5738
5739 private:
5740 bool _internal_no_standard_descriptor_accessor() const;
5741 void _internal_set_no_standard_descriptor_accessor(bool value);
5742
5743 public:
5744 // optional bool deprecated = 3 [default = false];
5745 bool has_deprecated() const;
5746 void clear_deprecated() ;
5747 bool deprecated() const;
5748 void set_deprecated(bool value);
5749
5750 private:
5751 bool _internal_deprecated() const;
5752 void _internal_set_deprecated(bool value);
5753
5754 public:
5755 // optional bool map_entry = 7;
5756 bool has_map_entry() const;
5757 void clear_map_entry() ;
5758 bool map_entry() const;
5759 void set_map_entry(bool value);
5760
5761 private:
5762 bool _internal_map_entry() const;
5763 void _internal_set_map_entry(bool value);
5764
5765 public:
5766 // optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
5767 [[deprecated]] bool has_deprecated_legacy_json_field_conflicts() const;
5768 [[deprecated]] void clear_deprecated_legacy_json_field_conflicts() ;
5769 [[deprecated]] bool deprecated_legacy_json_field_conflicts() const;
5770 [[deprecated]] void set_deprecated_legacy_json_field_conflicts(bool value);
5771
5772 private:
5773 bool _internal_deprecated_legacy_json_field_conflicts() const;
5774 void _internal_set_deprecated_legacy_json_field_conflicts(bool value);
5775
5776 public:
5777 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5778 bool _is_packed,
5779 typename = typename _proto_TypeTraits::Singular>
HasExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5780 inline bool HasExtension(
5781 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5782 _field_type, _is_packed>& id) const {
5783 return _impl_._extensions_.Has(id.number());
5784 }
5785
5786 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5787 bool _is_packed>
ClearExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5788 inline void ClearExtension(
5789 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5790 _field_type, _is_packed>& id) {
5791 _impl_._extensions_.ClearExtension(id.number());
5792 }
5793
5794 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5795 bool _is_packed,
5796 typename = typename _proto_TypeTraits::Repeated>
ExtensionSize(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5797 inline int ExtensionSize(
5798 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5799 _field_type, _is_packed>& id) const {
5800 return _impl_._extensions_.ExtensionSize(id.number());
5801 }
5802
5803 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5804 bool _is_packed,
5805 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5806 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
5807 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5808 _field_type, _is_packed>& id) const {
5809 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
5810 }
5811
5812 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5813 bool _is_packed,
5814 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5815 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
5816 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5817 _field_type, _is_packed>& id) const
5818 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5819 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
5820 }
5821
5822 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5823 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5824 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
5825 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5826 _field_type, _is_packed>& id)
5827 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5828 return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_);
5829 }
5830
5831 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5832 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::ConstType value)5833 inline void SetExtension(
5834 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5835 _field_type, _is_packed>& id,
5836 typename _proto_TypeTraits::Singular::ConstType value) {
5837 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
5838 }
5839
5840 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5841 bool _is_packed>
SetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)5842 inline void SetAllocatedExtension(
5843 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5844 _field_type, _is_packed>& id,
5845 typename _proto_TypeTraits::Singular::MutableType value) {
5846 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
5847 &_impl_._extensions_);
5848 }
5849 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5850 bool _is_packed>
UnsafeArenaSetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)5851 inline void UnsafeArenaSetAllocatedExtension(
5852 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5853 _field_type, _is_packed>& id,
5854 typename _proto_TypeTraits::Singular::MutableType value) {
5855 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
5856 value, &_impl_._extensions_);
5857 }
5858 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5859 bool _is_packed>
5860 PROTOBUF_NODISCARD inline
5861 typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5862 ReleaseExtension(
5863 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5864 _field_type, _is_packed>& id) {
5865 return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_);
5866 }
5867 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5868 bool _is_packed>
5869 inline typename _proto_TypeTraits::Singular::MutableType
UnsafeArenaReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5870 UnsafeArenaReleaseExtension(
5871 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5872 _field_type, _is_packed>& id) {
5873 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
5874 &_impl_._extensions_);
5875 }
5876
5877 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5878 bool _is_packed,
5879 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)5880 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
5881 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5882 _field_type, _is_packed>& id,
5883 int index) const {
5884 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
5885 }
5886
5887 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5888 bool _is_packed,
5889 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)5890 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
5891 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5892 _field_type, _is_packed>& id,
5893 int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND {
5894 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
5895 }
5896
5897 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5898 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)5899 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
5900 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5901 _field_type, _is_packed>& id,
5902 int index) ABSL_ATTRIBUTE_LIFETIME_BOUND {
5903 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
5904 }
5905
5906 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5907 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index,typename _proto_TypeTraits::Repeated::ConstType value)5908 inline void SetExtension(
5909 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5910 _field_type, _is_packed>& id,
5911 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
5912 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
5913 }
5914
5915 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5916 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5917 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
5918 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5919 _field_type, _is_packed>& id)
5920 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5921 typename _proto_TypeTraits::Repeated::MutableType to_add =
5922 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
5923 return to_add;
5924 }
5925
5926 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5927 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Repeated::ConstType value)5928 inline void AddExtension(
5929 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5930 _field_type, _is_packed>& id,
5931 typename _proto_TypeTraits::Repeated::ConstType value) {
5932 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
5933 &_impl_._extensions_);
5934 }
5935
5936 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5937 bool _is_packed>
5938 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
GetRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5939 GetRepeatedExtension(
5940 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5941 _field_type, _is_packed>& id) const
5942 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5943 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
5944 }
5945
5946 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
5947 bool _is_packed>
5948 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
MutableRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<MessageOptions,_proto_TypeTraits,_field_type,_is_packed> & id)5949 MutableRepeatedExtension(
5950 const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _proto_TypeTraits,
5951 _field_type, _is_packed>& id)
5952 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5953 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
5954 _is_packed, &_impl_._extensions_);
5955 }
5956 // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions)
5957 private:
5958 class _Internal;
5959 friend class ::google::protobuf::internal::TcParser;
5960 static const ::google::protobuf::internal::TcParseTable<
5961 3, 7, 2,
5962 0, 7>
5963 _table_;
5964
5965 friend class ::google::protobuf::MessageLite;
5966 friend class ::google::protobuf::Arena;
5967 template <typename T>
5968 friend class ::google::protobuf::Arena::InternalHelper;
5969 using InternalArenaConstructable_ = void;
5970 using DestructorSkippable_ = void;
5971 struct Impl_ {
5972 inline explicit constexpr Impl_(
5973 ::google::protobuf::internal::ConstantInitialized) noexcept;
5974 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
5975 ::google::protobuf::Arena* arena);
5976 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
5977 ::google::protobuf::Arena* arena, const Impl_& from,
5978 const MessageOptions& from_msg);
5979 ::google::protobuf::internal::ExtensionSet _extensions_;
5980 ::google::protobuf::internal::HasBits<1> _has_bits_;
5981 ::google::protobuf::internal::CachedSize _cached_size_;
5982 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
5983 ::google::protobuf::FeatureSet* features_;
5984 bool message_set_wire_format_;
5985 bool no_standard_descriptor_accessor_;
5986 bool deprecated_;
5987 bool map_entry_;
5988 bool deprecated_legacy_json_field_conflicts_;
5989 PROTOBUF_TSAN_DECLARE_MEMBER
5990 };
5991 union { Impl_ _impl_; };
5992 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
5993 };
5994 // -------------------------------------------------------------------
5995
5996 class PROTOBUF_EXPORT FileOptions final : public ::google::protobuf::Message
5997 /* @@protoc_insertion_point(class_definition:google.protobuf.FileOptions) */ {
5998 public:
FileOptions()5999 inline FileOptions() : FileOptions(nullptr) {}
6000 ~FileOptions() PROTOBUF_FINAL;
6001
6002 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(FileOptions * msg,std::destroying_delete_t)6003 void operator delete(FileOptions* msg, std::destroying_delete_t) {
6004 SharedDtor(*msg);
6005 ::google::protobuf::internal::SizedDelete(msg, sizeof(FileOptions));
6006 }
6007 #endif
6008
6009 template <typename = void>
6010 explicit PROTOBUF_CONSTEXPR FileOptions(
6011 ::google::protobuf::internal::ConstantInitialized);
6012
FileOptions(const FileOptions & from)6013 inline FileOptions(const FileOptions& from) : FileOptions(nullptr, from) {}
FileOptions(FileOptions && from)6014 inline FileOptions(FileOptions&& from) noexcept
6015 : FileOptions(nullptr, std::move(from)) {}
6016 inline FileOptions& operator=(const FileOptions& from) {
6017 CopyFrom(from);
6018 return *this;
6019 }
6020 inline FileOptions& operator=(FileOptions&& from) noexcept {
6021 if (this == &from) return *this;
6022 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
6023 InternalSwap(&from);
6024 } else {
6025 CopyFrom(from);
6026 }
6027 return *this;
6028 }
6029
unknown_fields()6030 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
6031 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6032 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
6033 }
mutable_unknown_fields()6034 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
6035 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6036 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
6037 }
6038
descriptor()6039 static const ::google::protobuf::Descriptor* descriptor() {
6040 return GetDescriptor();
6041 }
GetDescriptor()6042 static const ::google::protobuf::Descriptor* GetDescriptor() {
6043 return default_instance().GetMetadata().descriptor;
6044 }
GetReflection()6045 static const ::google::protobuf::Reflection* GetReflection() {
6046 return default_instance().GetMetadata().reflection;
6047 }
default_instance()6048 static const FileOptions& default_instance() {
6049 return *internal_default_instance();
6050 }
internal_default_instance()6051 static inline const FileOptions* internal_default_instance() {
6052 return reinterpret_cast<const FileOptions*>(
6053 &_FileOptions_default_instance_);
6054 }
6055 static constexpr int kIndexInFileMessages = 14;
swap(FileOptions & a,FileOptions & b)6056 friend void swap(FileOptions& a, FileOptions& b) { a.Swap(&b); }
Swap(FileOptions * other)6057 inline void Swap(FileOptions* other) {
6058 if (other == this) return;
6059 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
6060 InternalSwap(other);
6061 } else {
6062 ::google::protobuf::internal::GenericSwap(this, other);
6063 }
6064 }
UnsafeArenaSwap(FileOptions * other)6065 void UnsafeArenaSwap(FileOptions* other) {
6066 if (other == this) return;
6067 ABSL_DCHECK(GetArena() == other->GetArena());
6068 InternalSwap(other);
6069 }
6070
6071 // implements Message ----------------------------------------------
6072
6073 FileOptions* New(::google::protobuf::Arena* arena = nullptr) const {
6074 return ::google::protobuf::Message::DefaultConstruct<FileOptions>(arena);
6075 }
6076 using ::google::protobuf::Message::CopyFrom;
6077 void CopyFrom(const FileOptions& from);
6078 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const FileOptions & from)6079 void MergeFrom(const FileOptions& from) { FileOptions::MergeImpl(*this, from); }
6080
6081 private:
6082 static void MergeImpl(
6083 ::google::protobuf::MessageLite& to_msg,
6084 const ::google::protobuf::MessageLite& from_msg);
6085
6086 public:
IsInitialized()6087 bool IsInitialized() const {
6088 return IsInitializedImpl(*this);
6089 }
6090
6091 private:
6092 static bool IsInitializedImpl(const MessageLite& msg);
6093
6094 public:
6095 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
6096 #if defined(PROTOBUF_CUSTOM_VTABLE)
6097 private:
6098 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
6099 static ::uint8_t* _InternalSerialize(
6100 const MessageLite& msg, ::uint8_t* target,
6101 ::google::protobuf::io::EpsCopyOutputStream* stream);
6102
6103 public:
ByteSizeLong()6104 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)6105 ::uint8_t* _InternalSerialize(
6106 ::uint8_t* target,
6107 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
6108 return _InternalSerialize(*this, target, stream);
6109 }
6110 #else // PROTOBUF_CUSTOM_VTABLE
6111 ::size_t ByteSizeLong() const final;
6112 ::uint8_t* _InternalSerialize(
6113 ::uint8_t* target,
6114 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
6115 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()6116 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
6117
6118 private:
6119 void SharedCtor(::google::protobuf::Arena* arena);
6120 static void SharedDtor(MessageLite& self);
6121 void InternalSwap(FileOptions* other);
6122 private:
6123 template <typename T>
6124 friend ::absl::string_view(
6125 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()6126 static ::absl::string_view FullMessageName() { return "google.protobuf.FileOptions"; }
6127
6128 protected:
6129 explicit FileOptions(::google::protobuf::Arena* arena);
6130 FileOptions(::google::protobuf::Arena* arena, const FileOptions& from);
FileOptions(::google::protobuf::Arena * arena,FileOptions && from)6131 FileOptions(::google::protobuf::Arena* arena, FileOptions&& from) noexcept
6132 : FileOptions(arena) {
6133 *this = ::std::move(from);
6134 }
6135 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
6136 static void* PlacementNew_(const void*, void* mem,
6137 ::google::protobuf::Arena* arena);
6138 static constexpr auto InternalNewImpl_();
6139 static const ::google::protobuf::internal::ClassDataFull _class_data_;
6140
6141 public:
6142 ::google::protobuf::Metadata GetMetadata() const;
6143 // nested types ----------------------------------------------------
6144 using OptimizeMode = FileOptions_OptimizeMode;
6145 static constexpr OptimizeMode SPEED = FileOptions_OptimizeMode_SPEED;
6146 static constexpr OptimizeMode CODE_SIZE = FileOptions_OptimizeMode_CODE_SIZE;
6147 static constexpr OptimizeMode LITE_RUNTIME = FileOptions_OptimizeMode_LITE_RUNTIME;
OptimizeMode_IsValid(int value)6148 static inline bool OptimizeMode_IsValid(int value) {
6149 return FileOptions_OptimizeMode_IsValid(value);
6150 }
6151 static constexpr OptimizeMode OptimizeMode_MIN = FileOptions_OptimizeMode_OptimizeMode_MIN;
6152 static constexpr OptimizeMode OptimizeMode_MAX = FileOptions_OptimizeMode_OptimizeMode_MAX;
6153 static constexpr int OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE;
OptimizeMode_descriptor()6154 static inline const ::google::protobuf::EnumDescriptor* OptimizeMode_descriptor() {
6155 return FileOptions_OptimizeMode_descriptor();
6156 }
6157 template <typename T>
OptimizeMode_Name(T value)6158 static inline const std::string& OptimizeMode_Name(T value) {
6159 return FileOptions_OptimizeMode_Name(value);
6160 }
OptimizeMode_Parse(absl::string_view name,OptimizeMode * value)6161 static inline bool OptimizeMode_Parse(absl::string_view name, OptimizeMode* value) {
6162 return FileOptions_OptimizeMode_Parse(name, value);
6163 }
6164
6165 // accessors -------------------------------------------------------
6166 enum : int {
6167 kUninterpretedOptionFieldNumber = 999,
6168 kJavaPackageFieldNumber = 1,
6169 kJavaOuterClassnameFieldNumber = 8,
6170 kGoPackageFieldNumber = 11,
6171 kObjcClassPrefixFieldNumber = 36,
6172 kCsharpNamespaceFieldNumber = 37,
6173 kSwiftPrefixFieldNumber = 39,
6174 kPhpClassPrefixFieldNumber = 40,
6175 kPhpNamespaceFieldNumber = 41,
6176 kPhpMetadataNamespaceFieldNumber = 44,
6177 kRubyPackageFieldNumber = 45,
6178 kFeaturesFieldNumber = 50,
6179 kJavaMultipleFilesFieldNumber = 10,
6180 kJavaGenerateEqualsAndHashFieldNumber = 20,
6181 kJavaStringCheckUtf8FieldNumber = 27,
6182 kCcGenericServicesFieldNumber = 16,
6183 kJavaGenericServicesFieldNumber = 17,
6184 kPyGenericServicesFieldNumber = 18,
6185 kDeprecatedFieldNumber = 23,
6186 kOptimizeForFieldNumber = 9,
6187 kCcEnableArenasFieldNumber = 31,
6188 };
6189 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
6190 int uninterpreted_option_size() const;
6191 private:
6192 int _internal_uninterpreted_option_size() const;
6193
6194 public:
6195 void clear_uninterpreted_option() ;
6196 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
6197 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option();
6198
6199 private:
6200 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
6201 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option();
6202 public:
6203 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
6204 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
6205 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
6206 // optional string java_package = 1;
6207 bool has_java_package() const;
6208 void clear_java_package() ;
6209 const std::string& java_package() const;
6210 template <typename Arg_ = const std::string&, typename... Args_>
6211 void set_java_package(Arg_&& arg, Args_... args);
6212 std::string* mutable_java_package();
6213 PROTOBUF_NODISCARD std::string* release_java_package();
6214 void set_allocated_java_package(std::string* value);
6215
6216 private:
6217 const std::string& _internal_java_package() const;
6218 inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_package(
6219 const std::string& value);
6220 std::string* _internal_mutable_java_package();
6221
6222 public:
6223 // optional string java_outer_classname = 8;
6224 bool has_java_outer_classname() const;
6225 void clear_java_outer_classname() ;
6226 const std::string& java_outer_classname() const;
6227 template <typename Arg_ = const std::string&, typename... Args_>
6228 void set_java_outer_classname(Arg_&& arg, Args_... args);
6229 std::string* mutable_java_outer_classname();
6230 PROTOBUF_NODISCARD std::string* release_java_outer_classname();
6231 void set_allocated_java_outer_classname(std::string* value);
6232
6233 private:
6234 const std::string& _internal_java_outer_classname() const;
6235 inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_outer_classname(
6236 const std::string& value);
6237 std::string* _internal_mutable_java_outer_classname();
6238
6239 public:
6240 // optional string go_package = 11;
6241 bool has_go_package() const;
6242 void clear_go_package() ;
6243 const std::string& go_package() const;
6244 template <typename Arg_ = const std::string&, typename... Args_>
6245 void set_go_package(Arg_&& arg, Args_... args);
6246 std::string* mutable_go_package();
6247 PROTOBUF_NODISCARD std::string* release_go_package();
6248 void set_allocated_go_package(std::string* value);
6249
6250 private:
6251 const std::string& _internal_go_package() const;
6252 inline PROTOBUF_ALWAYS_INLINE void _internal_set_go_package(
6253 const std::string& value);
6254 std::string* _internal_mutable_go_package();
6255
6256 public:
6257 // optional string objc_class_prefix = 36;
6258 bool has_objc_class_prefix() const;
6259 void clear_objc_class_prefix() ;
6260 const std::string& objc_class_prefix() const;
6261 template <typename Arg_ = const std::string&, typename... Args_>
6262 void set_objc_class_prefix(Arg_&& arg, Args_... args);
6263 std::string* mutable_objc_class_prefix();
6264 PROTOBUF_NODISCARD std::string* release_objc_class_prefix();
6265 void set_allocated_objc_class_prefix(std::string* value);
6266
6267 private:
6268 const std::string& _internal_objc_class_prefix() const;
6269 inline PROTOBUF_ALWAYS_INLINE void _internal_set_objc_class_prefix(
6270 const std::string& value);
6271 std::string* _internal_mutable_objc_class_prefix();
6272
6273 public:
6274 // optional string csharp_namespace = 37;
6275 bool has_csharp_namespace() const;
6276 void clear_csharp_namespace() ;
6277 const std::string& csharp_namespace() const;
6278 template <typename Arg_ = const std::string&, typename... Args_>
6279 void set_csharp_namespace(Arg_&& arg, Args_... args);
6280 std::string* mutable_csharp_namespace();
6281 PROTOBUF_NODISCARD std::string* release_csharp_namespace();
6282 void set_allocated_csharp_namespace(std::string* value);
6283
6284 private:
6285 const std::string& _internal_csharp_namespace() const;
6286 inline PROTOBUF_ALWAYS_INLINE void _internal_set_csharp_namespace(
6287 const std::string& value);
6288 std::string* _internal_mutable_csharp_namespace();
6289
6290 public:
6291 // optional string swift_prefix = 39;
6292 bool has_swift_prefix() const;
6293 void clear_swift_prefix() ;
6294 const std::string& swift_prefix() const;
6295 template <typename Arg_ = const std::string&, typename... Args_>
6296 void set_swift_prefix(Arg_&& arg, Args_... args);
6297 std::string* mutable_swift_prefix();
6298 PROTOBUF_NODISCARD std::string* release_swift_prefix();
6299 void set_allocated_swift_prefix(std::string* value);
6300
6301 private:
6302 const std::string& _internal_swift_prefix() const;
6303 inline PROTOBUF_ALWAYS_INLINE void _internal_set_swift_prefix(
6304 const std::string& value);
6305 std::string* _internal_mutable_swift_prefix();
6306
6307 public:
6308 // optional string php_class_prefix = 40;
6309 bool has_php_class_prefix() const;
6310 void clear_php_class_prefix() ;
6311 const std::string& php_class_prefix() const;
6312 template <typename Arg_ = const std::string&, typename... Args_>
6313 void set_php_class_prefix(Arg_&& arg, Args_... args);
6314 std::string* mutable_php_class_prefix();
6315 PROTOBUF_NODISCARD std::string* release_php_class_prefix();
6316 void set_allocated_php_class_prefix(std::string* value);
6317
6318 private:
6319 const std::string& _internal_php_class_prefix() const;
6320 inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_class_prefix(
6321 const std::string& value);
6322 std::string* _internal_mutable_php_class_prefix();
6323
6324 public:
6325 // optional string php_namespace = 41;
6326 bool has_php_namespace() const;
6327 void clear_php_namespace() ;
6328 const std::string& php_namespace() const;
6329 template <typename Arg_ = const std::string&, typename... Args_>
6330 void set_php_namespace(Arg_&& arg, Args_... args);
6331 std::string* mutable_php_namespace();
6332 PROTOBUF_NODISCARD std::string* release_php_namespace();
6333 void set_allocated_php_namespace(std::string* value);
6334
6335 private:
6336 const std::string& _internal_php_namespace() const;
6337 inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_namespace(
6338 const std::string& value);
6339 std::string* _internal_mutable_php_namespace();
6340
6341 public:
6342 // optional string php_metadata_namespace = 44;
6343 bool has_php_metadata_namespace() const;
6344 void clear_php_metadata_namespace() ;
6345 const std::string& php_metadata_namespace() const;
6346 template <typename Arg_ = const std::string&, typename... Args_>
6347 void set_php_metadata_namespace(Arg_&& arg, Args_... args);
6348 std::string* mutable_php_metadata_namespace();
6349 PROTOBUF_NODISCARD std::string* release_php_metadata_namespace();
6350 void set_allocated_php_metadata_namespace(std::string* value);
6351
6352 private:
6353 const std::string& _internal_php_metadata_namespace() const;
6354 inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_metadata_namespace(
6355 const std::string& value);
6356 std::string* _internal_mutable_php_metadata_namespace();
6357
6358 public:
6359 // optional string ruby_package = 45;
6360 bool has_ruby_package() const;
6361 void clear_ruby_package() ;
6362 const std::string& ruby_package() const;
6363 template <typename Arg_ = const std::string&, typename... Args_>
6364 void set_ruby_package(Arg_&& arg, Args_... args);
6365 std::string* mutable_ruby_package();
6366 PROTOBUF_NODISCARD std::string* release_ruby_package();
6367 void set_allocated_ruby_package(std::string* value);
6368
6369 private:
6370 const std::string& _internal_ruby_package() const;
6371 inline PROTOBUF_ALWAYS_INLINE void _internal_set_ruby_package(
6372 const std::string& value);
6373 std::string* _internal_mutable_ruby_package();
6374
6375 public:
6376 // optional .google.protobuf.FeatureSet features = 50;
6377 bool has_features() const;
6378 void clear_features() ;
6379 const ::google::protobuf::FeatureSet& features() const;
6380 PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features();
6381 ::google::protobuf::FeatureSet* mutable_features();
6382 void set_allocated_features(::google::protobuf::FeatureSet* value);
6383 void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value);
6384 ::google::protobuf::FeatureSet* unsafe_arena_release_features();
6385
6386 private:
6387 const ::google::protobuf::FeatureSet& _internal_features() const;
6388 ::google::protobuf::FeatureSet* _internal_mutable_features();
6389
6390 public:
6391 // optional bool java_multiple_files = 10 [default = false];
6392 bool has_java_multiple_files() const;
6393 void clear_java_multiple_files() ;
6394 bool java_multiple_files() const;
6395 void set_java_multiple_files(bool value);
6396
6397 private:
6398 bool _internal_java_multiple_files() const;
6399 void _internal_set_java_multiple_files(bool value);
6400
6401 public:
6402 // optional bool java_generate_equals_and_hash = 20 [deprecated = true];
6403 [[deprecated]] bool has_java_generate_equals_and_hash() const;
6404 [[deprecated]] void clear_java_generate_equals_and_hash() ;
6405 [[deprecated]] bool java_generate_equals_and_hash() const;
6406 [[deprecated]] void set_java_generate_equals_and_hash(bool value);
6407
6408 private:
6409 bool _internal_java_generate_equals_and_hash() const;
6410 void _internal_set_java_generate_equals_and_hash(bool value);
6411
6412 public:
6413 // optional bool java_string_check_utf8 = 27 [default = false];
6414 bool has_java_string_check_utf8() const;
6415 void clear_java_string_check_utf8() ;
6416 bool java_string_check_utf8() const;
6417 void set_java_string_check_utf8(bool value);
6418
6419 private:
6420 bool _internal_java_string_check_utf8() const;
6421 void _internal_set_java_string_check_utf8(bool value);
6422
6423 public:
6424 // optional bool cc_generic_services = 16 [default = false];
6425 bool has_cc_generic_services() const;
6426 void clear_cc_generic_services() ;
6427 bool cc_generic_services() const;
6428 void set_cc_generic_services(bool value);
6429
6430 private:
6431 bool _internal_cc_generic_services() const;
6432 void _internal_set_cc_generic_services(bool value);
6433
6434 public:
6435 // optional bool java_generic_services = 17 [default = false];
6436 bool has_java_generic_services() const;
6437 void clear_java_generic_services() ;
6438 bool java_generic_services() const;
6439 void set_java_generic_services(bool value);
6440
6441 private:
6442 bool _internal_java_generic_services() const;
6443 void _internal_set_java_generic_services(bool value);
6444
6445 public:
6446 // optional bool py_generic_services = 18 [default = false];
6447 bool has_py_generic_services() const;
6448 void clear_py_generic_services() ;
6449 bool py_generic_services() const;
6450 void set_py_generic_services(bool value);
6451
6452 private:
6453 bool _internal_py_generic_services() const;
6454 void _internal_set_py_generic_services(bool value);
6455
6456 public:
6457 // optional bool deprecated = 23 [default = false];
6458 bool has_deprecated() const;
6459 void clear_deprecated() ;
6460 bool deprecated() const;
6461 void set_deprecated(bool value);
6462
6463 private:
6464 bool _internal_deprecated() const;
6465 void _internal_set_deprecated(bool value);
6466
6467 public:
6468 // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
6469 bool has_optimize_for() const;
6470 void clear_optimize_for() ;
6471 ::google::protobuf::FileOptions_OptimizeMode optimize_for() const;
6472 void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value);
6473
6474 private:
6475 ::google::protobuf::FileOptions_OptimizeMode _internal_optimize_for() const;
6476 void _internal_set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value);
6477
6478 public:
6479 // optional bool cc_enable_arenas = 31 [default = true];
6480 bool has_cc_enable_arenas() const;
6481 void clear_cc_enable_arenas() ;
6482 bool cc_enable_arenas() const;
6483 void set_cc_enable_arenas(bool value);
6484
6485 private:
6486 bool _internal_cc_enable_arenas() const;
6487 void _internal_set_cc_enable_arenas(bool value);
6488
6489 public:
6490 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6491 bool _is_packed,
6492 typename = typename _proto_TypeTraits::Singular>
HasExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id)6493 inline bool HasExtension(
6494 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6495 _field_type, _is_packed>& id) const {
6496 return _impl_._extensions_.Has(id.number());
6497 }
6498
6499 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6500 bool _is_packed>
ClearExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id)6501 inline void ClearExtension(
6502 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6503 _field_type, _is_packed>& id) {
6504 _impl_._extensions_.ClearExtension(id.number());
6505 }
6506
6507 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6508 bool _is_packed,
6509 typename = typename _proto_TypeTraits::Repeated>
ExtensionSize(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id)6510 inline int ExtensionSize(
6511 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6512 _field_type, _is_packed>& id) const {
6513 return _impl_._extensions_.ExtensionSize(id.number());
6514 }
6515
6516 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6517 bool _is_packed,
6518 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id)6519 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
6520 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6521 _field_type, _is_packed>& id) const {
6522 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
6523 }
6524
6525 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6526 bool _is_packed,
6527 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id)6528 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
6529 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6530 _field_type, _is_packed>& id) const
6531 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6532 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
6533 }
6534
6535 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6536 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id)6537 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
6538 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6539 _field_type, _is_packed>& id)
6540 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6541 return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_);
6542 }
6543
6544 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6545 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::ConstType value)6546 inline void SetExtension(
6547 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6548 _field_type, _is_packed>& id,
6549 typename _proto_TypeTraits::Singular::ConstType value) {
6550 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
6551 }
6552
6553 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6554 bool _is_packed>
SetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)6555 inline void SetAllocatedExtension(
6556 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6557 _field_type, _is_packed>& id,
6558 typename _proto_TypeTraits::Singular::MutableType value) {
6559 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
6560 &_impl_._extensions_);
6561 }
6562 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6563 bool _is_packed>
UnsafeArenaSetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)6564 inline void UnsafeArenaSetAllocatedExtension(
6565 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6566 _field_type, _is_packed>& id,
6567 typename _proto_TypeTraits::Singular::MutableType value) {
6568 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
6569 value, &_impl_._extensions_);
6570 }
6571 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6572 bool _is_packed>
6573 PROTOBUF_NODISCARD inline
6574 typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id)6575 ReleaseExtension(
6576 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6577 _field_type, _is_packed>& id) {
6578 return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_);
6579 }
6580 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6581 bool _is_packed>
6582 inline typename _proto_TypeTraits::Singular::MutableType
UnsafeArenaReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id)6583 UnsafeArenaReleaseExtension(
6584 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6585 _field_type, _is_packed>& id) {
6586 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
6587 &_impl_._extensions_);
6588 }
6589
6590 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6591 bool _is_packed,
6592 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)6593 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
6594 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6595 _field_type, _is_packed>& id,
6596 int index) const {
6597 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
6598 }
6599
6600 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6601 bool _is_packed,
6602 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)6603 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
6604 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6605 _field_type, _is_packed>& id,
6606 int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND {
6607 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
6608 }
6609
6610 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6611 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)6612 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
6613 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6614 _field_type, _is_packed>& id,
6615 int index) ABSL_ATTRIBUTE_LIFETIME_BOUND {
6616 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
6617 }
6618
6619 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6620 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index,typename _proto_TypeTraits::Repeated::ConstType value)6621 inline void SetExtension(
6622 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6623 _field_type, _is_packed>& id,
6624 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
6625 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
6626 }
6627
6628 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6629 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id)6630 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
6631 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6632 _field_type, _is_packed>& id)
6633 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6634 typename _proto_TypeTraits::Repeated::MutableType to_add =
6635 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
6636 return to_add;
6637 }
6638
6639 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6640 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Repeated::ConstType value)6641 inline void AddExtension(
6642 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6643 _field_type, _is_packed>& id,
6644 typename _proto_TypeTraits::Repeated::ConstType value) {
6645 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
6646 &_impl_._extensions_);
6647 }
6648
6649 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6650 bool _is_packed>
6651 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
GetRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id)6652 GetRepeatedExtension(
6653 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6654 _field_type, _is_packed>& id) const
6655 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6656 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
6657 }
6658
6659 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
6660 bool _is_packed>
6661 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
MutableRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<FileOptions,_proto_TypeTraits,_field_type,_is_packed> & id)6662 MutableRepeatedExtension(
6663 const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _proto_TypeTraits,
6664 _field_type, _is_packed>& id)
6665 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6666 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
6667 _is_packed, &_impl_._extensions_);
6668 }
6669 // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions)
6670 private:
6671 class _Internal;
6672 friend class ::google::protobuf::internal::TcParser;
6673 static const ::google::protobuf::internal::TcParseTable<
6674 5, 21, 3,
6675 202, 12>
6676 _table_;
6677
6678 friend class ::google::protobuf::MessageLite;
6679 friend class ::google::protobuf::Arena;
6680 template <typename T>
6681 friend class ::google::protobuf::Arena::InternalHelper;
6682 using InternalArenaConstructable_ = void;
6683 using DestructorSkippable_ = void;
6684 struct Impl_ {
6685 inline explicit constexpr Impl_(
6686 ::google::protobuf::internal::ConstantInitialized) noexcept;
6687 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
6688 ::google::protobuf::Arena* arena);
6689 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
6690 ::google::protobuf::Arena* arena, const Impl_& from,
6691 const FileOptions& from_msg);
6692 ::google::protobuf::internal::ExtensionSet _extensions_;
6693 ::google::protobuf::internal::HasBits<1> _has_bits_;
6694 ::google::protobuf::internal::CachedSize _cached_size_;
6695 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
6696 ::google::protobuf::internal::ArenaStringPtr java_package_;
6697 ::google::protobuf::internal::ArenaStringPtr java_outer_classname_;
6698 ::google::protobuf::internal::ArenaStringPtr go_package_;
6699 ::google::protobuf::internal::ArenaStringPtr objc_class_prefix_;
6700 ::google::protobuf::internal::ArenaStringPtr csharp_namespace_;
6701 ::google::protobuf::internal::ArenaStringPtr swift_prefix_;
6702 ::google::protobuf::internal::ArenaStringPtr php_class_prefix_;
6703 ::google::protobuf::internal::ArenaStringPtr php_namespace_;
6704 ::google::protobuf::internal::ArenaStringPtr php_metadata_namespace_;
6705 ::google::protobuf::internal::ArenaStringPtr ruby_package_;
6706 ::google::protobuf::FeatureSet* features_;
6707 bool java_multiple_files_;
6708 bool java_generate_equals_and_hash_;
6709 bool java_string_check_utf8_;
6710 bool cc_generic_services_;
6711 bool java_generic_services_;
6712 bool py_generic_services_;
6713 bool deprecated_;
6714 int optimize_for_;
6715 bool cc_enable_arenas_;
6716 PROTOBUF_TSAN_DECLARE_MEMBER
6717 };
6718 union { Impl_ _impl_; };
6719 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
6720 };
6721 // -------------------------------------------------------------------
6722
6723 class PROTOBUF_EXPORT FieldOptions final : public ::google::protobuf::Message
6724 /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ {
6725 public:
FieldOptions()6726 inline FieldOptions() : FieldOptions(nullptr) {}
6727 ~FieldOptions() PROTOBUF_FINAL;
6728
6729 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(FieldOptions * msg,std::destroying_delete_t)6730 void operator delete(FieldOptions* msg, std::destroying_delete_t) {
6731 SharedDtor(*msg);
6732 ::google::protobuf::internal::SizedDelete(msg, sizeof(FieldOptions));
6733 }
6734 #endif
6735
6736 template <typename = void>
6737 explicit PROTOBUF_CONSTEXPR FieldOptions(
6738 ::google::protobuf::internal::ConstantInitialized);
6739
FieldOptions(const FieldOptions & from)6740 inline FieldOptions(const FieldOptions& from) : FieldOptions(nullptr, from) {}
FieldOptions(FieldOptions && from)6741 inline FieldOptions(FieldOptions&& from) noexcept
6742 : FieldOptions(nullptr, std::move(from)) {}
6743 inline FieldOptions& operator=(const FieldOptions& from) {
6744 CopyFrom(from);
6745 return *this;
6746 }
6747 inline FieldOptions& operator=(FieldOptions&& from) noexcept {
6748 if (this == &from) return *this;
6749 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
6750 InternalSwap(&from);
6751 } else {
6752 CopyFrom(from);
6753 }
6754 return *this;
6755 }
6756
unknown_fields()6757 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
6758 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6759 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
6760 }
mutable_unknown_fields()6761 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
6762 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6763 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
6764 }
6765
descriptor()6766 static const ::google::protobuf::Descriptor* descriptor() {
6767 return GetDescriptor();
6768 }
GetDescriptor()6769 static const ::google::protobuf::Descriptor* GetDescriptor() {
6770 return default_instance().GetMetadata().descriptor;
6771 }
GetReflection()6772 static const ::google::protobuf::Reflection* GetReflection() {
6773 return default_instance().GetMetadata().reflection;
6774 }
default_instance()6775 static const FieldOptions& default_instance() {
6776 return *internal_default_instance();
6777 }
internal_default_instance()6778 static inline const FieldOptions* internal_default_instance() {
6779 return reinterpret_cast<const FieldOptions*>(
6780 &_FieldOptions_default_instance_);
6781 }
6782 static constexpr int kIndexInFileMessages = 18;
swap(FieldOptions & a,FieldOptions & b)6783 friend void swap(FieldOptions& a, FieldOptions& b) { a.Swap(&b); }
Swap(FieldOptions * other)6784 inline void Swap(FieldOptions* other) {
6785 if (other == this) return;
6786 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
6787 InternalSwap(other);
6788 } else {
6789 ::google::protobuf::internal::GenericSwap(this, other);
6790 }
6791 }
UnsafeArenaSwap(FieldOptions * other)6792 void UnsafeArenaSwap(FieldOptions* other) {
6793 if (other == this) return;
6794 ABSL_DCHECK(GetArena() == other->GetArena());
6795 InternalSwap(other);
6796 }
6797
6798 // implements Message ----------------------------------------------
6799
6800 FieldOptions* New(::google::protobuf::Arena* arena = nullptr) const {
6801 return ::google::protobuf::Message::DefaultConstruct<FieldOptions>(arena);
6802 }
6803 using ::google::protobuf::Message::CopyFrom;
6804 void CopyFrom(const FieldOptions& from);
6805 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const FieldOptions & from)6806 void MergeFrom(const FieldOptions& from) { FieldOptions::MergeImpl(*this, from); }
6807
6808 private:
6809 static void MergeImpl(
6810 ::google::protobuf::MessageLite& to_msg,
6811 const ::google::protobuf::MessageLite& from_msg);
6812
6813 public:
IsInitialized()6814 bool IsInitialized() const {
6815 return IsInitializedImpl(*this);
6816 }
6817
6818 private:
6819 static bool IsInitializedImpl(const MessageLite& msg);
6820
6821 public:
6822 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
6823 #if defined(PROTOBUF_CUSTOM_VTABLE)
6824 private:
6825 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
6826 static ::uint8_t* _InternalSerialize(
6827 const MessageLite& msg, ::uint8_t* target,
6828 ::google::protobuf::io::EpsCopyOutputStream* stream);
6829
6830 public:
ByteSizeLong()6831 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)6832 ::uint8_t* _InternalSerialize(
6833 ::uint8_t* target,
6834 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
6835 return _InternalSerialize(*this, target, stream);
6836 }
6837 #else // PROTOBUF_CUSTOM_VTABLE
6838 ::size_t ByteSizeLong() const final;
6839 ::uint8_t* _InternalSerialize(
6840 ::uint8_t* target,
6841 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
6842 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()6843 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
6844
6845 private:
6846 void SharedCtor(::google::protobuf::Arena* arena);
6847 static void SharedDtor(MessageLite& self);
6848 void InternalSwap(FieldOptions* other);
6849 private:
6850 template <typename T>
6851 friend ::absl::string_view(
6852 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()6853 static ::absl::string_view FullMessageName() { return "google.protobuf.FieldOptions"; }
6854
6855 protected:
6856 explicit FieldOptions(::google::protobuf::Arena* arena);
6857 FieldOptions(::google::protobuf::Arena* arena, const FieldOptions& from);
FieldOptions(::google::protobuf::Arena * arena,FieldOptions && from)6858 FieldOptions(::google::protobuf::Arena* arena, FieldOptions&& from) noexcept
6859 : FieldOptions(arena) {
6860 *this = ::std::move(from);
6861 }
6862 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
6863 static void* PlacementNew_(const void*, void* mem,
6864 ::google::protobuf::Arena* arena);
6865 static constexpr auto InternalNewImpl_();
6866 static const ::google::protobuf::internal::ClassDataFull _class_data_;
6867
6868 public:
6869 ::google::protobuf::Metadata GetMetadata() const;
6870 // nested types ----------------------------------------------------
6871 using EditionDefault = FieldOptions_EditionDefault;
6872 using FeatureSupport = FieldOptions_FeatureSupport;
6873 using CType = FieldOptions_CType;
6874 static constexpr CType STRING = FieldOptions_CType_STRING;
6875 static constexpr CType CORD = FieldOptions_CType_CORD;
6876 static constexpr CType STRING_PIECE = FieldOptions_CType_STRING_PIECE;
CType_IsValid(int value)6877 static inline bool CType_IsValid(int value) {
6878 return FieldOptions_CType_IsValid(value);
6879 }
6880 static constexpr CType CType_MIN = FieldOptions_CType_CType_MIN;
6881 static constexpr CType CType_MAX = FieldOptions_CType_CType_MAX;
6882 static constexpr int CType_ARRAYSIZE = FieldOptions_CType_CType_ARRAYSIZE;
CType_descriptor()6883 static inline const ::google::protobuf::EnumDescriptor* CType_descriptor() {
6884 return FieldOptions_CType_descriptor();
6885 }
6886 template <typename T>
CType_Name(T value)6887 static inline const std::string& CType_Name(T value) {
6888 return FieldOptions_CType_Name(value);
6889 }
CType_Parse(absl::string_view name,CType * value)6890 static inline bool CType_Parse(absl::string_view name, CType* value) {
6891 return FieldOptions_CType_Parse(name, value);
6892 }
6893 using JSType = FieldOptions_JSType;
6894 static constexpr JSType JS_NORMAL = FieldOptions_JSType_JS_NORMAL;
6895 static constexpr JSType JS_STRING = FieldOptions_JSType_JS_STRING;
6896 static constexpr JSType JS_NUMBER = FieldOptions_JSType_JS_NUMBER;
JSType_IsValid(int value)6897 static inline bool JSType_IsValid(int value) {
6898 return FieldOptions_JSType_IsValid(value);
6899 }
6900 static constexpr JSType JSType_MIN = FieldOptions_JSType_JSType_MIN;
6901 static constexpr JSType JSType_MAX = FieldOptions_JSType_JSType_MAX;
6902 static constexpr int JSType_ARRAYSIZE = FieldOptions_JSType_JSType_ARRAYSIZE;
JSType_descriptor()6903 static inline const ::google::protobuf::EnumDescriptor* JSType_descriptor() {
6904 return FieldOptions_JSType_descriptor();
6905 }
6906 template <typename T>
JSType_Name(T value)6907 static inline const std::string& JSType_Name(T value) {
6908 return FieldOptions_JSType_Name(value);
6909 }
JSType_Parse(absl::string_view name,JSType * value)6910 static inline bool JSType_Parse(absl::string_view name, JSType* value) {
6911 return FieldOptions_JSType_Parse(name, value);
6912 }
6913 using OptionRetention = FieldOptions_OptionRetention;
6914 static constexpr OptionRetention RETENTION_UNKNOWN = FieldOptions_OptionRetention_RETENTION_UNKNOWN;
6915 static constexpr OptionRetention RETENTION_RUNTIME = FieldOptions_OptionRetention_RETENTION_RUNTIME;
6916 static constexpr OptionRetention RETENTION_SOURCE = FieldOptions_OptionRetention_RETENTION_SOURCE;
OptionRetention_IsValid(int value)6917 static inline bool OptionRetention_IsValid(int value) {
6918 return FieldOptions_OptionRetention_IsValid(value);
6919 }
6920 static constexpr OptionRetention OptionRetention_MIN = FieldOptions_OptionRetention_OptionRetention_MIN;
6921 static constexpr OptionRetention OptionRetention_MAX = FieldOptions_OptionRetention_OptionRetention_MAX;
6922 static constexpr int OptionRetention_ARRAYSIZE = FieldOptions_OptionRetention_OptionRetention_ARRAYSIZE;
OptionRetention_descriptor()6923 static inline const ::google::protobuf::EnumDescriptor* OptionRetention_descriptor() {
6924 return FieldOptions_OptionRetention_descriptor();
6925 }
6926 template <typename T>
OptionRetention_Name(T value)6927 static inline const std::string& OptionRetention_Name(T value) {
6928 return FieldOptions_OptionRetention_Name(value);
6929 }
OptionRetention_Parse(absl::string_view name,OptionRetention * value)6930 static inline bool OptionRetention_Parse(absl::string_view name, OptionRetention* value) {
6931 return FieldOptions_OptionRetention_Parse(name, value);
6932 }
6933 using OptionTargetType = FieldOptions_OptionTargetType;
6934 static constexpr OptionTargetType TARGET_TYPE_UNKNOWN = FieldOptions_OptionTargetType_TARGET_TYPE_UNKNOWN;
6935 static constexpr OptionTargetType TARGET_TYPE_FILE = FieldOptions_OptionTargetType_TARGET_TYPE_FILE;
6936 static constexpr OptionTargetType TARGET_TYPE_EXTENSION_RANGE = FieldOptions_OptionTargetType_TARGET_TYPE_EXTENSION_RANGE;
6937 static constexpr OptionTargetType TARGET_TYPE_MESSAGE = FieldOptions_OptionTargetType_TARGET_TYPE_MESSAGE;
6938 static constexpr OptionTargetType TARGET_TYPE_FIELD = FieldOptions_OptionTargetType_TARGET_TYPE_FIELD;
6939 static constexpr OptionTargetType TARGET_TYPE_ONEOF = FieldOptions_OptionTargetType_TARGET_TYPE_ONEOF;
6940 static constexpr OptionTargetType TARGET_TYPE_ENUM = FieldOptions_OptionTargetType_TARGET_TYPE_ENUM;
6941 static constexpr OptionTargetType TARGET_TYPE_ENUM_ENTRY = FieldOptions_OptionTargetType_TARGET_TYPE_ENUM_ENTRY;
6942 static constexpr OptionTargetType TARGET_TYPE_SERVICE = FieldOptions_OptionTargetType_TARGET_TYPE_SERVICE;
6943 static constexpr OptionTargetType TARGET_TYPE_METHOD = FieldOptions_OptionTargetType_TARGET_TYPE_METHOD;
OptionTargetType_IsValid(int value)6944 static inline bool OptionTargetType_IsValid(int value) {
6945 return FieldOptions_OptionTargetType_IsValid(value);
6946 }
6947 static constexpr OptionTargetType OptionTargetType_MIN = FieldOptions_OptionTargetType_OptionTargetType_MIN;
6948 static constexpr OptionTargetType OptionTargetType_MAX = FieldOptions_OptionTargetType_OptionTargetType_MAX;
6949 static constexpr int OptionTargetType_ARRAYSIZE = FieldOptions_OptionTargetType_OptionTargetType_ARRAYSIZE;
OptionTargetType_descriptor()6950 static inline const ::google::protobuf::EnumDescriptor* OptionTargetType_descriptor() {
6951 return FieldOptions_OptionTargetType_descriptor();
6952 }
6953 template <typename T>
OptionTargetType_Name(T value)6954 static inline const std::string& OptionTargetType_Name(T value) {
6955 return FieldOptions_OptionTargetType_Name(value);
6956 }
OptionTargetType_Parse(absl::string_view name,OptionTargetType * value)6957 static inline bool OptionTargetType_Parse(absl::string_view name, OptionTargetType* value) {
6958 return FieldOptions_OptionTargetType_Parse(name, value);
6959 }
6960
6961 // accessors -------------------------------------------------------
6962 enum : int {
6963 kTargetsFieldNumber = 19,
6964 kEditionDefaultsFieldNumber = 20,
6965 kUninterpretedOptionFieldNumber = 999,
6966 kFeaturesFieldNumber = 21,
6967 kFeatureSupportFieldNumber = 22,
6968 kCtypeFieldNumber = 1,
6969 kJstypeFieldNumber = 6,
6970 kPackedFieldNumber = 2,
6971 kLazyFieldNumber = 5,
6972 kUnverifiedLazyFieldNumber = 15,
6973 kDeprecatedFieldNumber = 3,
6974 kWeakFieldNumber = 10,
6975 kDebugRedactFieldNumber = 16,
6976 kRetentionFieldNumber = 17,
6977 };
6978 // repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;
6979 int targets_size() const;
6980 private:
6981 int _internal_targets_size() const;
6982
6983 public:
6984 void clear_targets() ;
6985 public:
6986 ::google::protobuf::FieldOptions_OptionTargetType targets(int index) const;
6987 void set_targets(int index, ::google::protobuf::FieldOptions_OptionTargetType value);
6988 void add_targets(::google::protobuf::FieldOptions_OptionTargetType value);
6989 const ::google::protobuf::RepeatedField<int>& targets() const;
6990 ::google::protobuf::RepeatedField<int>* mutable_targets();
6991
6992 private:
6993 const ::google::protobuf::RepeatedField<int>& _internal_targets() const;
6994 ::google::protobuf::RepeatedField<int>* _internal_mutable_targets();
6995
6996 public:
6997 // repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;
6998 int edition_defaults_size() const;
6999 private:
7000 int _internal_edition_defaults_size() const;
7001
7002 public:
7003 void clear_edition_defaults() ;
7004 ::google::protobuf::FieldOptions_EditionDefault* mutable_edition_defaults(int index);
7005 ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>* mutable_edition_defaults();
7006
7007 private:
7008 const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>& _internal_edition_defaults() const;
7009 ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>* _internal_mutable_edition_defaults();
7010 public:
7011 const ::google::protobuf::FieldOptions_EditionDefault& edition_defaults(int index) const;
7012 ::google::protobuf::FieldOptions_EditionDefault* add_edition_defaults();
7013 const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>& edition_defaults() const;
7014 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7015 int uninterpreted_option_size() const;
7016 private:
7017 int _internal_uninterpreted_option_size() const;
7018
7019 public:
7020 void clear_uninterpreted_option() ;
7021 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
7022 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option();
7023
7024 private:
7025 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
7026 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option();
7027 public:
7028 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
7029 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
7030 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
7031 // optional .google.protobuf.FeatureSet features = 21;
7032 bool has_features() const;
7033 void clear_features() ;
7034 const ::google::protobuf::FeatureSet& features() const;
7035 PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features();
7036 ::google::protobuf::FeatureSet* mutable_features();
7037 void set_allocated_features(::google::protobuf::FeatureSet* value);
7038 void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value);
7039 ::google::protobuf::FeatureSet* unsafe_arena_release_features();
7040
7041 private:
7042 const ::google::protobuf::FeatureSet& _internal_features() const;
7043 ::google::protobuf::FeatureSet* _internal_mutable_features();
7044
7045 public:
7046 // optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;
7047 bool has_feature_support() const;
7048 void clear_feature_support() ;
7049 const ::google::protobuf::FieldOptions_FeatureSupport& feature_support() const;
7050 PROTOBUF_NODISCARD ::google::protobuf::FieldOptions_FeatureSupport* release_feature_support();
7051 ::google::protobuf::FieldOptions_FeatureSupport* mutable_feature_support();
7052 void set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value);
7053 void unsafe_arena_set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value);
7054 ::google::protobuf::FieldOptions_FeatureSupport* unsafe_arena_release_feature_support();
7055
7056 private:
7057 const ::google::protobuf::FieldOptions_FeatureSupport& _internal_feature_support() const;
7058 ::google::protobuf::FieldOptions_FeatureSupport* _internal_mutable_feature_support();
7059
7060 public:
7061 // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
7062 bool has_ctype() const;
7063 void clear_ctype() ;
7064 ::google::protobuf::FieldOptions_CType ctype() const;
7065 void set_ctype(::google::protobuf::FieldOptions_CType value);
7066
7067 private:
7068 ::google::protobuf::FieldOptions_CType _internal_ctype() const;
7069 void _internal_set_ctype(::google::protobuf::FieldOptions_CType value);
7070
7071 public:
7072 // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
7073 bool has_jstype() const;
7074 void clear_jstype() ;
7075 ::google::protobuf::FieldOptions_JSType jstype() const;
7076 void set_jstype(::google::protobuf::FieldOptions_JSType value);
7077
7078 private:
7079 ::google::protobuf::FieldOptions_JSType _internal_jstype() const;
7080 void _internal_set_jstype(::google::protobuf::FieldOptions_JSType value);
7081
7082 public:
7083 // optional bool packed = 2;
7084 bool has_packed() const;
7085 void clear_packed() ;
7086 bool packed() const;
7087 void set_packed(bool value);
7088
7089 private:
7090 bool _internal_packed() const;
7091 void _internal_set_packed(bool value);
7092
7093 public:
7094 // optional bool lazy = 5 [default = false];
7095 bool has_lazy() const;
7096 void clear_lazy() ;
7097 bool lazy() const;
7098 void set_lazy(bool value);
7099
7100 private:
7101 bool _internal_lazy() const;
7102 void _internal_set_lazy(bool value);
7103
7104 public:
7105 // optional bool unverified_lazy = 15 [default = false];
7106 bool has_unverified_lazy() const;
7107 void clear_unverified_lazy() ;
7108 bool unverified_lazy() const;
7109 void set_unverified_lazy(bool value);
7110
7111 private:
7112 bool _internal_unverified_lazy() const;
7113 void _internal_set_unverified_lazy(bool value);
7114
7115 public:
7116 // optional bool deprecated = 3 [default = false];
7117 bool has_deprecated() const;
7118 void clear_deprecated() ;
7119 bool deprecated() const;
7120 void set_deprecated(bool value);
7121
7122 private:
7123 bool _internal_deprecated() const;
7124 void _internal_set_deprecated(bool value);
7125
7126 public:
7127 // optional bool weak = 10 [default = false];
7128 bool has_weak() const;
7129 void clear_weak() ;
7130 bool weak() const;
7131 void set_weak(bool value);
7132
7133 private:
7134 bool _internal_weak() const;
7135 void _internal_set_weak(bool value);
7136
7137 public:
7138 // optional bool debug_redact = 16 [default = false];
7139 bool has_debug_redact() const;
7140 void clear_debug_redact() ;
7141 bool debug_redact() const;
7142 void set_debug_redact(bool value);
7143
7144 private:
7145 bool _internal_debug_redact() const;
7146 void _internal_set_debug_redact(bool value);
7147
7148 public:
7149 // optional .google.protobuf.FieldOptions.OptionRetention retention = 17;
7150 bool has_retention() const;
7151 void clear_retention() ;
7152 ::google::protobuf::FieldOptions_OptionRetention retention() const;
7153 void set_retention(::google::protobuf::FieldOptions_OptionRetention value);
7154
7155 private:
7156 ::google::protobuf::FieldOptions_OptionRetention _internal_retention() const;
7157 void _internal_set_retention(::google::protobuf::FieldOptions_OptionRetention value);
7158
7159 public:
7160 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7161 bool _is_packed,
7162 typename = typename _proto_TypeTraits::Singular>
HasExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7163 inline bool HasExtension(
7164 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7165 _field_type, _is_packed>& id) const {
7166 return _impl_._extensions_.Has(id.number());
7167 }
7168
7169 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7170 bool _is_packed>
ClearExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7171 inline void ClearExtension(
7172 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7173 _field_type, _is_packed>& id) {
7174 _impl_._extensions_.ClearExtension(id.number());
7175 }
7176
7177 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7178 bool _is_packed,
7179 typename = typename _proto_TypeTraits::Repeated>
ExtensionSize(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7180 inline int ExtensionSize(
7181 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7182 _field_type, _is_packed>& id) const {
7183 return _impl_._extensions_.ExtensionSize(id.number());
7184 }
7185
7186 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7187 bool _is_packed,
7188 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7189 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
7190 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7191 _field_type, _is_packed>& id) const {
7192 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
7193 }
7194
7195 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7196 bool _is_packed,
7197 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7198 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
7199 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7200 _field_type, _is_packed>& id) const
7201 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7202 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
7203 }
7204
7205 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7206 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7207 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
7208 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7209 _field_type, _is_packed>& id)
7210 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7211 return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_);
7212 }
7213
7214 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7215 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::ConstType value)7216 inline void SetExtension(
7217 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7218 _field_type, _is_packed>& id,
7219 typename _proto_TypeTraits::Singular::ConstType value) {
7220 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
7221 }
7222
7223 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7224 bool _is_packed>
SetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)7225 inline void SetAllocatedExtension(
7226 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7227 _field_type, _is_packed>& id,
7228 typename _proto_TypeTraits::Singular::MutableType value) {
7229 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
7230 &_impl_._extensions_);
7231 }
7232 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7233 bool _is_packed>
UnsafeArenaSetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)7234 inline void UnsafeArenaSetAllocatedExtension(
7235 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7236 _field_type, _is_packed>& id,
7237 typename _proto_TypeTraits::Singular::MutableType value) {
7238 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
7239 value, &_impl_._extensions_);
7240 }
7241 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7242 bool _is_packed>
7243 PROTOBUF_NODISCARD inline
7244 typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7245 ReleaseExtension(
7246 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7247 _field_type, _is_packed>& id) {
7248 return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_);
7249 }
7250 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7251 bool _is_packed>
7252 inline typename _proto_TypeTraits::Singular::MutableType
UnsafeArenaReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7253 UnsafeArenaReleaseExtension(
7254 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7255 _field_type, _is_packed>& id) {
7256 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
7257 &_impl_._extensions_);
7258 }
7259
7260 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7261 bool _is_packed,
7262 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)7263 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
7264 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7265 _field_type, _is_packed>& id,
7266 int index) const {
7267 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
7268 }
7269
7270 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7271 bool _is_packed,
7272 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)7273 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
7274 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7275 _field_type, _is_packed>& id,
7276 int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND {
7277 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
7278 }
7279
7280 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7281 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)7282 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
7283 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7284 _field_type, _is_packed>& id,
7285 int index) ABSL_ATTRIBUTE_LIFETIME_BOUND {
7286 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
7287 }
7288
7289 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7290 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index,typename _proto_TypeTraits::Repeated::ConstType value)7291 inline void SetExtension(
7292 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7293 _field_type, _is_packed>& id,
7294 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
7295 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
7296 }
7297
7298 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7299 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7300 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
7301 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7302 _field_type, _is_packed>& id)
7303 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7304 typename _proto_TypeTraits::Repeated::MutableType to_add =
7305 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
7306 return to_add;
7307 }
7308
7309 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7310 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Repeated::ConstType value)7311 inline void AddExtension(
7312 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7313 _field_type, _is_packed>& id,
7314 typename _proto_TypeTraits::Repeated::ConstType value) {
7315 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
7316 &_impl_._extensions_);
7317 }
7318
7319 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7320 bool _is_packed>
7321 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
GetRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7322 GetRepeatedExtension(
7323 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7324 _field_type, _is_packed>& id) const
7325 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7326 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
7327 }
7328
7329 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7330 bool _is_packed>
7331 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
MutableRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<FieldOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7332 MutableRepeatedExtension(
7333 const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _proto_TypeTraits,
7334 _field_type, _is_packed>& id)
7335 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7336 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
7337 _is_packed, &_impl_._extensions_);
7338 }
7339 // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions)
7340 private:
7341 class _Internal;
7342 friend class ::google::protobuf::internal::TcParser;
7343 static const ::google::protobuf::internal::TcParseTable<
7344 4, 14, 8,
7345 0, 7>
7346 _table_;
7347
7348 friend class ::google::protobuf::MessageLite;
7349 friend class ::google::protobuf::Arena;
7350 template <typename T>
7351 friend class ::google::protobuf::Arena::InternalHelper;
7352 using InternalArenaConstructable_ = void;
7353 using DestructorSkippable_ = void;
7354 struct Impl_ {
7355 inline explicit constexpr Impl_(
7356 ::google::protobuf::internal::ConstantInitialized) noexcept;
7357 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
7358 ::google::protobuf::Arena* arena);
7359 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
7360 ::google::protobuf::Arena* arena, const Impl_& from,
7361 const FieldOptions& from_msg);
7362 ::google::protobuf::internal::ExtensionSet _extensions_;
7363 ::google::protobuf::internal::HasBits<1> _has_bits_;
7364 ::google::protobuf::internal::CachedSize _cached_size_;
7365 ::google::protobuf::RepeatedField<int> targets_;
7366 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldOptions_EditionDefault > edition_defaults_;
7367 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
7368 ::google::protobuf::FeatureSet* features_;
7369 ::google::protobuf::FieldOptions_FeatureSupport* feature_support_;
7370 int ctype_;
7371 int jstype_;
7372 bool packed_;
7373 bool lazy_;
7374 bool unverified_lazy_;
7375 bool deprecated_;
7376 bool weak_;
7377 bool debug_redact_;
7378 int retention_;
7379 PROTOBUF_TSAN_DECLARE_MEMBER
7380 };
7381 union { Impl_ _impl_; };
7382 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
7383 };
7384 // -------------------------------------------------------------------
7385
7386 class PROTOBUF_EXPORT FeatureSetDefaults final : public ::google::protobuf::Message
7387 /* @@protoc_insertion_point(class_definition:google.protobuf.FeatureSetDefaults) */ {
7388 public:
FeatureSetDefaults()7389 inline FeatureSetDefaults() : FeatureSetDefaults(nullptr) {}
7390 ~FeatureSetDefaults() PROTOBUF_FINAL;
7391
7392 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(FeatureSetDefaults * msg,std::destroying_delete_t)7393 void operator delete(FeatureSetDefaults* msg, std::destroying_delete_t) {
7394 SharedDtor(*msg);
7395 ::google::protobuf::internal::SizedDelete(msg, sizeof(FeatureSetDefaults));
7396 }
7397 #endif
7398
7399 template <typename = void>
7400 explicit PROTOBUF_CONSTEXPR FeatureSetDefaults(
7401 ::google::protobuf::internal::ConstantInitialized);
7402
FeatureSetDefaults(const FeatureSetDefaults & from)7403 inline FeatureSetDefaults(const FeatureSetDefaults& from) : FeatureSetDefaults(nullptr, from) {}
FeatureSetDefaults(FeatureSetDefaults && from)7404 inline FeatureSetDefaults(FeatureSetDefaults&& from) noexcept
7405 : FeatureSetDefaults(nullptr, std::move(from)) {}
7406 inline FeatureSetDefaults& operator=(const FeatureSetDefaults& from) {
7407 CopyFrom(from);
7408 return *this;
7409 }
7410 inline FeatureSetDefaults& operator=(FeatureSetDefaults&& from) noexcept {
7411 if (this == &from) return *this;
7412 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
7413 InternalSwap(&from);
7414 } else {
7415 CopyFrom(from);
7416 }
7417 return *this;
7418 }
7419
unknown_fields()7420 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
7421 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7422 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
7423 }
mutable_unknown_fields()7424 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
7425 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7426 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
7427 }
7428
descriptor()7429 static const ::google::protobuf::Descriptor* descriptor() {
7430 return GetDescriptor();
7431 }
GetDescriptor()7432 static const ::google::protobuf::Descriptor* GetDescriptor() {
7433 return default_instance().GetMetadata().descriptor;
7434 }
GetReflection()7435 static const ::google::protobuf::Reflection* GetReflection() {
7436 return default_instance().GetMetadata().reflection;
7437 }
default_instance()7438 static const FeatureSetDefaults& default_instance() {
7439 return *internal_default_instance();
7440 }
internal_default_instance()7441 static inline const FeatureSetDefaults* internal_default_instance() {
7442 return reinterpret_cast<const FeatureSetDefaults*>(
7443 &_FeatureSetDefaults_default_instance_);
7444 }
7445 static constexpr int kIndexInFileMessages = 28;
swap(FeatureSetDefaults & a,FeatureSetDefaults & b)7446 friend void swap(FeatureSetDefaults& a, FeatureSetDefaults& b) { a.Swap(&b); }
Swap(FeatureSetDefaults * other)7447 inline void Swap(FeatureSetDefaults* other) {
7448 if (other == this) return;
7449 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
7450 InternalSwap(other);
7451 } else {
7452 ::google::protobuf::internal::GenericSwap(this, other);
7453 }
7454 }
UnsafeArenaSwap(FeatureSetDefaults * other)7455 void UnsafeArenaSwap(FeatureSetDefaults* other) {
7456 if (other == this) return;
7457 ABSL_DCHECK(GetArena() == other->GetArena());
7458 InternalSwap(other);
7459 }
7460
7461 // implements Message ----------------------------------------------
7462
7463 FeatureSetDefaults* New(::google::protobuf::Arena* arena = nullptr) const {
7464 return ::google::protobuf::Message::DefaultConstruct<FeatureSetDefaults>(arena);
7465 }
7466 using ::google::protobuf::Message::CopyFrom;
7467 void CopyFrom(const FeatureSetDefaults& from);
7468 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const FeatureSetDefaults & from)7469 void MergeFrom(const FeatureSetDefaults& from) { FeatureSetDefaults::MergeImpl(*this, from); }
7470
7471 private:
7472 static void MergeImpl(
7473 ::google::protobuf::MessageLite& to_msg,
7474 const ::google::protobuf::MessageLite& from_msg);
7475
7476 public:
IsInitialized()7477 bool IsInitialized() const {
7478 return IsInitializedImpl(*this);
7479 }
7480
7481 private:
7482 static bool IsInitializedImpl(const MessageLite& msg);
7483
7484 public:
7485 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
7486 #if defined(PROTOBUF_CUSTOM_VTABLE)
7487 private:
7488 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
7489 static ::uint8_t* _InternalSerialize(
7490 const MessageLite& msg, ::uint8_t* target,
7491 ::google::protobuf::io::EpsCopyOutputStream* stream);
7492
7493 public:
ByteSizeLong()7494 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)7495 ::uint8_t* _InternalSerialize(
7496 ::uint8_t* target,
7497 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7498 return _InternalSerialize(*this, target, stream);
7499 }
7500 #else // PROTOBUF_CUSTOM_VTABLE
7501 ::size_t ByteSizeLong() const final;
7502 ::uint8_t* _InternalSerialize(
7503 ::uint8_t* target,
7504 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
7505 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()7506 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
7507
7508 private:
7509 void SharedCtor(::google::protobuf::Arena* arena);
7510 static void SharedDtor(MessageLite& self);
7511 void InternalSwap(FeatureSetDefaults* other);
7512 private:
7513 template <typename T>
7514 friend ::absl::string_view(
7515 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()7516 static ::absl::string_view FullMessageName() { return "google.protobuf.FeatureSetDefaults"; }
7517
7518 protected:
7519 explicit FeatureSetDefaults(::google::protobuf::Arena* arena);
7520 FeatureSetDefaults(::google::protobuf::Arena* arena, const FeatureSetDefaults& from);
FeatureSetDefaults(::google::protobuf::Arena * arena,FeatureSetDefaults && from)7521 FeatureSetDefaults(::google::protobuf::Arena* arena, FeatureSetDefaults&& from) noexcept
7522 : FeatureSetDefaults(arena) {
7523 *this = ::std::move(from);
7524 }
7525 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
7526 static void* PlacementNew_(const void*, void* mem,
7527 ::google::protobuf::Arena* arena);
7528 static constexpr auto InternalNewImpl_();
7529 static const ::google::protobuf::internal::ClassDataFull _class_data_;
7530
7531 public:
7532 ::google::protobuf::Metadata GetMetadata() const;
7533 // nested types ----------------------------------------------------
7534 using FeatureSetEditionDefault = FeatureSetDefaults_FeatureSetEditionDefault;
7535
7536 // accessors -------------------------------------------------------
7537 enum : int {
7538 kDefaultsFieldNumber = 1,
7539 kMinimumEditionFieldNumber = 4,
7540 kMaximumEditionFieldNumber = 5,
7541 };
7542 // repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
7543 int defaults_size() const;
7544 private:
7545 int _internal_defaults_size() const;
7546
7547 public:
7548 void clear_defaults() ;
7549 ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault* mutable_defaults(int index);
7550 ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>* mutable_defaults();
7551
7552 private:
7553 const ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>& _internal_defaults() const;
7554 ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>* _internal_mutable_defaults();
7555 public:
7556 const ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault& defaults(int index) const;
7557 ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault* add_defaults();
7558 const ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>& defaults() const;
7559 // optional .google.protobuf.Edition minimum_edition = 4;
7560 bool has_minimum_edition() const;
7561 void clear_minimum_edition() ;
7562 ::google::protobuf::Edition minimum_edition() const;
7563 void set_minimum_edition(::google::protobuf::Edition value);
7564
7565 private:
7566 ::google::protobuf::Edition _internal_minimum_edition() const;
7567 void _internal_set_minimum_edition(::google::protobuf::Edition value);
7568
7569 public:
7570 // optional .google.protobuf.Edition maximum_edition = 5;
7571 bool has_maximum_edition() const;
7572 void clear_maximum_edition() ;
7573 ::google::protobuf::Edition maximum_edition() const;
7574 void set_maximum_edition(::google::protobuf::Edition value);
7575
7576 private:
7577 ::google::protobuf::Edition _internal_maximum_edition() const;
7578 void _internal_set_maximum_edition(::google::protobuf::Edition value);
7579
7580 public:
7581 // @@protoc_insertion_point(class_scope:google.protobuf.FeatureSetDefaults)
7582 private:
7583 class _Internal;
7584 friend class ::google::protobuf::internal::TcParser;
7585 static const ::google::protobuf::internal::TcParseTable<
7586 1, 3, 3,
7587 0, 2>
7588 _table_;
7589
7590 friend class ::google::protobuf::MessageLite;
7591 friend class ::google::protobuf::Arena;
7592 template <typename T>
7593 friend class ::google::protobuf::Arena::InternalHelper;
7594 using InternalArenaConstructable_ = void;
7595 using DestructorSkippable_ = void;
7596 struct Impl_ {
7597 inline explicit constexpr Impl_(
7598 ::google::protobuf::internal::ConstantInitialized) noexcept;
7599 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
7600 ::google::protobuf::Arena* arena);
7601 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
7602 ::google::protobuf::Arena* arena, const Impl_& from,
7603 const FeatureSetDefaults& from_msg);
7604 ::google::protobuf::internal::HasBits<1> _has_bits_;
7605 ::google::protobuf::internal::CachedSize _cached_size_;
7606 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault > defaults_;
7607 int minimum_edition_;
7608 int maximum_edition_;
7609 PROTOBUF_TSAN_DECLARE_MEMBER
7610 };
7611 union { Impl_ _impl_; };
7612 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
7613 };
7614 // -------------------------------------------------------------------
7615
7616 class PROTOBUF_EXPORT ExtensionRangeOptions final : public ::google::protobuf::Message
7617 /* @@protoc_insertion_point(class_definition:google.protobuf.ExtensionRangeOptions) */ {
7618 public:
ExtensionRangeOptions()7619 inline ExtensionRangeOptions() : ExtensionRangeOptions(nullptr) {}
7620 ~ExtensionRangeOptions() PROTOBUF_FINAL;
7621
7622 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(ExtensionRangeOptions * msg,std::destroying_delete_t)7623 void operator delete(ExtensionRangeOptions* msg, std::destroying_delete_t) {
7624 SharedDtor(*msg);
7625 ::google::protobuf::internal::SizedDelete(msg, sizeof(ExtensionRangeOptions));
7626 }
7627 #endif
7628
7629 template <typename = void>
7630 explicit PROTOBUF_CONSTEXPR ExtensionRangeOptions(
7631 ::google::protobuf::internal::ConstantInitialized);
7632
ExtensionRangeOptions(const ExtensionRangeOptions & from)7633 inline ExtensionRangeOptions(const ExtensionRangeOptions& from) : ExtensionRangeOptions(nullptr, from) {}
ExtensionRangeOptions(ExtensionRangeOptions && from)7634 inline ExtensionRangeOptions(ExtensionRangeOptions&& from) noexcept
7635 : ExtensionRangeOptions(nullptr, std::move(from)) {}
7636 inline ExtensionRangeOptions& operator=(const ExtensionRangeOptions& from) {
7637 CopyFrom(from);
7638 return *this;
7639 }
7640 inline ExtensionRangeOptions& operator=(ExtensionRangeOptions&& from) noexcept {
7641 if (this == &from) return *this;
7642 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
7643 InternalSwap(&from);
7644 } else {
7645 CopyFrom(from);
7646 }
7647 return *this;
7648 }
7649
unknown_fields()7650 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
7651 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7652 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
7653 }
mutable_unknown_fields()7654 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
7655 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7656 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
7657 }
7658
descriptor()7659 static const ::google::protobuf::Descriptor* descriptor() {
7660 return GetDescriptor();
7661 }
GetDescriptor()7662 static const ::google::protobuf::Descriptor* GetDescriptor() {
7663 return default_instance().GetMetadata().descriptor;
7664 }
GetReflection()7665 static const ::google::protobuf::Reflection* GetReflection() {
7666 return default_instance().GetMetadata().reflection;
7667 }
default_instance()7668 static const ExtensionRangeOptions& default_instance() {
7669 return *internal_default_instance();
7670 }
internal_default_instance()7671 static inline const ExtensionRangeOptions* internal_default_instance() {
7672 return reinterpret_cast<const ExtensionRangeOptions*>(
7673 &_ExtensionRangeOptions_default_instance_);
7674 }
7675 static constexpr int kIndexInFileMessages = 6;
swap(ExtensionRangeOptions & a,ExtensionRangeOptions & b)7676 friend void swap(ExtensionRangeOptions& a, ExtensionRangeOptions& b) { a.Swap(&b); }
Swap(ExtensionRangeOptions * other)7677 inline void Swap(ExtensionRangeOptions* other) {
7678 if (other == this) return;
7679 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
7680 InternalSwap(other);
7681 } else {
7682 ::google::protobuf::internal::GenericSwap(this, other);
7683 }
7684 }
UnsafeArenaSwap(ExtensionRangeOptions * other)7685 void UnsafeArenaSwap(ExtensionRangeOptions* other) {
7686 if (other == this) return;
7687 ABSL_DCHECK(GetArena() == other->GetArena());
7688 InternalSwap(other);
7689 }
7690
7691 // implements Message ----------------------------------------------
7692
7693 ExtensionRangeOptions* New(::google::protobuf::Arena* arena = nullptr) const {
7694 return ::google::protobuf::Message::DefaultConstruct<ExtensionRangeOptions>(arena);
7695 }
7696 using ::google::protobuf::Message::CopyFrom;
7697 void CopyFrom(const ExtensionRangeOptions& from);
7698 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const ExtensionRangeOptions & from)7699 void MergeFrom(const ExtensionRangeOptions& from) { ExtensionRangeOptions::MergeImpl(*this, from); }
7700
7701 private:
7702 static void MergeImpl(
7703 ::google::protobuf::MessageLite& to_msg,
7704 const ::google::protobuf::MessageLite& from_msg);
7705
7706 public:
IsInitialized()7707 bool IsInitialized() const {
7708 return IsInitializedImpl(*this);
7709 }
7710
7711 private:
7712 static bool IsInitializedImpl(const MessageLite& msg);
7713
7714 public:
7715 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
7716 #if defined(PROTOBUF_CUSTOM_VTABLE)
7717 private:
7718 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
7719 static ::uint8_t* _InternalSerialize(
7720 const MessageLite& msg, ::uint8_t* target,
7721 ::google::protobuf::io::EpsCopyOutputStream* stream);
7722
7723 public:
ByteSizeLong()7724 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)7725 ::uint8_t* _InternalSerialize(
7726 ::uint8_t* target,
7727 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
7728 return _InternalSerialize(*this, target, stream);
7729 }
7730 #else // PROTOBUF_CUSTOM_VTABLE
7731 ::size_t ByteSizeLong() const final;
7732 ::uint8_t* _InternalSerialize(
7733 ::uint8_t* target,
7734 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
7735 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()7736 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
7737
7738 private:
7739 void SharedCtor(::google::protobuf::Arena* arena);
7740 static void SharedDtor(MessageLite& self);
7741 void InternalSwap(ExtensionRangeOptions* other);
7742 private:
7743 template <typename T>
7744 friend ::absl::string_view(
7745 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()7746 static ::absl::string_view FullMessageName() { return "google.protobuf.ExtensionRangeOptions"; }
7747
7748 protected:
7749 explicit ExtensionRangeOptions(::google::protobuf::Arena* arena);
7750 ExtensionRangeOptions(::google::protobuf::Arena* arena, const ExtensionRangeOptions& from);
ExtensionRangeOptions(::google::protobuf::Arena * arena,ExtensionRangeOptions && from)7751 ExtensionRangeOptions(::google::protobuf::Arena* arena, ExtensionRangeOptions&& from) noexcept
7752 : ExtensionRangeOptions(arena) {
7753 *this = ::std::move(from);
7754 }
7755 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
7756 static void* PlacementNew_(const void*, void* mem,
7757 ::google::protobuf::Arena* arena);
7758 static constexpr auto InternalNewImpl_();
7759 static const ::google::protobuf::internal::ClassDataFull _class_data_;
7760
7761 public:
7762 ::google::protobuf::Metadata GetMetadata() const;
7763 // nested types ----------------------------------------------------
7764 using Declaration = ExtensionRangeOptions_Declaration;
7765 using VerificationState = ExtensionRangeOptions_VerificationState;
7766 static constexpr VerificationState DECLARATION = ExtensionRangeOptions_VerificationState_DECLARATION;
7767 static constexpr VerificationState UNVERIFIED = ExtensionRangeOptions_VerificationState_UNVERIFIED;
VerificationState_IsValid(int value)7768 static inline bool VerificationState_IsValid(int value) {
7769 return ExtensionRangeOptions_VerificationState_IsValid(value);
7770 }
7771 static constexpr VerificationState VerificationState_MIN = ExtensionRangeOptions_VerificationState_VerificationState_MIN;
7772 static constexpr VerificationState VerificationState_MAX = ExtensionRangeOptions_VerificationState_VerificationState_MAX;
7773 static constexpr int VerificationState_ARRAYSIZE = ExtensionRangeOptions_VerificationState_VerificationState_ARRAYSIZE;
VerificationState_descriptor()7774 static inline const ::google::protobuf::EnumDescriptor* VerificationState_descriptor() {
7775 return ExtensionRangeOptions_VerificationState_descriptor();
7776 }
7777 template <typename T>
VerificationState_Name(T value)7778 static inline const std::string& VerificationState_Name(T value) {
7779 return ExtensionRangeOptions_VerificationState_Name(value);
7780 }
VerificationState_Parse(absl::string_view name,VerificationState * value)7781 static inline bool VerificationState_Parse(absl::string_view name, VerificationState* value) {
7782 return ExtensionRangeOptions_VerificationState_Parse(name, value);
7783 }
7784
7785 // accessors -------------------------------------------------------
7786 enum : int {
7787 kDeclarationFieldNumber = 2,
7788 kUninterpretedOptionFieldNumber = 999,
7789 kFeaturesFieldNumber = 50,
7790 kVerificationFieldNumber = 3,
7791 };
7792 // repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
7793 int declaration_size() const;
7794 private:
7795 int _internal_declaration_size() const;
7796
7797 public:
7798 void clear_declaration() ;
7799 ::google::protobuf::ExtensionRangeOptions_Declaration* mutable_declaration(int index);
7800 ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>* mutable_declaration();
7801
7802 private:
7803 const ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>& _internal_declaration() const;
7804 ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>* _internal_mutable_declaration();
7805 public:
7806 const ::google::protobuf::ExtensionRangeOptions_Declaration& declaration(int index) const;
7807 ::google::protobuf::ExtensionRangeOptions_Declaration* add_declaration();
7808 const ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>& declaration() const;
7809 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
7810 int uninterpreted_option_size() const;
7811 private:
7812 int _internal_uninterpreted_option_size() const;
7813
7814 public:
7815 void clear_uninterpreted_option() ;
7816 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
7817 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option();
7818
7819 private:
7820 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
7821 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option();
7822 public:
7823 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
7824 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
7825 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
7826 // optional .google.protobuf.FeatureSet features = 50;
7827 bool has_features() const;
7828 void clear_features() ;
7829 const ::google::protobuf::FeatureSet& features() const;
7830 PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features();
7831 ::google::protobuf::FeatureSet* mutable_features();
7832 void set_allocated_features(::google::protobuf::FeatureSet* value);
7833 void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value);
7834 ::google::protobuf::FeatureSet* unsafe_arena_release_features();
7835
7836 private:
7837 const ::google::protobuf::FeatureSet& _internal_features() const;
7838 ::google::protobuf::FeatureSet* _internal_mutable_features();
7839
7840 public:
7841 // optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE];
7842 bool has_verification() const;
7843 void clear_verification() ;
7844 ::google::protobuf::ExtensionRangeOptions_VerificationState verification() const;
7845 void set_verification(::google::protobuf::ExtensionRangeOptions_VerificationState value);
7846
7847 private:
7848 ::google::protobuf::ExtensionRangeOptions_VerificationState _internal_verification() const;
7849 void _internal_set_verification(::google::protobuf::ExtensionRangeOptions_VerificationState value);
7850
7851 public:
7852 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7853 bool _is_packed,
7854 typename = typename _proto_TypeTraits::Singular>
HasExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7855 inline bool HasExtension(
7856 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7857 _field_type, _is_packed>& id) const {
7858 return _impl_._extensions_.Has(id.number());
7859 }
7860
7861 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7862 bool _is_packed>
ClearExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7863 inline void ClearExtension(
7864 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7865 _field_type, _is_packed>& id) {
7866 _impl_._extensions_.ClearExtension(id.number());
7867 }
7868
7869 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7870 bool _is_packed,
7871 typename = typename _proto_TypeTraits::Repeated>
ExtensionSize(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7872 inline int ExtensionSize(
7873 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7874 _field_type, _is_packed>& id) const {
7875 return _impl_._extensions_.ExtensionSize(id.number());
7876 }
7877
7878 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7879 bool _is_packed,
7880 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7881 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
7882 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7883 _field_type, _is_packed>& id) const {
7884 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
7885 }
7886
7887 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7888 bool _is_packed,
7889 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7890 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
7891 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7892 _field_type, _is_packed>& id) const
7893 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7894 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
7895 }
7896
7897 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7898 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7899 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
7900 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7901 _field_type, _is_packed>& id)
7902 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7903 return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_);
7904 }
7905
7906 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7907 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::ConstType value)7908 inline void SetExtension(
7909 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7910 _field_type, _is_packed>& id,
7911 typename _proto_TypeTraits::Singular::ConstType value) {
7912 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
7913 }
7914
7915 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7916 bool _is_packed>
SetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)7917 inline void SetAllocatedExtension(
7918 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7919 _field_type, _is_packed>& id,
7920 typename _proto_TypeTraits::Singular::MutableType value) {
7921 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
7922 &_impl_._extensions_);
7923 }
7924 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7925 bool _is_packed>
UnsafeArenaSetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)7926 inline void UnsafeArenaSetAllocatedExtension(
7927 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7928 _field_type, _is_packed>& id,
7929 typename _proto_TypeTraits::Singular::MutableType value) {
7930 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
7931 value, &_impl_._extensions_);
7932 }
7933 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7934 bool _is_packed>
7935 PROTOBUF_NODISCARD inline
7936 typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7937 ReleaseExtension(
7938 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7939 _field_type, _is_packed>& id) {
7940 return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_);
7941 }
7942 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7943 bool _is_packed>
7944 inline typename _proto_TypeTraits::Singular::MutableType
UnsafeArenaReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7945 UnsafeArenaReleaseExtension(
7946 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7947 _field_type, _is_packed>& id) {
7948 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
7949 &_impl_._extensions_);
7950 }
7951
7952 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7953 bool _is_packed,
7954 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)7955 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
7956 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7957 _field_type, _is_packed>& id,
7958 int index) const {
7959 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
7960 }
7961
7962 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7963 bool _is_packed,
7964 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)7965 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
7966 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7967 _field_type, _is_packed>& id,
7968 int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND {
7969 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
7970 }
7971
7972 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7973 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)7974 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
7975 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7976 _field_type, _is_packed>& id,
7977 int index) ABSL_ATTRIBUTE_LIFETIME_BOUND {
7978 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
7979 }
7980
7981 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7982 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index,typename _proto_TypeTraits::Repeated::ConstType value)7983 inline void SetExtension(
7984 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7985 _field_type, _is_packed>& id,
7986 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
7987 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
7988 }
7989
7990 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
7991 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id)7992 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
7993 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
7994 _field_type, _is_packed>& id)
7995 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7996 typename _proto_TypeTraits::Repeated::MutableType to_add =
7997 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
7998 return to_add;
7999 }
8000
8001 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8002 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Repeated::ConstType value)8003 inline void AddExtension(
8004 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
8005 _field_type, _is_packed>& id,
8006 typename _proto_TypeTraits::Repeated::ConstType value) {
8007 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
8008 &_impl_._extensions_);
8009 }
8010
8011 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8012 bool _is_packed>
8013 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
GetRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8014 GetRepeatedExtension(
8015 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
8016 _field_type, _is_packed>& id) const
8017 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8018 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
8019 }
8020
8021 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8022 bool _is_packed>
8023 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
MutableRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8024 MutableRepeatedExtension(
8025 const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _proto_TypeTraits,
8026 _field_type, _is_packed>& id)
8027 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8028 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
8029 _is_packed, &_impl_._extensions_);
8030 }
8031 // @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions)
8032 private:
8033 class _Internal;
8034 friend class ::google::protobuf::internal::TcParser;
8035 static const ::google::protobuf::internal::TcParseTable<
8036 3, 4, 4,
8037 0, 12>
8038 _table_;
8039
8040 friend class ::google::protobuf::MessageLite;
8041 friend class ::google::protobuf::Arena;
8042 template <typename T>
8043 friend class ::google::protobuf::Arena::InternalHelper;
8044 using InternalArenaConstructable_ = void;
8045 using DestructorSkippable_ = void;
8046 struct Impl_ {
8047 inline explicit constexpr Impl_(
8048 ::google::protobuf::internal::ConstantInitialized) noexcept;
8049 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
8050 ::google::protobuf::Arena* arena);
8051 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
8052 ::google::protobuf::Arena* arena, const Impl_& from,
8053 const ExtensionRangeOptions& from_msg);
8054 ::google::protobuf::internal::ExtensionSet _extensions_;
8055 ::google::protobuf::internal::HasBits<1> _has_bits_;
8056 ::google::protobuf::internal::CachedSize _cached_size_;
8057 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ExtensionRangeOptions_Declaration > declaration_;
8058 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
8059 ::google::protobuf::FeatureSet* features_;
8060 int verification_;
8061 PROTOBUF_TSAN_DECLARE_MEMBER
8062 };
8063 union { Impl_ _impl_; };
8064 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
8065 };
8066 // -------------------------------------------------------------------
8067
8068 class PROTOBUF_EXPORT EnumValueOptions final : public ::google::protobuf::Message
8069 /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */ {
8070 public:
EnumValueOptions()8071 inline EnumValueOptions() : EnumValueOptions(nullptr) {}
8072 ~EnumValueOptions() PROTOBUF_FINAL;
8073
8074 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(EnumValueOptions * msg,std::destroying_delete_t)8075 void operator delete(EnumValueOptions* msg, std::destroying_delete_t) {
8076 SharedDtor(*msg);
8077 ::google::protobuf::internal::SizedDelete(msg, sizeof(EnumValueOptions));
8078 }
8079 #endif
8080
8081 template <typename = void>
8082 explicit PROTOBUF_CONSTEXPR EnumValueOptions(
8083 ::google::protobuf::internal::ConstantInitialized);
8084
EnumValueOptions(const EnumValueOptions & from)8085 inline EnumValueOptions(const EnumValueOptions& from) : EnumValueOptions(nullptr, from) {}
EnumValueOptions(EnumValueOptions && from)8086 inline EnumValueOptions(EnumValueOptions&& from) noexcept
8087 : EnumValueOptions(nullptr, std::move(from)) {}
8088 inline EnumValueOptions& operator=(const EnumValueOptions& from) {
8089 CopyFrom(from);
8090 return *this;
8091 }
8092 inline EnumValueOptions& operator=(EnumValueOptions&& from) noexcept {
8093 if (this == &from) return *this;
8094 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
8095 InternalSwap(&from);
8096 } else {
8097 CopyFrom(from);
8098 }
8099 return *this;
8100 }
8101
unknown_fields()8102 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
8103 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8104 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
8105 }
mutable_unknown_fields()8106 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
8107 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8108 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
8109 }
8110
descriptor()8111 static const ::google::protobuf::Descriptor* descriptor() {
8112 return GetDescriptor();
8113 }
GetDescriptor()8114 static const ::google::protobuf::Descriptor* GetDescriptor() {
8115 return default_instance().GetMetadata().descriptor;
8116 }
GetReflection()8117 static const ::google::protobuf::Reflection* GetReflection() {
8118 return default_instance().GetMetadata().reflection;
8119 }
default_instance()8120 static const EnumValueOptions& default_instance() {
8121 return *internal_default_instance();
8122 }
internal_default_instance()8123 static inline const EnumValueOptions* internal_default_instance() {
8124 return reinterpret_cast<const EnumValueOptions*>(
8125 &_EnumValueOptions_default_instance_);
8126 }
8127 static constexpr int kIndexInFileMessages = 21;
swap(EnumValueOptions & a,EnumValueOptions & b)8128 friend void swap(EnumValueOptions& a, EnumValueOptions& b) { a.Swap(&b); }
Swap(EnumValueOptions * other)8129 inline void Swap(EnumValueOptions* other) {
8130 if (other == this) return;
8131 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
8132 InternalSwap(other);
8133 } else {
8134 ::google::protobuf::internal::GenericSwap(this, other);
8135 }
8136 }
UnsafeArenaSwap(EnumValueOptions * other)8137 void UnsafeArenaSwap(EnumValueOptions* other) {
8138 if (other == this) return;
8139 ABSL_DCHECK(GetArena() == other->GetArena());
8140 InternalSwap(other);
8141 }
8142
8143 // implements Message ----------------------------------------------
8144
8145 EnumValueOptions* New(::google::protobuf::Arena* arena = nullptr) const {
8146 return ::google::protobuf::Message::DefaultConstruct<EnumValueOptions>(arena);
8147 }
8148 using ::google::protobuf::Message::CopyFrom;
8149 void CopyFrom(const EnumValueOptions& from);
8150 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const EnumValueOptions & from)8151 void MergeFrom(const EnumValueOptions& from) { EnumValueOptions::MergeImpl(*this, from); }
8152
8153 private:
8154 static void MergeImpl(
8155 ::google::protobuf::MessageLite& to_msg,
8156 const ::google::protobuf::MessageLite& from_msg);
8157
8158 public:
IsInitialized()8159 bool IsInitialized() const {
8160 return IsInitializedImpl(*this);
8161 }
8162
8163 private:
8164 static bool IsInitializedImpl(const MessageLite& msg);
8165
8166 public:
8167 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
8168 #if defined(PROTOBUF_CUSTOM_VTABLE)
8169 private:
8170 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
8171 static ::uint8_t* _InternalSerialize(
8172 const MessageLite& msg, ::uint8_t* target,
8173 ::google::protobuf::io::EpsCopyOutputStream* stream);
8174
8175 public:
ByteSizeLong()8176 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)8177 ::uint8_t* _InternalSerialize(
8178 ::uint8_t* target,
8179 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
8180 return _InternalSerialize(*this, target, stream);
8181 }
8182 #else // PROTOBUF_CUSTOM_VTABLE
8183 ::size_t ByteSizeLong() const final;
8184 ::uint8_t* _InternalSerialize(
8185 ::uint8_t* target,
8186 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
8187 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()8188 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
8189
8190 private:
8191 void SharedCtor(::google::protobuf::Arena* arena);
8192 static void SharedDtor(MessageLite& self);
8193 void InternalSwap(EnumValueOptions* other);
8194 private:
8195 template <typename T>
8196 friend ::absl::string_view(
8197 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()8198 static ::absl::string_view FullMessageName() { return "google.protobuf.EnumValueOptions"; }
8199
8200 protected:
8201 explicit EnumValueOptions(::google::protobuf::Arena* arena);
8202 EnumValueOptions(::google::protobuf::Arena* arena, const EnumValueOptions& from);
EnumValueOptions(::google::protobuf::Arena * arena,EnumValueOptions && from)8203 EnumValueOptions(::google::protobuf::Arena* arena, EnumValueOptions&& from) noexcept
8204 : EnumValueOptions(arena) {
8205 *this = ::std::move(from);
8206 }
8207 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
8208 static void* PlacementNew_(const void*, void* mem,
8209 ::google::protobuf::Arena* arena);
8210 static constexpr auto InternalNewImpl_();
8211 static const ::google::protobuf::internal::ClassDataFull _class_data_;
8212
8213 public:
8214 ::google::protobuf::Metadata GetMetadata() const;
8215 // nested types ----------------------------------------------------
8216
8217 // accessors -------------------------------------------------------
8218 enum : int {
8219 kUninterpretedOptionFieldNumber = 999,
8220 kFeaturesFieldNumber = 2,
8221 kFeatureSupportFieldNumber = 4,
8222 kDeprecatedFieldNumber = 1,
8223 kDebugRedactFieldNumber = 3,
8224 };
8225 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8226 int uninterpreted_option_size() const;
8227 private:
8228 int _internal_uninterpreted_option_size() const;
8229
8230 public:
8231 void clear_uninterpreted_option() ;
8232 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
8233 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option();
8234
8235 private:
8236 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
8237 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option();
8238 public:
8239 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
8240 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
8241 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
8242 // optional .google.protobuf.FeatureSet features = 2;
8243 bool has_features() const;
8244 void clear_features() ;
8245 const ::google::protobuf::FeatureSet& features() const;
8246 PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features();
8247 ::google::protobuf::FeatureSet* mutable_features();
8248 void set_allocated_features(::google::protobuf::FeatureSet* value);
8249 void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value);
8250 ::google::protobuf::FeatureSet* unsafe_arena_release_features();
8251
8252 private:
8253 const ::google::protobuf::FeatureSet& _internal_features() const;
8254 ::google::protobuf::FeatureSet* _internal_mutable_features();
8255
8256 public:
8257 // optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
8258 bool has_feature_support() const;
8259 void clear_feature_support() ;
8260 const ::google::protobuf::FieldOptions_FeatureSupport& feature_support() const;
8261 PROTOBUF_NODISCARD ::google::protobuf::FieldOptions_FeatureSupport* release_feature_support();
8262 ::google::protobuf::FieldOptions_FeatureSupport* mutable_feature_support();
8263 void set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value);
8264 void unsafe_arena_set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value);
8265 ::google::protobuf::FieldOptions_FeatureSupport* unsafe_arena_release_feature_support();
8266
8267 private:
8268 const ::google::protobuf::FieldOptions_FeatureSupport& _internal_feature_support() const;
8269 ::google::protobuf::FieldOptions_FeatureSupport* _internal_mutable_feature_support();
8270
8271 public:
8272 // optional bool deprecated = 1 [default = false];
8273 bool has_deprecated() const;
8274 void clear_deprecated() ;
8275 bool deprecated() const;
8276 void set_deprecated(bool value);
8277
8278 private:
8279 bool _internal_deprecated() const;
8280 void _internal_set_deprecated(bool value);
8281
8282 public:
8283 // optional bool debug_redact = 3 [default = false];
8284 bool has_debug_redact() const;
8285 void clear_debug_redact() ;
8286 bool debug_redact() const;
8287 void set_debug_redact(bool value);
8288
8289 private:
8290 bool _internal_debug_redact() const;
8291 void _internal_set_debug_redact(bool value);
8292
8293 public:
8294 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8295 bool _is_packed,
8296 typename = typename _proto_TypeTraits::Singular>
HasExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8297 inline bool HasExtension(
8298 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8299 _field_type, _is_packed>& id) const {
8300 return _impl_._extensions_.Has(id.number());
8301 }
8302
8303 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8304 bool _is_packed>
ClearExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8305 inline void ClearExtension(
8306 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8307 _field_type, _is_packed>& id) {
8308 _impl_._extensions_.ClearExtension(id.number());
8309 }
8310
8311 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8312 bool _is_packed,
8313 typename = typename _proto_TypeTraits::Repeated>
ExtensionSize(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8314 inline int ExtensionSize(
8315 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8316 _field_type, _is_packed>& id) const {
8317 return _impl_._extensions_.ExtensionSize(id.number());
8318 }
8319
8320 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8321 bool _is_packed,
8322 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8323 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
8324 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8325 _field_type, _is_packed>& id) const {
8326 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
8327 }
8328
8329 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8330 bool _is_packed,
8331 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8332 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
8333 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8334 _field_type, _is_packed>& id) const
8335 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8336 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
8337 }
8338
8339 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8340 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8341 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
8342 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8343 _field_type, _is_packed>& id)
8344 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8345 return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_);
8346 }
8347
8348 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8349 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::ConstType value)8350 inline void SetExtension(
8351 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8352 _field_type, _is_packed>& id,
8353 typename _proto_TypeTraits::Singular::ConstType value) {
8354 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
8355 }
8356
8357 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8358 bool _is_packed>
SetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)8359 inline void SetAllocatedExtension(
8360 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8361 _field_type, _is_packed>& id,
8362 typename _proto_TypeTraits::Singular::MutableType value) {
8363 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
8364 &_impl_._extensions_);
8365 }
8366 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8367 bool _is_packed>
UnsafeArenaSetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)8368 inline void UnsafeArenaSetAllocatedExtension(
8369 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8370 _field_type, _is_packed>& id,
8371 typename _proto_TypeTraits::Singular::MutableType value) {
8372 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
8373 value, &_impl_._extensions_);
8374 }
8375 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8376 bool _is_packed>
8377 PROTOBUF_NODISCARD inline
8378 typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8379 ReleaseExtension(
8380 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8381 _field_type, _is_packed>& id) {
8382 return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_);
8383 }
8384 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8385 bool _is_packed>
8386 inline typename _proto_TypeTraits::Singular::MutableType
UnsafeArenaReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8387 UnsafeArenaReleaseExtension(
8388 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8389 _field_type, _is_packed>& id) {
8390 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
8391 &_impl_._extensions_);
8392 }
8393
8394 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8395 bool _is_packed,
8396 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)8397 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
8398 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8399 _field_type, _is_packed>& id,
8400 int index) const {
8401 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
8402 }
8403
8404 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8405 bool _is_packed,
8406 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)8407 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
8408 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8409 _field_type, _is_packed>& id,
8410 int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND {
8411 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
8412 }
8413
8414 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8415 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)8416 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
8417 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8418 _field_type, _is_packed>& id,
8419 int index) ABSL_ATTRIBUTE_LIFETIME_BOUND {
8420 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
8421 }
8422
8423 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8424 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index,typename _proto_TypeTraits::Repeated::ConstType value)8425 inline void SetExtension(
8426 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8427 _field_type, _is_packed>& id,
8428 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
8429 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
8430 }
8431
8432 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8433 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8434 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
8435 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8436 _field_type, _is_packed>& id)
8437 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8438 typename _proto_TypeTraits::Repeated::MutableType to_add =
8439 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
8440 return to_add;
8441 }
8442
8443 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8444 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Repeated::ConstType value)8445 inline void AddExtension(
8446 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8447 _field_type, _is_packed>& id,
8448 typename _proto_TypeTraits::Repeated::ConstType value) {
8449 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
8450 &_impl_._extensions_);
8451 }
8452
8453 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8454 bool _is_packed>
8455 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
GetRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8456 GetRepeatedExtension(
8457 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8458 _field_type, _is_packed>& id) const
8459 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8460 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
8461 }
8462
8463 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8464 bool _is_packed>
8465 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
MutableRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8466 MutableRepeatedExtension(
8467 const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _proto_TypeTraits,
8468 _field_type, _is_packed>& id)
8469 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8470 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
8471 _is_packed, &_impl_._extensions_);
8472 }
8473 // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions)
8474 private:
8475 class _Internal;
8476 friend class ::google::protobuf::internal::TcParser;
8477 static const ::google::protobuf::internal::TcParseTable<
8478 3, 5, 3,
8479 0, 7>
8480 _table_;
8481
8482 friend class ::google::protobuf::MessageLite;
8483 friend class ::google::protobuf::Arena;
8484 template <typename T>
8485 friend class ::google::protobuf::Arena::InternalHelper;
8486 using InternalArenaConstructable_ = void;
8487 using DestructorSkippable_ = void;
8488 struct Impl_ {
8489 inline explicit constexpr Impl_(
8490 ::google::protobuf::internal::ConstantInitialized) noexcept;
8491 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
8492 ::google::protobuf::Arena* arena);
8493 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
8494 ::google::protobuf::Arena* arena, const Impl_& from,
8495 const EnumValueOptions& from_msg);
8496 ::google::protobuf::internal::ExtensionSet _extensions_;
8497 ::google::protobuf::internal::HasBits<1> _has_bits_;
8498 ::google::protobuf::internal::CachedSize _cached_size_;
8499 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
8500 ::google::protobuf::FeatureSet* features_;
8501 ::google::protobuf::FieldOptions_FeatureSupport* feature_support_;
8502 bool deprecated_;
8503 bool debug_redact_;
8504 PROTOBUF_TSAN_DECLARE_MEMBER
8505 };
8506 union { Impl_ _impl_; };
8507 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
8508 };
8509 // -------------------------------------------------------------------
8510
8511 class PROTOBUF_EXPORT EnumOptions final : public ::google::protobuf::Message
8512 /* @@protoc_insertion_point(class_definition:google.protobuf.EnumOptions) */ {
8513 public:
EnumOptions()8514 inline EnumOptions() : EnumOptions(nullptr) {}
8515 ~EnumOptions() PROTOBUF_FINAL;
8516
8517 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(EnumOptions * msg,std::destroying_delete_t)8518 void operator delete(EnumOptions* msg, std::destroying_delete_t) {
8519 SharedDtor(*msg);
8520 ::google::protobuf::internal::SizedDelete(msg, sizeof(EnumOptions));
8521 }
8522 #endif
8523
8524 template <typename = void>
8525 explicit PROTOBUF_CONSTEXPR EnumOptions(
8526 ::google::protobuf::internal::ConstantInitialized);
8527
EnumOptions(const EnumOptions & from)8528 inline EnumOptions(const EnumOptions& from) : EnumOptions(nullptr, from) {}
EnumOptions(EnumOptions && from)8529 inline EnumOptions(EnumOptions&& from) noexcept
8530 : EnumOptions(nullptr, std::move(from)) {}
8531 inline EnumOptions& operator=(const EnumOptions& from) {
8532 CopyFrom(from);
8533 return *this;
8534 }
8535 inline EnumOptions& operator=(EnumOptions&& from) noexcept {
8536 if (this == &from) return *this;
8537 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
8538 InternalSwap(&from);
8539 } else {
8540 CopyFrom(from);
8541 }
8542 return *this;
8543 }
8544
unknown_fields()8545 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
8546 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8547 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
8548 }
mutable_unknown_fields()8549 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
8550 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8551 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
8552 }
8553
descriptor()8554 static const ::google::protobuf::Descriptor* descriptor() {
8555 return GetDescriptor();
8556 }
GetDescriptor()8557 static const ::google::protobuf::Descriptor* GetDescriptor() {
8558 return default_instance().GetMetadata().descriptor;
8559 }
GetReflection()8560 static const ::google::protobuf::Reflection* GetReflection() {
8561 return default_instance().GetMetadata().reflection;
8562 }
default_instance()8563 static const EnumOptions& default_instance() {
8564 return *internal_default_instance();
8565 }
internal_default_instance()8566 static inline const EnumOptions* internal_default_instance() {
8567 return reinterpret_cast<const EnumOptions*>(
8568 &_EnumOptions_default_instance_);
8569 }
8570 static constexpr int kIndexInFileMessages = 20;
swap(EnumOptions & a,EnumOptions & b)8571 friend void swap(EnumOptions& a, EnumOptions& b) { a.Swap(&b); }
Swap(EnumOptions * other)8572 inline void Swap(EnumOptions* other) {
8573 if (other == this) return;
8574 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
8575 InternalSwap(other);
8576 } else {
8577 ::google::protobuf::internal::GenericSwap(this, other);
8578 }
8579 }
UnsafeArenaSwap(EnumOptions * other)8580 void UnsafeArenaSwap(EnumOptions* other) {
8581 if (other == this) return;
8582 ABSL_DCHECK(GetArena() == other->GetArena());
8583 InternalSwap(other);
8584 }
8585
8586 // implements Message ----------------------------------------------
8587
8588 EnumOptions* New(::google::protobuf::Arena* arena = nullptr) const {
8589 return ::google::protobuf::Message::DefaultConstruct<EnumOptions>(arena);
8590 }
8591 using ::google::protobuf::Message::CopyFrom;
8592 void CopyFrom(const EnumOptions& from);
8593 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const EnumOptions & from)8594 void MergeFrom(const EnumOptions& from) { EnumOptions::MergeImpl(*this, from); }
8595
8596 private:
8597 static void MergeImpl(
8598 ::google::protobuf::MessageLite& to_msg,
8599 const ::google::protobuf::MessageLite& from_msg);
8600
8601 public:
IsInitialized()8602 bool IsInitialized() const {
8603 return IsInitializedImpl(*this);
8604 }
8605
8606 private:
8607 static bool IsInitializedImpl(const MessageLite& msg);
8608
8609 public:
8610 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
8611 #if defined(PROTOBUF_CUSTOM_VTABLE)
8612 private:
8613 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
8614 static ::uint8_t* _InternalSerialize(
8615 const MessageLite& msg, ::uint8_t* target,
8616 ::google::protobuf::io::EpsCopyOutputStream* stream);
8617
8618 public:
ByteSizeLong()8619 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)8620 ::uint8_t* _InternalSerialize(
8621 ::uint8_t* target,
8622 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
8623 return _InternalSerialize(*this, target, stream);
8624 }
8625 #else // PROTOBUF_CUSTOM_VTABLE
8626 ::size_t ByteSizeLong() const final;
8627 ::uint8_t* _InternalSerialize(
8628 ::uint8_t* target,
8629 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
8630 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()8631 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
8632
8633 private:
8634 void SharedCtor(::google::protobuf::Arena* arena);
8635 static void SharedDtor(MessageLite& self);
8636 void InternalSwap(EnumOptions* other);
8637 private:
8638 template <typename T>
8639 friend ::absl::string_view(
8640 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()8641 static ::absl::string_view FullMessageName() { return "google.protobuf.EnumOptions"; }
8642
8643 protected:
8644 explicit EnumOptions(::google::protobuf::Arena* arena);
8645 EnumOptions(::google::protobuf::Arena* arena, const EnumOptions& from);
EnumOptions(::google::protobuf::Arena * arena,EnumOptions && from)8646 EnumOptions(::google::protobuf::Arena* arena, EnumOptions&& from) noexcept
8647 : EnumOptions(arena) {
8648 *this = ::std::move(from);
8649 }
8650 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
8651 static void* PlacementNew_(const void*, void* mem,
8652 ::google::protobuf::Arena* arena);
8653 static constexpr auto InternalNewImpl_();
8654 static const ::google::protobuf::internal::ClassDataFull _class_data_;
8655
8656 public:
8657 ::google::protobuf::Metadata GetMetadata() const;
8658 // nested types ----------------------------------------------------
8659
8660 // accessors -------------------------------------------------------
8661 enum : int {
8662 kUninterpretedOptionFieldNumber = 999,
8663 kFeaturesFieldNumber = 7,
8664 kAllowAliasFieldNumber = 2,
8665 kDeprecatedFieldNumber = 3,
8666 kDeprecatedLegacyJsonFieldConflictsFieldNumber = 6,
8667 };
8668 // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
8669 int uninterpreted_option_size() const;
8670 private:
8671 int _internal_uninterpreted_option_size() const;
8672
8673 public:
8674 void clear_uninterpreted_option() ;
8675 ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
8676 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* mutable_uninterpreted_option();
8677
8678 private:
8679 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
8680 ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* _internal_mutable_uninterpreted_option();
8681 public:
8682 const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
8683 ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
8684 const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
8685 // optional .google.protobuf.FeatureSet features = 7;
8686 bool has_features() const;
8687 void clear_features() ;
8688 const ::google::protobuf::FeatureSet& features() const;
8689 PROTOBUF_NODISCARD ::google::protobuf::FeatureSet* release_features();
8690 ::google::protobuf::FeatureSet* mutable_features();
8691 void set_allocated_features(::google::protobuf::FeatureSet* value);
8692 void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value);
8693 ::google::protobuf::FeatureSet* unsafe_arena_release_features();
8694
8695 private:
8696 const ::google::protobuf::FeatureSet& _internal_features() const;
8697 ::google::protobuf::FeatureSet* _internal_mutable_features();
8698
8699 public:
8700 // optional bool allow_alias = 2;
8701 bool has_allow_alias() const;
8702 void clear_allow_alias() ;
8703 bool allow_alias() const;
8704 void set_allow_alias(bool value);
8705
8706 private:
8707 bool _internal_allow_alias() const;
8708 void _internal_set_allow_alias(bool value);
8709
8710 public:
8711 // optional bool deprecated = 3 [default = false];
8712 bool has_deprecated() const;
8713 void clear_deprecated() ;
8714 bool deprecated() const;
8715 void set_deprecated(bool value);
8716
8717 private:
8718 bool _internal_deprecated() const;
8719 void _internal_set_deprecated(bool value);
8720
8721 public:
8722 // optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
8723 [[deprecated]] bool has_deprecated_legacy_json_field_conflicts() const;
8724 [[deprecated]] void clear_deprecated_legacy_json_field_conflicts() ;
8725 [[deprecated]] bool deprecated_legacy_json_field_conflicts() const;
8726 [[deprecated]] void set_deprecated_legacy_json_field_conflicts(bool value);
8727
8728 private:
8729 bool _internal_deprecated_legacy_json_field_conflicts() const;
8730 void _internal_set_deprecated_legacy_json_field_conflicts(bool value);
8731
8732 public:
8733 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8734 bool _is_packed,
8735 typename = typename _proto_TypeTraits::Singular>
HasExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8736 inline bool HasExtension(
8737 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8738 _field_type, _is_packed>& id) const {
8739 return _impl_._extensions_.Has(id.number());
8740 }
8741
8742 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8743 bool _is_packed>
ClearExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8744 inline void ClearExtension(
8745 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8746 _field_type, _is_packed>& id) {
8747 _impl_._extensions_.ClearExtension(id.number());
8748 }
8749
8750 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8751 bool _is_packed,
8752 typename = typename _proto_TypeTraits::Repeated>
ExtensionSize(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8753 inline int ExtensionSize(
8754 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8755 _field_type, _is_packed>& id) const {
8756 return _impl_._extensions_.ExtensionSize(id.number());
8757 }
8758
8759 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8760 bool _is_packed,
8761 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8762 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
8763 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8764 _field_type, _is_packed>& id) const {
8765 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
8766 }
8767
8768 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8769 bool _is_packed,
8770 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8771 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
8772 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8773 _field_type, _is_packed>& id) const
8774 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8775 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value());
8776 }
8777
8778 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8779 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8780 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
8781 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8782 _field_type, _is_packed>& id)
8783 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8784 return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_);
8785 }
8786
8787 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8788 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::ConstType value)8789 inline void SetExtension(
8790 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8791 _field_type, _is_packed>& id,
8792 typename _proto_TypeTraits::Singular::ConstType value) {
8793 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
8794 }
8795
8796 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8797 bool _is_packed>
SetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)8798 inline void SetAllocatedExtension(
8799 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8800 _field_type, _is_packed>& id,
8801 typename _proto_TypeTraits::Singular::MutableType value) {
8802 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
8803 &_impl_._extensions_);
8804 }
8805 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8806 bool _is_packed>
UnsafeArenaSetAllocatedExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Singular::MutableType value)8807 inline void UnsafeArenaSetAllocatedExtension(
8808 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8809 _field_type, _is_packed>& id,
8810 typename _proto_TypeTraits::Singular::MutableType value) {
8811 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
8812 value, &_impl_._extensions_);
8813 }
8814 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8815 bool _is_packed>
8816 PROTOBUF_NODISCARD inline
8817 typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8818 ReleaseExtension(
8819 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8820 _field_type, _is_packed>& id) {
8821 return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_);
8822 }
8823 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8824 bool _is_packed>
8825 inline typename _proto_TypeTraits::Singular::MutableType
UnsafeArenaReleaseExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8826 UnsafeArenaReleaseExtension(
8827 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8828 _field_type, _is_packed>& id) {
8829 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
8830 &_impl_._extensions_);
8831 }
8832
8833 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8834 bool _is_packed,
8835 std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)8836 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
8837 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8838 _field_type, _is_packed>& id,
8839 int index) const {
8840 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
8841 }
8842
8843 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8844 bool _is_packed,
8845 std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0>
GetExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)8846 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
8847 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8848 _field_type, _is_packed>& id,
8849 int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND {
8850 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
8851 }
8852
8853 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8854 bool _is_packed>
MutableExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index)8855 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
8856 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8857 _field_type, _is_packed>& id,
8858 int index) ABSL_ATTRIBUTE_LIFETIME_BOUND {
8859 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
8860 }
8861
8862 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8863 bool _is_packed>
SetExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id,int index,typename _proto_TypeTraits::Repeated::ConstType value)8864 inline void SetExtension(
8865 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8866 _field_type, _is_packed>& id,
8867 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
8868 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
8869 }
8870
8871 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8872 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8873 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
8874 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8875 _field_type, _is_packed>& id)
8876 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8877 typename _proto_TypeTraits::Repeated::MutableType to_add =
8878 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
8879 return to_add;
8880 }
8881
8882 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8883 bool _is_packed>
AddExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id,typename _proto_TypeTraits::Repeated::ConstType value)8884 inline void AddExtension(
8885 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8886 _field_type, _is_packed>& id,
8887 typename _proto_TypeTraits::Repeated::ConstType value) {
8888 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
8889 &_impl_._extensions_);
8890 }
8891
8892 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8893 bool _is_packed>
8894 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
GetRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8895 GetRepeatedExtension(
8896 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8897 _field_type, _is_packed>& id) const
8898 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8899 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
8900 }
8901
8902 template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
8903 bool _is_packed>
8904 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
MutableRepeatedExtension(const::google::protobuf::internal::ExtensionIdentifier<EnumOptions,_proto_TypeTraits,_field_type,_is_packed> & id)8905 MutableRepeatedExtension(
8906 const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _proto_TypeTraits,
8907 _field_type, _is_packed>& id)
8908 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8909 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
8910 _is_packed, &_impl_._extensions_);
8911 }
8912 // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions)
8913 private:
8914 class _Internal;
8915 friend class ::google::protobuf::internal::TcParser;
8916 static const ::google::protobuf::internal::TcParseTable<
8917 3, 5, 2,
8918 0, 7>
8919 _table_;
8920
8921 friend class ::google::protobuf::MessageLite;
8922 friend class ::google::protobuf::Arena;
8923 template <typename T>
8924 friend class ::google::protobuf::Arena::InternalHelper;
8925 using InternalArenaConstructable_ = void;
8926 using DestructorSkippable_ = void;
8927 struct Impl_ {
8928 inline explicit constexpr Impl_(
8929 ::google::protobuf::internal::ConstantInitialized) noexcept;
8930 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
8931 ::google::protobuf::Arena* arena);
8932 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
8933 ::google::protobuf::Arena* arena, const Impl_& from,
8934 const EnumOptions& from_msg);
8935 ::google::protobuf::internal::ExtensionSet _extensions_;
8936 ::google::protobuf::internal::HasBits<1> _has_bits_;
8937 ::google::protobuf::internal::CachedSize _cached_size_;
8938 ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
8939 ::google::protobuf::FeatureSet* features_;
8940 bool allow_alias_;
8941 bool deprecated_;
8942 bool deprecated_legacy_json_field_conflicts_;
8943 PROTOBUF_TSAN_DECLARE_MEMBER
8944 };
8945 union { Impl_ _impl_; };
8946 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
8947 };
8948 // -------------------------------------------------------------------
8949
8950 class PROTOBUF_EXPORT OneofDescriptorProto final : public ::google::protobuf::Message
8951 /* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorProto) */ {
8952 public:
OneofDescriptorProto()8953 inline OneofDescriptorProto() : OneofDescriptorProto(nullptr) {}
8954 ~OneofDescriptorProto() PROTOBUF_FINAL;
8955
8956 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(OneofDescriptorProto * msg,std::destroying_delete_t)8957 void operator delete(OneofDescriptorProto* msg, std::destroying_delete_t) {
8958 SharedDtor(*msg);
8959 ::google::protobuf::internal::SizedDelete(msg, sizeof(OneofDescriptorProto));
8960 }
8961 #endif
8962
8963 template <typename = void>
8964 explicit PROTOBUF_CONSTEXPR OneofDescriptorProto(
8965 ::google::protobuf::internal::ConstantInitialized);
8966
OneofDescriptorProto(const OneofDescriptorProto & from)8967 inline OneofDescriptorProto(const OneofDescriptorProto& from) : OneofDescriptorProto(nullptr, from) {}
OneofDescriptorProto(OneofDescriptorProto && from)8968 inline OneofDescriptorProto(OneofDescriptorProto&& from) noexcept
8969 : OneofDescriptorProto(nullptr, std::move(from)) {}
8970 inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) {
8971 CopyFrom(from);
8972 return *this;
8973 }
8974 inline OneofDescriptorProto& operator=(OneofDescriptorProto&& from) noexcept {
8975 if (this == &from) return *this;
8976 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
8977 InternalSwap(&from);
8978 } else {
8979 CopyFrom(from);
8980 }
8981 return *this;
8982 }
8983
unknown_fields()8984 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
8985 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8986 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
8987 }
mutable_unknown_fields()8988 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
8989 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8990 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
8991 }
8992
descriptor()8993 static const ::google::protobuf::Descriptor* descriptor() {
8994 return GetDescriptor();
8995 }
GetDescriptor()8996 static const ::google::protobuf::Descriptor* GetDescriptor() {
8997 return default_instance().GetMetadata().descriptor;
8998 }
GetReflection()8999 static const ::google::protobuf::Reflection* GetReflection() {
9000 return default_instance().GetMetadata().reflection;
9001 }
default_instance()9002 static const OneofDescriptorProto& default_instance() {
9003 return *internal_default_instance();
9004 }
internal_default_instance()9005 static inline const OneofDescriptorProto* internal_default_instance() {
9006 return reinterpret_cast<const OneofDescriptorProto*>(
9007 &_OneofDescriptorProto_default_instance_);
9008 }
9009 static constexpr int kIndexInFileMessages = 8;
swap(OneofDescriptorProto & a,OneofDescriptorProto & b)9010 friend void swap(OneofDescriptorProto& a, OneofDescriptorProto& b) { a.Swap(&b); }
Swap(OneofDescriptorProto * other)9011 inline void Swap(OneofDescriptorProto* other) {
9012 if (other == this) return;
9013 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
9014 InternalSwap(other);
9015 } else {
9016 ::google::protobuf::internal::GenericSwap(this, other);
9017 }
9018 }
UnsafeArenaSwap(OneofDescriptorProto * other)9019 void UnsafeArenaSwap(OneofDescriptorProto* other) {
9020 if (other == this) return;
9021 ABSL_DCHECK(GetArena() == other->GetArena());
9022 InternalSwap(other);
9023 }
9024
9025 // implements Message ----------------------------------------------
9026
9027 OneofDescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const {
9028 return ::google::protobuf::Message::DefaultConstruct<OneofDescriptorProto>(arena);
9029 }
9030 using ::google::protobuf::Message::CopyFrom;
9031 void CopyFrom(const OneofDescriptorProto& from);
9032 using ::google::protobuf::Message::MergeFrom;
MergeFrom(const OneofDescriptorProto & from)9033 void MergeFrom(const OneofDescriptorProto& from) { OneofDescriptorProto::MergeImpl(*this, from); }
9034
9035 private:
9036 static void MergeImpl(
9037 ::google::protobuf::MessageLite& to_msg,
9038 const ::google::protobuf::MessageLite& from_msg);
9039
9040 public:
IsInitialized()9041 bool IsInitialized() const {
9042 return IsInitializedImpl(*this);
9043 }
9044
9045 private:
9046 static bool IsInitializedImpl(const MessageLite& msg);
9047
9048 public:
9049 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
9050 #if defined(PROTOBUF_CUSTOM_VTABLE)
9051 private:
9052 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
9053 static ::uint8_t* _InternalSerialize(
9054 const MessageLite& msg, ::uint8_t* target,
9055 ::google::protobuf::io::EpsCopyOutputStream* stream);
9056
9057 public:
ByteSizeLong()9058 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)9059 ::uint8_t* _InternalSerialize(
9060 ::uint8_t* target,
9061 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
9062 return _InternalSerialize(*this, target, stream);
9063 }
9064 #else // PROTOBUF_CUSTOM_VTABLE
9065 ::size_t ByteSizeLong() const final;
9066 ::uint8_t* _InternalSerialize(
9067 ::uint8_t* target,
9068 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
9069 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()9070 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
9071
9072 private:
9073 void SharedCtor(::google::protobuf::Arena* arena);
9074 static void SharedDtor(MessageLite& self);
9075 void InternalSwap(OneofDescriptorProto* other);
9076 private:
9077 template <typename T>
9078 friend ::absl::string_view(
9079 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()9080 static ::absl::string_view FullMessageName() { return "google.protobuf.OneofDescriptorProto"; }
9081
9082 protected:
9083 explicit OneofDescriptorProto(::google::protobuf::Arena* arena);
9084 OneofDescriptorProto(::google::protobuf::Arena* arena, const OneofDescriptorProto& from);
OneofDescriptorProto(::google::protobuf::Arena * arena,OneofDescriptorProto && from)9085 OneofDescriptorProto(::google::protobuf::Arena* arena, OneofDescriptorProto&& from) noexcept
9086 : OneofDescriptorProto(arena) {
9087 *this = ::std::move(from);
9088 }
9089 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
9090 static void* PlacementNew_(const void*, void* mem,
9091 ::google::protobuf::Arena* arena);
9092 static constexpr auto InternalNewImpl_();
9093 static const ::google::protobuf::internal::ClassDataFull _class_data_;
9094
9095 public:
9096 ::google::protobuf::Metadata GetMetadata() const;
9097 // nested types ----------------------------------------------------
9098
9099 // accessors -------------------------------------------------------
9100 enum : int {
9101 kNameFieldNumber = 1,
9102 kOptionsFieldNumber = 2,
9103 };
9104 // optional string name = 1;
9105 bool has_name() const;
9106 void clear_name() ;
9107 const std::string& name() const;
9108 template <typename Arg_ = const std::string&, typename... Args_>
9109 void set_name(Arg_&& arg, Args_... args);
9110 std::string* mutable_name();
9111 PROTOBUF_NODISCARD std::string* release_name();
9112 void set_allocated_name(std::string* value);
9113
9114 private:
9115 const std::string& _internal_name() const;
9116 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
9117 const std::string& value);
9118 std::string* _internal_mutable_name();
9119
9120 public:
9121 // optional .google.protobuf.OneofOptions options = 2;
9122 bool has_options() const;
9123 void clear_options() ;
9124 const ::google::protobuf::OneofOptions& options() const;
9125 PROTOBUF_NODISCARD ::google::protobuf::OneofOptions* release_options();
9126 ::google::protobuf::OneofOptions* mutable_options();
9127 void set_allocated_options(::google::protobuf::OneofOptions* value);
9128 void unsafe_arena_set_allocated_options(::google::protobuf::OneofOptions* value);
9129 ::google::protobuf::OneofOptions* unsafe_arena_release_options();
9130
9131 private:
9132 const ::google::protobuf::OneofOptions& _internal_options() const;
9133 ::google::protobuf::OneofOptions* _internal_mutable_options();
9134
9135 public:
9136 // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto)
9137 private:
9138 class _Internal;
9139 friend class ::google::protobuf::internal::TcParser;
9140 static const ::google::protobuf::internal::TcParseTable<
9141 1, 2, 1,
9142 49, 2>
9143 _table_;
9144
9145 friend class ::google::protobuf::MessageLite;
9146 friend class ::google::protobuf::Arena;
9147 template <typename T>
9148 friend class ::google::protobuf::Arena::InternalHelper;
9149 using InternalArenaConstructable_ = void;
9150 using DestructorSkippable_ = void;
9151 struct Impl_ {
9152 inline explicit constexpr Impl_(
9153 ::google::protobuf::internal::ConstantInitialized) noexcept;
9154 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
9155 ::google::protobuf::Arena* arena);
9156 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
9157 ::google::protobuf::Arena* arena, const Impl_& from,
9158 const OneofDescriptorProto& from_msg);
9159 ::google::protobuf::internal::HasBits<1> _has_bits_;
9160 ::google::protobuf::internal::CachedSize _cached_size_;
9161 ::google::protobuf::internal::ArenaStringPtr name_;
9162 ::google::protobuf::OneofOptions* options_;
9163 PROTOBUF_TSAN_DECLARE_MEMBER
9164 };
9165 union { Impl_ _impl_; };
9166 friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
9167 };
9168 // -------------------------------------------------------------------
9169
9170 class PROTOBUF_EXPORT MethodDescriptorProto final : public ::google::protobuf::Message
9171 /* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescriptorProto) */ {
9172 public:
MethodDescriptorProto()9173 inline MethodDescriptorProto() : MethodDescriptorProto(nullptr) {}
9174 ~MethodDescriptorProto() PROTOBUF_FINAL;
9175
9176 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(MethodDescriptorProto * msg,std::destroying_delete_t)9177 void operator delete(MethodDescriptorProto* msg, std::destroying_delete_t) {
9178 SharedDtor(*msg);
9179 ::google::protobuf::internal::SizedDelete(msg, sizeof(MethodDescriptorProto));
9180 }
9181 #endif
9182
9183 template <typename = void>
9184 explicit PROTOBUF_CONSTEXPR MethodDescriptorProto(
9185 ::google::protobuf::internal::ConstantInitialized);
9186
MethodDescriptorProto(const MethodDescriptorProto & from)9187 inline MethodDescriptorProto(const MethodDescriptorProto& from) : MethodDescriptorProto(nullptr, from) {}
MethodDescriptorProto(MethodDescriptorProto && from)9188 inline MethodDescriptorProto(MethodDescriptorProto&& from) noexcept
9189 : MethodDescriptorProto(nullptr, std::move(from)) {}
9190 inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) {
9191 CopyFrom(from);
9192 return *this;
9193 }
9194 inline MethodDescriptorProto& operator=(MethodDescriptorProto&& from) noexcept {
9195 if (this == &from) return *this;
9196 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
9197 InternalSwap(&from);
9198 } else {
9199 CopyFrom(from);
9200 }
9201 return *this;
9202 }
9203
unknown_fields()9204 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
9205 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9206 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
9207 }
mutable_unknown_fields()9208