/src/LPM/external.protobuf/include/google/protobuf/descriptor.pb.h
Line | Count | Source (jump to first uncovered line) |
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.3 |
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 != 5029003 |
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> |
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 <> |
186 | 0 | inline const std::string& ExtensionRangeOptions_VerificationState_Name(ExtensionRangeOptions_VerificationState value) { |
187 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<ExtensionRangeOptions_VerificationState_descriptor, |
188 | 0 | 0, 1>( |
189 | 0 | static_cast<int>(value)); |
190 | 0 | } |
191 | 0 | inline bool ExtensionRangeOptions_VerificationState_Parse(absl::string_view name, ExtensionRangeOptions_VerificationState* value) { |
192 | 0 | return ::google::protobuf::internal::ParseNamedEnum<ExtensionRangeOptions_VerificationState>( |
193 | 0 | ExtensionRangeOptions_VerificationState_descriptor(), name, value); |
194 | 0 | } |
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> |
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 <> |
231 | 0 | inline const std::string& FieldDescriptorProto_Type_Name(FieldDescriptorProto_Type value) { |
232 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FieldDescriptorProto_Type_descriptor, |
233 | 0 | 1, 18>( |
234 | 0 | static_cast<int>(value)); |
235 | 0 | } |
236 | 0 | inline bool FieldDescriptorProto_Type_Parse(absl::string_view name, FieldDescriptorProto_Type* value) { |
237 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Type>( |
238 | 0 | FieldDescriptorProto_Type_descriptor(), name, value); |
239 | 0 | } |
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> |
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 <> |
261 | 0 | inline const std::string& FieldDescriptorProto_Label_Name(FieldDescriptorProto_Label value) { |
262 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FieldDescriptorProto_Label_descriptor, |
263 | 0 | 1, 3>( |
264 | 0 | static_cast<int>(value)); |
265 | 0 | } |
266 | 0 | inline bool FieldDescriptorProto_Label_Parse(absl::string_view name, FieldDescriptorProto_Label* value) { |
267 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Label>( |
268 | 0 | FieldDescriptorProto_Label_descriptor(), name, value); |
269 | 0 | } |
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> |
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 <> |
291 | 0 | inline const std::string& FileOptions_OptimizeMode_Name(FileOptions_OptimizeMode value) { |
292 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FileOptions_OptimizeMode_descriptor, |
293 | 0 | 1, 3>( |
294 | 0 | static_cast<int>(value)); |
295 | 0 | } |
296 | 0 | inline bool FileOptions_OptimizeMode_Parse(absl::string_view name, FileOptions_OptimizeMode* value) { |
297 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FileOptions_OptimizeMode>( |
298 | 0 | FileOptions_OptimizeMode_descriptor(), name, value); |
299 | 0 | } |
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> |
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 <> |
321 | 0 | inline const std::string& FieldOptions_CType_Name(FieldOptions_CType value) { |
322 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_CType_descriptor, |
323 | 0 | 0, 2>( |
324 | 0 | static_cast<int>(value)); |
325 | 0 | } |
326 | 0 | inline bool FieldOptions_CType_Parse(absl::string_view name, FieldOptions_CType* value) { |
327 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_CType>( |
328 | 0 | FieldOptions_CType_descriptor(), name, value); |
329 | 0 | } |
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> |
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 <> |
351 | 0 | inline const std::string& FieldOptions_JSType_Name(FieldOptions_JSType value) { |
352 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_JSType_descriptor, |
353 | 0 | 0, 2>( |
354 | 0 | static_cast<int>(value)); |
355 | 0 | } |
356 | 0 | inline bool FieldOptions_JSType_Parse(absl::string_view name, FieldOptions_JSType* value) { |
357 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>( |
358 | 0 | FieldOptions_JSType_descriptor(), name, value); |
359 | 0 | } |
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> |
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 <> |
381 | 0 | inline const std::string& FieldOptions_OptionRetention_Name(FieldOptions_OptionRetention value) { |
382 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_OptionRetention_descriptor, |
383 | 0 | 0, 2>( |
384 | 0 | static_cast<int>(value)); |
385 | 0 | } |
386 | 0 | inline bool FieldOptions_OptionRetention_Parse(absl::string_view name, FieldOptions_OptionRetention* value) { |
387 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_OptionRetention>( |
388 | 0 | FieldOptions_OptionRetention_descriptor(), name, value); |
389 | 0 | } |
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> |
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 <> |
418 | 0 | inline const std::string& FieldOptions_OptionTargetType_Name(FieldOptions_OptionTargetType value) { |
419 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_OptionTargetType_descriptor, |
420 | 0 | 0, 9>( |
421 | 0 | static_cast<int>(value)); |
422 | 0 | } |
423 | 0 | inline bool FieldOptions_OptionTargetType_Parse(absl::string_view name, FieldOptions_OptionTargetType* value) { |
424 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_OptionTargetType>( |
425 | 0 | FieldOptions_OptionTargetType_descriptor(), name, value); |
426 | 0 | } |
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> |
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 <> |
448 | 0 | inline const std::string& MethodOptions_IdempotencyLevel_Name(MethodOptions_IdempotencyLevel value) { |
449 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<MethodOptions_IdempotencyLevel_descriptor, |
450 | 0 | 0, 2>( |
451 | 0 | static_cast<int>(value)); |
452 | 0 | } |
453 | 0 | inline bool MethodOptions_IdempotencyLevel_Parse(absl::string_view name, MethodOptions_IdempotencyLevel* value) { |
454 | 0 | return ::google::protobuf::internal::ParseNamedEnum<MethodOptions_IdempotencyLevel>( |
455 | 0 | MethodOptions_IdempotencyLevel_descriptor(), name, value); |
456 | 0 | } |
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> |
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 <> |
479 | 0 | inline const std::string& FeatureSet_FieldPresence_Name(FeatureSet_FieldPresence value) { |
480 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_FieldPresence_descriptor, |
481 | 0 | 0, 3>( |
482 | 0 | static_cast<int>(value)); |
483 | 0 | } |
484 | 0 | inline bool FeatureSet_FieldPresence_Parse(absl::string_view name, FeatureSet_FieldPresence* value) { |
485 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_FieldPresence>( |
486 | 0 | FeatureSet_FieldPresence_descriptor(), name, value); |
487 | 0 | } |
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> |
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 <> |
509 | 0 | inline const std::string& FeatureSet_EnumType_Name(FeatureSet_EnumType value) { |
510 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_EnumType_descriptor, |
511 | 0 | 0, 2>( |
512 | 0 | static_cast<int>(value)); |
513 | 0 | } |
514 | 0 | inline bool FeatureSet_EnumType_Parse(absl::string_view name, FeatureSet_EnumType* value) { |
515 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_EnumType>( |
516 | 0 | FeatureSet_EnumType_descriptor(), name, value); |
517 | 0 | } |
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> |
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 <> |
539 | 0 | inline const std::string& FeatureSet_RepeatedFieldEncoding_Name(FeatureSet_RepeatedFieldEncoding value) { |
540 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_RepeatedFieldEncoding_descriptor, |
541 | 0 | 0, 2>( |
542 | 0 | static_cast<int>(value)); |
543 | 0 | } |
544 | 0 | inline bool FeatureSet_RepeatedFieldEncoding_Parse(absl::string_view name, FeatureSet_RepeatedFieldEncoding* value) { |
545 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_RepeatedFieldEncoding>( |
546 | 0 | FeatureSet_RepeatedFieldEncoding_descriptor(), name, value); |
547 | 0 | } |
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> |
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 <> |
569 | 0 | inline const std::string& FeatureSet_Utf8Validation_Name(FeatureSet_Utf8Validation value) { |
570 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_Utf8Validation_descriptor, |
571 | 0 | 0, 3>( |
572 | 0 | static_cast<int>(value)); |
573 | 0 | } |
574 | 0 | inline bool FeatureSet_Utf8Validation_Parse(absl::string_view name, FeatureSet_Utf8Validation* value) { |
575 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_Utf8Validation>( |
576 | 0 | FeatureSet_Utf8Validation_descriptor(), name, value); |
577 | 0 | } |
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> |
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 <> |
599 | 0 | inline const std::string& FeatureSet_MessageEncoding_Name(FeatureSet_MessageEncoding value) { |
600 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_MessageEncoding_descriptor, |
601 | 0 | 0, 2>( |
602 | 0 | static_cast<int>(value)); |
603 | 0 | } |
604 | 0 | inline bool FeatureSet_MessageEncoding_Parse(absl::string_view name, FeatureSet_MessageEncoding* value) { |
605 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_MessageEncoding>( |
606 | 0 | FeatureSet_MessageEncoding_descriptor(), name, value); |
607 | 0 | } |
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> |
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 <> |
629 | 0 | inline const std::string& FeatureSet_JsonFormat_Name(FeatureSet_JsonFormat value) { |
630 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_JsonFormat_descriptor, |
631 | 0 | 0, 2>( |
632 | 0 | static_cast<int>(value)); |
633 | 0 | } |
634 | 0 | inline bool FeatureSet_JsonFormat_Parse(absl::string_view name, FeatureSet_JsonFormat* value) { |
635 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_JsonFormat>( |
636 | 0 | FeatureSet_JsonFormat_descriptor(), name, value); |
637 | 0 | } |
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> |
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 <> |
659 | 0 | inline const std::string& GeneratedCodeInfo_Annotation_Semantic_Name(GeneratedCodeInfo_Annotation_Semantic value) { |
660 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<GeneratedCodeInfo_Annotation_Semantic_descriptor, |
661 | 0 | 0, 2>( |
662 | 0 | static_cast<int>(value)); |
663 | 0 | } |
664 | 0 | inline bool GeneratedCodeInfo_Annotation_Semantic_Parse(absl::string_view name, GeneratedCodeInfo_Annotation_Semantic* value) { |
665 | 0 | return ::google::protobuf::internal::ParseNamedEnum<GeneratedCodeInfo_Annotation_Semantic>( |
666 | 0 | GeneratedCodeInfo_Annotation_Semantic_descriptor(), name, value); |
667 | 0 | } |
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> |
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 | | } |
696 | 0 | inline bool Edition_Parse(absl::string_view name, Edition* value) { |
697 | 0 | return ::google::protobuf::internal::ParseNamedEnum<Edition>( |
698 | 0 | Edition_descriptor(), name, value); |
699 | 0 | } |
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: |
709 | 0 | inline UninterpretedOption_NamePart() : UninterpretedOption_NamePart(nullptr) {} |
710 | | ~UninterpretedOption_NamePart() PROTOBUF_FINAL; |
711 | | |
712 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
723 | 0 | inline UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from) : UninterpretedOption_NamePart(nullptr, from) {} |
724 | | inline UninterpretedOption_NamePart(UninterpretedOption_NamePart&& from) noexcept |
725 | 0 | : UninterpretedOption_NamePart(nullptr, std::move(from)) {} |
726 | 0 | inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) { |
727 | 0 | CopyFrom(from); |
728 | 0 | return *this; |
729 | 0 | } |
730 | 0 | inline UninterpretedOption_NamePart& operator=(UninterpretedOption_NamePart&& from) noexcept { |
731 | 0 | if (this == &from) return *this; |
732 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
733 | 0 | InternalSwap(&from); |
734 | 0 | } else { |
735 | 0 | CopyFrom(from); |
736 | 0 | } |
737 | 0 | return *this; |
738 | 0 | } |
739 | | |
740 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
741 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
742 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
743 | 0 | } |
744 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
745 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
746 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
747 | 0 | } |
748 | | |
749 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
750 | 0 | return GetDescriptor(); |
751 | 0 | } |
752 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
753 | 0 | return default_instance().GetMetadata().descriptor; |
754 | 0 | } |
755 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
756 | 0 | return default_instance().GetMetadata().reflection; |
757 | 0 | } |
758 | 0 | static const UninterpretedOption_NamePart& default_instance() { |
759 | 0 | return *internal_default_instance(); |
760 | 0 | } |
761 | 0 | static inline const UninterpretedOption_NamePart* internal_default_instance() { |
762 | 0 | return reinterpret_cast<const UninterpretedOption_NamePart*>( |
763 | 0 | &_UninterpretedOption_NamePart_default_instance_); |
764 | 0 | } |
765 | | static constexpr int kIndexInFileMessages = 24; |
766 | 0 | friend void swap(UninterpretedOption_NamePart& a, UninterpretedOption_NamePart& b) { a.Swap(&b); } |
767 | 0 | inline void Swap(UninterpretedOption_NamePart* other) { |
768 | 0 | if (other == this) return; |
769 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
770 | 0 | InternalSwap(other); |
771 | 0 | } else { |
772 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
773 | 0 | } |
774 | 0 | } |
775 | 0 | void UnsafeArenaSwap(UninterpretedOption_NamePart* other) { |
776 | 0 | if (other == this) return; |
777 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
778 | 0 | InternalSwap(other); |
779 | 0 | } |
780 | | |
781 | | // implements Message ---------------------------------------------- |
782 | | |
783 | 0 | UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena = nullptr) const { |
784 | 0 | return ::google::protobuf::Message::DefaultConstruct<UninterpretedOption_NamePart>(arena); |
785 | 0 | } |
786 | | using ::google::protobuf::Message::CopyFrom; |
787 | | void CopyFrom(const UninterpretedOption_NamePart& from); |
788 | | using ::google::protobuf::Message::MergeFrom; |
789 | 0 | 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: |
797 | 0 | bool IsInitialized() const { |
798 | 0 | return IsInitializedImpl(*this); |
799 | 0 | } |
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: |
814 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
826 | 0 | 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)(); |
836 | 0 | 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); |
841 | | UninterpretedOption_NamePart(::google::protobuf::Arena* arena, UninterpretedOption_NamePart&& from) noexcept |
842 | 0 | : UninterpretedOption_NamePart(arena) { |
843 | 0 | *this = ::std::move(from); |
844 | 0 | } |
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: |
925 | 0 | inline SourceCodeInfo_Location() : SourceCodeInfo_Location(nullptr) {} |
926 | | ~SourceCodeInfo_Location() PROTOBUF_FINAL; |
927 | | |
928 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
939 | 0 | inline SourceCodeInfo_Location(const SourceCodeInfo_Location& from) : SourceCodeInfo_Location(nullptr, from) {} |
940 | | inline SourceCodeInfo_Location(SourceCodeInfo_Location&& from) noexcept |
941 | 0 | : SourceCodeInfo_Location(nullptr, std::move(from)) {} |
942 | 0 | inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) { |
943 | 0 | CopyFrom(from); |
944 | 0 | return *this; |
945 | 0 | } |
946 | 0 | inline SourceCodeInfo_Location& operator=(SourceCodeInfo_Location&& from) noexcept { |
947 | 0 | if (this == &from) return *this; |
948 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
949 | 0 | InternalSwap(&from); |
950 | 0 | } else { |
951 | 0 | CopyFrom(from); |
952 | 0 | } |
953 | 0 | return *this; |
954 | 0 | } |
955 | | |
956 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
957 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
958 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
959 | 0 | } |
960 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
961 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
962 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
963 | 0 | } |
964 | | |
965 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
966 | 0 | return GetDescriptor(); |
967 | 0 | } |
968 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
969 | 0 | return default_instance().GetMetadata().descriptor; |
970 | 0 | } |
971 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
972 | 0 | return default_instance().GetMetadata().reflection; |
973 | 0 | } |
974 | 0 | static const SourceCodeInfo_Location& default_instance() { |
975 | 0 | return *internal_default_instance(); |
976 | 0 | } |
977 | 0 | static inline const SourceCodeInfo_Location* internal_default_instance() { |
978 | 0 | return reinterpret_cast<const SourceCodeInfo_Location*>( |
979 | 0 | &_SourceCodeInfo_Location_default_instance_); |
980 | 0 | } |
981 | | static constexpr int kIndexInFileMessages = 29; |
982 | 0 | friend void swap(SourceCodeInfo_Location& a, SourceCodeInfo_Location& b) { a.Swap(&b); } |
983 | 0 | inline void Swap(SourceCodeInfo_Location* other) { |
984 | 0 | if (other == this) return; |
985 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
986 | 0 | InternalSwap(other); |
987 | 0 | } else { |
988 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
989 | 0 | } |
990 | 0 | } |
991 | 0 | void UnsafeArenaSwap(SourceCodeInfo_Location* other) { |
992 | 0 | if (other == this) return; |
993 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
994 | 0 | InternalSwap(other); |
995 | 0 | } |
996 | | |
997 | | // implements Message ---------------------------------------------- |
998 | | |
999 | 0 | SourceCodeInfo_Location* New(::google::protobuf::Arena* arena = nullptr) const { |
1000 | 0 | return ::google::protobuf::Message::DefaultConstruct<SourceCodeInfo_Location>(arena); |
1001 | 0 | } |
1002 | | using ::google::protobuf::Message::CopyFrom; |
1003 | | void CopyFrom(const SourceCodeInfo_Location& from); |
1004 | | using ::google::protobuf::Message::MergeFrom; |
1005 | 0 | 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: |
1013 | 0 | bool IsInitialized() const { |
1014 | 0 | return true; |
1015 | 0 | } |
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: |
1025 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
1037 | 0 | 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)(); |
1047 | 0 | 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); |
1052 | | SourceCodeInfo_Location(::google::protobuf::Arena* arena, SourceCodeInfo_Location&& from) noexcept |
1053 | 0 | : SourceCodeInfo_Location(arena) { |
1054 | 0 | *this = ::std::move(from); |
1055 | 0 | } |
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: |
1208 | 0 | inline GeneratedCodeInfo_Annotation() : GeneratedCodeInfo_Annotation(nullptr) {} |
1209 | | ~GeneratedCodeInfo_Annotation() PROTOBUF_FINAL; |
1210 | | |
1211 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
1222 | 0 | inline GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from) : GeneratedCodeInfo_Annotation(nullptr, from) {} |
1223 | | inline GeneratedCodeInfo_Annotation(GeneratedCodeInfo_Annotation&& from) noexcept |
1224 | 0 | : GeneratedCodeInfo_Annotation(nullptr, std::move(from)) {} |
1225 | 0 | inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotation& from) { |
1226 | 0 | CopyFrom(from); |
1227 | 0 | return *this; |
1228 | 0 | } |
1229 | 0 | inline GeneratedCodeInfo_Annotation& operator=(GeneratedCodeInfo_Annotation&& from) noexcept { |
1230 | 0 | if (this == &from) return *this; |
1231 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1232 | 0 | InternalSwap(&from); |
1233 | 0 | } else { |
1234 | 0 | CopyFrom(from); |
1235 | 0 | } |
1236 | 0 | return *this; |
1237 | 0 | } |
1238 | | |
1239 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1240 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1241 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1242 | 0 | } |
1243 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1244 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1245 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1246 | 0 | } |
1247 | | |
1248 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1249 | 0 | return GetDescriptor(); |
1250 | 0 | } |
1251 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1252 | 0 | return default_instance().GetMetadata().descriptor; |
1253 | 0 | } |
1254 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1255 | 0 | return default_instance().GetMetadata().reflection; |
1256 | 0 | } |
1257 | 0 | static const GeneratedCodeInfo_Annotation& default_instance() { |
1258 | 0 | return *internal_default_instance(); |
1259 | 0 | } |
1260 | 0 | static inline const GeneratedCodeInfo_Annotation* internal_default_instance() { |
1261 | 0 | return reinterpret_cast<const GeneratedCodeInfo_Annotation*>( |
1262 | 0 | &_GeneratedCodeInfo_Annotation_default_instance_); |
1263 | 0 | } |
1264 | | static constexpr int kIndexInFileMessages = 31; |
1265 | 0 | friend void swap(GeneratedCodeInfo_Annotation& a, GeneratedCodeInfo_Annotation& b) { a.Swap(&b); } |
1266 | 0 | inline void Swap(GeneratedCodeInfo_Annotation* other) { |
1267 | 0 | if (other == this) return; |
1268 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1269 | 0 | InternalSwap(other); |
1270 | 0 | } else { |
1271 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1272 | 0 | } |
1273 | 0 | } |
1274 | 0 | void UnsafeArenaSwap(GeneratedCodeInfo_Annotation* other) { |
1275 | 0 | if (other == this) return; |
1276 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1277 | 0 | InternalSwap(other); |
1278 | 0 | } |
1279 | | |
1280 | | // implements Message ---------------------------------------------- |
1281 | | |
1282 | 0 | GeneratedCodeInfo_Annotation* New(::google::protobuf::Arena* arena = nullptr) const { |
1283 | 0 | return ::google::protobuf::Message::DefaultConstruct<GeneratedCodeInfo_Annotation>(arena); |
1284 | 0 | } |
1285 | | using ::google::protobuf::Message::CopyFrom; |
1286 | | void CopyFrom(const GeneratedCodeInfo_Annotation& from); |
1287 | | using ::google::protobuf::Message::MergeFrom; |
1288 | 0 | 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: |
1296 | 0 | bool IsInitialized() const { |
1297 | 0 | return true; |
1298 | 0 | } |
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: |
1308 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
1320 | 0 | 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)(); |
1330 | 0 | 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); |
1335 | | GeneratedCodeInfo_Annotation(::google::protobuf::Arena* arena, GeneratedCodeInfo_Annotation&& from) noexcept |
1336 | 0 | : GeneratedCodeInfo_Annotation(arena) { |
1337 | 0 | *this = ::std::move(from); |
1338 | 0 | } |
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; |
1352 | 0 | static inline bool Semantic_IsValid(int value) { |
1353 | 0 | return GeneratedCodeInfo_Annotation_Semantic_IsValid(value); |
1354 | 0 | } |
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; |
1358 | 0 | static inline const ::google::protobuf::EnumDescriptor* Semantic_descriptor() { |
1359 | 0 | return GeneratedCodeInfo_Annotation_Semantic_descriptor(); |
1360 | 0 | } |
1361 | | template <typename T> |
1362 | | static inline const std::string& Semantic_Name(T value) { |
1363 | | return GeneratedCodeInfo_Annotation_Semantic_Name(value); |
1364 | | } |
1365 | 0 | static inline bool Semantic_Parse(absl::string_view name, Semantic* value) { |
1366 | 0 | return GeneratedCodeInfo_Annotation_Semantic_Parse(name, value); |
1367 | 0 | } |
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: |
1486 | 0 | inline FieldOptions_FeatureSupport() : FieldOptions_FeatureSupport(nullptr) {} |
1487 | | ~FieldOptions_FeatureSupport() PROTOBUF_FINAL; |
1488 | | |
1489 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
1500 | 0 | inline FieldOptions_FeatureSupport(const FieldOptions_FeatureSupport& from) : FieldOptions_FeatureSupport(nullptr, from) {} |
1501 | | inline FieldOptions_FeatureSupport(FieldOptions_FeatureSupport&& from) noexcept |
1502 | 0 | : FieldOptions_FeatureSupport(nullptr, std::move(from)) {} |
1503 | 0 | inline FieldOptions_FeatureSupport& operator=(const FieldOptions_FeatureSupport& from) { |
1504 | 0 | CopyFrom(from); |
1505 | 0 | return *this; |
1506 | 0 | } |
1507 | 0 | inline FieldOptions_FeatureSupport& operator=(FieldOptions_FeatureSupport&& from) noexcept { |
1508 | 0 | if (this == &from) return *this; |
1509 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1510 | 0 | InternalSwap(&from); |
1511 | 0 | } else { |
1512 | 0 | CopyFrom(from); |
1513 | 0 | } |
1514 | 0 | return *this; |
1515 | 0 | } |
1516 | | |
1517 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1518 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1519 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1520 | 0 | } |
1521 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1522 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1523 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1524 | 0 | } |
1525 | | |
1526 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1527 | 0 | return GetDescriptor(); |
1528 | 0 | } |
1529 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1530 | 0 | return default_instance().GetMetadata().descriptor; |
1531 | 0 | } |
1532 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1533 | 0 | return default_instance().GetMetadata().reflection; |
1534 | 0 | } |
1535 | 0 | static const FieldOptions_FeatureSupport& default_instance() { |
1536 | 0 | return *internal_default_instance(); |
1537 | 0 | } |
1538 | 0 | static inline const FieldOptions_FeatureSupport* internal_default_instance() { |
1539 | 0 | return reinterpret_cast<const FieldOptions_FeatureSupport*>( |
1540 | 0 | &_FieldOptions_FeatureSupport_default_instance_); |
1541 | 0 | } |
1542 | | static constexpr int kIndexInFileMessages = 17; |
1543 | 0 | friend void swap(FieldOptions_FeatureSupport& a, FieldOptions_FeatureSupport& b) { a.Swap(&b); } |
1544 | 0 | inline void Swap(FieldOptions_FeatureSupport* other) { |
1545 | 0 | if (other == this) return; |
1546 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1547 | 0 | InternalSwap(other); |
1548 | 0 | } else { |
1549 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1550 | 0 | } |
1551 | 0 | } |
1552 | 0 | void UnsafeArenaSwap(FieldOptions_FeatureSupport* other) { |
1553 | 0 | if (other == this) return; |
1554 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1555 | 0 | InternalSwap(other); |
1556 | 0 | } |
1557 | | |
1558 | | // implements Message ---------------------------------------------- |
1559 | | |
1560 | 0 | FieldOptions_FeatureSupport* New(::google::protobuf::Arena* arena = nullptr) const { |
1561 | 0 | return ::google::protobuf::Message::DefaultConstruct<FieldOptions_FeatureSupport>(arena); |
1562 | 0 | } |
1563 | | using ::google::protobuf::Message::CopyFrom; |
1564 | | void CopyFrom(const FieldOptions_FeatureSupport& from); |
1565 | | using ::google::protobuf::Message::MergeFrom; |
1566 | 0 | 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: |
1574 | 0 | bool IsInitialized() const { |
1575 | 0 | return true; |
1576 | 0 | } |
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: |
1586 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
1598 | 0 | 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)(); |
1608 | 0 | 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); |
1613 | | FieldOptions_FeatureSupport(::google::protobuf::Arena* arena, FieldOptions_FeatureSupport&& from) noexcept |
1614 | 0 | : FieldOptions_FeatureSupport(arena) { |
1615 | 0 | *this = ::std::move(from); |
1616 | 0 | } |
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: |
1723 | 0 | inline FieldOptions_EditionDefault() : FieldOptions_EditionDefault(nullptr) {} |
1724 | | ~FieldOptions_EditionDefault() PROTOBUF_FINAL; |
1725 | | |
1726 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
1737 | 0 | inline FieldOptions_EditionDefault(const FieldOptions_EditionDefault& from) : FieldOptions_EditionDefault(nullptr, from) {} |
1738 | | inline FieldOptions_EditionDefault(FieldOptions_EditionDefault&& from) noexcept |
1739 | 0 | : FieldOptions_EditionDefault(nullptr, std::move(from)) {} |
1740 | 0 | inline FieldOptions_EditionDefault& operator=(const FieldOptions_EditionDefault& from) { |
1741 | 0 | CopyFrom(from); |
1742 | 0 | return *this; |
1743 | 0 | } |
1744 | 0 | inline FieldOptions_EditionDefault& operator=(FieldOptions_EditionDefault&& from) noexcept { |
1745 | 0 | if (this == &from) return *this; |
1746 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1747 | 0 | InternalSwap(&from); |
1748 | 0 | } else { |
1749 | 0 | CopyFrom(from); |
1750 | 0 | } |
1751 | 0 | return *this; |
1752 | 0 | } |
1753 | | |
1754 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1755 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1756 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1757 | 0 | } |
1758 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1759 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1760 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1761 | 0 | } |
1762 | | |
1763 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1764 | 0 | return GetDescriptor(); |
1765 | 0 | } |
1766 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1767 | 0 | return default_instance().GetMetadata().descriptor; |
1768 | 0 | } |
1769 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1770 | 0 | return default_instance().GetMetadata().reflection; |
1771 | 0 | } |
1772 | 0 | static const FieldOptions_EditionDefault& default_instance() { |
1773 | 0 | return *internal_default_instance(); |
1774 | 0 | } |
1775 | 0 | static inline const FieldOptions_EditionDefault* internal_default_instance() { |
1776 | 0 | return reinterpret_cast<const FieldOptions_EditionDefault*>( |
1777 | 0 | &_FieldOptions_EditionDefault_default_instance_); |
1778 | 0 | } |
1779 | | static constexpr int kIndexInFileMessages = 16; |
1780 | 0 | friend void swap(FieldOptions_EditionDefault& a, FieldOptions_EditionDefault& b) { a.Swap(&b); } |
1781 | 0 | inline void Swap(FieldOptions_EditionDefault* other) { |
1782 | 0 | if (other == this) return; |
1783 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1784 | 0 | InternalSwap(other); |
1785 | 0 | } else { |
1786 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1787 | 0 | } |
1788 | 0 | } |
1789 | 0 | void UnsafeArenaSwap(FieldOptions_EditionDefault* other) { |
1790 | 0 | if (other == this) return; |
1791 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1792 | 0 | InternalSwap(other); |
1793 | 0 | } |
1794 | | |
1795 | | // implements Message ---------------------------------------------- |
1796 | | |
1797 | 0 | FieldOptions_EditionDefault* New(::google::protobuf::Arena* arena = nullptr) const { |
1798 | 0 | return ::google::protobuf::Message::DefaultConstruct<FieldOptions_EditionDefault>(arena); |
1799 | 0 | } |
1800 | | using ::google::protobuf::Message::CopyFrom; |
1801 | | void CopyFrom(const FieldOptions_EditionDefault& from); |
1802 | | using ::google::protobuf::Message::MergeFrom; |
1803 | 0 | 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: |
1811 | 0 | bool IsInitialized() const { |
1812 | 0 | return true; |
1813 | 0 | } |
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: |
1823 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
1835 | 0 | 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)(); |
1845 | 0 | 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); |
1850 | | FieldOptions_EditionDefault(::google::protobuf::Arena* arena, FieldOptions_EditionDefault&& from) noexcept |
1851 | 0 | : FieldOptions_EditionDefault(arena) { |
1852 | 0 | *this = ::std::move(from); |
1853 | 0 | } |
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: |
1934 | 0 | inline FeatureSet() : FeatureSet(nullptr) {} |
1935 | | ~FeatureSet() PROTOBUF_FINAL; |
1936 | | |
1937 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
1948 | 0 | inline FeatureSet(const FeatureSet& from) : FeatureSet(nullptr, from) {} |
1949 | | inline FeatureSet(FeatureSet&& from) noexcept |
1950 | 0 | : FeatureSet(nullptr, std::move(from)) {} |
1951 | 0 | inline FeatureSet& operator=(const FeatureSet& from) { |
1952 | 0 | CopyFrom(from); |
1953 | 0 | return *this; |
1954 | 0 | } |
1955 | 0 | inline FeatureSet& operator=(FeatureSet&& from) noexcept { |
1956 | 0 | if (this == &from) return *this; |
1957 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1958 | 0 | InternalSwap(&from); |
1959 | 0 | } else { |
1960 | 0 | CopyFrom(from); |
1961 | 0 | } |
1962 | 0 | return *this; |
1963 | 0 | } |
1964 | | |
1965 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1966 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1967 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1968 | 0 | } |
1969 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1970 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1971 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1972 | 0 | } |
1973 | | |
1974 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1975 | 0 | return GetDescriptor(); |
1976 | 0 | } |
1977 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1978 | 0 | return default_instance().GetMetadata().descriptor; |
1979 | 0 | } |
1980 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1981 | 0 | return default_instance().GetMetadata().reflection; |
1982 | 0 | } |
1983 | 0 | static const FeatureSet& default_instance() { |
1984 | 0 | return *internal_default_instance(); |
1985 | 0 | } |
1986 | 0 | static inline const FeatureSet* internal_default_instance() { |
1987 | 0 | return reinterpret_cast<const FeatureSet*>( |
1988 | 0 | &_FeatureSet_default_instance_); |
1989 | 0 | } |
1990 | | static constexpr int kIndexInFileMessages = 26; |
1991 | 0 | friend void swap(FeatureSet& a, FeatureSet& b) { a.Swap(&b); } |
1992 | 0 | inline void Swap(FeatureSet* other) { |
1993 | 0 | if (other == this) return; |
1994 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1995 | 0 | InternalSwap(other); |
1996 | 0 | } else { |
1997 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1998 | 0 | } |
1999 | 0 | } |
2000 | 0 | void UnsafeArenaSwap(FeatureSet* other) { |
2001 | 0 | if (other == this) return; |
2002 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2003 | 0 | InternalSwap(other); |
2004 | 0 | } |
2005 | | |
2006 | | // implements Message ---------------------------------------------- |
2007 | | |
2008 | 0 | FeatureSet* New(::google::protobuf::Arena* arena = nullptr) const { |
2009 | 0 | return ::google::protobuf::Message::DefaultConstruct<FeatureSet>(arena); |
2010 | 0 | } |
2011 | | using ::google::protobuf::Message::CopyFrom; |
2012 | | void CopyFrom(const FeatureSet& from); |
2013 | | using ::google::protobuf::Message::MergeFrom; |
2014 | 0 | 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: |
2022 | 0 | bool IsInitialized() const { |
2023 | 0 | return IsInitializedImpl(*this); |
2024 | 0 | } |
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: |
2039 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
2051 | 0 | 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)(); |
2061 | 0 | 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); |
2066 | | FeatureSet(::google::protobuf::Arena* arena, FeatureSet&& from) noexcept |
2067 | 0 | : FeatureSet(arena) { |
2068 | 0 | *this = ::std::move(from); |
2069 | 0 | } |
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; |
2084 | 0 | static inline bool FieldPresence_IsValid(int value) { |
2085 | 0 | return FeatureSet_FieldPresence_IsValid(value); |
2086 | 0 | } |
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; |
2090 | 0 | static inline const ::google::protobuf::EnumDescriptor* FieldPresence_descriptor() { |
2091 | 0 | return FeatureSet_FieldPresence_descriptor(); |
2092 | 0 | } |
2093 | | template <typename T> |
2094 | | static inline const std::string& FieldPresence_Name(T value) { |
2095 | | return FeatureSet_FieldPresence_Name(value); |
2096 | | } |
2097 | 0 | static inline bool FieldPresence_Parse(absl::string_view name, FieldPresence* value) { |
2098 | 0 | return FeatureSet_FieldPresence_Parse(name, value); |
2099 | 0 | } |
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; |
2104 | 0 | static inline bool EnumType_IsValid(int value) { |
2105 | 0 | return FeatureSet_EnumType_IsValid(value); |
2106 | 0 | } |
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; |
2110 | 0 | static inline const ::google::protobuf::EnumDescriptor* EnumType_descriptor() { |
2111 | 0 | return FeatureSet_EnumType_descriptor(); |
2112 | 0 | } |
2113 | | template <typename T> |
2114 | | static inline const std::string& EnumType_Name(T value) { |
2115 | | return FeatureSet_EnumType_Name(value); |
2116 | | } |
2117 | 0 | static inline bool EnumType_Parse(absl::string_view name, EnumType* value) { |
2118 | 0 | return FeatureSet_EnumType_Parse(name, value); |
2119 | 0 | } |
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; |
2124 | 0 | static inline bool RepeatedFieldEncoding_IsValid(int value) { |
2125 | 0 | return FeatureSet_RepeatedFieldEncoding_IsValid(value); |
2126 | 0 | } |
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; |
2130 | 0 | static inline const ::google::protobuf::EnumDescriptor* RepeatedFieldEncoding_descriptor() { |
2131 | 0 | return FeatureSet_RepeatedFieldEncoding_descriptor(); |
2132 | 0 | } |
2133 | | template <typename T> |
2134 | | static inline const std::string& RepeatedFieldEncoding_Name(T value) { |
2135 | | return FeatureSet_RepeatedFieldEncoding_Name(value); |
2136 | | } |
2137 | 0 | static inline bool RepeatedFieldEncoding_Parse(absl::string_view name, RepeatedFieldEncoding* value) { |
2138 | 0 | return FeatureSet_RepeatedFieldEncoding_Parse(name, value); |
2139 | 0 | } |
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; |
2144 | 0 | static inline bool Utf8Validation_IsValid(int value) { |
2145 | 0 | return FeatureSet_Utf8Validation_IsValid(value); |
2146 | 0 | } |
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; |
2150 | 0 | static inline const ::google::protobuf::EnumDescriptor* Utf8Validation_descriptor() { |
2151 | 0 | return FeatureSet_Utf8Validation_descriptor(); |
2152 | 0 | } |
2153 | | template <typename T> |
2154 | | static inline const std::string& Utf8Validation_Name(T value) { |
2155 | | return FeatureSet_Utf8Validation_Name(value); |
2156 | | } |
2157 | 0 | static inline bool Utf8Validation_Parse(absl::string_view name, Utf8Validation* value) { |
2158 | 0 | return FeatureSet_Utf8Validation_Parse(name, value); |
2159 | 0 | } |
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; |
2164 | 0 | static inline bool MessageEncoding_IsValid(int value) { |
2165 | 0 | return FeatureSet_MessageEncoding_IsValid(value); |
2166 | 0 | } |
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; |
2170 | 0 | static inline const ::google::protobuf::EnumDescriptor* MessageEncoding_descriptor() { |
2171 | 0 | return FeatureSet_MessageEncoding_descriptor(); |
2172 | 0 | } |
2173 | | template <typename T> |
2174 | | static inline const std::string& MessageEncoding_Name(T value) { |
2175 | | return FeatureSet_MessageEncoding_Name(value); |
2176 | | } |
2177 | 0 | static inline bool MessageEncoding_Parse(absl::string_view name, MessageEncoding* value) { |
2178 | 0 | return FeatureSet_MessageEncoding_Parse(name, value); |
2179 | 0 | } |
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; |
2184 | 0 | static inline bool JsonFormat_IsValid(int value) { |
2185 | 0 | return FeatureSet_JsonFormat_IsValid(value); |
2186 | 0 | } |
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; |
2190 | 0 | static inline const ::google::protobuf::EnumDescriptor* JsonFormat_descriptor() { |
2191 | 0 | return FeatureSet_JsonFormat_descriptor(); |
2192 | 0 | } |
2193 | | template <typename T> |
2194 | | static inline const std::string& JsonFormat_Name(T value) { |
2195 | | return FeatureSet_JsonFormat_Name(value); |
2196 | | } |
2197 | 0 | static inline bool JsonFormat_Parse(absl::string_view name, JsonFormat* value) { |
2198 | 0 | return FeatureSet_JsonFormat_Parse(name, value); |
2199 | 0 | } |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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 |
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 |
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> |
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> |
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> |
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> |
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> |
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> |
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& |
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* |
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: |
2497 | 0 | inline ExtensionRangeOptions_Declaration() : ExtensionRangeOptions_Declaration(nullptr) {} |
2498 | | ~ExtensionRangeOptions_Declaration() PROTOBUF_FINAL; |
2499 | | |
2500 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
2511 | 0 | inline ExtensionRangeOptions_Declaration(const ExtensionRangeOptions_Declaration& from) : ExtensionRangeOptions_Declaration(nullptr, from) {} |
2512 | | inline ExtensionRangeOptions_Declaration(ExtensionRangeOptions_Declaration&& from) noexcept |
2513 | 0 | : ExtensionRangeOptions_Declaration(nullptr, std::move(from)) {} |
2514 | 0 | inline ExtensionRangeOptions_Declaration& operator=(const ExtensionRangeOptions_Declaration& from) { |
2515 | 0 | CopyFrom(from); |
2516 | 0 | return *this; |
2517 | 0 | } |
2518 | 0 | inline ExtensionRangeOptions_Declaration& operator=(ExtensionRangeOptions_Declaration&& from) noexcept { |
2519 | 0 | if (this == &from) return *this; |
2520 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
2521 | 0 | InternalSwap(&from); |
2522 | 0 | } else { |
2523 | 0 | CopyFrom(from); |
2524 | 0 | } |
2525 | 0 | return *this; |
2526 | 0 | } |
2527 | | |
2528 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2529 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2530 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2531 | 0 | } |
2532 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2533 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2534 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2535 | 0 | } |
2536 | | |
2537 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
2538 | 0 | return GetDescriptor(); |
2539 | 0 | } |
2540 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
2541 | 0 | return default_instance().GetMetadata().descriptor; |
2542 | 0 | } |
2543 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
2544 | 0 | return default_instance().GetMetadata().reflection; |
2545 | 0 | } |
2546 | 0 | static const ExtensionRangeOptions_Declaration& default_instance() { |
2547 | 0 | return *internal_default_instance(); |
2548 | 0 | } |
2549 | 0 | static inline const ExtensionRangeOptions_Declaration* internal_default_instance() { |
2550 | 0 | return reinterpret_cast<const ExtensionRangeOptions_Declaration*>( |
2551 | 0 | &_ExtensionRangeOptions_Declaration_default_instance_); |
2552 | 0 | } |
2553 | | static constexpr int kIndexInFileMessages = 5; |
2554 | 0 | friend void swap(ExtensionRangeOptions_Declaration& a, ExtensionRangeOptions_Declaration& b) { a.Swap(&b); } |
2555 | 0 | inline void Swap(ExtensionRangeOptions_Declaration* other) { |
2556 | 0 | if (other == this) return; |
2557 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
2558 | 0 | InternalSwap(other); |
2559 | 0 | } else { |
2560 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
2561 | 0 | } |
2562 | 0 | } |
2563 | 0 | void UnsafeArenaSwap(ExtensionRangeOptions_Declaration* other) { |
2564 | 0 | if (other == this) return; |
2565 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2566 | 0 | InternalSwap(other); |
2567 | 0 | } |
2568 | | |
2569 | | // implements Message ---------------------------------------------- |
2570 | | |
2571 | 0 | ExtensionRangeOptions_Declaration* New(::google::protobuf::Arena* arena = nullptr) const { |
2572 | 0 | return ::google::protobuf::Message::DefaultConstruct<ExtensionRangeOptions_Declaration>(arena); |
2573 | 0 | } |
2574 | | using ::google::protobuf::Message::CopyFrom; |
2575 | | void CopyFrom(const ExtensionRangeOptions_Declaration& from); |
2576 | | using ::google::protobuf::Message::MergeFrom; |
2577 | 0 | 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: |
2585 | 0 | bool IsInitialized() const { |
2586 | 0 | return true; |
2587 | 0 | } |
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: |
2597 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
2609 | 0 | 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)(); |
2619 | 0 | 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); |
2624 | | ExtensionRangeOptions_Declaration(::google::protobuf::Arena* arena, ExtensionRangeOptions_Declaration&& from) noexcept |
2625 | 0 | : ExtensionRangeOptions_Declaration(arena) { |
2626 | 0 | *this = ::std::move(from); |
2627 | 0 | } |
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: |
2753 | 0 | inline EnumDescriptorProto_EnumReservedRange() : EnumDescriptorProto_EnumReservedRange(nullptr) {} |
2754 | | ~EnumDescriptorProto_EnumReservedRange() PROTOBUF_FINAL; |
2755 | | |
2756 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
2767 | 0 | inline EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange& from) : EnumDescriptorProto_EnumReservedRange(nullptr, from) {} |
2768 | | inline EnumDescriptorProto_EnumReservedRange(EnumDescriptorProto_EnumReservedRange&& from) noexcept |
2769 | 0 | : EnumDescriptorProto_EnumReservedRange(nullptr, std::move(from)) {} |
2770 | 0 | inline EnumDescriptorProto_EnumReservedRange& operator=(const EnumDescriptorProto_EnumReservedRange& from) { |
2771 | 0 | CopyFrom(from); |
2772 | 0 | return *this; |
2773 | 0 | } |
2774 | 0 | inline EnumDescriptorProto_EnumReservedRange& operator=(EnumDescriptorProto_EnumReservedRange&& from) noexcept { |
2775 | 0 | if (this == &from) return *this; |
2776 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
2777 | 0 | InternalSwap(&from); |
2778 | 0 | } else { |
2779 | 0 | CopyFrom(from); |
2780 | 0 | } |
2781 | 0 | return *this; |
2782 | 0 | } |
2783 | | |
2784 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2785 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2786 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2787 | 0 | } |
2788 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2789 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2790 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2791 | 0 | } |
2792 | | |
2793 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
2794 | 0 | return GetDescriptor(); |
2795 | 0 | } |
2796 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
2797 | 0 | return default_instance().GetMetadata().descriptor; |
2798 | 0 | } |
2799 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
2800 | 0 | return default_instance().GetMetadata().reflection; |
2801 | 0 | } |
2802 | 0 | static const EnumDescriptorProto_EnumReservedRange& default_instance() { |
2803 | 0 | return *internal_default_instance(); |
2804 | 0 | } |
2805 | 0 | static inline const EnumDescriptorProto_EnumReservedRange* internal_default_instance() { |
2806 | 0 | return reinterpret_cast<const EnumDescriptorProto_EnumReservedRange*>( |
2807 | 0 | &_EnumDescriptorProto_EnumReservedRange_default_instance_); |
2808 | 0 | } |
2809 | | static constexpr int kIndexInFileMessages = 9; |
2810 | 0 | friend void swap(EnumDescriptorProto_EnumReservedRange& a, EnumDescriptorProto_EnumReservedRange& b) { a.Swap(&b); } |
2811 | 0 | inline void Swap(EnumDescriptorProto_EnumReservedRange* other) { |
2812 | 0 | if (other == this) return; |
2813 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
2814 | 0 | InternalSwap(other); |
2815 | 0 | } else { |
2816 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
2817 | 0 | } |
2818 | 0 | } |
2819 | 0 | void UnsafeArenaSwap(EnumDescriptorProto_EnumReservedRange* other) { |
2820 | 0 | if (other == this) return; |
2821 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2822 | 0 | InternalSwap(other); |
2823 | 0 | } |
2824 | | |
2825 | | // implements Message ---------------------------------------------- |
2826 | | |
2827 | 0 | EnumDescriptorProto_EnumReservedRange* New(::google::protobuf::Arena* arena = nullptr) const { |
2828 | 0 | return ::google::protobuf::Message::DefaultConstruct<EnumDescriptorProto_EnumReservedRange>(arena); |
2829 | 0 | } |
2830 | | using ::google::protobuf::Message::CopyFrom; |
2831 | | void CopyFrom(const EnumDescriptorProto_EnumReservedRange& from); |
2832 | | using ::google::protobuf::Message::MergeFrom; |
2833 | 0 | 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: |
2841 | 0 | bool IsInitialized() const { |
2842 | 0 | return true; |
2843 | 0 | } |
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: |
2853 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
2865 | 0 | 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)(); |
2875 | 0 | 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); |
2880 | | EnumDescriptorProto_EnumReservedRange(::google::protobuf::Arena* arena, EnumDescriptorProto_EnumReservedRange&& from) noexcept |
2881 | 0 | : EnumDescriptorProto_EnumReservedRange(arena) { |
2882 | 0 | *this = ::std::move(from); |
2883 | 0 | } |
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: |
2958 | 0 | inline DescriptorProto_ReservedRange() : DescriptorProto_ReservedRange(nullptr) {} |
2959 | | ~DescriptorProto_ReservedRange() PROTOBUF_FINAL; |
2960 | | |
2961 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
2972 | 0 | inline DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from) : DescriptorProto_ReservedRange(nullptr, from) {} |
2973 | | inline DescriptorProto_ReservedRange(DescriptorProto_ReservedRange&& from) noexcept |
2974 | 0 | : DescriptorProto_ReservedRange(nullptr, std::move(from)) {} |
2975 | 0 | inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) { |
2976 | 0 | CopyFrom(from); |
2977 | 0 | return *this; |
2978 | 0 | } |
2979 | 0 | inline DescriptorProto_ReservedRange& operator=(DescriptorProto_ReservedRange&& from) noexcept { |
2980 | 0 | if (this == &from) return *this; |
2981 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
2982 | 0 | InternalSwap(&from); |
2983 | 0 | } else { |
2984 | 0 | CopyFrom(from); |
2985 | 0 | } |
2986 | 0 | return *this; |
2987 | 0 | } |
2988 | | |
2989 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2990 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2991 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2992 | 0 | } |
2993 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2994 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2995 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2996 | 0 | } |
2997 | | |
2998 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
2999 | 0 | return GetDescriptor(); |
3000 | 0 | } |
3001 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
3002 | 0 | return default_instance().GetMetadata().descriptor; |
3003 | 0 | } |
3004 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
3005 | 0 | return default_instance().GetMetadata().reflection; |
3006 | 0 | } |
3007 | 0 | static const DescriptorProto_ReservedRange& default_instance() { |
3008 | 0 | return *internal_default_instance(); |
3009 | 0 | } |
3010 | 0 | static inline const DescriptorProto_ReservedRange* internal_default_instance() { |
3011 | 0 | return reinterpret_cast<const DescriptorProto_ReservedRange*>( |
3012 | 0 | &_DescriptorProto_ReservedRange_default_instance_); |
3013 | 0 | } |
3014 | | static constexpr int kIndexInFileMessages = 3; |
3015 | 0 | friend void swap(DescriptorProto_ReservedRange& a, DescriptorProto_ReservedRange& b) { a.Swap(&b); } |
3016 | 0 | inline void Swap(DescriptorProto_ReservedRange* other) { |
3017 | 0 | if (other == this) return; |
3018 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
3019 | 0 | InternalSwap(other); |
3020 | 0 | } else { |
3021 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
3022 | 0 | } |
3023 | 0 | } |
3024 | 0 | void UnsafeArenaSwap(DescriptorProto_ReservedRange* other) { |
3025 | 0 | if (other == this) return; |
3026 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
3027 | 0 | InternalSwap(other); |
3028 | 0 | } |
3029 | | |
3030 | | // implements Message ---------------------------------------------- |
3031 | | |
3032 | 0 | DescriptorProto_ReservedRange* New(::google::protobuf::Arena* arena = nullptr) const { |
3033 | 0 | return ::google::protobuf::Message::DefaultConstruct<DescriptorProto_ReservedRange>(arena); |
3034 | 0 | } |
3035 | | using ::google::protobuf::Message::CopyFrom; |
3036 | | void CopyFrom(const DescriptorProto_ReservedRange& from); |
3037 | | using ::google::protobuf::Message::MergeFrom; |
3038 | 0 | 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: |
3046 | 0 | bool IsInitialized() const { |
3047 | 0 | return true; |
3048 | 0 | } |
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: |
3058 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
3070 | 0 | 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)(); |
3080 | 0 | 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); |
3085 | | DescriptorProto_ReservedRange(::google::protobuf::Arena* arena, DescriptorProto_ReservedRange&& from) noexcept |
3086 | 0 | : DescriptorProto_ReservedRange(arena) { |
3087 | 0 | *this = ::std::move(from); |
3088 | 0 | } |
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: |
3163 | 0 | inline UninterpretedOption() : UninterpretedOption(nullptr) {} |
3164 | | ~UninterpretedOption() PROTOBUF_FINAL; |
3165 | | |
3166 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
3177 | 0 | inline UninterpretedOption(const UninterpretedOption& from) : UninterpretedOption(nullptr, from) {} |
3178 | | inline UninterpretedOption(UninterpretedOption&& from) noexcept |
3179 | 0 | : UninterpretedOption(nullptr, std::move(from)) {} |
3180 | 0 | inline UninterpretedOption& operator=(const UninterpretedOption& from) { |
3181 | 0 | CopyFrom(from); |
3182 | 0 | return *this; |
3183 | 0 | } |
3184 | 0 | inline UninterpretedOption& operator=(UninterpretedOption&& from) noexcept { |
3185 | 0 | if (this == &from) return *this; |
3186 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
3187 | 0 | InternalSwap(&from); |
3188 | 0 | } else { |
3189 | 0 | CopyFrom(from); |
3190 | 0 | } |
3191 | 0 | return *this; |
3192 | 0 | } |
3193 | | |
3194 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
3195 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3196 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
3197 | 0 | } |
3198 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
3199 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3200 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
3201 | 0 | } |
3202 | | |
3203 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
3204 | 0 | return GetDescriptor(); |
3205 | 0 | } |
3206 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
3207 | 0 | return default_instance().GetMetadata().descriptor; |
3208 | 0 | } |
3209 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
3210 | 0 | return default_instance().GetMetadata().reflection; |
3211 | 0 | } |
3212 | 0 | static const UninterpretedOption& default_instance() { |
3213 | 0 | return *internal_default_instance(); |
3214 | 0 | } |
3215 | 0 | static inline const UninterpretedOption* internal_default_instance() { |
3216 | 0 | return reinterpret_cast<const UninterpretedOption*>( |
3217 | 0 | &_UninterpretedOption_default_instance_); |
3218 | 0 | } |
3219 | | static constexpr int kIndexInFileMessages = 25; |
3220 | 0 | friend void swap(UninterpretedOption& a, UninterpretedOption& b) { a.Swap(&b); } |
3221 | 0 | inline void Swap(UninterpretedOption* other) { |
3222 | 0 | if (other == this) return; |
3223 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
3224 | 0 | InternalSwap(other); |
3225 | 0 | } else { |
3226 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
3227 | 0 | } |
3228 | 0 | } |
3229 | 0 | void UnsafeArenaSwap(UninterpretedOption* other) { |
3230 | 0 | if (other == this) return; |
3231 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
3232 | 0 | InternalSwap(other); |
3233 | 0 | } |
3234 | | |
3235 | | // implements Message ---------------------------------------------- |
3236 | | |
3237 | 0 | UninterpretedOption* New(::google::protobuf::Arena* arena = nullptr) const { |
3238 | 0 | return ::google::protobuf::Message::DefaultConstruct<UninterpretedOption>(arena); |
3239 | 0 | } |
3240 | | using ::google::protobuf::Message::CopyFrom; |
3241 | | void CopyFrom(const UninterpretedOption& from); |
3242 | | using ::google::protobuf::Message::MergeFrom; |
3243 | 0 | 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: |
3251 | 0 | bool IsInitialized() const { |
3252 | 0 | return IsInitializedImpl(*this); |
3253 | 0 | } |
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: |
3268 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
3280 | 0 | 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)(); |
3290 | 0 | 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); |
3295 | | UninterpretedOption(::google::protobuf::Arena* arena, UninterpretedOption&& from) noexcept |
3296 | 0 | : UninterpretedOption(arena) { |
3297 | 0 | *this = ::std::move(from); |
3298 | 0 | } |
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: |
3463 | 0 | inline SourceCodeInfo() : SourceCodeInfo(nullptr) {} |
3464 | | ~SourceCodeInfo() PROTOBUF_FINAL; |
3465 | | |
3466 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
3477 | 0 | inline SourceCodeInfo(const SourceCodeInfo& from) : SourceCodeInfo(nullptr, from) {} |
3478 | | inline SourceCodeInfo(SourceCodeInfo&& from) noexcept |
3479 | 0 | : SourceCodeInfo(nullptr, std::move(from)) {} |
3480 | 0 | inline SourceCodeInfo& operator=(const SourceCodeInfo& from) { |
3481 | 0 | CopyFrom(from); |
3482 | 0 | return *this; |
3483 | 0 | } |
3484 | 0 | inline SourceCodeInfo& operator=(SourceCodeInfo&& from) noexcept { |
3485 | 0 | if (this == &from) return *this; |
3486 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
3487 | 0 | InternalSwap(&from); |
3488 | 0 | } else { |
3489 | 0 | CopyFrom(from); |
3490 | 0 | } |
3491 | 0 | return *this; |
3492 | 0 | } |
3493 | | |
3494 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
3495 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3496 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
3497 | 0 | } |
3498 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
3499 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3500 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
3501 | 0 | } |
3502 | | |
3503 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
3504 | 0 | return GetDescriptor(); |
3505 | 0 | } |
3506 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
3507 | 0 | return default_instance().GetMetadata().descriptor; |
3508 | 0 | } |
3509 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
3510 | 0 | return default_instance().GetMetadata().reflection; |
3511 | 0 | } |
3512 | 0 | static const SourceCodeInfo& default_instance() { |
3513 | 0 | return *internal_default_instance(); |
3514 | 0 | } |
3515 | 0 | static inline const SourceCodeInfo* internal_default_instance() { |
3516 | 0 | return reinterpret_cast<const SourceCodeInfo*>( |
3517 | 0 | &_SourceCodeInfo_default_instance_); |
3518 | 0 | } |
3519 | | static constexpr int kIndexInFileMessages = 30; |
3520 | 0 | friend void swap(SourceCodeInfo& a, SourceCodeInfo& b) { a.Swap(&b); } |
3521 | 0 | inline void Swap(SourceCodeInfo* other) { |
3522 | 0 | if (other == this) return; |
3523 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
3524 | 0 | InternalSwap(other); |
3525 | 0 | } else { |
3526 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
3527 | 0 | } |
3528 | 0 | } |
3529 | 0 | void UnsafeArenaSwap(SourceCodeInfo* other) { |
3530 | 0 | if (other == this) return; |
3531 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
3532 | 0 | InternalSwap(other); |
3533 | 0 | } |
3534 | | |
3535 | | // implements Message ---------------------------------------------- |
3536 | | |
3537 | 0 | SourceCodeInfo* New(::google::protobuf::Arena* arena = nullptr) const { |
3538 | 0 | return ::google::protobuf::Message::DefaultConstruct<SourceCodeInfo>(arena); |
3539 | 0 | } |
3540 | | using ::google::protobuf::Message::CopyFrom; |
3541 | | void CopyFrom(const SourceCodeInfo& from); |
3542 | | using ::google::protobuf::Message::MergeFrom; |
3543 | 0 | 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: |
3551 | 0 | bool IsInitialized() const { |
3552 | 0 | return IsInitializedImpl(*this); |
3553 | 0 | } |
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: |
3568 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
3580 | 0 | 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)(); |
3590 | 0 | 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); |
3595 | | SourceCodeInfo(::google::protobuf::Arena* arena, SourceCodeInfo&& from) noexcept |
3596 | 0 | : SourceCodeInfo(arena) { |
3597 | 0 | *this = ::std::move(from); |
3598 | 0 | } |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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 |
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 |
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> |
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> |
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> |
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> |
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> |
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> |
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& |
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* |
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: |
3846 | 0 | inline GeneratedCodeInfo() : GeneratedCodeInfo(nullptr) {} |
3847 | | ~GeneratedCodeInfo() PROTOBUF_FINAL; |
3848 | | |
3849 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
3860 | 0 | inline GeneratedCodeInfo(const GeneratedCodeInfo& from) : GeneratedCodeInfo(nullptr, from) {} |
3861 | | inline GeneratedCodeInfo(GeneratedCodeInfo&& from) noexcept |
3862 | 0 | : GeneratedCodeInfo(nullptr, std::move(from)) {} |
3863 | 0 | inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) { |
3864 | 0 | CopyFrom(from); |
3865 | 0 | return *this; |
3866 | 0 | } |
3867 | 0 | inline GeneratedCodeInfo& operator=(GeneratedCodeInfo&& from) noexcept { |
3868 | 0 | if (this == &from) return *this; |
3869 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
3870 | 0 | InternalSwap(&from); |
3871 | 0 | } else { |
3872 | 0 | CopyFrom(from); |
3873 | 0 | } |
3874 | 0 | return *this; |
3875 | 0 | } |
3876 | | |
3877 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
3878 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3879 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
3880 | 0 | } |
3881 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
3882 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3883 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
3884 | 0 | } |
3885 | | |
3886 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
3887 | 0 | return GetDescriptor(); |
3888 | 0 | } |
3889 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
3890 | 0 | return default_instance().GetMetadata().descriptor; |
3891 | 0 | } |
3892 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
3893 | 0 | return default_instance().GetMetadata().reflection; |
3894 | 0 | } |
3895 | 0 | static const GeneratedCodeInfo& default_instance() { |
3896 | 0 | return *internal_default_instance(); |
3897 | 0 | } |
3898 | 0 | static inline const GeneratedCodeInfo* internal_default_instance() { |
3899 | 0 | return reinterpret_cast<const GeneratedCodeInfo*>( |
3900 | 0 | &_GeneratedCodeInfo_default_instance_); |
3901 | 0 | } |
3902 | | static constexpr int kIndexInFileMessages = 32; |
3903 | 0 | friend void swap(GeneratedCodeInfo& a, GeneratedCodeInfo& b) { a.Swap(&b); } |
3904 | 0 | inline void Swap(GeneratedCodeInfo* other) { |
3905 | 0 | if (other == this) return; |
3906 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
3907 | 0 | InternalSwap(other); |
3908 | 0 | } else { |
3909 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
3910 | 0 | } |
3911 | 0 | } |
3912 | 0 | void UnsafeArenaSwap(GeneratedCodeInfo* other) { |
3913 | 0 | if (other == this) return; |
3914 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
3915 | 0 | InternalSwap(other); |
3916 | 0 | } |
3917 | | |
3918 | | // implements Message ---------------------------------------------- |
3919 | | |
3920 | 0 | GeneratedCodeInfo* New(::google::protobuf::Arena* arena = nullptr) const { |
3921 | 0 | return ::google::protobuf::Message::DefaultConstruct<GeneratedCodeInfo>(arena); |
3922 | 0 | } |
3923 | | using ::google::protobuf::Message::CopyFrom; |
3924 | | void CopyFrom(const GeneratedCodeInfo& from); |
3925 | | using ::google::protobuf::Message::MergeFrom; |
3926 | 0 | 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: |
3934 | 0 | bool IsInitialized() const { |
3935 | 0 | return true; |
3936 | 0 | } |
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: |
3946 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
3958 | 0 | 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)(); |
3968 | 0 | 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); |
3973 | | GeneratedCodeInfo(::google::protobuf::Arena* arena, GeneratedCodeInfo&& from) noexcept |
3974 | 0 | : GeneratedCodeInfo(arena) { |
3975 | 0 | *this = ::std::move(from); |
3976 | 0 | } |
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: |
4044 | 0 | inline FeatureSetDefaults_FeatureSetEditionDefault() : FeatureSetDefaults_FeatureSetEditionDefault(nullptr) {} |
4045 | | ~FeatureSetDefaults_FeatureSetEditionDefault() PROTOBUF_FINAL; |
4046 | | |
4047 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
4058 | 0 | inline FeatureSetDefaults_FeatureSetEditionDefault(const FeatureSetDefaults_FeatureSetEditionDefault& from) : FeatureSetDefaults_FeatureSetEditionDefault(nullptr, from) {} |
4059 | | inline FeatureSetDefaults_FeatureSetEditionDefault(FeatureSetDefaults_FeatureSetEditionDefault&& from) noexcept |
4060 | 0 | : FeatureSetDefaults_FeatureSetEditionDefault(nullptr, std::move(from)) {} |
4061 | 0 | inline FeatureSetDefaults_FeatureSetEditionDefault& operator=(const FeatureSetDefaults_FeatureSetEditionDefault& from) { |
4062 | 0 | CopyFrom(from); |
4063 | 0 | return *this; |
4064 | 0 | } |
4065 | 0 | inline FeatureSetDefaults_FeatureSetEditionDefault& operator=(FeatureSetDefaults_FeatureSetEditionDefault&& from) noexcept { |
4066 | 0 | if (this == &from) return *this; |
4067 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
4068 | 0 | InternalSwap(&from); |
4069 | 0 | } else { |
4070 | 0 | CopyFrom(from); |
4071 | 0 | } |
4072 | 0 | return *this; |
4073 | 0 | } |
4074 | | |
4075 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
4076 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4077 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
4078 | 0 | } |
4079 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
4080 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4081 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
4082 | 0 | } |
4083 | | |
4084 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
4085 | 0 | return GetDescriptor(); |
4086 | 0 | } |
4087 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
4088 | 0 | return default_instance().GetMetadata().descriptor; |
4089 | 0 | } |
4090 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
4091 | 0 | return default_instance().GetMetadata().reflection; |
4092 | 0 | } |
4093 | 0 | static const FeatureSetDefaults_FeatureSetEditionDefault& default_instance() { |
4094 | 0 | return *internal_default_instance(); |
4095 | 0 | } |
4096 | 0 | static inline const FeatureSetDefaults_FeatureSetEditionDefault* internal_default_instance() { |
4097 | 0 | return reinterpret_cast<const FeatureSetDefaults_FeatureSetEditionDefault*>( |
4098 | 0 | &_FeatureSetDefaults_FeatureSetEditionDefault_default_instance_); |
4099 | 0 | } |
4100 | | static constexpr int kIndexInFileMessages = 27; |
4101 | 0 | friend void swap(FeatureSetDefaults_FeatureSetEditionDefault& a, FeatureSetDefaults_FeatureSetEditionDefault& b) { a.Swap(&b); } |
4102 | 0 | inline void Swap(FeatureSetDefaults_FeatureSetEditionDefault* other) { |
4103 | 0 | if (other == this) return; |
4104 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
4105 | 0 | InternalSwap(other); |
4106 | 0 | } else { |
4107 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
4108 | 0 | } |
4109 | 0 | } |
4110 | 0 | void UnsafeArenaSwap(FeatureSetDefaults_FeatureSetEditionDefault* other) { |
4111 | 0 | if (other == this) return; |
4112 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
4113 | 0 | InternalSwap(other); |
4114 | 0 | } |
4115 | | |
4116 | | // implements Message ---------------------------------------------- |
4117 | | |
4118 | 0 | FeatureSetDefaults_FeatureSetEditionDefault* New(::google::protobuf::Arena* arena = nullptr) const { |
4119 | 0 | return ::google::protobuf::Message::DefaultConstruct<FeatureSetDefaults_FeatureSetEditionDefault>(arena); |
4120 | 0 | } |
4121 | | using ::google::protobuf::Message::CopyFrom; |
4122 | | void CopyFrom(const FeatureSetDefaults_FeatureSetEditionDefault& from); |
4123 | | using ::google::protobuf::Message::MergeFrom; |
4124 | 0 | 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: |
4132 | 0 | bool IsInitialized() const { |
4133 | 0 | return IsInitializedImpl(*this); |
4134 | 0 | } |
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: |
4149 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
4161 | 0 | 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)(); |
4171 | 0 | 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); |
4176 | | FeatureSetDefaults_FeatureSetEditionDefault(::google::protobuf::Arena* arena, FeatureSetDefaults_FeatureSetEditionDefault&& from) noexcept |
4177 | 0 | : FeatureSetDefaults_FeatureSetEditionDefault(arena) { |
4178 | 0 | *this = ::std::move(from); |
4179 | 0 | } |
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: |
4275 | 0 | inline ServiceOptions() : ServiceOptions(nullptr) {} |
4276 | | ~ServiceOptions() PROTOBUF_FINAL; |
4277 | | |
4278 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
4289 | 0 | inline ServiceOptions(const ServiceOptions& from) : ServiceOptions(nullptr, from) {} |
4290 | | inline ServiceOptions(ServiceOptions&& from) noexcept |
4291 | 0 | : ServiceOptions(nullptr, std::move(from)) {} |
4292 | 0 | inline ServiceOptions& operator=(const ServiceOptions& from) { |
4293 | 0 | CopyFrom(from); |
4294 | 0 | return *this; |
4295 | 0 | } |
4296 | 0 | inline ServiceOptions& operator=(ServiceOptions&& from) noexcept { |
4297 | 0 | if (this == &from) return *this; |
4298 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
4299 | 0 | InternalSwap(&from); |
4300 | 0 | } else { |
4301 | 0 | CopyFrom(from); |
4302 | 0 | } |
4303 | 0 | return *this; |
4304 | 0 | } |
4305 | | |
4306 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
4307 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4308 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
4309 | 0 | } |
4310 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
4311 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4312 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
4313 | 0 | } |
4314 | | |
4315 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
4316 | 0 | return GetDescriptor(); |
4317 | 0 | } |
4318 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
4319 | 0 | return default_instance().GetMetadata().descriptor; |
4320 | 0 | } |
4321 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
4322 | 0 | return default_instance().GetMetadata().reflection; |
4323 | 0 | } |
4324 | 0 | static const ServiceOptions& default_instance() { |
4325 | 0 | return *internal_default_instance(); |
4326 | 0 | } |
4327 | 0 | static inline const ServiceOptions* internal_default_instance() { |
4328 | 0 | return reinterpret_cast<const ServiceOptions*>( |
4329 | 0 | &_ServiceOptions_default_instance_); |
4330 | 0 | } |
4331 | | static constexpr int kIndexInFileMessages = 22; |
4332 | 0 | friend void swap(ServiceOptions& a, ServiceOptions& b) { a.Swap(&b); } |
4333 | 0 | inline void Swap(ServiceOptions* other) { |
4334 | 0 | if (other == this) return; |
4335 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
4336 | 0 | InternalSwap(other); |
4337 | 0 | } else { |
4338 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
4339 | 0 | } |
4340 | 0 | } |
4341 | 0 | void UnsafeArenaSwap(ServiceOptions* other) { |
4342 | 0 | if (other == this) return; |
4343 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
4344 | 0 | InternalSwap(other); |
4345 | 0 | } |
4346 | | |
4347 | | // implements Message ---------------------------------------------- |
4348 | | |
4349 | 0 | ServiceOptions* New(::google::protobuf::Arena* arena = nullptr) const { |
4350 | 0 | return ::google::protobuf::Message::DefaultConstruct<ServiceOptions>(arena); |
4351 | 0 | } |
4352 | | using ::google::protobuf::Message::CopyFrom; |
4353 | | void CopyFrom(const ServiceOptions& from); |
4354 | | using ::google::protobuf::Message::MergeFrom; |
4355 | 0 | 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: |
4363 | 0 | bool IsInitialized() const { |
4364 | 0 | return IsInitializedImpl(*this); |
4365 | 0 | } |
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: |
4380 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
4392 | 0 | 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)(); |
4402 | 0 | 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); |
4407 | | ServiceOptions(::google::protobuf::Arena* arena, ServiceOptions&& from) noexcept |
4408 | 0 | : ServiceOptions(arena) { |
4409 | 0 | *this = ::std::move(from); |
4410 | 0 | } |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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 |
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 |
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> |
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> |
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> |
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> |
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> |
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> |
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& |
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* |
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: |
4688 | 0 | inline OneofOptions() : OneofOptions(nullptr) {} |
4689 | | ~OneofOptions() PROTOBUF_FINAL; |
4690 | | |
4691 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
4702 | 0 | inline OneofOptions(const OneofOptions& from) : OneofOptions(nullptr, from) {} |
4703 | | inline OneofOptions(OneofOptions&& from) noexcept |
4704 | 0 | : OneofOptions(nullptr, std::move(from)) {} |
4705 | 0 | inline OneofOptions& operator=(const OneofOptions& from) { |
4706 | 0 | CopyFrom(from); |
4707 | 0 | return *this; |
4708 | 0 | } |
4709 | 0 | inline OneofOptions& operator=(OneofOptions&& from) noexcept { |
4710 | 0 | if (this == &from) return *this; |
4711 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
4712 | 0 | InternalSwap(&from); |
4713 | 0 | } else { |
4714 | 0 | CopyFrom(from); |
4715 | 0 | } |
4716 | 0 | return *this; |
4717 | 0 | } |
4718 | | |
4719 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
4720 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4721 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
4722 | 0 | } |
4723 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
4724 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4725 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
4726 | 0 | } |
4727 | | |
4728 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
4729 | 0 | return GetDescriptor(); |
4730 | 0 | } |
4731 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
4732 | 0 | return default_instance().GetMetadata().descriptor; |
4733 | 0 | } |
4734 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
4735 | 0 | return default_instance().GetMetadata().reflection; |
4736 | 0 | } |
4737 | 0 | static const OneofOptions& default_instance() { |
4738 | 0 | return *internal_default_instance(); |
4739 | 0 | } |
4740 | 0 | static inline const OneofOptions* internal_default_instance() { |
4741 | 0 | return reinterpret_cast<const OneofOptions*>( |
4742 | 0 | &_OneofOptions_default_instance_); |
4743 | 0 | } |
4744 | | static constexpr int kIndexInFileMessages = 19; |
4745 | 0 | friend void swap(OneofOptions& a, OneofOptions& b) { a.Swap(&b); } |
4746 | 0 | inline void Swap(OneofOptions* other) { |
4747 | 0 | if (other == this) return; |
4748 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
4749 | 0 | InternalSwap(other); |
4750 | 0 | } else { |
4751 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
4752 | 0 | } |
4753 | 0 | } |
4754 | 0 | void UnsafeArenaSwap(OneofOptions* other) { |
4755 | 0 | if (other == this) return; |
4756 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
4757 | 0 | InternalSwap(other); |
4758 | 0 | } |
4759 | | |
4760 | | // implements Message ---------------------------------------------- |
4761 | | |
4762 | 0 | OneofOptions* New(::google::protobuf::Arena* arena = nullptr) const { |
4763 | 0 | return ::google::protobuf::Message::DefaultConstruct<OneofOptions>(arena); |
4764 | 0 | } |
4765 | | using ::google::protobuf::Message::CopyFrom; |
4766 | | void CopyFrom(const OneofOptions& from); |
4767 | | using ::google::protobuf::Message::MergeFrom; |
4768 | 0 | 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: |
4776 | 0 | bool IsInitialized() const { |
4777 | 0 | return IsInitializedImpl(*this); |
4778 | 0 | } |
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: |
4793 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
4805 | 0 | 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)(); |
4815 | 0 | 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); |
4820 | | OneofOptions(::google::protobuf::Arena* arena, OneofOptions&& from) noexcept |
4821 | 0 | : OneofOptions(arena) { |
4822 | 0 | *this = ::std::move(from); |
4823 | 0 | } |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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 |
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 |
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> |
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> |
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> |
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> |
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> |
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> |
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& |
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* |
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: |
5088 | 0 | inline MethodOptions() : MethodOptions(nullptr) {} |
5089 | | ~MethodOptions() PROTOBUF_FINAL; |
5090 | | |
5091 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
5102 | 0 | inline MethodOptions(const MethodOptions& from) : MethodOptions(nullptr, from) {} |
5103 | | inline MethodOptions(MethodOptions&& from) noexcept |
5104 | 0 | : MethodOptions(nullptr, std::move(from)) {} |
5105 | 0 | inline MethodOptions& operator=(const MethodOptions& from) { |
5106 | 0 | CopyFrom(from); |
5107 | 0 | return *this; |
5108 | 0 | } |
5109 | 0 | inline MethodOptions& operator=(MethodOptions&& from) noexcept { |
5110 | 0 | if (this == &from) return *this; |
5111 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
5112 | 0 | InternalSwap(&from); |
5113 | 0 | } else { |
5114 | 0 | CopyFrom(from); |
5115 | 0 | } |
5116 | 0 | return *this; |
5117 | 0 | } |
5118 | | |
5119 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
5120 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5121 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
5122 | 0 | } |
5123 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
5124 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5125 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
5126 | 0 | } |
5127 | | |
5128 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
5129 | 0 | return GetDescriptor(); |
5130 | 0 | } |
5131 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
5132 | 0 | return default_instance().GetMetadata().descriptor; |
5133 | 0 | } |
5134 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
5135 | 0 | return default_instance().GetMetadata().reflection; |
5136 | 0 | } |
5137 | 0 | static const MethodOptions& default_instance() { |
5138 | 0 | return *internal_default_instance(); |
5139 | 0 | } |
5140 | 0 | static inline const MethodOptions* internal_default_instance() { |
5141 | 0 | return reinterpret_cast<const MethodOptions*>( |
5142 | 0 | &_MethodOptions_default_instance_); |
5143 | 0 | } |
5144 | | static constexpr int kIndexInFileMessages = 23; |
5145 | 0 | friend void swap(MethodOptions& a, MethodOptions& b) { a.Swap(&b); } |
5146 | 0 | inline void Swap(MethodOptions* other) { |
5147 | 0 | if (other == this) return; |
5148 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
5149 | 0 | InternalSwap(other); |
5150 | 0 | } else { |
5151 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
5152 | 0 | } |
5153 | 0 | } |
5154 | 0 | void UnsafeArenaSwap(MethodOptions* other) { |
5155 | 0 | if (other == this) return; |
5156 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
5157 | 0 | InternalSwap(other); |
5158 | 0 | } |
5159 | | |
5160 | | // implements Message ---------------------------------------------- |
5161 | | |
5162 | 0 | MethodOptions* New(::google::protobuf::Arena* arena = nullptr) const { |
5163 | 0 | return ::google::protobuf::Message::DefaultConstruct<MethodOptions>(arena); |
5164 | 0 | } |
5165 | | using ::google::protobuf::Message::CopyFrom; |
5166 | | void CopyFrom(const MethodOptions& from); |
5167 | | using ::google::protobuf::Message::MergeFrom; |
5168 | 0 | 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: |
5176 | 0 | bool IsInitialized() const { |
5177 | 0 | return IsInitializedImpl(*this); |
5178 | 0 | } |
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: |
5193 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
5205 | 0 | 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)(); |
5215 | 0 | 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); |
5220 | | MethodOptions(::google::protobuf::Arena* arena, MethodOptions&& from) noexcept |
5221 | 0 | : MethodOptions(arena) { |
5222 | 0 | *this = ::std::move(from); |
5223 | 0 | } |
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; |
5237 | 0 | static inline bool IdempotencyLevel_IsValid(int value) { |
5238 | 0 | return MethodOptions_IdempotencyLevel_IsValid(value); |
5239 | 0 | } |
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; |
5243 | 0 | static inline const ::google::protobuf::EnumDescriptor* IdempotencyLevel_descriptor() { |
5244 | 0 | return MethodOptions_IdempotencyLevel_descriptor(); |
5245 | 0 | } |
5246 | | template <typename T> |
5247 | | static inline const std::string& IdempotencyLevel_Name(T value) { |
5248 | | return MethodOptions_IdempotencyLevel_Name(value); |
5249 | | } |
5250 | 0 | static inline bool IdempotencyLevel_Parse(absl::string_view name, IdempotencyLevel* value) { |
5251 | 0 | return MethodOptions_IdempotencyLevel_Parse(name, value); |
5252 | 0 | } |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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 |
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 |
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> |
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> |
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> |
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> |
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> |
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> |
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& |
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* |
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: |
5534 | 0 | inline MessageOptions() : MessageOptions(nullptr) {} |
5535 | | ~MessageOptions() PROTOBUF_FINAL; |
5536 | | |
5537 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
5548 | 0 | inline MessageOptions(const MessageOptions& from) : MessageOptions(nullptr, from) {} |
5549 | | inline MessageOptions(MessageOptions&& from) noexcept |
5550 | 0 | : MessageOptions(nullptr, std::move(from)) {} |
5551 | 0 | inline MessageOptions& operator=(const MessageOptions& from) { |
5552 | 0 | CopyFrom(from); |
5553 | 0 | return *this; |
5554 | 0 | } |
5555 | 0 | inline MessageOptions& operator=(MessageOptions&& from) noexcept { |
5556 | 0 | if (this == &from) return *this; |
5557 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
5558 | 0 | InternalSwap(&from); |
5559 | 0 | } else { |
5560 | 0 | CopyFrom(from); |
5561 | 0 | } |
5562 | 0 | return *this; |
5563 | 0 | } |
5564 | | |
5565 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
5566 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5567 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
5568 | 0 | } |
5569 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
5570 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5571 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
5572 | 0 | } |
5573 | | |
5574 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
5575 | 0 | return GetDescriptor(); |
5576 | 0 | } |
5577 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
5578 | 0 | return default_instance().GetMetadata().descriptor; |
5579 | 0 | } |
5580 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
5581 | 0 | return default_instance().GetMetadata().reflection; |
5582 | 0 | } |
5583 | 0 | static const MessageOptions& default_instance() { |
5584 | 0 | return *internal_default_instance(); |
5585 | 0 | } |
5586 | 0 | static inline const MessageOptions* internal_default_instance() { |
5587 | 0 | return reinterpret_cast<const MessageOptions*>( |
5588 | 0 | &_MessageOptions_default_instance_); |
5589 | 0 | } |
5590 | | static constexpr int kIndexInFileMessages = 15; |
5591 | 0 | friend void swap(MessageOptions& a, MessageOptions& b) { a.Swap(&b); } |
5592 | 0 | inline void Swap(MessageOptions* other) { |
5593 | 0 | if (other == this) return; |
5594 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
5595 | 0 | InternalSwap(other); |
5596 | 0 | } else { |
5597 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
5598 | 0 | } |
5599 | 0 | } |
5600 | 0 | void UnsafeArenaSwap(MessageOptions* other) { |
5601 | 0 | if (other == this) return; |
5602 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
5603 | 0 | InternalSwap(other); |
5604 | 0 | } |
5605 | | |
5606 | | // implements Message ---------------------------------------------- |
5607 | | |
5608 | 0 | MessageOptions* New(::google::protobuf::Arena* arena = nullptr) const { |
5609 | 0 | return ::google::protobuf::Message::DefaultConstruct<MessageOptions>(arena); |
5610 | 0 | } |
5611 | | using ::google::protobuf::Message::CopyFrom; |
5612 | | void CopyFrom(const MessageOptions& from); |
5613 | | using ::google::protobuf::Message::MergeFrom; |
5614 | 0 | 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: |
5622 | 0 | bool IsInitialized() const { |
5623 | 0 | return IsInitializedImpl(*this); |
5624 | 0 | } |
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: |
5639 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
5651 | 0 | 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)(); |
5661 | 0 | 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); |
5666 | | MessageOptions(::google::protobuf::Arena* arena, MessageOptions&& from) noexcept |
5667 | 0 | : MessageOptions(arena) { |
5668 | 0 | *this = ::std::move(from); |
5669 | 0 | } |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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 |
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 |
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> |
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> |
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> |
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> |
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> |
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> |
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& |
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* |
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: |
5999 | 0 | inline FileOptions() : FileOptions(nullptr) {} |
6000 | | ~FileOptions() PROTOBUF_FINAL; |
6001 | | |
6002 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
6013 | 0 | inline FileOptions(const FileOptions& from) : FileOptions(nullptr, from) {} |
6014 | | inline FileOptions(FileOptions&& from) noexcept |
6015 | 0 | : FileOptions(nullptr, std::move(from)) {} |
6016 | 0 | inline FileOptions& operator=(const FileOptions& from) { |
6017 | 0 | CopyFrom(from); |
6018 | 0 | return *this; |
6019 | 0 | } |
6020 | 0 | inline FileOptions& operator=(FileOptions&& from) noexcept { |
6021 | 0 | if (this == &from) return *this; |
6022 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
6023 | 0 | InternalSwap(&from); |
6024 | 0 | } else { |
6025 | 0 | CopyFrom(from); |
6026 | 0 | } |
6027 | 0 | return *this; |
6028 | 0 | } |
6029 | | |
6030 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
6031 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6032 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
6033 | 0 | } |
6034 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
6035 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6036 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
6037 | 0 | } |
6038 | | |
6039 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
6040 | 0 | return GetDescriptor(); |
6041 | 0 | } |
6042 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
6043 | 0 | return default_instance().GetMetadata().descriptor; |
6044 | 0 | } |
6045 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
6046 | 0 | return default_instance().GetMetadata().reflection; |
6047 | 0 | } |
6048 | 0 | static const FileOptions& default_instance() { |
6049 | 0 | return *internal_default_instance(); |
6050 | 0 | } |
6051 | 0 | static inline const FileOptions* internal_default_instance() { |
6052 | 0 | return reinterpret_cast<const FileOptions*>( |
6053 | 0 | &_FileOptions_default_instance_); |
6054 | 0 | } |
6055 | | static constexpr int kIndexInFileMessages = 14; |
6056 | 0 | friend void swap(FileOptions& a, FileOptions& b) { a.Swap(&b); } |
6057 | 0 | inline void Swap(FileOptions* other) { |
6058 | 0 | if (other == this) return; |
6059 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
6060 | 0 | InternalSwap(other); |
6061 | 0 | } else { |
6062 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
6063 | 0 | } |
6064 | 0 | } |
6065 | 0 | void UnsafeArenaSwap(FileOptions* other) { |
6066 | 0 | if (other == this) return; |
6067 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
6068 | 0 | InternalSwap(other); |
6069 | 0 | } |
6070 | | |
6071 | | // implements Message ---------------------------------------------- |
6072 | | |
6073 | 0 | FileOptions* New(::google::protobuf::Arena* arena = nullptr) const { |
6074 | 0 | return ::google::protobuf::Message::DefaultConstruct<FileOptions>(arena); |
6075 | 0 | } |
6076 | | using ::google::protobuf::Message::CopyFrom; |
6077 | | void CopyFrom(const FileOptions& from); |
6078 | | using ::google::protobuf::Message::MergeFrom; |
6079 | 0 | 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: |
6087 | 0 | bool IsInitialized() const { |
6088 | 0 | return IsInitializedImpl(*this); |
6089 | 0 | } |
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: |
6104 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
6116 | 0 | 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)(); |
6126 | 0 | 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); |
6131 | | FileOptions(::google::protobuf::Arena* arena, FileOptions&& from) noexcept |
6132 | 0 | : FileOptions(arena) { |
6133 | 0 | *this = ::std::move(from); |
6134 | 0 | } |
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; |
6148 | 0 | static inline bool OptimizeMode_IsValid(int value) { |
6149 | 0 | return FileOptions_OptimizeMode_IsValid(value); |
6150 | 0 | } |
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; |
6154 | 0 | static inline const ::google::protobuf::EnumDescriptor* OptimizeMode_descriptor() { |
6155 | 0 | return FileOptions_OptimizeMode_descriptor(); |
6156 | 0 | } |
6157 | | template <typename T> |
6158 | | static inline const std::string& OptimizeMode_Name(T value) { |
6159 | | return FileOptions_OptimizeMode_Name(value); |
6160 | | } |
6161 | 0 | static inline bool OptimizeMode_Parse(absl::string_view name, OptimizeMode* value) { |
6162 | 0 | return FileOptions_OptimizeMode_Parse(name, value); |
6163 | 0 | } |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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 |
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 |
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> |
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> |
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> |
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> |
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> |
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> |
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& |
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* |
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: |
6726 | 0 | inline FieldOptions() : FieldOptions(nullptr) {} |
6727 | | ~FieldOptions() PROTOBUF_FINAL; |
6728 | | |
6729 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
6740 | 0 | inline FieldOptions(const FieldOptions& from) : FieldOptions(nullptr, from) {} |
6741 | | inline FieldOptions(FieldOptions&& from) noexcept |
6742 | 0 | : FieldOptions(nullptr, std::move(from)) {} |
6743 | 0 | inline FieldOptions& operator=(const FieldOptions& from) { |
6744 | 0 | CopyFrom(from); |
6745 | 0 | return *this; |
6746 | 0 | } |
6747 | 0 | inline FieldOptions& operator=(FieldOptions&& from) noexcept { |
6748 | 0 | if (this == &from) return *this; |
6749 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
6750 | 0 | InternalSwap(&from); |
6751 | 0 | } else { |
6752 | 0 | CopyFrom(from); |
6753 | 0 | } |
6754 | 0 | return *this; |
6755 | 0 | } |
6756 | | |
6757 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
6758 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6759 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
6760 | 0 | } |
6761 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
6762 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6763 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
6764 | 0 | } |
6765 | | |
6766 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
6767 | 0 | return GetDescriptor(); |
6768 | 0 | } |
6769 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
6770 | 0 | return default_instance().GetMetadata().descriptor; |
6771 | 0 | } |
6772 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
6773 | 0 | return default_instance().GetMetadata().reflection; |
6774 | 0 | } |
6775 | 0 | static const FieldOptions& default_instance() { |
6776 | 0 | return *internal_default_instance(); |
6777 | 0 | } |
6778 | 0 | static inline const FieldOptions* internal_default_instance() { |
6779 | 0 | return reinterpret_cast<const FieldOptions*>( |
6780 | 0 | &_FieldOptions_default_instance_); |
6781 | 0 | } |
6782 | | static constexpr int kIndexInFileMessages = 18; |
6783 | 0 | friend void swap(FieldOptions& a, FieldOptions& b) { a.Swap(&b); } |
6784 | 0 | inline void Swap(FieldOptions* other) { |
6785 | 0 | if (other == this) return; |
6786 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
6787 | 0 | InternalSwap(other); |
6788 | 0 | } else { |
6789 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
6790 | 0 | } |
6791 | 0 | } |
6792 | 0 | void UnsafeArenaSwap(FieldOptions* other) { |
6793 | 0 | if (other == this) return; |
6794 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
6795 | 0 | InternalSwap(other); |
6796 | 0 | } |
6797 | | |
6798 | | // implements Message ---------------------------------------------- |
6799 | | |
6800 | 0 | FieldOptions* New(::google::protobuf::Arena* arena = nullptr) const { |
6801 | 0 | return ::google::protobuf::Message::DefaultConstruct<FieldOptions>(arena); |
6802 | 0 | } |
6803 | | using ::google::protobuf::Message::CopyFrom; |
6804 | | void CopyFrom(const FieldOptions& from); |
6805 | | using ::google::protobuf::Message::MergeFrom; |
6806 | 0 | 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: |
6814 | 0 | bool IsInitialized() const { |
6815 | 0 | return IsInitializedImpl(*this); |
6816 | 0 | } |
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: |
6831 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
6843 | 0 | 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)(); |
6853 | 0 | 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); |
6858 | | FieldOptions(::google::protobuf::Arena* arena, FieldOptions&& from) noexcept |
6859 | 0 | : FieldOptions(arena) { |
6860 | 0 | *this = ::std::move(from); |
6861 | 0 | } |
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; |
6877 | 0 | static inline bool CType_IsValid(int value) { |
6878 | 0 | return FieldOptions_CType_IsValid(value); |
6879 | 0 | } |
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; |
6883 | 0 | static inline const ::google::protobuf::EnumDescriptor* CType_descriptor() { |
6884 | 0 | return FieldOptions_CType_descriptor(); |
6885 | 0 | } |
6886 | | template <typename T> |
6887 | | static inline const std::string& CType_Name(T value) { |
6888 | | return FieldOptions_CType_Name(value); |
6889 | | } |
6890 | 0 | static inline bool CType_Parse(absl::string_view name, CType* value) { |
6891 | 0 | return FieldOptions_CType_Parse(name, value); |
6892 | 0 | } |
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; |
6897 | 0 | static inline bool JSType_IsValid(int value) { |
6898 | 0 | return FieldOptions_JSType_IsValid(value); |
6899 | 0 | } |
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; |
6903 | 0 | static inline const ::google::protobuf::EnumDescriptor* JSType_descriptor() { |
6904 | 0 | return FieldOptions_JSType_descriptor(); |
6905 | 0 | } |
6906 | | template <typename T> |
6907 | | static inline const std::string& JSType_Name(T value) { |
6908 | | return FieldOptions_JSType_Name(value); |
6909 | | } |
6910 | 0 | static inline bool JSType_Parse(absl::string_view name, JSType* value) { |
6911 | 0 | return FieldOptions_JSType_Parse(name, value); |
6912 | 0 | } |
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; |
6917 | 0 | static inline bool OptionRetention_IsValid(int value) { |
6918 | 0 | return FieldOptions_OptionRetention_IsValid(value); |
6919 | 0 | } |
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; |
6923 | 0 | static inline const ::google::protobuf::EnumDescriptor* OptionRetention_descriptor() { |
6924 | 0 | return FieldOptions_OptionRetention_descriptor(); |
6925 | 0 | } |
6926 | | template <typename T> |
6927 | | static inline const std::string& OptionRetention_Name(T value) { |
6928 | | return FieldOptions_OptionRetention_Name(value); |
6929 | | } |
6930 | 0 | static inline bool OptionRetention_Parse(absl::string_view name, OptionRetention* value) { |
6931 | 0 | return FieldOptions_OptionRetention_Parse(name, value); |
6932 | 0 | } |
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; |
6944 | 0 | static inline bool OptionTargetType_IsValid(int value) { |
6945 | 0 | return FieldOptions_OptionTargetType_IsValid(value); |
6946 | 0 | } |
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; |
6950 | 0 | static inline const ::google::protobuf::EnumDescriptor* OptionTargetType_descriptor() { |
6951 | 0 | return FieldOptions_OptionTargetType_descriptor(); |
6952 | 0 | } |
6953 | | template <typename T> |
6954 | | static inline const std::string& OptionTargetType_Name(T value) { |
6955 | | return FieldOptions_OptionTargetType_Name(value); |
6956 | | } |
6957 | 0 | static inline bool OptionTargetType_Parse(absl::string_view name, OptionTargetType* value) { |
6958 | 0 | return FieldOptions_OptionTargetType_Parse(name, value); |
6959 | 0 | } |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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 |
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 |
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> |
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> |
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> |
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> |
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> |
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> |
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& |
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* |
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: |
7389 | 0 | inline FeatureSetDefaults() : FeatureSetDefaults(nullptr) {} |
7390 | | ~FeatureSetDefaults() PROTOBUF_FINAL; |
7391 | | |
7392 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
7403 | 0 | inline FeatureSetDefaults(const FeatureSetDefaults& from) : FeatureSetDefaults(nullptr, from) {} |
7404 | | inline FeatureSetDefaults(FeatureSetDefaults&& from) noexcept |
7405 | 0 | : FeatureSetDefaults(nullptr, std::move(from)) {} |
7406 | 0 | inline FeatureSetDefaults& operator=(const FeatureSetDefaults& from) { |
7407 | 0 | CopyFrom(from); |
7408 | 0 | return *this; |
7409 | 0 | } |
7410 | 0 | inline FeatureSetDefaults& operator=(FeatureSetDefaults&& from) noexcept { |
7411 | 0 | if (this == &from) return *this; |
7412 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
7413 | 0 | InternalSwap(&from); |
7414 | 0 | } else { |
7415 | 0 | CopyFrom(from); |
7416 | 0 | } |
7417 | 0 | return *this; |
7418 | 0 | } |
7419 | | |
7420 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
7421 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7422 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
7423 | 0 | } |
7424 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
7425 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7426 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
7427 | 0 | } |
7428 | | |
7429 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
7430 | 0 | return GetDescriptor(); |
7431 | 0 | } |
7432 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
7433 | 0 | return default_instance().GetMetadata().descriptor; |
7434 | 0 | } |
7435 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
7436 | 0 | return default_instance().GetMetadata().reflection; |
7437 | 0 | } |
7438 | 0 | static const FeatureSetDefaults& default_instance() { |
7439 | 0 | return *internal_default_instance(); |
7440 | 0 | } |
7441 | 0 | static inline const FeatureSetDefaults* internal_default_instance() { |
7442 | 0 | return reinterpret_cast<const FeatureSetDefaults*>( |
7443 | 0 | &_FeatureSetDefaults_default_instance_); |
7444 | 0 | } |
7445 | | static constexpr int kIndexInFileMessages = 28; |
7446 | 0 | friend void swap(FeatureSetDefaults& a, FeatureSetDefaults& b) { a.Swap(&b); } |
7447 | 0 | inline void Swap(FeatureSetDefaults* other) { |
7448 | 0 | if (other == this) return; |
7449 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
7450 | 0 | InternalSwap(other); |
7451 | 0 | } else { |
7452 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
7453 | 0 | } |
7454 | 0 | } |
7455 | 0 | void UnsafeArenaSwap(FeatureSetDefaults* other) { |
7456 | 0 | if (other == this) return; |
7457 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
7458 | 0 | InternalSwap(other); |
7459 | 0 | } |
7460 | | |
7461 | | // implements Message ---------------------------------------------- |
7462 | | |
7463 | 0 | FeatureSetDefaults* New(::google::protobuf::Arena* arena = nullptr) const { |
7464 | 0 | return ::google::protobuf::Message::DefaultConstruct<FeatureSetDefaults>(arena); |
7465 | 0 | } |
7466 | | using ::google::protobuf::Message::CopyFrom; |
7467 | | void CopyFrom(const FeatureSetDefaults& from); |
7468 | | using ::google::protobuf::Message::MergeFrom; |
7469 | 0 | 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: |
7477 | 0 | bool IsInitialized() const { |
7478 | 0 | return IsInitializedImpl(*this); |
7479 | 0 | } |
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: |
7494 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
7506 | 0 | 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)(); |
7516 | 0 | 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); |
7521 | | FeatureSetDefaults(::google::protobuf::Arena* arena, FeatureSetDefaults&& from) noexcept |
7522 | 0 | : FeatureSetDefaults(arena) { |
7523 | 0 | *this = ::std::move(from); |
7524 | 0 | } |
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: |
7619 | 0 | inline ExtensionRangeOptions() : ExtensionRangeOptions(nullptr) {} |
7620 | | ~ExtensionRangeOptions() PROTOBUF_FINAL; |
7621 | | |
7622 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
7633 | 0 | inline ExtensionRangeOptions(const ExtensionRangeOptions& from) : ExtensionRangeOptions(nullptr, from) {} |
7634 | | inline ExtensionRangeOptions(ExtensionRangeOptions&& from) noexcept |
7635 | 0 | : ExtensionRangeOptions(nullptr, std::move(from)) {} |
7636 | 0 | inline ExtensionRangeOptions& operator=(const ExtensionRangeOptions& from) { |
7637 | 0 | CopyFrom(from); |
7638 | 0 | return *this; |
7639 | 0 | } |
7640 | 0 | inline ExtensionRangeOptions& operator=(ExtensionRangeOptions&& from) noexcept { |
7641 | 0 | if (this == &from) return *this; |
7642 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
7643 | 0 | InternalSwap(&from); |
7644 | 0 | } else { |
7645 | 0 | CopyFrom(from); |
7646 | 0 | } |
7647 | 0 | return *this; |
7648 | 0 | } |
7649 | | |
7650 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
7651 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7652 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
7653 | 0 | } |
7654 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
7655 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7656 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
7657 | 0 | } |
7658 | | |
7659 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
7660 | 0 | return GetDescriptor(); |
7661 | 0 | } |
7662 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
7663 | 0 | return default_instance().GetMetadata().descriptor; |
7664 | 0 | } |
7665 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
7666 | 0 | return default_instance().GetMetadata().reflection; |
7667 | 0 | } |
7668 | 0 | static const ExtensionRangeOptions& default_instance() { |
7669 | 0 | return *internal_default_instance(); |
7670 | 0 | } |
7671 | 0 | static inline const ExtensionRangeOptions* internal_default_instance() { |
7672 | 0 | return reinterpret_cast<const ExtensionRangeOptions*>( |
7673 | 0 | &_ExtensionRangeOptions_default_instance_); |
7674 | 0 | } |
7675 | | static constexpr int kIndexInFileMessages = 6; |
7676 | 0 | friend void swap(ExtensionRangeOptions& a, ExtensionRangeOptions& b) { a.Swap(&b); } |
7677 | 0 | inline void Swap(ExtensionRangeOptions* other) { |
7678 | 0 | if (other == this) return; |
7679 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
7680 | 0 | InternalSwap(other); |
7681 | 0 | } else { |
7682 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
7683 | 0 | } |
7684 | 0 | } |
7685 | 0 | void UnsafeArenaSwap(ExtensionRangeOptions* other) { |
7686 | 0 | if (other == this) return; |
7687 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
7688 | 0 | InternalSwap(other); |
7689 | 0 | } |
7690 | | |
7691 | | // implements Message ---------------------------------------------- |
7692 | | |
7693 | 0 | ExtensionRangeOptions* New(::google::protobuf::Arena* arena = nullptr) const { |
7694 | 0 | return ::google::protobuf::Message::DefaultConstruct<ExtensionRangeOptions>(arena); |
7695 | 0 | } |
7696 | | using ::google::protobuf::Message::CopyFrom; |
7697 | | void CopyFrom(const ExtensionRangeOptions& from); |
7698 | | using ::google::protobuf::Message::MergeFrom; |
7699 | 0 | 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: |
7707 | 0 | bool IsInitialized() const { |
7708 | 0 | return IsInitializedImpl(*this); |
7709 | 0 | } |
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: |
7724 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
7736 | 0 | 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)(); |
7746 | 0 | 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); |
7751 | | ExtensionRangeOptions(::google::protobuf::Arena* arena, ExtensionRangeOptions&& from) noexcept |
7752 | 0 | : ExtensionRangeOptions(arena) { |
7753 | 0 | *this = ::std::move(from); |
7754 | 0 | } |
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; |
7768 | 0 | static inline bool VerificationState_IsValid(int value) { |
7769 | 0 | return ExtensionRangeOptions_VerificationState_IsValid(value); |
7770 | 0 | } |
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; |
7774 | 0 | static inline const ::google::protobuf::EnumDescriptor* VerificationState_descriptor() { |
7775 | 0 | return ExtensionRangeOptions_VerificationState_descriptor(); |
7776 | 0 | } |
7777 | | template <typename T> |
7778 | | static inline const std::string& VerificationState_Name(T value) { |
7779 | | return ExtensionRangeOptions_VerificationState_Name(value); |
7780 | | } |
7781 | 0 | static inline bool VerificationState_Parse(absl::string_view name, VerificationState* value) { |
7782 | 0 | return ExtensionRangeOptions_VerificationState_Parse(name, value); |
7783 | 0 | } |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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 |
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 |
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> |
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> |
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> |
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> |
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> |
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> |
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& |
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* |
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: |
8071 | 0 | inline EnumValueOptions() : EnumValueOptions(nullptr) {} |
8072 | | ~EnumValueOptions() PROTOBUF_FINAL; |
8073 | | |
8074 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
8085 | 0 | inline EnumValueOptions(const EnumValueOptions& from) : EnumValueOptions(nullptr, from) {} |
8086 | | inline EnumValueOptions(EnumValueOptions&& from) noexcept |
8087 | 0 | : EnumValueOptions(nullptr, std::move(from)) {} |
8088 | 0 | inline EnumValueOptions& operator=(const EnumValueOptions& from) { |
8089 | 0 | CopyFrom(from); |
8090 | 0 | return *this; |
8091 | 0 | } |
8092 | 0 | inline EnumValueOptions& operator=(EnumValueOptions&& from) noexcept { |
8093 | 0 | if (this == &from) return *this; |
8094 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
8095 | 0 | InternalSwap(&from); |
8096 | 0 | } else { |
8097 | 0 | CopyFrom(from); |
8098 | 0 | } |
8099 | 0 | return *this; |
8100 | 0 | } |
8101 | | |
8102 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
8103 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8104 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
8105 | 0 | } |
8106 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
8107 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8108 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
8109 | 0 | } |
8110 | | |
8111 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
8112 | 0 | return GetDescriptor(); |
8113 | 0 | } |
8114 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
8115 | 0 | return default_instance().GetMetadata().descriptor; |
8116 | 0 | } |
8117 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
8118 | 0 | return default_instance().GetMetadata().reflection; |
8119 | 0 | } |
8120 | 0 | static const EnumValueOptions& default_instance() { |
8121 | 0 | return *internal_default_instance(); |
8122 | 0 | } |
8123 | 0 | static inline const EnumValueOptions* internal_default_instance() { |
8124 | 0 | return reinterpret_cast<const EnumValueOptions*>( |
8125 | 0 | &_EnumValueOptions_default_instance_); |
8126 | 0 | } |
8127 | | static constexpr int kIndexInFileMessages = 21; |
8128 | 0 | friend void swap(EnumValueOptions& a, EnumValueOptions& b) { a.Swap(&b); } |
8129 | 0 | inline void Swap(EnumValueOptions* other) { |
8130 | 0 | if (other == this) return; |
8131 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
8132 | 0 | InternalSwap(other); |
8133 | 0 | } else { |
8134 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
8135 | 0 | } |
8136 | 0 | } |
8137 | 0 | void UnsafeArenaSwap(EnumValueOptions* other) { |
8138 | 0 | if (other == this) return; |
8139 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
8140 | 0 | InternalSwap(other); |
8141 | 0 | } |
8142 | | |
8143 | | // implements Message ---------------------------------------------- |
8144 | | |
8145 | 0 | EnumValueOptions* New(::google::protobuf::Arena* arena = nullptr) const { |
8146 | 0 | return ::google::protobuf::Message::DefaultConstruct<EnumValueOptions>(arena); |
8147 | 0 | } |
8148 | | using ::google::protobuf::Message::CopyFrom; |
8149 | | void CopyFrom(const EnumValueOptions& from); |
8150 | | using ::google::protobuf::Message::MergeFrom; |
8151 | 0 | 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: |
8159 | 0 | bool IsInitialized() const { |
8160 | 0 | return IsInitializedImpl(*this); |
8161 | 0 | } |
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: |
8176 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
8188 | 0 | 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)(); |
8198 | 0 | 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); |
8203 | | EnumValueOptions(::google::protobuf::Arena* arena, EnumValueOptions&& from) noexcept |
8204 | 0 | : EnumValueOptions(arena) { |
8205 | 0 | *this = ::std::move(from); |
8206 | 0 | } |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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 |
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 |
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> |
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> |
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> |
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> |
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> |
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> |
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& |
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* |
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: |
8514 | 0 | inline EnumOptions() : EnumOptions(nullptr) {} |
8515 | | ~EnumOptions() PROTOBUF_FINAL; |
8516 | | |
8517 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
8528 | 0 | inline EnumOptions(const EnumOptions& from) : EnumOptions(nullptr, from) {} |
8529 | | inline EnumOptions(EnumOptions&& from) noexcept |
8530 | 0 | : EnumOptions(nullptr, std::move(from)) {} |
8531 | 0 | inline EnumOptions& operator=(const EnumOptions& from) { |
8532 | 0 | CopyFrom(from); |
8533 | 0 | return *this; |
8534 | 0 | } |
8535 | 0 | inline EnumOptions& operator=(EnumOptions&& from) noexcept { |
8536 | 0 | if (this == &from) return *this; |
8537 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
8538 | 0 | InternalSwap(&from); |
8539 | 0 | } else { |
8540 | 0 | CopyFrom(from); |
8541 | 0 | } |
8542 | 0 | return *this; |
8543 | 0 | } |
8544 | | |
8545 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
8546 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8547 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
8548 | 0 | } |
8549 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
8550 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8551 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
8552 | 0 | } |
8553 | | |
8554 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
8555 | 0 | return GetDescriptor(); |
8556 | 0 | } |
8557 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
8558 | 0 | return default_instance().GetMetadata().descriptor; |
8559 | 0 | } |
8560 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
8561 | 0 | return default_instance().GetMetadata().reflection; |
8562 | 0 | } |
8563 | 0 | static const EnumOptions& default_instance() { |
8564 | 0 | return *internal_default_instance(); |
8565 | 0 | } |
8566 | 0 | static inline const EnumOptions* internal_default_instance() { |
8567 | 0 | return reinterpret_cast<const EnumOptions*>( |
8568 | 0 | &_EnumOptions_default_instance_); |
8569 | 0 | } |
8570 | | static constexpr int kIndexInFileMessages = 20; |
8571 | 0 | friend void swap(EnumOptions& a, EnumOptions& b) { a.Swap(&b); } |
8572 | 0 | inline void Swap(EnumOptions* other) { |
8573 | 0 | if (other == this) return; |
8574 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
8575 | 0 | InternalSwap(other); |
8576 | 0 | } else { |
8577 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
8578 | 0 | } |
8579 | 0 | } |
8580 | 0 | void UnsafeArenaSwap(EnumOptions* other) { |
8581 | 0 | if (other == this) return; |
8582 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
8583 | 0 | InternalSwap(other); |
8584 | 0 | } |
8585 | | |
8586 | | // implements Message ---------------------------------------------- |
8587 | | |
8588 | 0 | EnumOptions* New(::google::protobuf::Arena* arena = nullptr) const { |
8589 | 0 | return ::google::protobuf::Message::DefaultConstruct<EnumOptions>(arena); |
8590 | 0 | } |
8591 | | using ::google::protobuf::Message::CopyFrom; |
8592 | | void CopyFrom(const EnumOptions& from); |
8593 | | using ::google::protobuf::Message::MergeFrom; |
8594 | 0 | 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: |
8602 | 0 | bool IsInitialized() const { |
8603 | 0 | return IsInitializedImpl(*this); |
8604 | 0 | } |
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: |
8619 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
8631 | 0 | 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)(); |
8641 | 0 | 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); |
8646 | | EnumOptions(::google::protobuf::Arena* arena, EnumOptions&& from) noexcept |
8647 | 0 | : EnumOptions(arena) { |
8648 | 0 | *this = ::std::move(from); |
8649 | 0 | } |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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> |
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 |
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 |
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> |
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> |
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> |
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> |
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> |
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> |
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& |
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* |
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: |
8953 | 0 | inline OneofDescriptorProto() : OneofDescriptorProto(nullptr) {} |
8954 | | ~OneofDescriptorProto() PROTOBUF_FINAL; |
8955 | | |
8956 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
8967 | 0 | inline OneofDescriptorProto(const OneofDescriptorProto& from) : OneofDescriptorProto(nullptr, from) {} |
8968 | | inline OneofDescriptorProto(OneofDescriptorProto&& from) noexcept |
8969 | 0 | : OneofDescriptorProto(nullptr, std::move(from)) {} |
8970 | 0 | inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) { |
8971 | 0 | CopyFrom(from); |
8972 | 0 | return *this; |
8973 | 0 | } |
8974 | 0 | inline OneofDescriptorProto& operator=(OneofDescriptorProto&& from) noexcept { |
8975 | 0 | if (this == &from) return *this; |
8976 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
8977 | 0 | InternalSwap(&from); |
8978 | 0 | } else { |
8979 | 0 | CopyFrom(from); |
8980 | 0 | } |
8981 | 0 | return *this; |
8982 | 0 | } |
8983 | | |
8984 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
8985 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8986 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
8987 | 0 | } |
8988 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
8989 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8990 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
8991 | 0 | } |
8992 | | |
8993 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
8994 | 0 | return GetDescriptor(); |
8995 | 0 | } |
8996 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
8997 | 0 | return default_instance().GetMetadata().descriptor; |
8998 | 0 | } |
8999 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
9000 | 0 | return default_instance().GetMetadata().reflection; |
9001 | 0 | } |
9002 | 0 | static const OneofDescriptorProto& default_instance() { |
9003 | 0 | return *internal_default_instance(); |
9004 | 0 | } |
9005 | 0 | static inline const OneofDescriptorProto* internal_default_instance() { |
9006 | 0 | return reinterpret_cast<const OneofDescriptorProto*>( |
9007 | 0 | &_OneofDescriptorProto_default_instance_); |
9008 | 0 | } |
9009 | | static constexpr int kIndexInFileMessages = 8; |
9010 | 0 | friend void swap(OneofDescriptorProto& a, OneofDescriptorProto& b) { a.Swap(&b); } |
9011 | 0 | inline void Swap(OneofDescriptorProto* other) { |
9012 | 0 | if (other == this) return; |
9013 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
9014 | 0 | InternalSwap(other); |
9015 | 0 | } else { |
9016 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
9017 | 0 | } |
9018 | 0 | } |
9019 | 0 | void UnsafeArenaSwap(OneofDescriptorProto* other) { |
9020 | 0 | if (other == this) return; |
9021 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
9022 | 0 | InternalSwap(other); |
9023 | 0 | } |
9024 | | |
9025 | | // implements Message ---------------------------------------------- |
9026 | | |
9027 | 0 | OneofDescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const { |
9028 | 0 | return ::google::protobuf::Message::DefaultConstruct<OneofDescriptorProto>(arena); |
9029 | 0 | } |
9030 | | using ::google::protobuf::Message::CopyFrom; |
9031 | | void CopyFrom(const OneofDescriptorProto& from); |
9032 | | using ::google::protobuf::Message::MergeFrom; |
9033 | 0 | 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: |
9041 | 0 | bool IsInitialized() const { |
9042 | 0 | return IsInitializedImpl(*this); |
9043 | 0 | } |
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: |
9058 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
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 |
9070 | 0 | 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)(); |
9080 | 0 | 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); |
9085 | | OneofDescriptorProto(::google::protobuf::Arena* arena, OneofDescriptorProto&& from) noexcept |
9086 | 0 | : OneofDescriptorProto(arena) { |
9087 | 0 | *this = ::std::move(from); |
9088 | 0 | } |
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: |
9173 | 0 | inline MethodDescriptorProto() : MethodDescriptorProto(nullptr) {} |
9174 | | ~MethodDescriptorProto() PROTOBUF_FINAL; |
9175 | | |
9176 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
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 | | |
9187 | 0 | inline MethodDescriptorProto(const MethodDescriptorProto& from) : MethodDescriptorProto(nullptr, from) {} |
9188 | | inline MethodDescriptorProto(MethodDescriptorProto&& from) noexcept |
9189 | 0 | : MethodDescriptorProto(nullptr, std::move(from)) {} |
9190 | 0 | inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { |
9191 | 0 | CopyFrom(from); |
9192 | 0 | return *this; |
9193 | 0 | } |
9194 | 0 | inline MethodDescriptorProto& operator=(MethodDescriptorProto&& from) noexcept { |
9195 | 0 | if (this == &from) return *this; |
9196 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
9197 | 0 | InternalSwap(&from); |
9198 | 0 | } else { |
9199 | 0 | CopyFrom(from); |
9200 | 0 | } |
9201 | 0 | return *this; |
9202 | 0 | } |
9203 | | |
9204 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
9205 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9206 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
9207 | 0 | } |
9208 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
9209 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9210 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
9211 | 0 | } |
9212 | | |
9213 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
9214 | 0 | return GetDescriptor(); |
9215 | 0 | } |
9216 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
9217 | 0 | return default_instance().GetMetadata().descriptor; |
9218 | 0 | } |
9219 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
9220 | 0 | return default_instance().GetMetadata().reflection; |
9221 | 0 | } |
9222 | 0 | static const MethodDescriptorProto& default_instance() { |
9223 | 0 | return *internal_default_instance(); |
9224 | 0 | } |
9225 | 0 | static inline const MethodDescriptorProto* internal_default_instance() { |
9226 | 0 | return reinterpret_cast<const MethodDescriptorProto*>( |
9227 | 0 | &_MethodDescriptorProto_default_instance_); |
9228 | 0 | } |
9229 | | static constexpr int kIndexInFileMessages = 13; |
9230 | 0 | friend void swap(MethodDescriptorProto& a, MethodDescriptorProto& b) { a.Swap(&b); } |
9231 | 0 | inline void Swap(MethodDescriptorProto* other) { |
9232 | 0 | if (other == this) return; |
9233 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
9234 | 0 | InternalSwap(other); |
9235 | 0 | } else { |
9236 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
9237 | 0 | } |
9238 | 0 | } |
9239 | 0 | void UnsafeArenaSwap(MethodDescriptorProto* other) { |
9240 | 0 | if (other == this) return; |
9241 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
9242 | 0 | InternalSwap(other); |
9243 | 0 | } |
9244 | | |
9245 | | // implements Message ---------------------------------------------- |
9246 | | |
9247 | 0 | MethodDescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const { |
9248 | 0 | return ::google::protobuf::Message::DefaultConstruct<MethodDescriptorProto>(arena); |
9249 | 0 | } |
9250 | | using ::google::protobuf::Message::CopyFrom; |
9251 | | void CopyFrom(const MethodDescriptorProto& from); |
9252 | | using ::google::protobuf::Message::MergeFrom; |
9253 | 0 | void MergeFrom(const MethodDescriptorProto& from) { MethodDescriptorProto::MergeImpl(*this, from); } |
9254 | | |
9255 | | private: |
9256 | | static void MergeImpl( |
9257 | | ::google::protobuf::MessageLite& to_msg, |
9258 | | const ::google::protobuf::MessageLite& from_msg); |
9259 | | |
9260 | | public: |
9261 | 0 | bool IsInitialized() const { |
9262 | 0 | return IsInitializedImpl(*this); |
9263 | 0 | } |
9264 | | |
9265 | | private: |
9266 | | static bool IsInitializedImpl(const MessageLite& msg); |
9267 | | |
9268 | | public: |
9269 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
9270 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9271 | | private: |
9272 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
9273 | | static ::uint8_t* _InternalSerialize( |
9274 | | const MessageLite& msg, ::uint8_t* target, |
9275 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
9276 | | |
9277 | | public: |
9278 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
9279 | | ::uint8_t* _InternalSerialize( |
9280 | | ::uint8_t* target, |
9281 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
9282 | | return _InternalSerialize(*this, target, stream); |
9283 | | } |
9284 | | #else // PROTOBUF_CUSTOM_VTABLE |
9285 | | ::size_t ByteSizeLong() const final; |
9286 | | ::uint8_t* _InternalSerialize( |
9287 | | ::uint8_t* target, |
9288 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
9289 | | #endif // PROTOBUF_CUSTOM_VTABLE |
9290 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
9291 | | |
9292 | | private: |
9293 | | void SharedCtor(::google::protobuf::Arena* arena); |
9294 | | static void SharedDtor(MessageLite& self); |
9295 | | void InternalSwap(MethodDescriptorProto* other); |
9296 | | private: |
9297 | | template <typename T> |
9298 | | friend ::absl::string_view( |
9299 | | ::google::protobuf::internal::GetAnyMessageName)(); |
9300 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.MethodDescriptorProto"; } |
9301 | | |
9302 | | protected: |
9303 | | explicit MethodDescriptorProto(::google::protobuf::Arena* arena); |
9304 | | MethodDescriptorProto(::google::protobuf::Arena* arena, const MethodDescriptorProto& from); |
9305 | | MethodDescriptorProto(::google::protobuf::Arena* arena, MethodDescriptorProto&& from) noexcept |
9306 | 0 | : MethodDescriptorProto(arena) { |
9307 | 0 | *this = ::std::move(from); |
9308 | 0 | } |
9309 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
9310 | | static void* PlacementNew_(const void*, void* mem, |
9311 | | ::google::protobuf::Arena* arena); |
9312 | | static constexpr auto InternalNewImpl_(); |
9313 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
9314 | | |
9315 | | public: |
9316 | | ::google::protobuf::Metadata GetMetadata() const; |
9317 | | // nested types ---------------------------------------------------- |
9318 | | |
9319 | | // accessors ------------------------------------------------------- |
9320 | | enum : int { |
9321 | | kNameFieldNumber = 1, |
9322 | | kInputTypeFieldNumber = 2, |
9323 | | kOutputTypeFieldNumber = 3, |
9324 | | kOptionsFieldNumber = 4, |
9325 | | kClientStreamingFieldNumber = 5, |
9326 | | kServerStreamingFieldNumber = 6, |
9327 | | }; |
9328 | | // optional string name = 1; |
9329 | | bool has_name() const; |
9330 | | void clear_name() ; |
9331 | | const std::string& name() const; |
9332 | | template <typename Arg_ = const std::string&, typename... Args_> |
9333 | | void set_name(Arg_&& arg, Args_... args); |
9334 | | std::string* mutable_name(); |
9335 | | PROTOBUF_NODISCARD std::string* release_name(); |
9336 | | void set_allocated_name(std::string* value); |
9337 | | |
9338 | | private: |
9339 | | const std::string& _internal_name() const; |
9340 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
9341 | | const std::string& value); |
9342 | | std::string* _internal_mutable_name(); |
9343 | | |
9344 | | public: |
9345 | | // optional string input_type = 2; |
9346 | | bool has_input_type() const; |
9347 | | void clear_input_type() ; |
9348 | | const std::string& input_type() const; |
9349 | | template <typename Arg_ = const std::string&, typename... Args_> |
9350 | | void set_input_type(Arg_&& arg, Args_... args); |
9351 | | std::string* mutable_input_type(); |
9352 | | PROTOBUF_NODISCARD std::string* release_input_type(); |
9353 | | void set_allocated_input_type(std::string* value); |
9354 | | |
9355 | | private: |
9356 | | const std::string& _internal_input_type() const; |
9357 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_input_type( |
9358 | | const std::string& value); |
9359 | | std::string* _internal_mutable_input_type(); |
9360 | | |
9361 | | public: |
9362 | | // optional string output_type = 3; |
9363 | | bool has_output_type() const; |
9364 | | void clear_output_type() ; |
9365 | | const std::string& output_type() const; |
9366 | | template <typename Arg_ = const std::string&, typename... Args_> |
9367 | | void set_output_type(Arg_&& arg, Args_... args); |
9368 | | std::string* mutable_output_type(); |
9369 | | PROTOBUF_NODISCARD std::string* release_output_type(); |
9370 | | void set_allocated_output_type(std::string* value); |
9371 | | |
9372 | | private: |
9373 | | const std::string& _internal_output_type() const; |
9374 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_output_type( |
9375 | | const std::string& value); |
9376 | | std::string* _internal_mutable_output_type(); |
9377 | | |
9378 | | public: |
9379 | | // optional .google.protobuf.MethodOptions options = 4; |
9380 | | bool has_options() const; |
9381 | | void clear_options() ; |
9382 | | const ::google::protobuf::MethodOptions& options() const; |
9383 | | PROTOBUF_NODISCARD ::google::protobuf::MethodOptions* release_options(); |
9384 | | ::google::protobuf::MethodOptions* mutable_options(); |
9385 | | void set_allocated_options(::google::protobuf::MethodOptions* value); |
9386 | | void unsafe_arena_set_allocated_options(::google::protobuf::MethodOptions* value); |
9387 | | ::google::protobuf::MethodOptions* unsafe_arena_release_options(); |
9388 | | |
9389 | | private: |
9390 | | const ::google::protobuf::MethodOptions& _internal_options() const; |
9391 | | ::google::protobuf::MethodOptions* _internal_mutable_options(); |
9392 | | |
9393 | | public: |
9394 | | // optional bool client_streaming = 5 [default = false]; |
9395 | | bool has_client_streaming() const; |
9396 | | void clear_client_streaming() ; |
9397 | | bool client_streaming() const; |
9398 | | void set_client_streaming(bool value); |
9399 | | |
9400 | | private: |
9401 | | bool _internal_client_streaming() const; |
9402 | | void _internal_set_client_streaming(bool value); |
9403 | | |
9404 | | public: |
9405 | | // optional bool server_streaming = 6 [default = false]; |
9406 | | bool has_server_streaming() const; |
9407 | | void clear_server_streaming() ; |
9408 | | bool server_streaming() const; |
9409 | | void set_server_streaming(bool value); |
9410 | | |
9411 | | private: |
9412 | | bool _internal_server_streaming() const; |
9413 | | void _internal_set_server_streaming(bool value); |
9414 | | |
9415 | | public: |
9416 | | // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) |
9417 | | private: |
9418 | | class _Internal; |
9419 | | friend class ::google::protobuf::internal::TcParser; |
9420 | | static const ::google::protobuf::internal::TcParseTable< |
9421 | | 3, 6, 1, |
9422 | | 71, 2> |
9423 | | _table_; |
9424 | | |
9425 | | friend class ::google::protobuf::MessageLite; |
9426 | | friend class ::google::protobuf::Arena; |
9427 | | template <typename T> |
9428 | | friend class ::google::protobuf::Arena::InternalHelper; |
9429 | | using InternalArenaConstructable_ = void; |
9430 | | using DestructorSkippable_ = void; |
9431 | | struct Impl_ { |
9432 | | inline explicit constexpr Impl_( |
9433 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
9434 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
9435 | | ::google::protobuf::Arena* arena); |
9436 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
9437 | | ::google::protobuf::Arena* arena, const Impl_& from, |
9438 | | const MethodDescriptorProto& from_msg); |
9439 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
9440 | | ::google::protobuf::internal::CachedSize _cached_size_; |
9441 | | ::google::protobuf::internal::ArenaStringPtr name_; |
9442 | | ::google::protobuf::internal::ArenaStringPtr input_type_; |
9443 | | ::google::protobuf::internal::ArenaStringPtr output_type_; |
9444 | | ::google::protobuf::MethodOptions* options_; |
9445 | | bool client_streaming_; |
9446 | | bool server_streaming_; |
9447 | | PROTOBUF_TSAN_DECLARE_MEMBER |
9448 | | }; |
9449 | | union { Impl_ _impl_; }; |
9450 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
9451 | | }; |
9452 | | // ------------------------------------------------------------------- |
9453 | | |
9454 | | class PROTOBUF_EXPORT FieldDescriptorProto final : public ::google::protobuf::Message |
9455 | | /* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorProto) */ { |
9456 | | public: |
9457 | 0 | inline FieldDescriptorProto() : FieldDescriptorProto(nullptr) {} |
9458 | | ~FieldDescriptorProto() PROTOBUF_FINAL; |
9459 | | |
9460 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9461 | | void operator delete(FieldDescriptorProto* msg, std::destroying_delete_t) { |
9462 | | SharedDtor(*msg); |
9463 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(FieldDescriptorProto)); |
9464 | | } |
9465 | | #endif |
9466 | | |
9467 | | template <typename = void> |
9468 | | explicit PROTOBUF_CONSTEXPR FieldDescriptorProto( |
9469 | | ::google::protobuf::internal::ConstantInitialized); |
9470 | | |
9471 | 0 | inline FieldDescriptorProto(const FieldDescriptorProto& from) : FieldDescriptorProto(nullptr, from) {} |
9472 | | inline FieldDescriptorProto(FieldDescriptorProto&& from) noexcept |
9473 | 0 | : FieldDescriptorProto(nullptr, std::move(from)) {} |
9474 | 0 | inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { |
9475 | 0 | CopyFrom(from); |
9476 | 0 | return *this; |
9477 | 0 | } |
9478 | 0 | inline FieldDescriptorProto& operator=(FieldDescriptorProto&& from) noexcept { |
9479 | 0 | if (this == &from) return *this; |
9480 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
9481 | 0 | InternalSwap(&from); |
9482 | 0 | } else { |
9483 | 0 | CopyFrom(from); |
9484 | 0 | } |
9485 | 0 | return *this; |
9486 | 0 | } |
9487 | | |
9488 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
9489 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9490 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
9491 | 0 | } |
9492 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
9493 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9494 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
9495 | 0 | } |
9496 | | |
9497 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
9498 | 0 | return GetDescriptor(); |
9499 | 0 | } |
9500 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
9501 | 0 | return default_instance().GetMetadata().descriptor; |
9502 | 0 | } |
9503 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
9504 | 0 | return default_instance().GetMetadata().reflection; |
9505 | 0 | } |
9506 | 0 | static const FieldDescriptorProto& default_instance() { |
9507 | 0 | return *internal_default_instance(); |
9508 | 0 | } |
9509 | 0 | static inline const FieldDescriptorProto* internal_default_instance() { |
9510 | 0 | return reinterpret_cast<const FieldDescriptorProto*>( |
9511 | 0 | &_FieldDescriptorProto_default_instance_); |
9512 | 0 | } |
9513 | | static constexpr int kIndexInFileMessages = 7; |
9514 | 0 | friend void swap(FieldDescriptorProto& a, FieldDescriptorProto& b) { a.Swap(&b); } |
9515 | 0 | inline void Swap(FieldDescriptorProto* other) { |
9516 | 0 | if (other == this) return; |
9517 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
9518 | 0 | InternalSwap(other); |
9519 | 0 | } else { |
9520 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
9521 | 0 | } |
9522 | 0 | } |
9523 | 0 | void UnsafeArenaSwap(FieldDescriptorProto* other) { |
9524 | 0 | if (other == this) return; |
9525 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
9526 | 0 | InternalSwap(other); |
9527 | 0 | } |
9528 | | |
9529 | | // implements Message ---------------------------------------------- |
9530 | | |
9531 | 0 | FieldDescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const { |
9532 | 0 | return ::google::protobuf::Message::DefaultConstruct<FieldDescriptorProto>(arena); |
9533 | 0 | } |
9534 | | using ::google::protobuf::Message::CopyFrom; |
9535 | | void CopyFrom(const FieldDescriptorProto& from); |
9536 | | using ::google::protobuf::Message::MergeFrom; |
9537 | 0 | void MergeFrom(const FieldDescriptorProto& from) { FieldDescriptorProto::MergeImpl(*this, from); } |
9538 | | |
9539 | | private: |
9540 | | static void MergeImpl( |
9541 | | ::google::protobuf::MessageLite& to_msg, |
9542 | | const ::google::protobuf::MessageLite& from_msg); |
9543 | | |
9544 | | public: |
9545 | 0 | bool IsInitialized() const { |
9546 | 0 | return IsInitializedImpl(*this); |
9547 | 0 | } |
9548 | | |
9549 | | private: |
9550 | | static bool IsInitializedImpl(const MessageLite& msg); |
9551 | | |
9552 | | public: |
9553 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
9554 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9555 | | private: |
9556 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
9557 | | static ::uint8_t* _InternalSerialize( |
9558 | | const MessageLite& msg, ::uint8_t* target, |
9559 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
9560 | | |
9561 | | public: |
9562 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
9563 | | ::uint8_t* _InternalSerialize( |
9564 | | ::uint8_t* target, |
9565 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
9566 | | return _InternalSerialize(*this, target, stream); |
9567 | | } |
9568 | | #else // PROTOBUF_CUSTOM_VTABLE |
9569 | | ::size_t ByteSizeLong() const final; |
9570 | | ::uint8_t* _InternalSerialize( |
9571 | | ::uint8_t* target, |
9572 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
9573 | | #endif // PROTOBUF_CUSTOM_VTABLE |
9574 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
9575 | | |
9576 | | private: |
9577 | | void SharedCtor(::google::protobuf::Arena* arena); |
9578 | | static void SharedDtor(MessageLite& self); |
9579 | | void InternalSwap(FieldDescriptorProto* other); |
9580 | | private: |
9581 | | template <typename T> |
9582 | | friend ::absl::string_view( |
9583 | | ::google::protobuf::internal::GetAnyMessageName)(); |
9584 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.FieldDescriptorProto"; } |
9585 | | |
9586 | | protected: |
9587 | | explicit FieldDescriptorProto(::google::protobuf::Arena* arena); |
9588 | | FieldDescriptorProto(::google::protobuf::Arena* arena, const FieldDescriptorProto& from); |
9589 | | FieldDescriptorProto(::google::protobuf::Arena* arena, FieldDescriptorProto&& from) noexcept |
9590 | 0 | : FieldDescriptorProto(arena) { |
9591 | 0 | *this = ::std::move(from); |
9592 | 0 | } |
9593 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
9594 | | static void* PlacementNew_(const void*, void* mem, |
9595 | | ::google::protobuf::Arena* arena); |
9596 | | static constexpr auto InternalNewImpl_(); |
9597 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
9598 | | |
9599 | | public: |
9600 | | ::google::protobuf::Metadata GetMetadata() const; |
9601 | | // nested types ---------------------------------------------------- |
9602 | | using Type = FieldDescriptorProto_Type; |
9603 | | static constexpr Type TYPE_DOUBLE = FieldDescriptorProto_Type_TYPE_DOUBLE; |
9604 | | static constexpr Type TYPE_FLOAT = FieldDescriptorProto_Type_TYPE_FLOAT; |
9605 | | static constexpr Type TYPE_INT64 = FieldDescriptorProto_Type_TYPE_INT64; |
9606 | | static constexpr Type TYPE_UINT64 = FieldDescriptorProto_Type_TYPE_UINT64; |
9607 | | static constexpr Type TYPE_INT32 = FieldDescriptorProto_Type_TYPE_INT32; |
9608 | | static constexpr Type TYPE_FIXED64 = FieldDescriptorProto_Type_TYPE_FIXED64; |
9609 | | static constexpr Type TYPE_FIXED32 = FieldDescriptorProto_Type_TYPE_FIXED32; |
9610 | | static constexpr Type TYPE_BOOL = FieldDescriptorProto_Type_TYPE_BOOL; |
9611 | | static constexpr Type TYPE_STRING = FieldDescriptorProto_Type_TYPE_STRING; |
9612 | | static constexpr Type TYPE_GROUP = FieldDescriptorProto_Type_TYPE_GROUP; |
9613 | | static constexpr Type TYPE_MESSAGE = FieldDescriptorProto_Type_TYPE_MESSAGE; |
9614 | | static constexpr Type TYPE_BYTES = FieldDescriptorProto_Type_TYPE_BYTES; |
9615 | | static constexpr Type TYPE_UINT32 = FieldDescriptorProto_Type_TYPE_UINT32; |
9616 | | static constexpr Type TYPE_ENUM = FieldDescriptorProto_Type_TYPE_ENUM; |
9617 | | static constexpr Type TYPE_SFIXED32 = FieldDescriptorProto_Type_TYPE_SFIXED32; |
9618 | | static constexpr Type TYPE_SFIXED64 = FieldDescriptorProto_Type_TYPE_SFIXED64; |
9619 | | static constexpr Type TYPE_SINT32 = FieldDescriptorProto_Type_TYPE_SINT32; |
9620 | | static constexpr Type TYPE_SINT64 = FieldDescriptorProto_Type_TYPE_SINT64; |
9621 | 0 | static inline bool Type_IsValid(int value) { |
9622 | 0 | return FieldDescriptorProto_Type_IsValid(value); |
9623 | 0 | } |
9624 | | static constexpr Type Type_MIN = FieldDescriptorProto_Type_Type_MIN; |
9625 | | static constexpr Type Type_MAX = FieldDescriptorProto_Type_Type_MAX; |
9626 | | static constexpr int Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_ARRAYSIZE; |
9627 | 0 | static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { |
9628 | 0 | return FieldDescriptorProto_Type_descriptor(); |
9629 | 0 | } |
9630 | | template <typename T> |
9631 | | static inline const std::string& Type_Name(T value) { |
9632 | | return FieldDescriptorProto_Type_Name(value); |
9633 | | } |
9634 | 0 | static inline bool Type_Parse(absl::string_view name, Type* value) { |
9635 | 0 | return FieldDescriptorProto_Type_Parse(name, value); |
9636 | 0 | } |
9637 | | using Label = FieldDescriptorProto_Label; |
9638 | | static constexpr Label LABEL_OPTIONAL = FieldDescriptorProto_Label_LABEL_OPTIONAL; |
9639 | | static constexpr Label LABEL_REPEATED = FieldDescriptorProto_Label_LABEL_REPEATED; |
9640 | | static constexpr Label LABEL_REQUIRED = FieldDescriptorProto_Label_LABEL_REQUIRED; |
9641 | 0 | static inline bool Label_IsValid(int value) { |
9642 | 0 | return FieldDescriptorProto_Label_IsValid(value); |
9643 | 0 | } |
9644 | | static constexpr Label Label_MIN = FieldDescriptorProto_Label_Label_MIN; |
9645 | | static constexpr Label Label_MAX = FieldDescriptorProto_Label_Label_MAX; |
9646 | | static constexpr int Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_ARRAYSIZE; |
9647 | 0 | static inline const ::google::protobuf::EnumDescriptor* Label_descriptor() { |
9648 | 0 | return FieldDescriptorProto_Label_descriptor(); |
9649 | 0 | } |
9650 | | template <typename T> |
9651 | | static inline const std::string& Label_Name(T value) { |
9652 | | return FieldDescriptorProto_Label_Name(value); |
9653 | | } |
9654 | 0 | static inline bool Label_Parse(absl::string_view name, Label* value) { |
9655 | 0 | return FieldDescriptorProto_Label_Parse(name, value); |
9656 | 0 | } |
9657 | | |
9658 | | // accessors ------------------------------------------------------- |
9659 | | enum : int { |
9660 | | kNameFieldNumber = 1, |
9661 | | kExtendeeFieldNumber = 2, |
9662 | | kTypeNameFieldNumber = 6, |
9663 | | kDefaultValueFieldNumber = 7, |
9664 | | kJsonNameFieldNumber = 10, |
9665 | | kOptionsFieldNumber = 8, |
9666 | | kNumberFieldNumber = 3, |
9667 | | kOneofIndexFieldNumber = 9, |
9668 | | kProto3OptionalFieldNumber = 17, |
9669 | | kLabelFieldNumber = 4, |
9670 | | kTypeFieldNumber = 5, |
9671 | | }; |
9672 | | // optional string name = 1; |
9673 | | bool has_name() const; |
9674 | | void clear_name() ; |
9675 | | const std::string& name() const; |
9676 | | template <typename Arg_ = const std::string&, typename... Args_> |
9677 | | void set_name(Arg_&& arg, Args_... args); |
9678 | | std::string* mutable_name(); |
9679 | | PROTOBUF_NODISCARD std::string* release_name(); |
9680 | | void set_allocated_name(std::string* value); |
9681 | | |
9682 | | private: |
9683 | | const std::string& _internal_name() const; |
9684 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
9685 | | const std::string& value); |
9686 | | std::string* _internal_mutable_name(); |
9687 | | |
9688 | | public: |
9689 | | // optional string extendee = 2; |
9690 | | bool has_extendee() const; |
9691 | | void clear_extendee() ; |
9692 | | const std::string& extendee() const; |
9693 | | template <typename Arg_ = const std::string&, typename... Args_> |
9694 | | void set_extendee(Arg_&& arg, Args_... args); |
9695 | | std::string* mutable_extendee(); |
9696 | | PROTOBUF_NODISCARD std::string* release_extendee(); |
9697 | | void set_allocated_extendee(std::string* value); |
9698 | | |
9699 | | private: |
9700 | | const std::string& _internal_extendee() const; |
9701 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_extendee( |
9702 | | const std::string& value); |
9703 | | std::string* _internal_mutable_extendee(); |
9704 | | |
9705 | | public: |
9706 | | // optional string type_name = 6; |
9707 | | bool has_type_name() const; |
9708 | | void clear_type_name() ; |
9709 | | const std::string& type_name() const; |
9710 | | template <typename Arg_ = const std::string&, typename... Args_> |
9711 | | void set_type_name(Arg_&& arg, Args_... args); |
9712 | | std::string* mutable_type_name(); |
9713 | | PROTOBUF_NODISCARD std::string* release_type_name(); |
9714 | | void set_allocated_type_name(std::string* value); |
9715 | | |
9716 | | private: |
9717 | | const std::string& _internal_type_name() const; |
9718 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_name( |
9719 | | const std::string& value); |
9720 | | std::string* _internal_mutable_type_name(); |
9721 | | |
9722 | | public: |
9723 | | // optional string default_value = 7; |
9724 | | bool has_default_value() const; |
9725 | | void clear_default_value() ; |
9726 | | const std::string& default_value() const; |
9727 | | template <typename Arg_ = const std::string&, typename... Args_> |
9728 | | void set_default_value(Arg_&& arg, Args_... args); |
9729 | | std::string* mutable_default_value(); |
9730 | | PROTOBUF_NODISCARD std::string* release_default_value(); |
9731 | | void set_allocated_default_value(std::string* value); |
9732 | | |
9733 | | private: |
9734 | | const std::string& _internal_default_value() const; |
9735 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_value( |
9736 | | const std::string& value); |
9737 | | std::string* _internal_mutable_default_value(); |
9738 | | |
9739 | | public: |
9740 | | // optional string json_name = 10; |
9741 | | bool has_json_name() const; |
9742 | | void clear_json_name() ; |
9743 | | const std::string& json_name() const; |
9744 | | template <typename Arg_ = const std::string&, typename... Args_> |
9745 | | void set_json_name(Arg_&& arg, Args_... args); |
9746 | | std::string* mutable_json_name(); |
9747 | | PROTOBUF_NODISCARD std::string* release_json_name(); |
9748 | | void set_allocated_json_name(std::string* value); |
9749 | | |
9750 | | private: |
9751 | | const std::string& _internal_json_name() const; |
9752 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_name( |
9753 | | const std::string& value); |
9754 | | std::string* _internal_mutable_json_name(); |
9755 | | |
9756 | | public: |
9757 | | // optional .google.protobuf.FieldOptions options = 8; |
9758 | | bool has_options() const; |
9759 | | void clear_options() ; |
9760 | | const ::google::protobuf::FieldOptions& options() const; |
9761 | | PROTOBUF_NODISCARD ::google::protobuf::FieldOptions* release_options(); |
9762 | | ::google::protobuf::FieldOptions* mutable_options(); |
9763 | | void set_allocated_options(::google::protobuf::FieldOptions* value); |
9764 | | void unsafe_arena_set_allocated_options(::google::protobuf::FieldOptions* value); |
9765 | | ::google::protobuf::FieldOptions* unsafe_arena_release_options(); |
9766 | | |
9767 | | private: |
9768 | | const ::google::protobuf::FieldOptions& _internal_options() const; |
9769 | | ::google::protobuf::FieldOptions* _internal_mutable_options(); |
9770 | | |
9771 | | public: |
9772 | | // optional int32 number = 3; |
9773 | | bool has_number() const; |
9774 | | void clear_number() ; |
9775 | | ::int32_t number() const; |
9776 | | void set_number(::int32_t value); |
9777 | | |
9778 | | private: |
9779 | | ::int32_t _internal_number() const; |
9780 | | void _internal_set_number(::int32_t value); |
9781 | | |
9782 | | public: |
9783 | | // optional int32 oneof_index = 9; |
9784 | | bool has_oneof_index() const; |
9785 | | void clear_oneof_index() ; |
9786 | | ::int32_t oneof_index() const; |
9787 | | void set_oneof_index(::int32_t value); |
9788 | | |
9789 | | private: |
9790 | | ::int32_t _internal_oneof_index() const; |
9791 | | void _internal_set_oneof_index(::int32_t value); |
9792 | | |
9793 | | public: |
9794 | | // optional bool proto3_optional = 17; |
9795 | | bool has_proto3_optional() const; |
9796 | | void clear_proto3_optional() ; |
9797 | | bool proto3_optional() const; |
9798 | | void set_proto3_optional(bool value); |
9799 | | |
9800 | | private: |
9801 | | bool _internal_proto3_optional() const; |
9802 | | void _internal_set_proto3_optional(bool value); |
9803 | | |
9804 | | public: |
9805 | | // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
9806 | | bool has_label() const; |
9807 | | void clear_label() ; |
9808 | | ::google::protobuf::FieldDescriptorProto_Label label() const; |
9809 | | void set_label(::google::protobuf::FieldDescriptorProto_Label value); |
9810 | | |
9811 | | private: |
9812 | | ::google::protobuf::FieldDescriptorProto_Label _internal_label() const; |
9813 | | void _internal_set_label(::google::protobuf::FieldDescriptorProto_Label value); |
9814 | | |
9815 | | public: |
9816 | | // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
9817 | | bool has_type() const; |
9818 | | void clear_type() ; |
9819 | | ::google::protobuf::FieldDescriptorProto_Type type() const; |
9820 | | void set_type(::google::protobuf::FieldDescriptorProto_Type value); |
9821 | | |
9822 | | private: |
9823 | | ::google::protobuf::FieldDescriptorProto_Type _internal_type() const; |
9824 | | void _internal_set_type(::google::protobuf::FieldDescriptorProto_Type value); |
9825 | | |
9826 | | public: |
9827 | | // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) |
9828 | | private: |
9829 | | class _Internal; |
9830 | | friend class ::google::protobuf::internal::TcParser; |
9831 | | static const ::google::protobuf::internal::TcParseTable< |
9832 | | 4, 11, 3, |
9833 | | 96, 2> |
9834 | | _table_; |
9835 | | |
9836 | | friend class ::google::protobuf::MessageLite; |
9837 | | friend class ::google::protobuf::Arena; |
9838 | | template <typename T> |
9839 | | friend class ::google::protobuf::Arena::InternalHelper; |
9840 | | using InternalArenaConstructable_ = void; |
9841 | | using DestructorSkippable_ = void; |
9842 | | struct Impl_ { |
9843 | | inline explicit constexpr Impl_( |
9844 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
9845 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
9846 | | ::google::protobuf::Arena* arena); |
9847 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
9848 | | ::google::protobuf::Arena* arena, const Impl_& from, |
9849 | | const FieldDescriptorProto& from_msg); |
9850 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
9851 | | ::google::protobuf::internal::CachedSize _cached_size_; |
9852 | | ::google::protobuf::internal::ArenaStringPtr name_; |
9853 | | ::google::protobuf::internal::ArenaStringPtr extendee_; |
9854 | | ::google::protobuf::internal::ArenaStringPtr type_name_; |
9855 | | ::google::protobuf::internal::ArenaStringPtr default_value_; |
9856 | | ::google::protobuf::internal::ArenaStringPtr json_name_; |
9857 | | ::google::protobuf::FieldOptions* options_; |
9858 | | ::int32_t number_; |
9859 | | ::int32_t oneof_index_; |
9860 | | bool proto3_optional_; |
9861 | | int label_; |
9862 | | int type_; |
9863 | | PROTOBUF_TSAN_DECLARE_MEMBER |
9864 | | }; |
9865 | | union { Impl_ _impl_; }; |
9866 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
9867 | | }; |
9868 | | // ------------------------------------------------------------------- |
9869 | | |
9870 | | class PROTOBUF_EXPORT EnumValueDescriptorProto final : public ::google::protobuf::Message |
9871 | | /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDescriptorProto) */ { |
9872 | | public: |
9873 | 0 | inline EnumValueDescriptorProto() : EnumValueDescriptorProto(nullptr) {} |
9874 | | ~EnumValueDescriptorProto() PROTOBUF_FINAL; |
9875 | | |
9876 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9877 | | void operator delete(EnumValueDescriptorProto* msg, std::destroying_delete_t) { |
9878 | | SharedDtor(*msg); |
9879 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(EnumValueDescriptorProto)); |
9880 | | } |
9881 | | #endif |
9882 | | |
9883 | | template <typename = void> |
9884 | | explicit PROTOBUF_CONSTEXPR EnumValueDescriptorProto( |
9885 | | ::google::protobuf::internal::ConstantInitialized); |
9886 | | |
9887 | 0 | inline EnumValueDescriptorProto(const EnumValueDescriptorProto& from) : EnumValueDescriptorProto(nullptr, from) {} |
9888 | | inline EnumValueDescriptorProto(EnumValueDescriptorProto&& from) noexcept |
9889 | 0 | : EnumValueDescriptorProto(nullptr, std::move(from)) {} |
9890 | 0 | inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) { |
9891 | 0 | CopyFrom(from); |
9892 | 0 | return *this; |
9893 | 0 | } |
9894 | 0 | inline EnumValueDescriptorProto& operator=(EnumValueDescriptorProto&& from) noexcept { |
9895 | 0 | if (this == &from) return *this; |
9896 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
9897 | 0 | InternalSwap(&from); |
9898 | 0 | } else { |
9899 | 0 | CopyFrom(from); |
9900 | 0 | } |
9901 | 0 | return *this; |
9902 | 0 | } |
9903 | | |
9904 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
9905 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9906 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
9907 | 0 | } |
9908 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
9909 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9910 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
9911 | 0 | } |
9912 | | |
9913 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
9914 | 0 | return GetDescriptor(); |
9915 | 0 | } |
9916 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
9917 | 0 | return default_instance().GetMetadata().descriptor; |
9918 | 0 | } |
9919 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
9920 | 0 | return default_instance().GetMetadata().reflection; |
9921 | 0 | } |
9922 | 0 | static const EnumValueDescriptorProto& default_instance() { |
9923 | 0 | return *internal_default_instance(); |
9924 | 0 | } |
9925 | 0 | static inline const EnumValueDescriptorProto* internal_default_instance() { |
9926 | 0 | return reinterpret_cast<const EnumValueDescriptorProto*>( |
9927 | 0 | &_EnumValueDescriptorProto_default_instance_); |
9928 | 0 | } |
9929 | | static constexpr int kIndexInFileMessages = 11; |
9930 | 0 | friend void swap(EnumValueDescriptorProto& a, EnumValueDescriptorProto& b) { a.Swap(&b); } |
9931 | 0 | inline void Swap(EnumValueDescriptorProto* other) { |
9932 | 0 | if (other == this) return; |
9933 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
9934 | 0 | InternalSwap(other); |
9935 | 0 | } else { |
9936 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
9937 | 0 | } |
9938 | 0 | } |
9939 | 0 | void UnsafeArenaSwap(EnumValueDescriptorProto* other) { |
9940 | 0 | if (other == this) return; |
9941 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
9942 | 0 | InternalSwap(other); |
9943 | 0 | } |
9944 | | |
9945 | | // implements Message ---------------------------------------------- |
9946 | | |
9947 | 0 | EnumValueDescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const { |
9948 | 0 | return ::google::protobuf::Message::DefaultConstruct<EnumValueDescriptorProto>(arena); |
9949 | 0 | } |
9950 | | using ::google::protobuf::Message::CopyFrom; |
9951 | | void CopyFrom(const EnumValueDescriptorProto& from); |
9952 | | using ::google::protobuf::Message::MergeFrom; |
9953 | 0 | void MergeFrom(const EnumValueDescriptorProto& from) { EnumValueDescriptorProto::MergeImpl(*this, from); } |
9954 | | |
9955 | | private: |
9956 | | static void MergeImpl( |
9957 | | ::google::protobuf::MessageLite& to_msg, |
9958 | | const ::google::protobuf::MessageLite& from_msg); |
9959 | | |
9960 | | public: |
9961 | 0 | bool IsInitialized() const { |
9962 | 0 | return IsInitializedImpl(*this); |
9963 | 0 | } |
9964 | | |
9965 | | private: |
9966 | | static bool IsInitializedImpl(const MessageLite& msg); |
9967 | | |
9968 | | public: |
9969 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
9970 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
9971 | | private: |
9972 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
9973 | | static ::uint8_t* _InternalSerialize( |
9974 | | const MessageLite& msg, ::uint8_t* target, |
9975 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
9976 | | |
9977 | | public: |
9978 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
9979 | | ::uint8_t* _InternalSerialize( |
9980 | | ::uint8_t* target, |
9981 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
9982 | | return _InternalSerialize(*this, target, stream); |
9983 | | } |
9984 | | #else // PROTOBUF_CUSTOM_VTABLE |
9985 | | ::size_t ByteSizeLong() const final; |
9986 | | ::uint8_t* _InternalSerialize( |
9987 | | ::uint8_t* target, |
9988 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
9989 | | #endif // PROTOBUF_CUSTOM_VTABLE |
9990 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
9991 | | |
9992 | | private: |
9993 | | void SharedCtor(::google::protobuf::Arena* arena); |
9994 | | static void SharedDtor(MessageLite& self); |
9995 | | void InternalSwap(EnumValueDescriptorProto* other); |
9996 | | private: |
9997 | | template <typename T> |
9998 | | friend ::absl::string_view( |
9999 | | ::google::protobuf::internal::GetAnyMessageName)(); |
10000 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.EnumValueDescriptorProto"; } |
10001 | | |
10002 | | protected: |
10003 | | explicit EnumValueDescriptorProto(::google::protobuf::Arena* arena); |
10004 | | EnumValueDescriptorProto(::google::protobuf::Arena* arena, const EnumValueDescriptorProto& from); |
10005 | | EnumValueDescriptorProto(::google::protobuf::Arena* arena, EnumValueDescriptorProto&& from) noexcept |
10006 | 0 | : EnumValueDescriptorProto(arena) { |
10007 | 0 | *this = ::std::move(from); |
10008 | 0 | } |
10009 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
10010 | | static void* PlacementNew_(const void*, void* mem, |
10011 | | ::google::protobuf::Arena* arena); |
10012 | | static constexpr auto InternalNewImpl_(); |
10013 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
10014 | | |
10015 | | public: |
10016 | | ::google::protobuf::Metadata GetMetadata() const; |
10017 | | // nested types ---------------------------------------------------- |
10018 | | |
10019 | | // accessors ------------------------------------------------------- |
10020 | | enum : int { |
10021 | | kNameFieldNumber = 1, |
10022 | | kOptionsFieldNumber = 3, |
10023 | | kNumberFieldNumber = 2, |
10024 | | }; |
10025 | | // optional string name = 1; |
10026 | | bool has_name() const; |
10027 | | void clear_name() ; |
10028 | | const std::string& name() const; |
10029 | | template <typename Arg_ = const std::string&, typename... Args_> |
10030 | | void set_name(Arg_&& arg, Args_... args); |
10031 | | std::string* mutable_name(); |
10032 | | PROTOBUF_NODISCARD std::string* release_name(); |
10033 | | void set_allocated_name(std::string* value); |
10034 | | |
10035 | | private: |
10036 | | const std::string& _internal_name() const; |
10037 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
10038 | | const std::string& value); |
10039 | | std::string* _internal_mutable_name(); |
10040 | | |
10041 | | public: |
10042 | | // optional .google.protobuf.EnumValueOptions options = 3; |
10043 | | bool has_options() const; |
10044 | | void clear_options() ; |
10045 | | const ::google::protobuf::EnumValueOptions& options() const; |
10046 | | PROTOBUF_NODISCARD ::google::protobuf::EnumValueOptions* release_options(); |
10047 | | ::google::protobuf::EnumValueOptions* mutable_options(); |
10048 | | void set_allocated_options(::google::protobuf::EnumValueOptions* value); |
10049 | | void unsafe_arena_set_allocated_options(::google::protobuf::EnumValueOptions* value); |
10050 | | ::google::protobuf::EnumValueOptions* unsafe_arena_release_options(); |
10051 | | |
10052 | | private: |
10053 | | const ::google::protobuf::EnumValueOptions& _internal_options() const; |
10054 | | ::google::protobuf::EnumValueOptions* _internal_mutable_options(); |
10055 | | |
10056 | | public: |
10057 | | // optional int32 number = 2; |
10058 | | bool has_number() const; |
10059 | | void clear_number() ; |
10060 | | ::int32_t number() const; |
10061 | | void set_number(::int32_t value); |
10062 | | |
10063 | | private: |
10064 | | ::int32_t _internal_number() const; |
10065 | | void _internal_set_number(::int32_t value); |
10066 | | |
10067 | | public: |
10068 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto) |
10069 | | private: |
10070 | | class _Internal; |
10071 | | friend class ::google::protobuf::internal::TcParser; |
10072 | | static const ::google::protobuf::internal::TcParseTable< |
10073 | | 2, 3, 1, |
10074 | | 53, 2> |
10075 | | _table_; |
10076 | | |
10077 | | friend class ::google::protobuf::MessageLite; |
10078 | | friend class ::google::protobuf::Arena; |
10079 | | template <typename T> |
10080 | | friend class ::google::protobuf::Arena::InternalHelper; |
10081 | | using InternalArenaConstructable_ = void; |
10082 | | using DestructorSkippable_ = void; |
10083 | | struct Impl_ { |
10084 | | inline explicit constexpr Impl_( |
10085 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
10086 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
10087 | | ::google::protobuf::Arena* arena); |
10088 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
10089 | | ::google::protobuf::Arena* arena, const Impl_& from, |
10090 | | const EnumValueDescriptorProto& from_msg); |
10091 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
10092 | | ::google::protobuf::internal::CachedSize _cached_size_; |
10093 | | ::google::protobuf::internal::ArenaStringPtr name_; |
10094 | | ::google::protobuf::EnumValueOptions* options_; |
10095 | | ::int32_t number_; |
10096 | | PROTOBUF_TSAN_DECLARE_MEMBER |
10097 | | }; |
10098 | | union { Impl_ _impl_; }; |
10099 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
10100 | | }; |
10101 | | // ------------------------------------------------------------------- |
10102 | | |
10103 | | class PROTOBUF_EXPORT DescriptorProto_ExtensionRange final : public ::google::protobuf::Message |
10104 | | /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ExtensionRange) */ { |
10105 | | public: |
10106 | 0 | inline DescriptorProto_ExtensionRange() : DescriptorProto_ExtensionRange(nullptr) {} |
10107 | | ~DescriptorProto_ExtensionRange() PROTOBUF_FINAL; |
10108 | | |
10109 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10110 | | void operator delete(DescriptorProto_ExtensionRange* msg, std::destroying_delete_t) { |
10111 | | SharedDtor(*msg); |
10112 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(DescriptorProto_ExtensionRange)); |
10113 | | } |
10114 | | #endif |
10115 | | |
10116 | | template <typename = void> |
10117 | | explicit PROTOBUF_CONSTEXPR DescriptorProto_ExtensionRange( |
10118 | | ::google::protobuf::internal::ConstantInitialized); |
10119 | | |
10120 | 0 | inline DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from) : DescriptorProto_ExtensionRange(nullptr, from) {} |
10121 | | inline DescriptorProto_ExtensionRange(DescriptorProto_ExtensionRange&& from) noexcept |
10122 | 0 | : DescriptorProto_ExtensionRange(nullptr, std::move(from)) {} |
10123 | 0 | inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) { |
10124 | 0 | CopyFrom(from); |
10125 | 0 | return *this; |
10126 | 0 | } |
10127 | 0 | inline DescriptorProto_ExtensionRange& operator=(DescriptorProto_ExtensionRange&& from) noexcept { |
10128 | 0 | if (this == &from) return *this; |
10129 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
10130 | 0 | InternalSwap(&from); |
10131 | 0 | } else { |
10132 | 0 | CopyFrom(from); |
10133 | 0 | } |
10134 | 0 | return *this; |
10135 | 0 | } |
10136 | | |
10137 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
10138 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10139 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
10140 | 0 | } |
10141 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
10142 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10143 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
10144 | 0 | } |
10145 | | |
10146 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
10147 | 0 | return GetDescriptor(); |
10148 | 0 | } |
10149 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
10150 | 0 | return default_instance().GetMetadata().descriptor; |
10151 | 0 | } |
10152 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
10153 | 0 | return default_instance().GetMetadata().reflection; |
10154 | 0 | } |
10155 | 0 | static const DescriptorProto_ExtensionRange& default_instance() { |
10156 | 0 | return *internal_default_instance(); |
10157 | 0 | } |
10158 | 0 | static inline const DescriptorProto_ExtensionRange* internal_default_instance() { |
10159 | 0 | return reinterpret_cast<const DescriptorProto_ExtensionRange*>( |
10160 | 0 | &_DescriptorProto_ExtensionRange_default_instance_); |
10161 | 0 | } |
10162 | | static constexpr int kIndexInFileMessages = 2; |
10163 | 0 | friend void swap(DescriptorProto_ExtensionRange& a, DescriptorProto_ExtensionRange& b) { a.Swap(&b); } |
10164 | 0 | inline void Swap(DescriptorProto_ExtensionRange* other) { |
10165 | 0 | if (other == this) return; |
10166 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
10167 | 0 | InternalSwap(other); |
10168 | 0 | } else { |
10169 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
10170 | 0 | } |
10171 | 0 | } |
10172 | 0 | void UnsafeArenaSwap(DescriptorProto_ExtensionRange* other) { |
10173 | 0 | if (other == this) return; |
10174 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
10175 | 0 | InternalSwap(other); |
10176 | 0 | } |
10177 | | |
10178 | | // implements Message ---------------------------------------------- |
10179 | | |
10180 | 0 | DescriptorProto_ExtensionRange* New(::google::protobuf::Arena* arena = nullptr) const { |
10181 | 0 | return ::google::protobuf::Message::DefaultConstruct<DescriptorProto_ExtensionRange>(arena); |
10182 | 0 | } |
10183 | | using ::google::protobuf::Message::CopyFrom; |
10184 | | void CopyFrom(const DescriptorProto_ExtensionRange& from); |
10185 | | using ::google::protobuf::Message::MergeFrom; |
10186 | 0 | void MergeFrom(const DescriptorProto_ExtensionRange& from) { DescriptorProto_ExtensionRange::MergeImpl(*this, from); } |
10187 | | |
10188 | | private: |
10189 | | static void MergeImpl( |
10190 | | ::google::protobuf::MessageLite& to_msg, |
10191 | | const ::google::protobuf::MessageLite& from_msg); |
10192 | | |
10193 | | public: |
10194 | 0 | bool IsInitialized() const { |
10195 | 0 | return IsInitializedImpl(*this); |
10196 | 0 | } |
10197 | | |
10198 | | private: |
10199 | | static bool IsInitializedImpl(const MessageLite& msg); |
10200 | | |
10201 | | public: |
10202 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
10203 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10204 | | private: |
10205 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
10206 | | static ::uint8_t* _InternalSerialize( |
10207 | | const MessageLite& msg, ::uint8_t* target, |
10208 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
10209 | | |
10210 | | public: |
10211 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
10212 | | ::uint8_t* _InternalSerialize( |
10213 | | ::uint8_t* target, |
10214 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
10215 | | return _InternalSerialize(*this, target, stream); |
10216 | | } |
10217 | | #else // PROTOBUF_CUSTOM_VTABLE |
10218 | | ::size_t ByteSizeLong() const final; |
10219 | | ::uint8_t* _InternalSerialize( |
10220 | | ::uint8_t* target, |
10221 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
10222 | | #endif // PROTOBUF_CUSTOM_VTABLE |
10223 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
10224 | | |
10225 | | private: |
10226 | | void SharedCtor(::google::protobuf::Arena* arena); |
10227 | | static void SharedDtor(MessageLite& self); |
10228 | | void InternalSwap(DescriptorProto_ExtensionRange* other); |
10229 | | private: |
10230 | | template <typename T> |
10231 | | friend ::absl::string_view( |
10232 | | ::google::protobuf::internal::GetAnyMessageName)(); |
10233 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.DescriptorProto.ExtensionRange"; } |
10234 | | |
10235 | | protected: |
10236 | | explicit DescriptorProto_ExtensionRange(::google::protobuf::Arena* arena); |
10237 | | DescriptorProto_ExtensionRange(::google::protobuf::Arena* arena, const DescriptorProto_ExtensionRange& from); |
10238 | | DescriptorProto_ExtensionRange(::google::protobuf::Arena* arena, DescriptorProto_ExtensionRange&& from) noexcept |
10239 | 0 | : DescriptorProto_ExtensionRange(arena) { |
10240 | 0 | *this = ::std::move(from); |
10241 | 0 | } |
10242 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
10243 | | static void* PlacementNew_(const void*, void* mem, |
10244 | | ::google::protobuf::Arena* arena); |
10245 | | static constexpr auto InternalNewImpl_(); |
10246 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
10247 | | |
10248 | | public: |
10249 | | ::google::protobuf::Metadata GetMetadata() const; |
10250 | | // nested types ---------------------------------------------------- |
10251 | | |
10252 | | // accessors ------------------------------------------------------- |
10253 | | enum : int { |
10254 | | kOptionsFieldNumber = 3, |
10255 | | kStartFieldNumber = 1, |
10256 | | kEndFieldNumber = 2, |
10257 | | }; |
10258 | | // optional .google.protobuf.ExtensionRangeOptions options = 3; |
10259 | | bool has_options() const; |
10260 | | void clear_options() ; |
10261 | | const ::google::protobuf::ExtensionRangeOptions& options() const; |
10262 | | PROTOBUF_NODISCARD ::google::protobuf::ExtensionRangeOptions* release_options(); |
10263 | | ::google::protobuf::ExtensionRangeOptions* mutable_options(); |
10264 | | void set_allocated_options(::google::protobuf::ExtensionRangeOptions* value); |
10265 | | void unsafe_arena_set_allocated_options(::google::protobuf::ExtensionRangeOptions* value); |
10266 | | ::google::protobuf::ExtensionRangeOptions* unsafe_arena_release_options(); |
10267 | | |
10268 | | private: |
10269 | | const ::google::protobuf::ExtensionRangeOptions& _internal_options() const; |
10270 | | ::google::protobuf::ExtensionRangeOptions* _internal_mutable_options(); |
10271 | | |
10272 | | public: |
10273 | | // optional int32 start = 1; |
10274 | | bool has_start() const; |
10275 | | void clear_start() ; |
10276 | | ::int32_t start() const; |
10277 | | void set_start(::int32_t value); |
10278 | | |
10279 | | private: |
10280 | | ::int32_t _internal_start() const; |
10281 | | void _internal_set_start(::int32_t value); |
10282 | | |
10283 | | public: |
10284 | | // optional int32 end = 2; |
10285 | | bool has_end() const; |
10286 | | void clear_end() ; |
10287 | | ::int32_t end() const; |
10288 | | void set_end(::int32_t value); |
10289 | | |
10290 | | private: |
10291 | | ::int32_t _internal_end() const; |
10292 | | void _internal_set_end(::int32_t value); |
10293 | | |
10294 | | public: |
10295 | | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange) |
10296 | | private: |
10297 | | class _Internal; |
10298 | | friend class ::google::protobuf::internal::TcParser; |
10299 | | static const ::google::protobuf::internal::TcParseTable< |
10300 | | 2, 3, 1, |
10301 | | 0, 2> |
10302 | | _table_; |
10303 | | |
10304 | | friend class ::google::protobuf::MessageLite; |
10305 | | friend class ::google::protobuf::Arena; |
10306 | | template <typename T> |
10307 | | friend class ::google::protobuf::Arena::InternalHelper; |
10308 | | using InternalArenaConstructable_ = void; |
10309 | | using DestructorSkippable_ = void; |
10310 | | struct Impl_ { |
10311 | | inline explicit constexpr Impl_( |
10312 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
10313 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
10314 | | ::google::protobuf::Arena* arena); |
10315 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
10316 | | ::google::protobuf::Arena* arena, const Impl_& from, |
10317 | | const DescriptorProto_ExtensionRange& from_msg); |
10318 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
10319 | | ::google::protobuf::internal::CachedSize _cached_size_; |
10320 | | ::google::protobuf::ExtensionRangeOptions* options_; |
10321 | | ::int32_t start_; |
10322 | | ::int32_t end_; |
10323 | | PROTOBUF_TSAN_DECLARE_MEMBER |
10324 | | }; |
10325 | | union { Impl_ _impl_; }; |
10326 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
10327 | | }; |
10328 | | // ------------------------------------------------------------------- |
10329 | | |
10330 | | class PROTOBUF_EXPORT ServiceDescriptorProto final : public ::google::protobuf::Message |
10331 | | /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescriptorProto) */ { |
10332 | | public: |
10333 | 0 | inline ServiceDescriptorProto() : ServiceDescriptorProto(nullptr) {} |
10334 | | ~ServiceDescriptorProto() PROTOBUF_FINAL; |
10335 | | |
10336 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10337 | | void operator delete(ServiceDescriptorProto* msg, std::destroying_delete_t) { |
10338 | | SharedDtor(*msg); |
10339 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(ServiceDescriptorProto)); |
10340 | | } |
10341 | | #endif |
10342 | | |
10343 | | template <typename = void> |
10344 | | explicit PROTOBUF_CONSTEXPR ServiceDescriptorProto( |
10345 | | ::google::protobuf::internal::ConstantInitialized); |
10346 | | |
10347 | 0 | inline ServiceDescriptorProto(const ServiceDescriptorProto& from) : ServiceDescriptorProto(nullptr, from) {} |
10348 | | inline ServiceDescriptorProto(ServiceDescriptorProto&& from) noexcept |
10349 | 0 | : ServiceDescriptorProto(nullptr, std::move(from)) {} |
10350 | 0 | inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { |
10351 | 0 | CopyFrom(from); |
10352 | 0 | return *this; |
10353 | 0 | } |
10354 | 0 | inline ServiceDescriptorProto& operator=(ServiceDescriptorProto&& from) noexcept { |
10355 | 0 | if (this == &from) return *this; |
10356 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
10357 | 0 | InternalSwap(&from); |
10358 | 0 | } else { |
10359 | 0 | CopyFrom(from); |
10360 | 0 | } |
10361 | 0 | return *this; |
10362 | 0 | } |
10363 | | |
10364 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
10365 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10366 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
10367 | 0 | } |
10368 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
10369 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10370 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
10371 | 0 | } |
10372 | | |
10373 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
10374 | 0 | return GetDescriptor(); |
10375 | 0 | } |
10376 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
10377 | 0 | return default_instance().GetMetadata().descriptor; |
10378 | 0 | } |
10379 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
10380 | 0 | return default_instance().GetMetadata().reflection; |
10381 | 0 | } |
10382 | 0 | static const ServiceDescriptorProto& default_instance() { |
10383 | 0 | return *internal_default_instance(); |
10384 | 0 | } |
10385 | 0 | static inline const ServiceDescriptorProto* internal_default_instance() { |
10386 | 0 | return reinterpret_cast<const ServiceDescriptorProto*>( |
10387 | 0 | &_ServiceDescriptorProto_default_instance_); |
10388 | 0 | } |
10389 | | static constexpr int kIndexInFileMessages = 12; |
10390 | 0 | friend void swap(ServiceDescriptorProto& a, ServiceDescriptorProto& b) { a.Swap(&b); } |
10391 | 0 | inline void Swap(ServiceDescriptorProto* other) { |
10392 | 0 | if (other == this) return; |
10393 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
10394 | 0 | InternalSwap(other); |
10395 | 0 | } else { |
10396 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
10397 | 0 | } |
10398 | 0 | } |
10399 | 0 | void UnsafeArenaSwap(ServiceDescriptorProto* other) { |
10400 | 0 | if (other == this) return; |
10401 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
10402 | 0 | InternalSwap(other); |
10403 | 0 | } |
10404 | | |
10405 | | // implements Message ---------------------------------------------- |
10406 | | |
10407 | 0 | ServiceDescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const { |
10408 | 0 | return ::google::protobuf::Message::DefaultConstruct<ServiceDescriptorProto>(arena); |
10409 | 0 | } |
10410 | | using ::google::protobuf::Message::CopyFrom; |
10411 | | void CopyFrom(const ServiceDescriptorProto& from); |
10412 | | using ::google::protobuf::Message::MergeFrom; |
10413 | 0 | void MergeFrom(const ServiceDescriptorProto& from) { ServiceDescriptorProto::MergeImpl(*this, from); } |
10414 | | |
10415 | | private: |
10416 | | static void MergeImpl( |
10417 | | ::google::protobuf::MessageLite& to_msg, |
10418 | | const ::google::protobuf::MessageLite& from_msg); |
10419 | | |
10420 | | public: |
10421 | 0 | bool IsInitialized() const { |
10422 | 0 | return IsInitializedImpl(*this); |
10423 | 0 | } |
10424 | | |
10425 | | private: |
10426 | | static bool IsInitializedImpl(const MessageLite& msg); |
10427 | | |
10428 | | public: |
10429 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
10430 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10431 | | private: |
10432 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
10433 | | static ::uint8_t* _InternalSerialize( |
10434 | | const MessageLite& msg, ::uint8_t* target, |
10435 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
10436 | | |
10437 | | public: |
10438 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
10439 | | ::uint8_t* _InternalSerialize( |
10440 | | ::uint8_t* target, |
10441 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
10442 | | return _InternalSerialize(*this, target, stream); |
10443 | | } |
10444 | | #else // PROTOBUF_CUSTOM_VTABLE |
10445 | | ::size_t ByteSizeLong() const final; |
10446 | | ::uint8_t* _InternalSerialize( |
10447 | | ::uint8_t* target, |
10448 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
10449 | | #endif // PROTOBUF_CUSTOM_VTABLE |
10450 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
10451 | | |
10452 | | private: |
10453 | | void SharedCtor(::google::protobuf::Arena* arena); |
10454 | | static void SharedDtor(MessageLite& self); |
10455 | | void InternalSwap(ServiceDescriptorProto* other); |
10456 | | private: |
10457 | | template <typename T> |
10458 | | friend ::absl::string_view( |
10459 | | ::google::protobuf::internal::GetAnyMessageName)(); |
10460 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.ServiceDescriptorProto"; } |
10461 | | |
10462 | | protected: |
10463 | | explicit ServiceDescriptorProto(::google::protobuf::Arena* arena); |
10464 | | ServiceDescriptorProto(::google::protobuf::Arena* arena, const ServiceDescriptorProto& from); |
10465 | | ServiceDescriptorProto(::google::protobuf::Arena* arena, ServiceDescriptorProto&& from) noexcept |
10466 | 0 | : ServiceDescriptorProto(arena) { |
10467 | 0 | *this = ::std::move(from); |
10468 | 0 | } |
10469 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
10470 | | static void* PlacementNew_(const void*, void* mem, |
10471 | | ::google::protobuf::Arena* arena); |
10472 | | static constexpr auto InternalNewImpl_(); |
10473 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
10474 | | |
10475 | | public: |
10476 | | ::google::protobuf::Metadata GetMetadata() const; |
10477 | | // nested types ---------------------------------------------------- |
10478 | | |
10479 | | // accessors ------------------------------------------------------- |
10480 | | enum : int { |
10481 | | kMethodFieldNumber = 2, |
10482 | | kNameFieldNumber = 1, |
10483 | | kOptionsFieldNumber = 3, |
10484 | | }; |
10485 | | // repeated .google.protobuf.MethodDescriptorProto method = 2; |
10486 | | int method_size() const; |
10487 | | private: |
10488 | | int _internal_method_size() const; |
10489 | | |
10490 | | public: |
10491 | | void clear_method() ; |
10492 | | ::google::protobuf::MethodDescriptorProto* mutable_method(int index); |
10493 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>* mutable_method(); |
10494 | | |
10495 | | private: |
10496 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>& _internal_method() const; |
10497 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>* _internal_mutable_method(); |
10498 | | public: |
10499 | | const ::google::protobuf::MethodDescriptorProto& method(int index) const; |
10500 | | ::google::protobuf::MethodDescriptorProto* add_method(); |
10501 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>& method() const; |
10502 | | // optional string name = 1; |
10503 | | bool has_name() const; |
10504 | | void clear_name() ; |
10505 | | const std::string& name() const; |
10506 | | template <typename Arg_ = const std::string&, typename... Args_> |
10507 | | void set_name(Arg_&& arg, Args_... args); |
10508 | | std::string* mutable_name(); |
10509 | | PROTOBUF_NODISCARD std::string* release_name(); |
10510 | | void set_allocated_name(std::string* value); |
10511 | | |
10512 | | private: |
10513 | | const std::string& _internal_name() const; |
10514 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
10515 | | const std::string& value); |
10516 | | std::string* _internal_mutable_name(); |
10517 | | |
10518 | | public: |
10519 | | // optional .google.protobuf.ServiceOptions options = 3; |
10520 | | bool has_options() const; |
10521 | | void clear_options() ; |
10522 | | const ::google::protobuf::ServiceOptions& options() const; |
10523 | | PROTOBUF_NODISCARD ::google::protobuf::ServiceOptions* release_options(); |
10524 | | ::google::protobuf::ServiceOptions* mutable_options(); |
10525 | | void set_allocated_options(::google::protobuf::ServiceOptions* value); |
10526 | | void unsafe_arena_set_allocated_options(::google::protobuf::ServiceOptions* value); |
10527 | | ::google::protobuf::ServiceOptions* unsafe_arena_release_options(); |
10528 | | |
10529 | | private: |
10530 | | const ::google::protobuf::ServiceOptions& _internal_options() const; |
10531 | | ::google::protobuf::ServiceOptions* _internal_mutable_options(); |
10532 | | |
10533 | | public: |
10534 | | // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto) |
10535 | | private: |
10536 | | class _Internal; |
10537 | | friend class ::google::protobuf::internal::TcParser; |
10538 | | static const ::google::protobuf::internal::TcParseTable< |
10539 | | 2, 3, 2, |
10540 | | 51, 2> |
10541 | | _table_; |
10542 | | |
10543 | | friend class ::google::protobuf::MessageLite; |
10544 | | friend class ::google::protobuf::Arena; |
10545 | | template <typename T> |
10546 | | friend class ::google::protobuf::Arena::InternalHelper; |
10547 | | using InternalArenaConstructable_ = void; |
10548 | | using DestructorSkippable_ = void; |
10549 | | struct Impl_ { |
10550 | | inline explicit constexpr Impl_( |
10551 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
10552 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
10553 | | ::google::protobuf::Arena* arena); |
10554 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
10555 | | ::google::protobuf::Arena* arena, const Impl_& from, |
10556 | | const ServiceDescriptorProto& from_msg); |
10557 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
10558 | | ::google::protobuf::internal::CachedSize _cached_size_; |
10559 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_; |
10560 | | ::google::protobuf::internal::ArenaStringPtr name_; |
10561 | | ::google::protobuf::ServiceOptions* options_; |
10562 | | PROTOBUF_TSAN_DECLARE_MEMBER |
10563 | | }; |
10564 | | union { Impl_ _impl_; }; |
10565 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
10566 | | }; |
10567 | | // ------------------------------------------------------------------- |
10568 | | |
10569 | | class PROTOBUF_EXPORT EnumDescriptorProto final : public ::google::protobuf::Message |
10570 | | /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto) */ { |
10571 | | public: |
10572 | 0 | inline EnumDescriptorProto() : EnumDescriptorProto(nullptr) {} |
10573 | | ~EnumDescriptorProto() PROTOBUF_FINAL; |
10574 | | |
10575 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10576 | | void operator delete(EnumDescriptorProto* msg, std::destroying_delete_t) { |
10577 | | SharedDtor(*msg); |
10578 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(EnumDescriptorProto)); |
10579 | | } |
10580 | | #endif |
10581 | | |
10582 | | template <typename = void> |
10583 | | explicit PROTOBUF_CONSTEXPR EnumDescriptorProto( |
10584 | | ::google::protobuf::internal::ConstantInitialized); |
10585 | | |
10586 | 0 | inline EnumDescriptorProto(const EnumDescriptorProto& from) : EnumDescriptorProto(nullptr, from) {} |
10587 | | inline EnumDescriptorProto(EnumDescriptorProto&& from) noexcept |
10588 | 0 | : EnumDescriptorProto(nullptr, std::move(from)) {} |
10589 | 0 | inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { |
10590 | 0 | CopyFrom(from); |
10591 | 0 | return *this; |
10592 | 0 | } |
10593 | 0 | inline EnumDescriptorProto& operator=(EnumDescriptorProto&& from) noexcept { |
10594 | 0 | if (this == &from) return *this; |
10595 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
10596 | 0 | InternalSwap(&from); |
10597 | 0 | } else { |
10598 | 0 | CopyFrom(from); |
10599 | 0 | } |
10600 | 0 | return *this; |
10601 | 0 | } |
10602 | | |
10603 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
10604 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10605 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
10606 | 0 | } |
10607 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
10608 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10609 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
10610 | 0 | } |
10611 | | |
10612 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
10613 | 0 | return GetDescriptor(); |
10614 | 0 | } |
10615 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
10616 | 0 | return default_instance().GetMetadata().descriptor; |
10617 | 0 | } |
10618 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
10619 | 0 | return default_instance().GetMetadata().reflection; |
10620 | 0 | } |
10621 | 0 | static const EnumDescriptorProto& default_instance() { |
10622 | 0 | return *internal_default_instance(); |
10623 | 0 | } |
10624 | 0 | static inline const EnumDescriptorProto* internal_default_instance() { |
10625 | 0 | return reinterpret_cast<const EnumDescriptorProto*>( |
10626 | 0 | &_EnumDescriptorProto_default_instance_); |
10627 | 0 | } |
10628 | | static constexpr int kIndexInFileMessages = 10; |
10629 | 0 | friend void swap(EnumDescriptorProto& a, EnumDescriptorProto& b) { a.Swap(&b); } |
10630 | 0 | inline void Swap(EnumDescriptorProto* other) { |
10631 | 0 | if (other == this) return; |
10632 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
10633 | 0 | InternalSwap(other); |
10634 | 0 | } else { |
10635 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
10636 | 0 | } |
10637 | 0 | } |
10638 | 0 | void UnsafeArenaSwap(EnumDescriptorProto* other) { |
10639 | 0 | if (other == this) return; |
10640 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
10641 | 0 | InternalSwap(other); |
10642 | 0 | } |
10643 | | |
10644 | | // implements Message ---------------------------------------------- |
10645 | | |
10646 | 0 | EnumDescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const { |
10647 | 0 | return ::google::protobuf::Message::DefaultConstruct<EnumDescriptorProto>(arena); |
10648 | 0 | } |
10649 | | using ::google::protobuf::Message::CopyFrom; |
10650 | | void CopyFrom(const EnumDescriptorProto& from); |
10651 | | using ::google::protobuf::Message::MergeFrom; |
10652 | 0 | void MergeFrom(const EnumDescriptorProto& from) { EnumDescriptorProto::MergeImpl(*this, from); } |
10653 | | |
10654 | | private: |
10655 | | static void MergeImpl( |
10656 | | ::google::protobuf::MessageLite& to_msg, |
10657 | | const ::google::protobuf::MessageLite& from_msg); |
10658 | | |
10659 | | public: |
10660 | 0 | bool IsInitialized() const { |
10661 | 0 | return IsInitializedImpl(*this); |
10662 | 0 | } |
10663 | | |
10664 | | private: |
10665 | | static bool IsInitializedImpl(const MessageLite& msg); |
10666 | | |
10667 | | public: |
10668 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
10669 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10670 | | private: |
10671 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
10672 | | static ::uint8_t* _InternalSerialize( |
10673 | | const MessageLite& msg, ::uint8_t* target, |
10674 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
10675 | | |
10676 | | public: |
10677 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
10678 | | ::uint8_t* _InternalSerialize( |
10679 | | ::uint8_t* target, |
10680 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
10681 | | return _InternalSerialize(*this, target, stream); |
10682 | | } |
10683 | | #else // PROTOBUF_CUSTOM_VTABLE |
10684 | | ::size_t ByteSizeLong() const final; |
10685 | | ::uint8_t* _InternalSerialize( |
10686 | | ::uint8_t* target, |
10687 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
10688 | | #endif // PROTOBUF_CUSTOM_VTABLE |
10689 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
10690 | | |
10691 | | private: |
10692 | | void SharedCtor(::google::protobuf::Arena* arena); |
10693 | | static void SharedDtor(MessageLite& self); |
10694 | | void InternalSwap(EnumDescriptorProto* other); |
10695 | | private: |
10696 | | template <typename T> |
10697 | | friend ::absl::string_view( |
10698 | | ::google::protobuf::internal::GetAnyMessageName)(); |
10699 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.EnumDescriptorProto"; } |
10700 | | |
10701 | | protected: |
10702 | | explicit EnumDescriptorProto(::google::protobuf::Arena* arena); |
10703 | | EnumDescriptorProto(::google::protobuf::Arena* arena, const EnumDescriptorProto& from); |
10704 | | EnumDescriptorProto(::google::protobuf::Arena* arena, EnumDescriptorProto&& from) noexcept |
10705 | 0 | : EnumDescriptorProto(arena) { |
10706 | 0 | *this = ::std::move(from); |
10707 | 0 | } |
10708 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
10709 | | static void* PlacementNew_(const void*, void* mem, |
10710 | | ::google::protobuf::Arena* arena); |
10711 | | static constexpr auto InternalNewImpl_(); |
10712 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
10713 | | |
10714 | | public: |
10715 | | ::google::protobuf::Metadata GetMetadata() const; |
10716 | | // nested types ---------------------------------------------------- |
10717 | | using EnumReservedRange = EnumDescriptorProto_EnumReservedRange; |
10718 | | |
10719 | | // accessors ------------------------------------------------------- |
10720 | | enum : int { |
10721 | | kValueFieldNumber = 2, |
10722 | | kReservedRangeFieldNumber = 4, |
10723 | | kReservedNameFieldNumber = 5, |
10724 | | kNameFieldNumber = 1, |
10725 | | kOptionsFieldNumber = 3, |
10726 | | }; |
10727 | | // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
10728 | | int value_size() const; |
10729 | | private: |
10730 | | int _internal_value_size() const; |
10731 | | |
10732 | | public: |
10733 | | void clear_value() ; |
10734 | | ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index); |
10735 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>* mutable_value(); |
10736 | | |
10737 | | private: |
10738 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>& _internal_value() const; |
10739 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>* _internal_mutable_value(); |
10740 | | public: |
10741 | | const ::google::protobuf::EnumValueDescriptorProto& value(int index) const; |
10742 | | ::google::protobuf::EnumValueDescriptorProto* add_value(); |
10743 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>& value() const; |
10744 | | // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; |
10745 | | int reserved_range_size() const; |
10746 | | private: |
10747 | | int _internal_reserved_range_size() const; |
10748 | | |
10749 | | public: |
10750 | | void clear_reserved_range() ; |
10751 | | ::google::protobuf::EnumDescriptorProto_EnumReservedRange* mutable_reserved_range(int index); |
10752 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>* mutable_reserved_range(); |
10753 | | |
10754 | | private: |
10755 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>& _internal_reserved_range() const; |
10756 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>* _internal_mutable_reserved_range(); |
10757 | | public: |
10758 | | const ::google::protobuf::EnumDescriptorProto_EnumReservedRange& reserved_range(int index) const; |
10759 | | ::google::protobuf::EnumDescriptorProto_EnumReservedRange* add_reserved_range(); |
10760 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>& reserved_range() const; |
10761 | | // repeated string reserved_name = 5; |
10762 | | int reserved_name_size() const; |
10763 | | private: |
10764 | | int _internal_reserved_name_size() const; |
10765 | | |
10766 | | public: |
10767 | | void clear_reserved_name() ; |
10768 | | const std::string& reserved_name(int index) const; |
10769 | | std::string* mutable_reserved_name(int index); |
10770 | | template <typename Arg_ = const std::string&, typename... Args_> |
10771 | | void set_reserved_name(int index, Arg_&& value, Args_... args); |
10772 | | std::string* add_reserved_name(); |
10773 | | template <typename Arg_ = const std::string&, typename... Args_> |
10774 | | void add_reserved_name(Arg_&& value, Args_... args); |
10775 | | const ::google::protobuf::RepeatedPtrField<std::string>& reserved_name() const; |
10776 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_reserved_name(); |
10777 | | |
10778 | | private: |
10779 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_reserved_name() const; |
10780 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_reserved_name(); |
10781 | | |
10782 | | public: |
10783 | | // optional string name = 1; |
10784 | | bool has_name() const; |
10785 | | void clear_name() ; |
10786 | | const std::string& name() const; |
10787 | | template <typename Arg_ = const std::string&, typename... Args_> |
10788 | | void set_name(Arg_&& arg, Args_... args); |
10789 | | std::string* mutable_name(); |
10790 | | PROTOBUF_NODISCARD std::string* release_name(); |
10791 | | void set_allocated_name(std::string* value); |
10792 | | |
10793 | | private: |
10794 | | const std::string& _internal_name() const; |
10795 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
10796 | | const std::string& value); |
10797 | | std::string* _internal_mutable_name(); |
10798 | | |
10799 | | public: |
10800 | | // optional .google.protobuf.EnumOptions options = 3; |
10801 | | bool has_options() const; |
10802 | | void clear_options() ; |
10803 | | const ::google::protobuf::EnumOptions& options() const; |
10804 | | PROTOBUF_NODISCARD ::google::protobuf::EnumOptions* release_options(); |
10805 | | ::google::protobuf::EnumOptions* mutable_options(); |
10806 | | void set_allocated_options(::google::protobuf::EnumOptions* value); |
10807 | | void unsafe_arena_set_allocated_options(::google::protobuf::EnumOptions* value); |
10808 | | ::google::protobuf::EnumOptions* unsafe_arena_release_options(); |
10809 | | |
10810 | | private: |
10811 | | const ::google::protobuf::EnumOptions& _internal_options() const; |
10812 | | ::google::protobuf::EnumOptions* _internal_mutable_options(); |
10813 | | |
10814 | | public: |
10815 | | // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) |
10816 | | private: |
10817 | | class _Internal; |
10818 | | friend class ::google::protobuf::internal::TcParser; |
10819 | | static const ::google::protobuf::internal::TcParseTable< |
10820 | | 3, 5, 3, |
10821 | | 61, 2> |
10822 | | _table_; |
10823 | | |
10824 | | friend class ::google::protobuf::MessageLite; |
10825 | | friend class ::google::protobuf::Arena; |
10826 | | template <typename T> |
10827 | | friend class ::google::protobuf::Arena::InternalHelper; |
10828 | | using InternalArenaConstructable_ = void; |
10829 | | using DestructorSkippable_ = void; |
10830 | | struct Impl_ { |
10831 | | inline explicit constexpr Impl_( |
10832 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
10833 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
10834 | | ::google::protobuf::Arena* arena); |
10835 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
10836 | | ::google::protobuf::Arena* arena, const Impl_& from, |
10837 | | const EnumDescriptorProto& from_msg); |
10838 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
10839 | | ::google::protobuf::internal::CachedSize _cached_size_; |
10840 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto > value_; |
10841 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto_EnumReservedRange > reserved_range_; |
10842 | | ::google::protobuf::RepeatedPtrField<std::string> reserved_name_; |
10843 | | ::google::protobuf::internal::ArenaStringPtr name_; |
10844 | | ::google::protobuf::EnumOptions* options_; |
10845 | | PROTOBUF_TSAN_DECLARE_MEMBER |
10846 | | }; |
10847 | | union { Impl_ _impl_; }; |
10848 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
10849 | | }; |
10850 | | // ------------------------------------------------------------------- |
10851 | | |
10852 | | class PROTOBUF_EXPORT DescriptorProto final : public ::google::protobuf::Message |
10853 | | /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ { |
10854 | | public: |
10855 | 0 | inline DescriptorProto() : DescriptorProto(nullptr) {} |
10856 | | ~DescriptorProto() PROTOBUF_FINAL; |
10857 | | |
10858 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10859 | | void operator delete(DescriptorProto* msg, std::destroying_delete_t) { |
10860 | | SharedDtor(*msg); |
10861 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(DescriptorProto)); |
10862 | | } |
10863 | | #endif |
10864 | | |
10865 | | template <typename = void> |
10866 | | explicit PROTOBUF_CONSTEXPR DescriptorProto( |
10867 | | ::google::protobuf::internal::ConstantInitialized); |
10868 | | |
10869 | 0 | inline DescriptorProto(const DescriptorProto& from) : DescriptorProto(nullptr, from) {} |
10870 | | inline DescriptorProto(DescriptorProto&& from) noexcept |
10871 | 0 | : DescriptorProto(nullptr, std::move(from)) {} |
10872 | 0 | inline DescriptorProto& operator=(const DescriptorProto& from) { |
10873 | 0 | CopyFrom(from); |
10874 | 0 | return *this; |
10875 | 0 | } |
10876 | 0 | inline DescriptorProto& operator=(DescriptorProto&& from) noexcept { |
10877 | 0 | if (this == &from) return *this; |
10878 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
10879 | 0 | InternalSwap(&from); |
10880 | 0 | } else { |
10881 | 0 | CopyFrom(from); |
10882 | 0 | } |
10883 | 0 | return *this; |
10884 | 0 | } |
10885 | | |
10886 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
10887 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10888 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
10889 | 0 | } |
10890 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
10891 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10892 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
10893 | 0 | } |
10894 | | |
10895 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
10896 | 0 | return GetDescriptor(); |
10897 | 0 | } |
10898 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
10899 | 0 | return default_instance().GetMetadata().descriptor; |
10900 | 0 | } |
10901 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
10902 | 0 | return default_instance().GetMetadata().reflection; |
10903 | 0 | } |
10904 | 0 | static const DescriptorProto& default_instance() { |
10905 | 0 | return *internal_default_instance(); |
10906 | 0 | } |
10907 | 0 | static inline const DescriptorProto* internal_default_instance() { |
10908 | 0 | return reinterpret_cast<const DescriptorProto*>( |
10909 | 0 | &_DescriptorProto_default_instance_); |
10910 | 0 | } |
10911 | | static constexpr int kIndexInFileMessages = 4; |
10912 | 0 | friend void swap(DescriptorProto& a, DescriptorProto& b) { a.Swap(&b); } |
10913 | 0 | inline void Swap(DescriptorProto* other) { |
10914 | 0 | if (other == this) return; |
10915 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
10916 | 0 | InternalSwap(other); |
10917 | 0 | } else { |
10918 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
10919 | 0 | } |
10920 | 0 | } |
10921 | 0 | void UnsafeArenaSwap(DescriptorProto* other) { |
10922 | 0 | if (other == this) return; |
10923 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
10924 | 0 | InternalSwap(other); |
10925 | 0 | } |
10926 | | |
10927 | | // implements Message ---------------------------------------------- |
10928 | | |
10929 | 0 | DescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const { |
10930 | 0 | return ::google::protobuf::Message::DefaultConstruct<DescriptorProto>(arena); |
10931 | 0 | } |
10932 | | using ::google::protobuf::Message::CopyFrom; |
10933 | | void CopyFrom(const DescriptorProto& from); |
10934 | | using ::google::protobuf::Message::MergeFrom; |
10935 | 0 | void MergeFrom(const DescriptorProto& from) { DescriptorProto::MergeImpl(*this, from); } |
10936 | | |
10937 | | private: |
10938 | | static void MergeImpl( |
10939 | | ::google::protobuf::MessageLite& to_msg, |
10940 | | const ::google::protobuf::MessageLite& from_msg); |
10941 | | |
10942 | | public: |
10943 | 0 | bool IsInitialized() const { |
10944 | 0 | return IsInitializedImpl(*this); |
10945 | 0 | } |
10946 | | |
10947 | | private: |
10948 | | static bool IsInitializedImpl(const MessageLite& msg); |
10949 | | |
10950 | | public: |
10951 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
10952 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
10953 | | private: |
10954 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
10955 | | static ::uint8_t* _InternalSerialize( |
10956 | | const MessageLite& msg, ::uint8_t* target, |
10957 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
10958 | | |
10959 | | public: |
10960 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
10961 | | ::uint8_t* _InternalSerialize( |
10962 | | ::uint8_t* target, |
10963 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
10964 | | return _InternalSerialize(*this, target, stream); |
10965 | | } |
10966 | | #else // PROTOBUF_CUSTOM_VTABLE |
10967 | | ::size_t ByteSizeLong() const final; |
10968 | | ::uint8_t* _InternalSerialize( |
10969 | | ::uint8_t* target, |
10970 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
10971 | | #endif // PROTOBUF_CUSTOM_VTABLE |
10972 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
10973 | | |
10974 | | private: |
10975 | | void SharedCtor(::google::protobuf::Arena* arena); |
10976 | | static void SharedDtor(MessageLite& self); |
10977 | | void InternalSwap(DescriptorProto* other); |
10978 | | private: |
10979 | | template <typename T> |
10980 | | friend ::absl::string_view( |
10981 | | ::google::protobuf::internal::GetAnyMessageName)(); |
10982 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.DescriptorProto"; } |
10983 | | |
10984 | | protected: |
10985 | | explicit DescriptorProto(::google::protobuf::Arena* arena); |
10986 | | DescriptorProto(::google::protobuf::Arena* arena, const DescriptorProto& from); |
10987 | | DescriptorProto(::google::protobuf::Arena* arena, DescriptorProto&& from) noexcept |
10988 | 0 | : DescriptorProto(arena) { |
10989 | 0 | *this = ::std::move(from); |
10990 | 0 | } |
10991 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
10992 | | static void* PlacementNew_(const void*, void* mem, |
10993 | | ::google::protobuf::Arena* arena); |
10994 | | static constexpr auto InternalNewImpl_(); |
10995 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
10996 | | |
10997 | | public: |
10998 | | ::google::protobuf::Metadata GetMetadata() const; |
10999 | | // nested types ---------------------------------------------------- |
11000 | | using ExtensionRange = DescriptorProto_ExtensionRange; |
11001 | | using ReservedRange = DescriptorProto_ReservedRange; |
11002 | | |
11003 | | // accessors ------------------------------------------------------- |
11004 | | enum : int { |
11005 | | kFieldFieldNumber = 2, |
11006 | | kNestedTypeFieldNumber = 3, |
11007 | | kEnumTypeFieldNumber = 4, |
11008 | | kExtensionRangeFieldNumber = 5, |
11009 | | kExtensionFieldNumber = 6, |
11010 | | kOneofDeclFieldNumber = 8, |
11011 | | kReservedRangeFieldNumber = 9, |
11012 | | kReservedNameFieldNumber = 10, |
11013 | | kNameFieldNumber = 1, |
11014 | | kOptionsFieldNumber = 7, |
11015 | | }; |
11016 | | // repeated .google.protobuf.FieldDescriptorProto field = 2; |
11017 | | int field_size() const; |
11018 | | private: |
11019 | | int _internal_field_size() const; |
11020 | | |
11021 | | public: |
11022 | | void clear_field() ; |
11023 | | ::google::protobuf::FieldDescriptorProto* mutable_field(int index); |
11024 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* mutable_field(); |
11025 | | |
11026 | | private: |
11027 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& _internal_field() const; |
11028 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* _internal_mutable_field(); |
11029 | | public: |
11030 | | const ::google::protobuf::FieldDescriptorProto& field(int index) const; |
11031 | | ::google::protobuf::FieldDescriptorProto* add_field(); |
11032 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& field() const; |
11033 | | // repeated .google.protobuf.DescriptorProto nested_type = 3; |
11034 | | int nested_type_size() const; |
11035 | | private: |
11036 | | int _internal_nested_type_size() const; |
11037 | | |
11038 | | public: |
11039 | | void clear_nested_type() ; |
11040 | | ::google::protobuf::DescriptorProto* mutable_nested_type(int index); |
11041 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* mutable_nested_type(); |
11042 | | |
11043 | | private: |
11044 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& _internal_nested_type() const; |
11045 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* _internal_mutable_nested_type(); |
11046 | | public: |
11047 | | const ::google::protobuf::DescriptorProto& nested_type(int index) const; |
11048 | | ::google::protobuf::DescriptorProto* add_nested_type(); |
11049 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& nested_type() const; |
11050 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
11051 | | int enum_type_size() const; |
11052 | | private: |
11053 | | int _internal_enum_type_size() const; |
11054 | | |
11055 | | public: |
11056 | | void clear_enum_type() ; |
11057 | | ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index); |
11058 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* mutable_enum_type(); |
11059 | | |
11060 | | private: |
11061 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& _internal_enum_type() const; |
11062 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* _internal_mutable_enum_type(); |
11063 | | public: |
11064 | | const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const; |
11065 | | ::google::protobuf::EnumDescriptorProto* add_enum_type(); |
11066 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& enum_type() const; |
11067 | | // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
11068 | | int extension_range_size() const; |
11069 | | private: |
11070 | | int _internal_extension_range_size() const; |
11071 | | |
11072 | | public: |
11073 | | void clear_extension_range() ; |
11074 | | ::google::protobuf::DescriptorProto_ExtensionRange* mutable_extension_range(int index); |
11075 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>* mutable_extension_range(); |
11076 | | |
11077 | | private: |
11078 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>& _internal_extension_range() const; |
11079 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>* _internal_mutable_extension_range(); |
11080 | | public: |
11081 | | const ::google::protobuf::DescriptorProto_ExtensionRange& extension_range(int index) const; |
11082 | | ::google::protobuf::DescriptorProto_ExtensionRange* add_extension_range(); |
11083 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>& extension_range() const; |
11084 | | // repeated .google.protobuf.FieldDescriptorProto extension = 6; |
11085 | | int extension_size() const; |
11086 | | private: |
11087 | | int _internal_extension_size() const; |
11088 | | |
11089 | | public: |
11090 | | void clear_extension() ; |
11091 | | ::google::protobuf::FieldDescriptorProto* mutable_extension(int index); |
11092 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* mutable_extension(); |
11093 | | |
11094 | | private: |
11095 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& _internal_extension() const; |
11096 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* _internal_mutable_extension(); |
11097 | | public: |
11098 | | const ::google::protobuf::FieldDescriptorProto& extension(int index) const; |
11099 | | ::google::protobuf::FieldDescriptorProto* add_extension(); |
11100 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& extension() const; |
11101 | | // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
11102 | | int oneof_decl_size() const; |
11103 | | private: |
11104 | | int _internal_oneof_decl_size() const; |
11105 | | |
11106 | | public: |
11107 | | void clear_oneof_decl() ; |
11108 | | ::google::protobuf::OneofDescriptorProto* mutable_oneof_decl(int index); |
11109 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>* mutable_oneof_decl(); |
11110 | | |
11111 | | private: |
11112 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>& _internal_oneof_decl() const; |
11113 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>* _internal_mutable_oneof_decl(); |
11114 | | public: |
11115 | | const ::google::protobuf::OneofDescriptorProto& oneof_decl(int index) const; |
11116 | | ::google::protobuf::OneofDescriptorProto* add_oneof_decl(); |
11117 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>& oneof_decl() const; |
11118 | | // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
11119 | | int reserved_range_size() const; |
11120 | | private: |
11121 | | int _internal_reserved_range_size() const; |
11122 | | |
11123 | | public: |
11124 | | void clear_reserved_range() ; |
11125 | | ::google::protobuf::DescriptorProto_ReservedRange* mutable_reserved_range(int index); |
11126 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>* mutable_reserved_range(); |
11127 | | |
11128 | | private: |
11129 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>& _internal_reserved_range() const; |
11130 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>* _internal_mutable_reserved_range(); |
11131 | | public: |
11132 | | const ::google::protobuf::DescriptorProto_ReservedRange& reserved_range(int index) const; |
11133 | | ::google::protobuf::DescriptorProto_ReservedRange* add_reserved_range(); |
11134 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>& reserved_range() const; |
11135 | | // repeated string reserved_name = 10; |
11136 | | int reserved_name_size() const; |
11137 | | private: |
11138 | | int _internal_reserved_name_size() const; |
11139 | | |
11140 | | public: |
11141 | | void clear_reserved_name() ; |
11142 | | const std::string& reserved_name(int index) const; |
11143 | | std::string* mutable_reserved_name(int index); |
11144 | | template <typename Arg_ = const std::string&, typename... Args_> |
11145 | | void set_reserved_name(int index, Arg_&& value, Args_... args); |
11146 | | std::string* add_reserved_name(); |
11147 | | template <typename Arg_ = const std::string&, typename... Args_> |
11148 | | void add_reserved_name(Arg_&& value, Args_... args); |
11149 | | const ::google::protobuf::RepeatedPtrField<std::string>& reserved_name() const; |
11150 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_reserved_name(); |
11151 | | |
11152 | | private: |
11153 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_reserved_name() const; |
11154 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_reserved_name(); |
11155 | | |
11156 | | public: |
11157 | | // optional string name = 1; |
11158 | | bool has_name() const; |
11159 | | void clear_name() ; |
11160 | | const std::string& name() const; |
11161 | | template <typename Arg_ = const std::string&, typename... Args_> |
11162 | | void set_name(Arg_&& arg, Args_... args); |
11163 | | std::string* mutable_name(); |
11164 | | PROTOBUF_NODISCARD std::string* release_name(); |
11165 | | void set_allocated_name(std::string* value); |
11166 | | |
11167 | | private: |
11168 | | const std::string& _internal_name() const; |
11169 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
11170 | | const std::string& value); |
11171 | | std::string* _internal_mutable_name(); |
11172 | | |
11173 | | public: |
11174 | | // optional .google.protobuf.MessageOptions options = 7; |
11175 | | bool has_options() const; |
11176 | | void clear_options() ; |
11177 | | const ::google::protobuf::MessageOptions& options() const; |
11178 | | PROTOBUF_NODISCARD ::google::protobuf::MessageOptions* release_options(); |
11179 | | ::google::protobuf::MessageOptions* mutable_options(); |
11180 | | void set_allocated_options(::google::protobuf::MessageOptions* value); |
11181 | | void unsafe_arena_set_allocated_options(::google::protobuf::MessageOptions* value); |
11182 | | ::google::protobuf::MessageOptions* unsafe_arena_release_options(); |
11183 | | |
11184 | | private: |
11185 | | const ::google::protobuf::MessageOptions& _internal_options() const; |
11186 | | ::google::protobuf::MessageOptions* _internal_mutable_options(); |
11187 | | |
11188 | | public: |
11189 | | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) |
11190 | | private: |
11191 | | class _Internal; |
11192 | | friend class ::google::protobuf::internal::TcParser; |
11193 | | static const ::google::protobuf::internal::TcParseTable< |
11194 | | 4, 10, 8, |
11195 | | 65, 2> |
11196 | | _table_; |
11197 | | |
11198 | | friend class ::google::protobuf::MessageLite; |
11199 | | friend class ::google::protobuf::Arena; |
11200 | | template <typename T> |
11201 | | friend class ::google::protobuf::Arena::InternalHelper; |
11202 | | using InternalArenaConstructable_ = void; |
11203 | | using DestructorSkippable_ = void; |
11204 | | struct Impl_ { |
11205 | | inline explicit constexpr Impl_( |
11206 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
11207 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
11208 | | ::google::protobuf::Arena* arena); |
11209 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
11210 | | ::google::protobuf::Arena* arena, const Impl_& from, |
11211 | | const DescriptorProto& from_msg); |
11212 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
11213 | | ::google::protobuf::internal::CachedSize _cached_size_; |
11214 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_; |
11215 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_; |
11216 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_; |
11217 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_; |
11218 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_; |
11219 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_; |
11220 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange > reserved_range_; |
11221 | | ::google::protobuf::RepeatedPtrField<std::string> reserved_name_; |
11222 | | ::google::protobuf::internal::ArenaStringPtr name_; |
11223 | | ::google::protobuf::MessageOptions* options_; |
11224 | | PROTOBUF_TSAN_DECLARE_MEMBER |
11225 | | }; |
11226 | | union { Impl_ _impl_; }; |
11227 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
11228 | | }; |
11229 | | // ------------------------------------------------------------------- |
11230 | | |
11231 | | class PROTOBUF_EXPORT FileDescriptorProto final : public ::google::protobuf::Message |
11232 | | /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorProto) */ { |
11233 | | public: |
11234 | 0 | inline FileDescriptorProto() : FileDescriptorProto(nullptr) {} |
11235 | | ~FileDescriptorProto() PROTOBUF_FINAL; |
11236 | | |
11237 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11238 | | void operator delete(FileDescriptorProto* msg, std::destroying_delete_t) { |
11239 | | SharedDtor(*msg); |
11240 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(FileDescriptorProto)); |
11241 | | } |
11242 | | #endif |
11243 | | |
11244 | | template <typename = void> |
11245 | | explicit PROTOBUF_CONSTEXPR FileDescriptorProto( |
11246 | | ::google::protobuf::internal::ConstantInitialized); |
11247 | | |
11248 | 0 | inline FileDescriptorProto(const FileDescriptorProto& from) : FileDescriptorProto(nullptr, from) {} |
11249 | | inline FileDescriptorProto(FileDescriptorProto&& from) noexcept |
11250 | 0 | : FileDescriptorProto(nullptr, std::move(from)) {} |
11251 | 0 | inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { |
11252 | 0 | CopyFrom(from); |
11253 | 0 | return *this; |
11254 | 0 | } |
11255 | 0 | inline FileDescriptorProto& operator=(FileDescriptorProto&& from) noexcept { |
11256 | 0 | if (this == &from) return *this; |
11257 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
11258 | 0 | InternalSwap(&from); |
11259 | 0 | } else { |
11260 | 0 | CopyFrom(from); |
11261 | 0 | } |
11262 | 0 | return *this; |
11263 | 0 | } |
11264 | | |
11265 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
11266 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11267 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
11268 | 0 | } |
11269 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
11270 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11271 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
11272 | 0 | } |
11273 | | |
11274 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
11275 | 0 | return GetDescriptor(); |
11276 | 0 | } |
11277 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
11278 | 0 | return default_instance().GetMetadata().descriptor; |
11279 | 0 | } |
11280 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
11281 | 0 | return default_instance().GetMetadata().reflection; |
11282 | 0 | } |
11283 | 0 | static const FileDescriptorProto& default_instance() { |
11284 | 0 | return *internal_default_instance(); |
11285 | 0 | } |
11286 | 0 | static inline const FileDescriptorProto* internal_default_instance() { |
11287 | 0 | return reinterpret_cast<const FileDescriptorProto*>( |
11288 | 0 | &_FileDescriptorProto_default_instance_); |
11289 | 0 | } |
11290 | | static constexpr int kIndexInFileMessages = 1; |
11291 | 0 | friend void swap(FileDescriptorProto& a, FileDescriptorProto& b) { a.Swap(&b); } |
11292 | 0 | inline void Swap(FileDescriptorProto* other) { |
11293 | 0 | if (other == this) return; |
11294 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
11295 | 0 | InternalSwap(other); |
11296 | 0 | } else { |
11297 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
11298 | 0 | } |
11299 | 0 | } |
11300 | 0 | void UnsafeArenaSwap(FileDescriptorProto* other) { |
11301 | 0 | if (other == this) return; |
11302 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
11303 | 0 | InternalSwap(other); |
11304 | 0 | } |
11305 | | |
11306 | | // implements Message ---------------------------------------------- |
11307 | | |
11308 | 0 | FileDescriptorProto* New(::google::protobuf::Arena* arena = nullptr) const { |
11309 | 0 | return ::google::protobuf::Message::DefaultConstruct<FileDescriptorProto>(arena); |
11310 | 0 | } |
11311 | | using ::google::protobuf::Message::CopyFrom; |
11312 | | void CopyFrom(const FileDescriptorProto& from); |
11313 | | using ::google::protobuf::Message::MergeFrom; |
11314 | 0 | void MergeFrom(const FileDescriptorProto& from) { FileDescriptorProto::MergeImpl(*this, from); } |
11315 | | |
11316 | | private: |
11317 | | static void MergeImpl( |
11318 | | ::google::protobuf::MessageLite& to_msg, |
11319 | | const ::google::protobuf::MessageLite& from_msg); |
11320 | | |
11321 | | public: |
11322 | 0 | bool IsInitialized() const { |
11323 | 0 | return IsInitializedImpl(*this); |
11324 | 0 | } |
11325 | | |
11326 | | private: |
11327 | | static bool IsInitializedImpl(const MessageLite& msg); |
11328 | | |
11329 | | public: |
11330 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
11331 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11332 | | private: |
11333 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
11334 | | static ::uint8_t* _InternalSerialize( |
11335 | | const MessageLite& msg, ::uint8_t* target, |
11336 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
11337 | | |
11338 | | public: |
11339 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
11340 | | ::uint8_t* _InternalSerialize( |
11341 | | ::uint8_t* target, |
11342 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
11343 | | return _InternalSerialize(*this, target, stream); |
11344 | | } |
11345 | | #else // PROTOBUF_CUSTOM_VTABLE |
11346 | | ::size_t ByteSizeLong() const final; |
11347 | | ::uint8_t* _InternalSerialize( |
11348 | | ::uint8_t* target, |
11349 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
11350 | | #endif // PROTOBUF_CUSTOM_VTABLE |
11351 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
11352 | | |
11353 | | private: |
11354 | | void SharedCtor(::google::protobuf::Arena* arena); |
11355 | | static void SharedDtor(MessageLite& self); |
11356 | | void InternalSwap(FileDescriptorProto* other); |
11357 | | private: |
11358 | | template <typename T> |
11359 | | friend ::absl::string_view( |
11360 | | ::google::protobuf::internal::GetAnyMessageName)(); |
11361 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.FileDescriptorProto"; } |
11362 | | |
11363 | | protected: |
11364 | | explicit FileDescriptorProto(::google::protobuf::Arena* arena); |
11365 | | FileDescriptorProto(::google::protobuf::Arena* arena, const FileDescriptorProto& from); |
11366 | | FileDescriptorProto(::google::protobuf::Arena* arena, FileDescriptorProto&& from) noexcept |
11367 | 0 | : FileDescriptorProto(arena) { |
11368 | 0 | *this = ::std::move(from); |
11369 | 0 | } |
11370 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
11371 | | static void* PlacementNew_(const void*, void* mem, |
11372 | | ::google::protobuf::Arena* arena); |
11373 | | static constexpr auto InternalNewImpl_(); |
11374 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
11375 | | |
11376 | | public: |
11377 | | ::google::protobuf::Metadata GetMetadata() const; |
11378 | | // nested types ---------------------------------------------------- |
11379 | | |
11380 | | // accessors ------------------------------------------------------- |
11381 | | enum : int { |
11382 | | kDependencyFieldNumber = 3, |
11383 | | kMessageTypeFieldNumber = 4, |
11384 | | kEnumTypeFieldNumber = 5, |
11385 | | kServiceFieldNumber = 6, |
11386 | | kExtensionFieldNumber = 7, |
11387 | | kPublicDependencyFieldNumber = 10, |
11388 | | kWeakDependencyFieldNumber = 11, |
11389 | | kNameFieldNumber = 1, |
11390 | | kPackageFieldNumber = 2, |
11391 | | kSyntaxFieldNumber = 12, |
11392 | | kOptionsFieldNumber = 8, |
11393 | | kSourceCodeInfoFieldNumber = 9, |
11394 | | kEditionFieldNumber = 14, |
11395 | | }; |
11396 | | // repeated string dependency = 3; |
11397 | | int dependency_size() const; |
11398 | | private: |
11399 | | int _internal_dependency_size() const; |
11400 | | |
11401 | | public: |
11402 | | void clear_dependency() ; |
11403 | | const std::string& dependency(int index) const; |
11404 | | std::string* mutable_dependency(int index); |
11405 | | template <typename Arg_ = const std::string&, typename... Args_> |
11406 | | void set_dependency(int index, Arg_&& value, Args_... args); |
11407 | | std::string* add_dependency(); |
11408 | | template <typename Arg_ = const std::string&, typename... Args_> |
11409 | | void add_dependency(Arg_&& value, Args_... args); |
11410 | | const ::google::protobuf::RepeatedPtrField<std::string>& dependency() const; |
11411 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_dependency(); |
11412 | | |
11413 | | private: |
11414 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_dependency() const; |
11415 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_dependency(); |
11416 | | |
11417 | | public: |
11418 | | // repeated .google.protobuf.DescriptorProto message_type = 4; |
11419 | | int message_type_size() const; |
11420 | | private: |
11421 | | int _internal_message_type_size() const; |
11422 | | |
11423 | | public: |
11424 | | void clear_message_type() ; |
11425 | | ::google::protobuf::DescriptorProto* mutable_message_type(int index); |
11426 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* mutable_message_type(); |
11427 | | |
11428 | | private: |
11429 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& _internal_message_type() const; |
11430 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* _internal_mutable_message_type(); |
11431 | | public: |
11432 | | const ::google::protobuf::DescriptorProto& message_type(int index) const; |
11433 | | ::google::protobuf::DescriptorProto* add_message_type(); |
11434 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& message_type() const; |
11435 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
11436 | | int enum_type_size() const; |
11437 | | private: |
11438 | | int _internal_enum_type_size() const; |
11439 | | |
11440 | | public: |
11441 | | void clear_enum_type() ; |
11442 | | ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index); |
11443 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* mutable_enum_type(); |
11444 | | |
11445 | | private: |
11446 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& _internal_enum_type() const; |
11447 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* _internal_mutable_enum_type(); |
11448 | | public: |
11449 | | const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const; |
11450 | | ::google::protobuf::EnumDescriptorProto* add_enum_type(); |
11451 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& enum_type() const; |
11452 | | // repeated .google.protobuf.ServiceDescriptorProto service = 6; |
11453 | | int service_size() const; |
11454 | | private: |
11455 | | int _internal_service_size() const; |
11456 | | |
11457 | | public: |
11458 | | void clear_service() ; |
11459 | | ::google::protobuf::ServiceDescriptorProto* mutable_service(int index); |
11460 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>* mutable_service(); |
11461 | | |
11462 | | private: |
11463 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>& _internal_service() const; |
11464 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>* _internal_mutable_service(); |
11465 | | public: |
11466 | | const ::google::protobuf::ServiceDescriptorProto& service(int index) const; |
11467 | | ::google::protobuf::ServiceDescriptorProto* add_service(); |
11468 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>& service() const; |
11469 | | // repeated .google.protobuf.FieldDescriptorProto extension = 7; |
11470 | | int extension_size() const; |
11471 | | private: |
11472 | | int _internal_extension_size() const; |
11473 | | |
11474 | | public: |
11475 | | void clear_extension() ; |
11476 | | ::google::protobuf::FieldDescriptorProto* mutable_extension(int index); |
11477 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* mutable_extension(); |
11478 | | |
11479 | | private: |
11480 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& _internal_extension() const; |
11481 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* _internal_mutable_extension(); |
11482 | | public: |
11483 | | const ::google::protobuf::FieldDescriptorProto& extension(int index) const; |
11484 | | ::google::protobuf::FieldDescriptorProto* add_extension(); |
11485 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& extension() const; |
11486 | | // repeated int32 public_dependency = 10; |
11487 | | int public_dependency_size() const; |
11488 | | private: |
11489 | | int _internal_public_dependency_size() const; |
11490 | | |
11491 | | public: |
11492 | | void clear_public_dependency() ; |
11493 | | ::int32_t public_dependency(int index) const; |
11494 | | void set_public_dependency(int index, ::int32_t value); |
11495 | | void add_public_dependency(::int32_t value); |
11496 | | const ::google::protobuf::RepeatedField<::int32_t>& public_dependency() const; |
11497 | | ::google::protobuf::RepeatedField<::int32_t>* mutable_public_dependency(); |
11498 | | |
11499 | | private: |
11500 | | const ::google::protobuf::RepeatedField<::int32_t>& _internal_public_dependency() const; |
11501 | | ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_public_dependency(); |
11502 | | |
11503 | | public: |
11504 | | // repeated int32 weak_dependency = 11; |
11505 | | int weak_dependency_size() const; |
11506 | | private: |
11507 | | int _internal_weak_dependency_size() const; |
11508 | | |
11509 | | public: |
11510 | | void clear_weak_dependency() ; |
11511 | | ::int32_t weak_dependency(int index) const; |
11512 | | void set_weak_dependency(int index, ::int32_t value); |
11513 | | void add_weak_dependency(::int32_t value); |
11514 | | const ::google::protobuf::RepeatedField<::int32_t>& weak_dependency() const; |
11515 | | ::google::protobuf::RepeatedField<::int32_t>* mutable_weak_dependency(); |
11516 | | |
11517 | | private: |
11518 | | const ::google::protobuf::RepeatedField<::int32_t>& _internal_weak_dependency() const; |
11519 | | ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_weak_dependency(); |
11520 | | |
11521 | | public: |
11522 | | // optional string name = 1; |
11523 | | bool has_name() const; |
11524 | | void clear_name() ; |
11525 | | const std::string& name() const; |
11526 | | template <typename Arg_ = const std::string&, typename... Args_> |
11527 | | void set_name(Arg_&& arg, Args_... args); |
11528 | | std::string* mutable_name(); |
11529 | | PROTOBUF_NODISCARD std::string* release_name(); |
11530 | | void set_allocated_name(std::string* value); |
11531 | | |
11532 | | private: |
11533 | | const std::string& _internal_name() const; |
11534 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
11535 | | const std::string& value); |
11536 | | std::string* _internal_mutable_name(); |
11537 | | |
11538 | | public: |
11539 | | // optional string package = 2; |
11540 | | bool has_package() const; |
11541 | | void clear_package() ; |
11542 | | const std::string& package() const; |
11543 | | template <typename Arg_ = const std::string&, typename... Args_> |
11544 | | void set_package(Arg_&& arg, Args_... args); |
11545 | | std::string* mutable_package(); |
11546 | | PROTOBUF_NODISCARD std::string* release_package(); |
11547 | | void set_allocated_package(std::string* value); |
11548 | | |
11549 | | private: |
11550 | | const std::string& _internal_package() const; |
11551 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_package( |
11552 | | const std::string& value); |
11553 | | std::string* _internal_mutable_package(); |
11554 | | |
11555 | | public: |
11556 | | // optional string syntax = 12; |
11557 | | bool has_syntax() const; |
11558 | | void clear_syntax() ; |
11559 | | const std::string& syntax() const; |
11560 | | template <typename Arg_ = const std::string&, typename... Args_> |
11561 | | void set_syntax(Arg_&& arg, Args_... args); |
11562 | | std::string* mutable_syntax(); |
11563 | | PROTOBUF_NODISCARD std::string* release_syntax(); |
11564 | | void set_allocated_syntax(std::string* value); |
11565 | | |
11566 | | private: |
11567 | | const std::string& _internal_syntax() const; |
11568 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_syntax( |
11569 | | const std::string& value); |
11570 | | std::string* _internal_mutable_syntax(); |
11571 | | |
11572 | | public: |
11573 | | // optional .google.protobuf.FileOptions options = 8; |
11574 | | bool has_options() const; |
11575 | | void clear_options() ; |
11576 | | const ::google::protobuf::FileOptions& options() const; |
11577 | | PROTOBUF_NODISCARD ::google::protobuf::FileOptions* release_options(); |
11578 | | ::google::protobuf::FileOptions* mutable_options(); |
11579 | | void set_allocated_options(::google::protobuf::FileOptions* value); |
11580 | | void unsafe_arena_set_allocated_options(::google::protobuf::FileOptions* value); |
11581 | | ::google::protobuf::FileOptions* unsafe_arena_release_options(); |
11582 | | |
11583 | | private: |
11584 | | const ::google::protobuf::FileOptions& _internal_options() const; |
11585 | | ::google::protobuf::FileOptions* _internal_mutable_options(); |
11586 | | |
11587 | | public: |
11588 | | // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
11589 | | bool has_source_code_info() const; |
11590 | | void clear_source_code_info() ; |
11591 | | const ::google::protobuf::SourceCodeInfo& source_code_info() const; |
11592 | | PROTOBUF_NODISCARD ::google::protobuf::SourceCodeInfo* release_source_code_info(); |
11593 | | ::google::protobuf::SourceCodeInfo* mutable_source_code_info(); |
11594 | | void set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* value); |
11595 | | void unsafe_arena_set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* value); |
11596 | | ::google::protobuf::SourceCodeInfo* unsafe_arena_release_source_code_info(); |
11597 | | |
11598 | | private: |
11599 | | const ::google::protobuf::SourceCodeInfo& _internal_source_code_info() const; |
11600 | | ::google::protobuf::SourceCodeInfo* _internal_mutable_source_code_info(); |
11601 | | |
11602 | | public: |
11603 | | // optional .google.protobuf.Edition edition = 14; |
11604 | | bool has_edition() const; |
11605 | | void clear_edition() ; |
11606 | | ::google::protobuf::Edition edition() const; |
11607 | | void set_edition(::google::protobuf::Edition value); |
11608 | | |
11609 | | private: |
11610 | | ::google::protobuf::Edition _internal_edition() const; |
11611 | | void _internal_set_edition(::google::protobuf::Edition value); |
11612 | | |
11613 | | public: |
11614 | | // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) |
11615 | | private: |
11616 | | class _Internal; |
11617 | | friend class ::google::protobuf::internal::TcParser; |
11618 | | static const ::google::protobuf::internal::TcParseTable< |
11619 | | 4, 13, 7, |
11620 | | 79, 2> |
11621 | | _table_; |
11622 | | |
11623 | | friend class ::google::protobuf::MessageLite; |
11624 | | friend class ::google::protobuf::Arena; |
11625 | | template <typename T> |
11626 | | friend class ::google::protobuf::Arena::InternalHelper; |
11627 | | using InternalArenaConstructable_ = void; |
11628 | | using DestructorSkippable_ = void; |
11629 | | struct Impl_ { |
11630 | | inline explicit constexpr Impl_( |
11631 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
11632 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
11633 | | ::google::protobuf::Arena* arena); |
11634 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
11635 | | ::google::protobuf::Arena* arena, const Impl_& from, |
11636 | | const FileDescriptorProto& from_msg); |
11637 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
11638 | | ::google::protobuf::internal::CachedSize _cached_size_; |
11639 | | ::google::protobuf::RepeatedPtrField<std::string> dependency_; |
11640 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > message_type_; |
11641 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_; |
11642 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto > service_; |
11643 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_; |
11644 | | ::google::protobuf::RepeatedField<::int32_t> public_dependency_; |
11645 | | ::google::protobuf::RepeatedField<::int32_t> weak_dependency_; |
11646 | | ::google::protobuf::internal::ArenaStringPtr name_; |
11647 | | ::google::protobuf::internal::ArenaStringPtr package_; |
11648 | | ::google::protobuf::internal::ArenaStringPtr syntax_; |
11649 | | ::google::protobuf::FileOptions* options_; |
11650 | | ::google::protobuf::SourceCodeInfo* source_code_info_; |
11651 | | int edition_; |
11652 | | PROTOBUF_TSAN_DECLARE_MEMBER |
11653 | | }; |
11654 | | union { Impl_ _impl_; }; |
11655 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
11656 | | }; |
11657 | | // ------------------------------------------------------------------- |
11658 | | |
11659 | | class PROTOBUF_EXPORT FileDescriptorSet final : public ::google::protobuf::Message |
11660 | | /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorSet) */ { |
11661 | | public: |
11662 | 0 | inline FileDescriptorSet() : FileDescriptorSet(nullptr) {} |
11663 | | ~FileDescriptorSet() PROTOBUF_FINAL; |
11664 | | |
11665 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11666 | | void operator delete(FileDescriptorSet* msg, std::destroying_delete_t) { |
11667 | | SharedDtor(*msg); |
11668 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(FileDescriptorSet)); |
11669 | | } |
11670 | | #endif |
11671 | | |
11672 | | template <typename = void> |
11673 | | explicit PROTOBUF_CONSTEXPR FileDescriptorSet( |
11674 | | ::google::protobuf::internal::ConstantInitialized); |
11675 | | |
11676 | 0 | inline FileDescriptorSet(const FileDescriptorSet& from) : FileDescriptorSet(nullptr, from) {} |
11677 | | inline FileDescriptorSet(FileDescriptorSet&& from) noexcept |
11678 | 0 | : FileDescriptorSet(nullptr, std::move(from)) {} |
11679 | 0 | inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { |
11680 | 0 | CopyFrom(from); |
11681 | 0 | return *this; |
11682 | 0 | } |
11683 | 0 | inline FileDescriptorSet& operator=(FileDescriptorSet&& from) noexcept { |
11684 | 0 | if (this == &from) return *this; |
11685 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
11686 | 0 | InternalSwap(&from); |
11687 | 0 | } else { |
11688 | 0 | CopyFrom(from); |
11689 | 0 | } |
11690 | 0 | return *this; |
11691 | 0 | } |
11692 | | |
11693 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
11694 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11695 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
11696 | 0 | } |
11697 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
11698 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11699 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
11700 | 0 | } |
11701 | | |
11702 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
11703 | 0 | return GetDescriptor(); |
11704 | 0 | } |
11705 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
11706 | 0 | return default_instance().GetMetadata().descriptor; |
11707 | 0 | } |
11708 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
11709 | 0 | return default_instance().GetMetadata().reflection; |
11710 | 0 | } |
11711 | 0 | static const FileDescriptorSet& default_instance() { |
11712 | 0 | return *internal_default_instance(); |
11713 | 0 | } |
11714 | 0 | static inline const FileDescriptorSet* internal_default_instance() { |
11715 | 0 | return reinterpret_cast<const FileDescriptorSet*>( |
11716 | 0 | &_FileDescriptorSet_default_instance_); |
11717 | 0 | } |
11718 | | static constexpr int kIndexInFileMessages = 0; |
11719 | 0 | friend void swap(FileDescriptorSet& a, FileDescriptorSet& b) { a.Swap(&b); } |
11720 | 0 | inline void Swap(FileDescriptorSet* other) { |
11721 | 0 | if (other == this) return; |
11722 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
11723 | 0 | InternalSwap(other); |
11724 | 0 | } else { |
11725 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
11726 | 0 | } |
11727 | 0 | } |
11728 | 0 | void UnsafeArenaSwap(FileDescriptorSet* other) { |
11729 | 0 | if (other == this) return; |
11730 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
11731 | 0 | InternalSwap(other); |
11732 | 0 | } |
11733 | | |
11734 | | // implements Message ---------------------------------------------- |
11735 | | |
11736 | 0 | FileDescriptorSet* New(::google::protobuf::Arena* arena = nullptr) const { |
11737 | 0 | return ::google::protobuf::Message::DefaultConstruct<FileDescriptorSet>(arena); |
11738 | 0 | } |
11739 | | using ::google::protobuf::Message::CopyFrom; |
11740 | | void CopyFrom(const FileDescriptorSet& from); |
11741 | | using ::google::protobuf::Message::MergeFrom; |
11742 | 0 | void MergeFrom(const FileDescriptorSet& from) { FileDescriptorSet::MergeImpl(*this, from); } |
11743 | | |
11744 | | private: |
11745 | | static void MergeImpl( |
11746 | | ::google::protobuf::MessageLite& to_msg, |
11747 | | const ::google::protobuf::MessageLite& from_msg); |
11748 | | |
11749 | | public: |
11750 | 0 | bool IsInitialized() const { |
11751 | 0 | return IsInitializedImpl(*this); |
11752 | 0 | } |
11753 | | |
11754 | | private: |
11755 | | static bool IsInitializedImpl(const MessageLite& msg); |
11756 | | |
11757 | | public: |
11758 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
11759 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
11760 | | private: |
11761 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
11762 | | static ::uint8_t* _InternalSerialize( |
11763 | | const MessageLite& msg, ::uint8_t* target, |
11764 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
11765 | | |
11766 | | public: |
11767 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
11768 | | ::uint8_t* _InternalSerialize( |
11769 | | ::uint8_t* target, |
11770 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
11771 | | return _InternalSerialize(*this, target, stream); |
11772 | | } |
11773 | | #else // PROTOBUF_CUSTOM_VTABLE |
11774 | | ::size_t ByteSizeLong() const final; |
11775 | | ::uint8_t* _InternalSerialize( |
11776 | | ::uint8_t* target, |
11777 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
11778 | | #endif // PROTOBUF_CUSTOM_VTABLE |
11779 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
11780 | | |
11781 | | private: |
11782 | | void SharedCtor(::google::protobuf::Arena* arena); |
11783 | | static void SharedDtor(MessageLite& self); |
11784 | | void InternalSwap(FileDescriptorSet* other); |
11785 | | private: |
11786 | | template <typename T> |
11787 | | friend ::absl::string_view( |
11788 | | ::google::protobuf::internal::GetAnyMessageName)(); |
11789 | 0 | static ::absl::string_view FullMessageName() { return "google.protobuf.FileDescriptorSet"; } |
11790 | | |
11791 | | protected: |
11792 | | explicit FileDescriptorSet(::google::protobuf::Arena* arena); |
11793 | | FileDescriptorSet(::google::protobuf::Arena* arena, const FileDescriptorSet& from); |
11794 | | FileDescriptorSet(::google::protobuf::Arena* arena, FileDescriptorSet&& from) noexcept |
11795 | 0 | : FileDescriptorSet(arena) { |
11796 | 0 | *this = ::std::move(from); |
11797 | 0 | } |
11798 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
11799 | | static void* PlacementNew_(const void*, void* mem, |
11800 | | ::google::protobuf::Arena* arena); |
11801 | | static constexpr auto InternalNewImpl_(); |
11802 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
11803 | | |
11804 | | public: |
11805 | | ::google::protobuf::Metadata GetMetadata() const; |
11806 | | // nested types ---------------------------------------------------- |
11807 | | |
11808 | | // accessors ------------------------------------------------------- |
11809 | | enum : int { |
11810 | | kFileFieldNumber = 1, |
11811 | | }; |
11812 | | // repeated .google.protobuf.FileDescriptorProto file = 1; |
11813 | | int file_size() const; |
11814 | | private: |
11815 | | int _internal_file_size() const; |
11816 | | |
11817 | | public: |
11818 | | void clear_file() ; |
11819 | | ::google::protobuf::FileDescriptorProto* mutable_file(int index); |
11820 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>* mutable_file(); |
11821 | | |
11822 | | private: |
11823 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>& _internal_file() const; |
11824 | | ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>* _internal_mutable_file(); |
11825 | | public: |
11826 | | const ::google::protobuf::FileDescriptorProto& file(int index) const; |
11827 | | ::google::protobuf::FileDescriptorProto* add_file(); |
11828 | | const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>& file() const; |
11829 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11830 | | bool _is_packed, |
11831 | | typename = typename _proto_TypeTraits::Singular> |
11832 | | inline bool HasExtension( |
11833 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11834 | | _field_type, _is_packed>& id) const { |
11835 | | return _impl_._extensions_.Has(id.number()); |
11836 | | } |
11837 | | |
11838 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11839 | | bool _is_packed> |
11840 | | inline void ClearExtension( |
11841 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11842 | | _field_type, _is_packed>& id) { |
11843 | | _impl_._extensions_.ClearExtension(id.number()); |
11844 | | } |
11845 | | |
11846 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11847 | | bool _is_packed, |
11848 | | typename = typename _proto_TypeTraits::Repeated> |
11849 | | inline int ExtensionSize( |
11850 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11851 | | _field_type, _is_packed>& id) const { |
11852 | | return _impl_._extensions_.ExtensionSize(id.number()); |
11853 | | } |
11854 | | |
11855 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11856 | | bool _is_packed, |
11857 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
11858 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
11859 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11860 | | _field_type, _is_packed>& id) const { |
11861 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
11862 | | } |
11863 | | |
11864 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11865 | | bool _is_packed, |
11866 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
11867 | | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
11868 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11869 | | _field_type, _is_packed>& id) const |
11870 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11871 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
11872 | | } |
11873 | | |
11874 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11875 | | bool _is_packed> |
11876 | | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
11877 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11878 | | _field_type, _is_packed>& id) |
11879 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11880 | | return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
11881 | | } |
11882 | | |
11883 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11884 | | bool _is_packed> |
11885 | | inline void SetExtension( |
11886 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11887 | | _field_type, _is_packed>& id, |
11888 | | typename _proto_TypeTraits::Singular::ConstType value) { |
11889 | | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
11890 | | } |
11891 | | |
11892 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11893 | | bool _is_packed> |
11894 | | inline void SetAllocatedExtension( |
11895 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11896 | | _field_type, _is_packed>& id, |
11897 | | typename _proto_TypeTraits::Singular::MutableType value) { |
11898 | | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
11899 | | &_impl_._extensions_); |
11900 | | } |
11901 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11902 | | bool _is_packed> |
11903 | | inline void UnsafeArenaSetAllocatedExtension( |
11904 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11905 | | _field_type, _is_packed>& id, |
11906 | | typename _proto_TypeTraits::Singular::MutableType value) { |
11907 | | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
11908 | | value, &_impl_._extensions_); |
11909 | | } |
11910 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11911 | | bool _is_packed> |
11912 | | PROTOBUF_NODISCARD inline |
11913 | | typename _proto_TypeTraits::Singular::MutableType |
11914 | | ReleaseExtension( |
11915 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11916 | | _field_type, _is_packed>& id) { |
11917 | | return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
11918 | | } |
11919 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11920 | | bool _is_packed> |
11921 | | inline typename _proto_TypeTraits::Singular::MutableType |
11922 | | UnsafeArenaReleaseExtension( |
11923 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11924 | | _field_type, _is_packed>& id) { |
11925 | | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
11926 | | &_impl_._extensions_); |
11927 | | } |
11928 | | |
11929 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11930 | | bool _is_packed, |
11931 | | std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
11932 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
11933 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11934 | | _field_type, _is_packed>& id, |
11935 | | int index) const { |
11936 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
11937 | | } |
11938 | | |
11939 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11940 | | bool _is_packed, |
11941 | | std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
11942 | | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
11943 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11944 | | _field_type, _is_packed>& id, |
11945 | | int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11946 | | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
11947 | | } |
11948 | | |
11949 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11950 | | bool _is_packed> |
11951 | | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
11952 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11953 | | _field_type, _is_packed>& id, |
11954 | | int index) ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11955 | | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
11956 | | } |
11957 | | |
11958 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11959 | | bool _is_packed> |
11960 | | inline void SetExtension( |
11961 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11962 | | _field_type, _is_packed>& id, |
11963 | | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
11964 | | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
11965 | | } |
11966 | | |
11967 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11968 | | bool _is_packed> |
11969 | | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
11970 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11971 | | _field_type, _is_packed>& id) |
11972 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11973 | | typename _proto_TypeTraits::Repeated::MutableType to_add = |
11974 | | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
11975 | | return to_add; |
11976 | | } |
11977 | | |
11978 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11979 | | bool _is_packed> |
11980 | | inline void AddExtension( |
11981 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11982 | | _field_type, _is_packed>& id, |
11983 | | typename _proto_TypeTraits::Repeated::ConstType value) { |
11984 | | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
11985 | | &_impl_._extensions_); |
11986 | | } |
11987 | | |
11988 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11989 | | bool _is_packed> |
11990 | | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
11991 | | GetRepeatedExtension( |
11992 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
11993 | | _field_type, _is_packed>& id) const |
11994 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11995 | | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
11996 | | } |
11997 | | |
11998 | | template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
11999 | | bool _is_packed> |
12000 | | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
12001 | | MutableRepeatedExtension( |
12002 | | const ::google::protobuf::internal::ExtensionIdentifier<FileDescriptorSet, _proto_TypeTraits, |
12003 | | _field_type, _is_packed>& id) |
12004 | | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12005 | | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
12006 | | _is_packed, &_impl_._extensions_); |
12007 | | } |
12008 | | // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) |
12009 | | private: |
12010 | | class _Internal; |
12011 | | friend class ::google::protobuf::internal::TcParser; |
12012 | | static const ::google::protobuf::internal::TcParseTable< |
12013 | | 0, 1, 1, |
12014 | | 0, 2> |
12015 | | _table_; |
12016 | | |
12017 | | friend class ::google::protobuf::MessageLite; |
12018 | | friend class ::google::protobuf::Arena; |
12019 | | template <typename T> |
12020 | | friend class ::google::protobuf::Arena::InternalHelper; |
12021 | | using InternalArenaConstructable_ = void; |
12022 | | using DestructorSkippable_ = void; |
12023 | | struct Impl_ { |
12024 | | inline explicit constexpr Impl_( |
12025 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
12026 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
12027 | | ::google::protobuf::Arena* arena); |
12028 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
12029 | | ::google::protobuf::Arena* arena, const Impl_& from, |
12030 | | const FileDescriptorSet& from_msg); |
12031 | | ::google::protobuf::internal::ExtensionSet _extensions_; |
12032 | | ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_; |
12033 | | ::google::protobuf::internal::CachedSize _cached_size_; |
12034 | | PROTOBUF_TSAN_DECLARE_MEMBER |
12035 | | }; |
12036 | | union { Impl_ _impl_; }; |
12037 | | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
12038 | | }; |
12039 | | |
12040 | | // =================================================================== |
12041 | | |
12042 | | |
12043 | | |
12044 | | |
12045 | | // =================================================================== |
12046 | | |
12047 | | |
12048 | | #ifdef __GNUC__ |
12049 | | #pragma GCC diagnostic push |
12050 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
12051 | | #endif // __GNUC__ |
12052 | | // ------------------------------------------------------------------- |
12053 | | |
12054 | | // FileDescriptorSet |
12055 | | |
12056 | | // repeated .google.protobuf.FileDescriptorProto file = 1; |
12057 | 0 | inline int FileDescriptorSet::_internal_file_size() const { |
12058 | 0 | return _internal_file().size(); |
12059 | 0 | } |
12060 | 0 | inline int FileDescriptorSet::file_size() const { |
12061 | 0 | return _internal_file_size(); |
12062 | 0 | } |
12063 | 0 | inline void FileDescriptorSet::clear_file() { |
12064 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12065 | 0 | _impl_.file_.Clear(); |
12066 | 0 | } |
12067 | | inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) |
12068 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12069 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file) |
12070 | 0 | return _internal_mutable_file()->Mutable(index); |
12071 | 0 | } |
12072 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>* FileDescriptorSet::mutable_file() |
12073 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12074 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file) |
12075 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12076 | 0 | return _internal_mutable_file(); |
12077 | 0 | } |
12078 | | inline const ::google::protobuf::FileDescriptorProto& FileDescriptorSet::file(int index) const |
12079 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12080 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file) |
12081 | 0 | return _internal_file().Get(index); |
12082 | 0 | } |
12083 | 0 | inline ::google::protobuf::FileDescriptorProto* FileDescriptorSet::add_file() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12084 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12085 | 0 | ::google::protobuf::FileDescriptorProto* _add = _internal_mutable_file()->Add(); |
12086 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file) |
12087 | 0 | return _add; |
12088 | 0 | } |
12089 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>& FileDescriptorSet::file() const |
12090 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12091 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file) |
12092 | 0 | return _internal_file(); |
12093 | 0 | } |
12094 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>& |
12095 | 0 | FileDescriptorSet::_internal_file() const { |
12096 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12097 | 0 | return _impl_.file_; |
12098 | 0 | } |
12099 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FileDescriptorProto>* |
12100 | 0 | FileDescriptorSet::_internal_mutable_file() { |
12101 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12102 | 0 | return &_impl_.file_; |
12103 | 0 | } |
12104 | | |
12105 | | // ------------------------------------------------------------------- |
12106 | | |
12107 | | // FileDescriptorProto |
12108 | | |
12109 | | // optional string name = 1; |
12110 | 0 | inline bool FileDescriptorProto::has_name() const { |
12111 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
12112 | 0 | return value; |
12113 | 0 | } |
12114 | 0 | inline void FileDescriptorProto::clear_name() { |
12115 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12116 | 0 | _impl_.name_.ClearToEmpty(); |
12117 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12118 | 0 | } |
12119 | | inline const std::string& FileDescriptorProto::name() const |
12120 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12121 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name) |
12122 | 0 | return _internal_name(); |
12123 | 0 | } |
12124 | | template <typename Arg_, typename... Args_> |
12125 | | inline PROTOBUF_ALWAYS_INLINE void FileDescriptorProto::set_name(Arg_&& arg, |
12126 | | Args_... args) { |
12127 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
12128 | | _impl_._has_bits_[0] |= 0x00000001u; |
12129 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
12130 | | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name) |
12131 | | } |
12132 | 0 | inline std::string* FileDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12133 | 0 | std::string* _s = _internal_mutable_name(); |
12134 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name) |
12135 | 0 | return _s; |
12136 | 0 | } |
12137 | 0 | inline const std::string& FileDescriptorProto::_internal_name() const { |
12138 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12139 | 0 | return _impl_.name_.Get(); |
12140 | 0 | } |
12141 | 0 | inline void FileDescriptorProto::_internal_set_name(const std::string& value) { |
12142 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12143 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12144 | 0 | _impl_.name_.Set(value, GetArena()); |
12145 | 0 | } |
12146 | 0 | inline std::string* FileDescriptorProto::_internal_mutable_name() { |
12147 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12148 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12149 | 0 | return _impl_.name_.Mutable( GetArena()); |
12150 | 0 | } |
12151 | 0 | inline std::string* FileDescriptorProto::release_name() { |
12152 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12153 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.name) |
12154 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
12155 | 0 | return nullptr; |
12156 | 0 | } |
12157 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12158 | 0 | auto* released = _impl_.name_.Release(); |
12159 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
12160 | 0 | _impl_.name_.Set("", GetArena()); |
12161 | 0 | } |
12162 | 0 | return released; |
12163 | 0 | } |
12164 | 0 | inline void FileDescriptorProto::set_allocated_name(std::string* value) { |
12165 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12166 | 0 | if (value != nullptr) { |
12167 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12168 | 0 | } else { |
12169 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12170 | 0 | } |
12171 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
12172 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
12173 | 0 | _impl_.name_.Set("", GetArena()); |
12174 | 0 | } |
12175 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name) |
12176 | 0 | } |
12177 | | |
12178 | | // optional string package = 2; |
12179 | 0 | inline bool FileDescriptorProto::has_package() const { |
12180 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
12181 | 0 | return value; |
12182 | 0 | } |
12183 | 0 | inline void FileDescriptorProto::clear_package() { |
12184 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12185 | 0 | _impl_.package_.ClearToEmpty(); |
12186 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12187 | 0 | } |
12188 | | inline const std::string& FileDescriptorProto::package() const |
12189 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12190 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package) |
12191 | 0 | return _internal_package(); |
12192 | 0 | } |
12193 | | template <typename Arg_, typename... Args_> |
12194 | | inline PROTOBUF_ALWAYS_INLINE void FileDescriptorProto::set_package(Arg_&& arg, |
12195 | | Args_... args) { |
12196 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
12197 | | _impl_._has_bits_[0] |= 0x00000002u; |
12198 | | _impl_.package_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
12199 | | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package) |
12200 | | } |
12201 | 0 | inline std::string* FileDescriptorProto::mutable_package() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12202 | 0 | std::string* _s = _internal_mutable_package(); |
12203 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package) |
12204 | 0 | return _s; |
12205 | 0 | } |
12206 | 0 | inline const std::string& FileDescriptorProto::_internal_package() const { |
12207 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12208 | 0 | return _impl_.package_.Get(); |
12209 | 0 | } |
12210 | 0 | inline void FileDescriptorProto::_internal_set_package(const std::string& value) { |
12211 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12212 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12213 | 0 | _impl_.package_.Set(value, GetArena()); |
12214 | 0 | } |
12215 | 0 | inline std::string* FileDescriptorProto::_internal_mutable_package() { |
12216 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12217 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12218 | 0 | return _impl_.package_.Mutable( GetArena()); |
12219 | 0 | } |
12220 | 0 | inline std::string* FileDescriptorProto::release_package() { |
12221 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12222 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.package) |
12223 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
12224 | 0 | return nullptr; |
12225 | 0 | } |
12226 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12227 | 0 | auto* released = _impl_.package_.Release(); |
12228 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
12229 | 0 | _impl_.package_.Set("", GetArena()); |
12230 | 0 | } |
12231 | 0 | return released; |
12232 | 0 | } |
12233 | 0 | inline void FileDescriptorProto::set_allocated_package(std::string* value) { |
12234 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12235 | 0 | if (value != nullptr) { |
12236 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12237 | 0 | } else { |
12238 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12239 | 0 | } |
12240 | 0 | _impl_.package_.SetAllocated(value, GetArena()); |
12241 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.package_.IsDefault()) { |
12242 | 0 | _impl_.package_.Set("", GetArena()); |
12243 | 0 | } |
12244 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package) |
12245 | 0 | } |
12246 | | |
12247 | | // repeated string dependency = 3; |
12248 | 0 | inline int FileDescriptorProto::_internal_dependency_size() const { |
12249 | 0 | return _internal_dependency().size(); |
12250 | 0 | } |
12251 | 0 | inline int FileDescriptorProto::dependency_size() const { |
12252 | 0 | return _internal_dependency_size(); |
12253 | 0 | } |
12254 | 0 | inline void FileDescriptorProto::clear_dependency() { |
12255 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12256 | 0 | _impl_.dependency_.Clear(); |
12257 | 0 | } |
12258 | 0 | inline std::string* FileDescriptorProto::add_dependency() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12259 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12260 | 0 | std::string* _s = _internal_mutable_dependency()->Add(); |
12261 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency) |
12262 | 0 | return _s; |
12263 | 0 | } |
12264 | | inline const std::string& FileDescriptorProto::dependency(int index) const |
12265 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12266 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency) |
12267 | 0 | return _internal_dependency().Get(index); |
12268 | 0 | } |
12269 | | inline std::string* FileDescriptorProto::mutable_dependency(int index) |
12270 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12271 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency) |
12272 | 0 | return _internal_mutable_dependency()->Mutable(index); |
12273 | 0 | } |
12274 | | template <typename Arg_, typename... Args_> |
12275 | | inline void FileDescriptorProto::set_dependency(int index, Arg_&& value, Args_... args) { |
12276 | | ::google::protobuf::internal::AssignToString( |
12277 | | *_internal_mutable_dependency()->Mutable(index), |
12278 | | std::forward<Arg_>(value), args... ); |
12279 | | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency) |
12280 | | } |
12281 | | template <typename Arg_, typename... Args_> |
12282 | | inline void FileDescriptorProto::add_dependency(Arg_&& value, Args_... args) { |
12283 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
12284 | | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_dependency(), |
12285 | | std::forward<Arg_>(value), |
12286 | | args... ); |
12287 | | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency) |
12288 | | } |
12289 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
12290 | 0 | FileDescriptorProto::dependency() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12291 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency) |
12292 | 0 | return _internal_dependency(); |
12293 | 0 | } |
12294 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
12295 | 0 | FileDescriptorProto::mutable_dependency() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12296 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency) |
12297 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12298 | 0 | return _internal_mutable_dependency(); |
12299 | 0 | } |
12300 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
12301 | 0 | FileDescriptorProto::_internal_dependency() const { |
12302 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12303 | 0 | return _impl_.dependency_; |
12304 | 0 | } |
12305 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
12306 | 0 | FileDescriptorProto::_internal_mutable_dependency() { |
12307 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12308 | 0 | return &_impl_.dependency_; |
12309 | 0 | } |
12310 | | |
12311 | | // repeated int32 public_dependency = 10; |
12312 | 0 | inline int FileDescriptorProto::_internal_public_dependency_size() const { |
12313 | 0 | return _internal_public_dependency().size(); |
12314 | 0 | } |
12315 | 0 | inline int FileDescriptorProto::public_dependency_size() const { |
12316 | 0 | return _internal_public_dependency_size(); |
12317 | 0 | } |
12318 | 0 | inline void FileDescriptorProto::clear_public_dependency() { |
12319 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12320 | 0 | _impl_.public_dependency_.Clear(); |
12321 | 0 | } |
12322 | 0 | inline ::int32_t FileDescriptorProto::public_dependency(int index) const { |
12323 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency) |
12324 | 0 | return _internal_public_dependency().Get(index); |
12325 | 0 | } |
12326 | 0 | inline void FileDescriptorProto::set_public_dependency(int index, ::int32_t value) { |
12327 | 0 | _internal_mutable_public_dependency()->Set(index, value); |
12328 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.public_dependency) |
12329 | 0 | } |
12330 | 0 | inline void FileDescriptorProto::add_public_dependency(::int32_t value) { |
12331 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12332 | 0 | _internal_mutable_public_dependency()->Add(value); |
12333 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency) |
12334 | 0 | } |
12335 | | inline const ::google::protobuf::RepeatedField<::int32_t>& FileDescriptorProto::public_dependency() const |
12336 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12337 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.public_dependency) |
12338 | 0 | return _internal_public_dependency(); |
12339 | 0 | } |
12340 | | inline ::google::protobuf::RepeatedField<::int32_t>* FileDescriptorProto::mutable_public_dependency() |
12341 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12342 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency) |
12343 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12344 | 0 | return _internal_mutable_public_dependency(); |
12345 | 0 | } |
12346 | | inline const ::google::protobuf::RepeatedField<::int32_t>& |
12347 | 0 | FileDescriptorProto::_internal_public_dependency() const { |
12348 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12349 | 0 | return _impl_.public_dependency_; |
12350 | 0 | } |
12351 | 0 | inline ::google::protobuf::RepeatedField<::int32_t>* FileDescriptorProto::_internal_mutable_public_dependency() { |
12352 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12353 | 0 | return &_impl_.public_dependency_; |
12354 | 0 | } |
12355 | | |
12356 | | // repeated int32 weak_dependency = 11; |
12357 | 0 | inline int FileDescriptorProto::_internal_weak_dependency_size() const { |
12358 | 0 | return _internal_weak_dependency().size(); |
12359 | 0 | } |
12360 | 0 | inline int FileDescriptorProto::weak_dependency_size() const { |
12361 | 0 | return _internal_weak_dependency_size(); |
12362 | 0 | } |
12363 | 0 | inline void FileDescriptorProto::clear_weak_dependency() { |
12364 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12365 | 0 | _impl_.weak_dependency_.Clear(); |
12366 | 0 | } |
12367 | 0 | inline ::int32_t FileDescriptorProto::weak_dependency(int index) const { |
12368 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency) |
12369 | 0 | return _internal_weak_dependency().Get(index); |
12370 | 0 | } |
12371 | 0 | inline void FileDescriptorProto::set_weak_dependency(int index, ::int32_t value) { |
12372 | 0 | _internal_mutable_weak_dependency()->Set(index, value); |
12373 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak_dependency) |
12374 | 0 | } |
12375 | 0 | inline void FileDescriptorProto::add_weak_dependency(::int32_t value) { |
12376 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12377 | 0 | _internal_mutable_weak_dependency()->Add(value); |
12378 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency) |
12379 | 0 | } |
12380 | | inline const ::google::protobuf::RepeatedField<::int32_t>& FileDescriptorProto::weak_dependency() const |
12381 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12382 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.weak_dependency) |
12383 | 0 | return _internal_weak_dependency(); |
12384 | 0 | } |
12385 | | inline ::google::protobuf::RepeatedField<::int32_t>* FileDescriptorProto::mutable_weak_dependency() |
12386 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12387 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency) |
12388 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12389 | 0 | return _internal_mutable_weak_dependency(); |
12390 | 0 | } |
12391 | | inline const ::google::protobuf::RepeatedField<::int32_t>& |
12392 | 0 | FileDescriptorProto::_internal_weak_dependency() const { |
12393 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12394 | 0 | return _impl_.weak_dependency_; |
12395 | 0 | } |
12396 | 0 | inline ::google::protobuf::RepeatedField<::int32_t>* FileDescriptorProto::_internal_mutable_weak_dependency() { |
12397 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12398 | 0 | return &_impl_.weak_dependency_; |
12399 | 0 | } |
12400 | | |
12401 | | // repeated .google.protobuf.DescriptorProto message_type = 4; |
12402 | 0 | inline int FileDescriptorProto::_internal_message_type_size() const { |
12403 | 0 | return _internal_message_type().size(); |
12404 | 0 | } |
12405 | 0 | inline int FileDescriptorProto::message_type_size() const { |
12406 | 0 | return _internal_message_type_size(); |
12407 | 0 | } |
12408 | 0 | inline void FileDescriptorProto::clear_message_type() { |
12409 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12410 | 0 | _impl_.message_type_.Clear(); |
12411 | 0 | } |
12412 | | inline ::google::protobuf::DescriptorProto* FileDescriptorProto::mutable_message_type(int index) |
12413 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12414 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.message_type) |
12415 | 0 | return _internal_mutable_message_type()->Mutable(index); |
12416 | 0 | } |
12417 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* FileDescriptorProto::mutable_message_type() |
12418 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12419 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.message_type) |
12420 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12421 | 0 | return _internal_mutable_message_type(); |
12422 | 0 | } |
12423 | | inline const ::google::protobuf::DescriptorProto& FileDescriptorProto::message_type(int index) const |
12424 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12425 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type) |
12426 | 0 | return _internal_message_type().Get(index); |
12427 | 0 | } |
12428 | 0 | inline ::google::protobuf::DescriptorProto* FileDescriptorProto::add_message_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12429 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12430 | 0 | ::google::protobuf::DescriptorProto* _add = _internal_mutable_message_type()->Add(); |
12431 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type) |
12432 | 0 | return _add; |
12433 | 0 | } |
12434 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& FileDescriptorProto::message_type() const |
12435 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12436 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type) |
12437 | 0 | return _internal_message_type(); |
12438 | 0 | } |
12439 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& |
12440 | 0 | FileDescriptorProto::_internal_message_type() const { |
12441 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12442 | 0 | return _impl_.message_type_; |
12443 | 0 | } |
12444 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* |
12445 | 0 | FileDescriptorProto::_internal_mutable_message_type() { |
12446 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12447 | 0 | return &_impl_.message_type_; |
12448 | 0 | } |
12449 | | |
12450 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
12451 | 0 | inline int FileDescriptorProto::_internal_enum_type_size() const { |
12452 | 0 | return _internal_enum_type().size(); |
12453 | 0 | } |
12454 | 0 | inline int FileDescriptorProto::enum_type_size() const { |
12455 | 0 | return _internal_enum_type_size(); |
12456 | 0 | } |
12457 | 0 | inline void FileDescriptorProto::clear_enum_type() { |
12458 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12459 | 0 | _impl_.enum_type_.Clear(); |
12460 | 0 | } |
12461 | | inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::mutable_enum_type(int index) |
12462 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12463 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.enum_type) |
12464 | 0 | return _internal_mutable_enum_type()->Mutable(index); |
12465 | 0 | } |
12466 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* FileDescriptorProto::mutable_enum_type() |
12467 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12468 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.enum_type) |
12469 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12470 | 0 | return _internal_mutable_enum_type(); |
12471 | 0 | } |
12472 | | inline const ::google::protobuf::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const |
12473 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12474 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type) |
12475 | 0 | return _internal_enum_type().Get(index); |
12476 | 0 | } |
12477 | 0 | inline ::google::protobuf::EnumDescriptorProto* FileDescriptorProto::add_enum_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12478 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12479 | 0 | ::google::protobuf::EnumDescriptorProto* _add = _internal_mutable_enum_type()->Add(); |
12480 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type) |
12481 | 0 | return _add; |
12482 | 0 | } |
12483 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& FileDescriptorProto::enum_type() const |
12484 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12485 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type) |
12486 | 0 | return _internal_enum_type(); |
12487 | 0 | } |
12488 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& |
12489 | 0 | FileDescriptorProto::_internal_enum_type() const { |
12490 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12491 | 0 | return _impl_.enum_type_; |
12492 | 0 | } |
12493 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* |
12494 | 0 | FileDescriptorProto::_internal_mutable_enum_type() { |
12495 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12496 | 0 | return &_impl_.enum_type_; |
12497 | 0 | } |
12498 | | |
12499 | | // repeated .google.protobuf.ServiceDescriptorProto service = 6; |
12500 | 0 | inline int FileDescriptorProto::_internal_service_size() const { |
12501 | 0 | return _internal_service().size(); |
12502 | 0 | } |
12503 | 0 | inline int FileDescriptorProto::service_size() const { |
12504 | 0 | return _internal_service_size(); |
12505 | 0 | } |
12506 | 0 | inline void FileDescriptorProto::clear_service() { |
12507 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12508 | 0 | _impl_.service_.Clear(); |
12509 | 0 | } |
12510 | | inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::mutable_service(int index) |
12511 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12512 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.service) |
12513 | 0 | return _internal_mutable_service()->Mutable(index); |
12514 | 0 | } |
12515 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>* FileDescriptorProto::mutable_service() |
12516 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12517 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service) |
12518 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12519 | 0 | return _internal_mutable_service(); |
12520 | 0 | } |
12521 | | inline const ::google::protobuf::ServiceDescriptorProto& FileDescriptorProto::service(int index) const |
12522 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12523 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service) |
12524 | 0 | return _internal_service().Get(index); |
12525 | 0 | } |
12526 | 0 | inline ::google::protobuf::ServiceDescriptorProto* FileDescriptorProto::add_service() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12527 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12528 | 0 | ::google::protobuf::ServiceDescriptorProto* _add = _internal_mutable_service()->Add(); |
12529 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service) |
12530 | 0 | return _add; |
12531 | 0 | } |
12532 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>& FileDescriptorProto::service() const |
12533 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12534 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service) |
12535 | 0 | return _internal_service(); |
12536 | 0 | } |
12537 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>& |
12538 | 0 | FileDescriptorProto::_internal_service() const { |
12539 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12540 | 0 | return _impl_.service_; |
12541 | 0 | } |
12542 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::ServiceDescriptorProto>* |
12543 | 0 | FileDescriptorProto::_internal_mutable_service() { |
12544 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12545 | 0 | return &_impl_.service_; |
12546 | 0 | } |
12547 | | |
12548 | | // repeated .google.protobuf.FieldDescriptorProto extension = 7; |
12549 | 0 | inline int FileDescriptorProto::_internal_extension_size() const { |
12550 | 0 | return _internal_extension().size(); |
12551 | 0 | } |
12552 | 0 | inline int FileDescriptorProto::extension_size() const { |
12553 | 0 | return _internal_extension_size(); |
12554 | 0 | } |
12555 | 0 | inline void FileDescriptorProto::clear_extension() { |
12556 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12557 | 0 | _impl_.extension_.Clear(); |
12558 | 0 | } |
12559 | | inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::mutable_extension(int index) |
12560 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12561 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.extension) |
12562 | 0 | return _internal_mutable_extension()->Mutable(index); |
12563 | 0 | } |
12564 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* FileDescriptorProto::mutable_extension() |
12565 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12566 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension) |
12567 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12568 | 0 | return _internal_mutable_extension(); |
12569 | 0 | } |
12570 | | inline const ::google::protobuf::FieldDescriptorProto& FileDescriptorProto::extension(int index) const |
12571 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12572 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension) |
12573 | 0 | return _internal_extension().Get(index); |
12574 | 0 | } |
12575 | 0 | inline ::google::protobuf::FieldDescriptorProto* FileDescriptorProto::add_extension() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12576 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12577 | 0 | ::google::protobuf::FieldDescriptorProto* _add = _internal_mutable_extension()->Add(); |
12578 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension) |
12579 | 0 | return _add; |
12580 | 0 | } |
12581 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& FileDescriptorProto::extension() const |
12582 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12583 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension) |
12584 | 0 | return _internal_extension(); |
12585 | 0 | } |
12586 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& |
12587 | 0 | FileDescriptorProto::_internal_extension() const { |
12588 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12589 | 0 | return _impl_.extension_; |
12590 | 0 | } |
12591 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* |
12592 | 0 | FileDescriptorProto::_internal_mutable_extension() { |
12593 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12594 | 0 | return &_impl_.extension_; |
12595 | 0 | } |
12596 | | |
12597 | | // optional .google.protobuf.FileOptions options = 8; |
12598 | 0 | inline bool FileDescriptorProto::has_options() const { |
12599 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
12600 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
12601 | 0 | return value; |
12602 | 0 | } |
12603 | 0 | inline void FileDescriptorProto::clear_options() { |
12604 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12605 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
12606 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
12607 | 0 | } |
12608 | 0 | inline const ::google::protobuf::FileOptions& FileDescriptorProto::_internal_options() const { |
12609 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12610 | 0 | const ::google::protobuf::FileOptions* p = _impl_.options_; |
12611 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FileOptions&>(::google::protobuf::_FileOptions_default_instance_); |
12612 | 0 | } |
12613 | 0 | inline const ::google::protobuf::FileOptions& FileDescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12614 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options) |
12615 | 0 | return _internal_options(); |
12616 | 0 | } |
12617 | 0 | inline void FileDescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::FileOptions* value) { |
12618 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12619 | 0 | if (GetArena() == nullptr) { |
12620 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
12621 | 0 | } |
12622 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::FileOptions*>(value); |
12623 | 0 | if (value != nullptr) { |
12624 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
12625 | 0 | } else { |
12626 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
12627 | 0 | } |
12628 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.options) |
12629 | 0 | } |
12630 | 0 | inline ::google::protobuf::FileOptions* FileDescriptorProto::release_options() { |
12631 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12632 | 0 |
|
12633 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
12634 | 0 | ::google::protobuf::FileOptions* released = _impl_.options_; |
12635 | 0 | _impl_.options_ = nullptr; |
12636 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
12637 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
12638 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
12639 | 0 | if (GetArena() == nullptr) { |
12640 | 0 | delete old; |
12641 | 0 | } |
12642 | 0 | } else { |
12643 | 0 | if (GetArena() != nullptr) { |
12644 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
12645 | 0 | } |
12646 | 0 | } |
12647 | 0 | return released; |
12648 | 0 | } |
12649 | 0 | inline ::google::protobuf::FileOptions* FileDescriptorProto::unsafe_arena_release_options() { |
12650 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12651 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.options) |
12652 | 0 |
|
12653 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
12654 | 0 | ::google::protobuf::FileOptions* temp = _impl_.options_; |
12655 | 0 | _impl_.options_ = nullptr; |
12656 | 0 | return temp; |
12657 | 0 | } |
12658 | 0 | inline ::google::protobuf::FileOptions* FileDescriptorProto::_internal_mutable_options() { |
12659 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12660 | 0 | if (_impl_.options_ == nullptr) { |
12661 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FileOptions>(GetArena()); |
12662 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::FileOptions*>(p); |
12663 | 0 | } |
12664 | 0 | return _impl_.options_; |
12665 | 0 | } |
12666 | 0 | inline ::google::protobuf::FileOptions* FileDescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12667 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
12668 | 0 | ::google::protobuf::FileOptions* _msg = _internal_mutable_options(); |
12669 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options) |
12670 | 0 | return _msg; |
12671 | 0 | } |
12672 | 0 | inline void FileDescriptorProto::set_allocated_options(::google::protobuf::FileOptions* value) { |
12673 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
12674 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12675 | 0 | if (message_arena == nullptr) { |
12676 | 0 | delete (_impl_.options_); |
12677 | 0 | } |
12678 | 0 |
|
12679 | 0 | if (value != nullptr) { |
12680 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
12681 | 0 | if (message_arena != submessage_arena) { |
12682 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
12683 | 0 | } |
12684 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
12685 | 0 | } else { |
12686 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
12687 | 0 | } |
12688 | 0 |
|
12689 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::FileOptions*>(value); |
12690 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options) |
12691 | 0 | } |
12692 | | |
12693 | | // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
12694 | 0 | inline bool FileDescriptorProto::has_source_code_info() const { |
12695 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
12696 | 0 | PROTOBUF_ASSUME(!value || _impl_.source_code_info_ != nullptr); |
12697 | 0 | return value; |
12698 | 0 | } |
12699 | 0 | inline void FileDescriptorProto::clear_source_code_info() { |
12700 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12701 | 0 | if (_impl_.source_code_info_ != nullptr) _impl_.source_code_info_->Clear(); |
12702 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
12703 | 0 | } |
12704 | 0 | inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::_internal_source_code_info() const { |
12705 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12706 | 0 | const ::google::protobuf::SourceCodeInfo* p = _impl_.source_code_info_; |
12707 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::SourceCodeInfo&>(::google::protobuf::_SourceCodeInfo_default_instance_); |
12708 | 0 | } |
12709 | 0 | inline const ::google::protobuf::SourceCodeInfo& FileDescriptorProto::source_code_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12710 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info) |
12711 | 0 | return _internal_source_code_info(); |
12712 | 0 | } |
12713 | 0 | inline void FileDescriptorProto::unsafe_arena_set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* value) { |
12714 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12715 | 0 | if (GetArena() == nullptr) { |
12716 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.source_code_info_); |
12717 | 0 | } |
12718 | 0 | _impl_.source_code_info_ = reinterpret_cast<::google::protobuf::SourceCodeInfo*>(value); |
12719 | 0 | if (value != nullptr) { |
12720 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
12721 | 0 | } else { |
12722 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
12723 | 0 | } |
12724 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.source_code_info) |
12725 | 0 | } |
12726 | 0 | inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::release_source_code_info() { |
12727 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12728 | 0 |
|
12729 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
12730 | 0 | ::google::protobuf::SourceCodeInfo* released = _impl_.source_code_info_; |
12731 | 0 | _impl_.source_code_info_ = nullptr; |
12732 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
12733 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
12734 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
12735 | 0 | if (GetArena() == nullptr) { |
12736 | 0 | delete old; |
12737 | 0 | } |
12738 | 0 | } else { |
12739 | 0 | if (GetArena() != nullptr) { |
12740 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
12741 | 0 | } |
12742 | 0 | } |
12743 | 0 | return released; |
12744 | 0 | } |
12745 | 0 | inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::unsafe_arena_release_source_code_info() { |
12746 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12747 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.source_code_info) |
12748 | 0 |
|
12749 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
12750 | 0 | ::google::protobuf::SourceCodeInfo* temp = _impl_.source_code_info_; |
12751 | 0 | _impl_.source_code_info_ = nullptr; |
12752 | 0 | return temp; |
12753 | 0 | } |
12754 | 0 | inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::_internal_mutable_source_code_info() { |
12755 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12756 | 0 | if (_impl_.source_code_info_ == nullptr) { |
12757 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::SourceCodeInfo>(GetArena()); |
12758 | 0 | _impl_.source_code_info_ = reinterpret_cast<::google::protobuf::SourceCodeInfo*>(p); |
12759 | 0 | } |
12760 | 0 | return _impl_.source_code_info_; |
12761 | 0 | } |
12762 | 0 | inline ::google::protobuf::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12763 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
12764 | 0 | ::google::protobuf::SourceCodeInfo* _msg = _internal_mutable_source_code_info(); |
12765 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.source_code_info) |
12766 | 0 | return _msg; |
12767 | 0 | } |
12768 | 0 | inline void FileDescriptorProto::set_allocated_source_code_info(::google::protobuf::SourceCodeInfo* value) { |
12769 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
12770 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12771 | 0 | if (message_arena == nullptr) { |
12772 | 0 | delete (_impl_.source_code_info_); |
12773 | 0 | } |
12774 | 0 |
|
12775 | 0 | if (value != nullptr) { |
12776 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
12777 | 0 | if (message_arena != submessage_arena) { |
12778 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
12779 | 0 | } |
12780 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
12781 | 0 | } else { |
12782 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
12783 | 0 | } |
12784 | 0 |
|
12785 | 0 | _impl_.source_code_info_ = reinterpret_cast<::google::protobuf::SourceCodeInfo*>(value); |
12786 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info) |
12787 | 0 | } |
12788 | | |
12789 | | // optional string syntax = 12; |
12790 | 0 | inline bool FileDescriptorProto::has_syntax() const { |
12791 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
12792 | 0 | return value; |
12793 | 0 | } |
12794 | 0 | inline void FileDescriptorProto::clear_syntax() { |
12795 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12796 | 0 | _impl_.syntax_.ClearToEmpty(); |
12797 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
12798 | 0 | } |
12799 | | inline const std::string& FileDescriptorProto::syntax() const |
12800 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12801 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax) |
12802 | 0 | return _internal_syntax(); |
12803 | 0 | } |
12804 | | template <typename Arg_, typename... Args_> |
12805 | | inline PROTOBUF_ALWAYS_INLINE void FileDescriptorProto::set_syntax(Arg_&& arg, |
12806 | | Args_... args) { |
12807 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
12808 | | _impl_._has_bits_[0] |= 0x00000004u; |
12809 | | _impl_.syntax_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
12810 | | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax) |
12811 | | } |
12812 | 0 | inline std::string* FileDescriptorProto::mutable_syntax() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12813 | 0 | std::string* _s = _internal_mutable_syntax(); |
12814 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax) |
12815 | 0 | return _s; |
12816 | 0 | } |
12817 | 0 | inline const std::string& FileDescriptorProto::_internal_syntax() const { |
12818 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12819 | 0 | return _impl_.syntax_.Get(); |
12820 | 0 | } |
12821 | 0 | inline void FileDescriptorProto::_internal_set_syntax(const std::string& value) { |
12822 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12823 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
12824 | 0 | _impl_.syntax_.Set(value, GetArena()); |
12825 | 0 | } |
12826 | 0 | inline std::string* FileDescriptorProto::_internal_mutable_syntax() { |
12827 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12828 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
12829 | 0 | return _impl_.syntax_.Mutable( GetArena()); |
12830 | 0 | } |
12831 | 0 | inline std::string* FileDescriptorProto::release_syntax() { |
12832 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12833 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.syntax) |
12834 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
12835 | 0 | return nullptr; |
12836 | 0 | } |
12837 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
12838 | 0 | auto* released = _impl_.syntax_.Release(); |
12839 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
12840 | 0 | _impl_.syntax_.Set("", GetArena()); |
12841 | 0 | } |
12842 | 0 | return released; |
12843 | 0 | } |
12844 | 0 | inline void FileDescriptorProto::set_allocated_syntax(std::string* value) { |
12845 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12846 | 0 | if (value != nullptr) { |
12847 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
12848 | 0 | } else { |
12849 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
12850 | 0 | } |
12851 | 0 | _impl_.syntax_.SetAllocated(value, GetArena()); |
12852 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.syntax_.IsDefault()) { |
12853 | 0 | _impl_.syntax_.Set("", GetArena()); |
12854 | 0 | } |
12855 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.syntax) |
12856 | 0 | } |
12857 | | |
12858 | | // optional .google.protobuf.Edition edition = 14; |
12859 | 0 | inline bool FileDescriptorProto::has_edition() const { |
12860 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
12861 | 0 | return value; |
12862 | 0 | } |
12863 | 0 | inline void FileDescriptorProto::clear_edition() { |
12864 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12865 | 0 | _impl_.edition_ = 0; |
12866 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
12867 | 0 | } |
12868 | 0 | inline ::google::protobuf::Edition FileDescriptorProto::edition() const { |
12869 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.edition) |
12870 | 0 | return _internal_edition(); |
12871 | 0 | } |
12872 | 0 | inline void FileDescriptorProto::set_edition(::google::protobuf::Edition value) { |
12873 | 0 | _internal_set_edition(value); |
12874 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
12875 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.edition) |
12876 | 0 | } |
12877 | 0 | inline ::google::protobuf::Edition FileDescriptorProto::_internal_edition() const { |
12878 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12879 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.edition_); |
12880 | 0 | } |
12881 | 0 | inline void FileDescriptorProto::_internal_set_edition(::google::protobuf::Edition value) { |
12882 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12883 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
12884 | 0 | _impl_.edition_ = value; |
12885 | 0 | } |
12886 | | |
12887 | | // ------------------------------------------------------------------- |
12888 | | |
12889 | | // DescriptorProto_ExtensionRange |
12890 | | |
12891 | | // optional int32 start = 1; |
12892 | 0 | inline bool DescriptorProto_ExtensionRange::has_start() const { |
12893 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
12894 | 0 | return value; |
12895 | 0 | } |
12896 | 0 | inline void DescriptorProto_ExtensionRange::clear_start() { |
12897 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12898 | 0 | _impl_.start_ = 0; |
12899 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12900 | 0 | } |
12901 | 0 | inline ::int32_t DescriptorProto_ExtensionRange::start() const { |
12902 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start) |
12903 | 0 | return _internal_start(); |
12904 | 0 | } |
12905 | 0 | inline void DescriptorProto_ExtensionRange::set_start(::int32_t value) { |
12906 | 0 | _internal_set_start(value); |
12907 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12908 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start) |
12909 | 0 | } |
12910 | 0 | inline ::int32_t DescriptorProto_ExtensionRange::_internal_start() const { |
12911 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12912 | 0 | return _impl_.start_; |
12913 | 0 | } |
12914 | 0 | inline void DescriptorProto_ExtensionRange::_internal_set_start(::int32_t value) { |
12915 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12916 | 0 | _impl_.start_ = value; |
12917 | 0 | } |
12918 | | |
12919 | | // optional int32 end = 2; |
12920 | 0 | inline bool DescriptorProto_ExtensionRange::has_end() const { |
12921 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
12922 | 0 | return value; |
12923 | 0 | } |
12924 | 0 | inline void DescriptorProto_ExtensionRange::clear_end() { |
12925 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12926 | 0 | _impl_.end_ = 0; |
12927 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
12928 | 0 | } |
12929 | 0 | inline ::int32_t DescriptorProto_ExtensionRange::end() const { |
12930 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end) |
12931 | 0 | return _internal_end(); |
12932 | 0 | } |
12933 | 0 | inline void DescriptorProto_ExtensionRange::set_end(::int32_t value) { |
12934 | 0 | _internal_set_end(value); |
12935 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
12936 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end) |
12937 | 0 | } |
12938 | 0 | inline ::int32_t DescriptorProto_ExtensionRange::_internal_end() const { |
12939 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12940 | 0 | return _impl_.end_; |
12941 | 0 | } |
12942 | 0 | inline void DescriptorProto_ExtensionRange::_internal_set_end(::int32_t value) { |
12943 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12944 | 0 | _impl_.end_ = value; |
12945 | 0 | } |
12946 | | |
12947 | | // optional .google.protobuf.ExtensionRangeOptions options = 3; |
12948 | 0 | inline bool DescriptorProto_ExtensionRange::has_options() const { |
12949 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
12950 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
12951 | 0 | return value; |
12952 | 0 | } |
12953 | 0 | inline void DescriptorProto_ExtensionRange::clear_options() { |
12954 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12955 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
12956 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12957 | 0 | } |
12958 | 0 | inline const ::google::protobuf::ExtensionRangeOptions& DescriptorProto_ExtensionRange::_internal_options() const { |
12959 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12960 | 0 | const ::google::protobuf::ExtensionRangeOptions* p = _impl_.options_; |
12961 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::ExtensionRangeOptions&>(::google::protobuf::_ExtensionRangeOptions_default_instance_); |
12962 | 0 | } |
12963 | 0 | inline const ::google::protobuf::ExtensionRangeOptions& DescriptorProto_ExtensionRange::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12964 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.options) |
12965 | 0 | return _internal_options(); |
12966 | 0 | } |
12967 | 0 | inline void DescriptorProto_ExtensionRange::unsafe_arena_set_allocated_options(::google::protobuf::ExtensionRangeOptions* value) { |
12968 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12969 | 0 | if (GetArena() == nullptr) { |
12970 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
12971 | 0 | } |
12972 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::ExtensionRangeOptions*>(value); |
12973 | 0 | if (value != nullptr) { |
12974 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12975 | 0 | } else { |
12976 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12977 | 0 | } |
12978 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options) |
12979 | 0 | } |
12980 | 0 | inline ::google::protobuf::ExtensionRangeOptions* DescriptorProto_ExtensionRange::release_options() { |
12981 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12982 | 0 |
|
12983 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12984 | 0 | ::google::protobuf::ExtensionRangeOptions* released = _impl_.options_; |
12985 | 0 | _impl_.options_ = nullptr; |
12986 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
12987 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
12988 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
12989 | 0 | if (GetArena() == nullptr) { |
12990 | 0 | delete old; |
12991 | 0 | } |
12992 | 0 | } else { |
12993 | 0 | if (GetArena() != nullptr) { |
12994 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
12995 | 0 | } |
12996 | 0 | } |
12997 | 0 | return released; |
12998 | 0 | } |
12999 | 0 | inline ::google::protobuf::ExtensionRangeOptions* DescriptorProto_ExtensionRange::unsafe_arena_release_options() { |
13000 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13001 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.ExtensionRange.options) |
13002 | 0 |
|
13003 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13004 | 0 | ::google::protobuf::ExtensionRangeOptions* temp = _impl_.options_; |
13005 | 0 | _impl_.options_ = nullptr; |
13006 | 0 | return temp; |
13007 | 0 | } |
13008 | 0 | inline ::google::protobuf::ExtensionRangeOptions* DescriptorProto_ExtensionRange::_internal_mutable_options() { |
13009 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13010 | 0 | if (_impl_.options_ == nullptr) { |
13011 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::ExtensionRangeOptions>(GetArena()); |
13012 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::ExtensionRangeOptions*>(p); |
13013 | 0 | } |
13014 | 0 | return _impl_.options_; |
13015 | 0 | } |
13016 | 0 | inline ::google::protobuf::ExtensionRangeOptions* DescriptorProto_ExtensionRange::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13017 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13018 | 0 | ::google::protobuf::ExtensionRangeOptions* _msg = _internal_mutable_options(); |
13019 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.ExtensionRange.options) |
13020 | 0 | return _msg; |
13021 | 0 | } |
13022 | 0 | inline void DescriptorProto_ExtensionRange::set_allocated_options(::google::protobuf::ExtensionRangeOptions* value) { |
13023 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
13024 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13025 | 0 | if (message_arena == nullptr) { |
13026 | 0 | delete (_impl_.options_); |
13027 | 0 | } |
13028 | 0 |
|
13029 | 0 | if (value != nullptr) { |
13030 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
13031 | 0 | if (message_arena != submessage_arena) { |
13032 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
13033 | 0 | } |
13034 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13035 | 0 | } else { |
13036 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13037 | 0 | } |
13038 | 0 |
|
13039 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::ExtensionRangeOptions*>(value); |
13040 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options) |
13041 | 0 | } |
13042 | | |
13043 | | // ------------------------------------------------------------------- |
13044 | | |
13045 | | // DescriptorProto_ReservedRange |
13046 | | |
13047 | | // optional int32 start = 1; |
13048 | 0 | inline bool DescriptorProto_ReservedRange::has_start() const { |
13049 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13050 | 0 | return value; |
13051 | 0 | } |
13052 | 0 | inline void DescriptorProto_ReservedRange::clear_start() { |
13053 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13054 | 0 | _impl_.start_ = 0; |
13055 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13056 | 0 | } |
13057 | 0 | inline ::int32_t DescriptorProto_ReservedRange::start() const { |
13058 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.start) |
13059 | 0 | return _internal_start(); |
13060 | 0 | } |
13061 | 0 | inline void DescriptorProto_ReservedRange::set_start(::int32_t value) { |
13062 | 0 | _internal_set_start(value); |
13063 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13064 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.start) |
13065 | 0 | } |
13066 | 0 | inline ::int32_t DescriptorProto_ReservedRange::_internal_start() const { |
13067 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13068 | 0 | return _impl_.start_; |
13069 | 0 | } |
13070 | 0 | inline void DescriptorProto_ReservedRange::_internal_set_start(::int32_t value) { |
13071 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13072 | 0 | _impl_.start_ = value; |
13073 | 0 | } |
13074 | | |
13075 | | // optional int32 end = 2; |
13076 | 0 | inline bool DescriptorProto_ReservedRange::has_end() const { |
13077 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
13078 | 0 | return value; |
13079 | 0 | } |
13080 | 0 | inline void DescriptorProto_ReservedRange::clear_end() { |
13081 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13082 | 0 | _impl_.end_ = 0; |
13083 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13084 | 0 | } |
13085 | 0 | inline ::int32_t DescriptorProto_ReservedRange::end() const { |
13086 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.end) |
13087 | 0 | return _internal_end(); |
13088 | 0 | } |
13089 | 0 | inline void DescriptorProto_ReservedRange::set_end(::int32_t value) { |
13090 | 0 | _internal_set_end(value); |
13091 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13092 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.end) |
13093 | 0 | } |
13094 | 0 | inline ::int32_t DescriptorProto_ReservedRange::_internal_end() const { |
13095 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13096 | 0 | return _impl_.end_; |
13097 | 0 | } |
13098 | 0 | inline void DescriptorProto_ReservedRange::_internal_set_end(::int32_t value) { |
13099 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13100 | 0 | _impl_.end_ = value; |
13101 | 0 | } |
13102 | | |
13103 | | // ------------------------------------------------------------------- |
13104 | | |
13105 | | // DescriptorProto |
13106 | | |
13107 | | // optional string name = 1; |
13108 | 0 | inline bool DescriptorProto::has_name() const { |
13109 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13110 | 0 | return value; |
13111 | 0 | } |
13112 | 0 | inline void DescriptorProto::clear_name() { |
13113 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13114 | 0 | _impl_.name_.ClearToEmpty(); |
13115 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13116 | 0 | } |
13117 | | inline const std::string& DescriptorProto::name() const |
13118 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13119 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name) |
13120 | 0 | return _internal_name(); |
13121 | 0 | } |
13122 | | template <typename Arg_, typename... Args_> |
13123 | | inline PROTOBUF_ALWAYS_INLINE void DescriptorProto::set_name(Arg_&& arg, |
13124 | | Args_... args) { |
13125 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
13126 | | _impl_._has_bits_[0] |= 0x00000001u; |
13127 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
13128 | | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name) |
13129 | | } |
13130 | 0 | inline std::string* DescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13131 | 0 | std::string* _s = _internal_mutable_name(); |
13132 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name) |
13133 | 0 | return _s; |
13134 | 0 | } |
13135 | 0 | inline const std::string& DescriptorProto::_internal_name() const { |
13136 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13137 | 0 | return _impl_.name_.Get(); |
13138 | 0 | } |
13139 | 0 | inline void DescriptorProto::_internal_set_name(const std::string& value) { |
13140 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13141 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13142 | 0 | _impl_.name_.Set(value, GetArena()); |
13143 | 0 | } |
13144 | 0 | inline std::string* DescriptorProto::_internal_mutable_name() { |
13145 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13146 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13147 | 0 | return _impl_.name_.Mutable( GetArena()); |
13148 | 0 | } |
13149 | 0 | inline std::string* DescriptorProto::release_name() { |
13150 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13151 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.name) |
13152 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
13153 | 0 | return nullptr; |
13154 | 0 | } |
13155 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13156 | 0 | auto* released = _impl_.name_.Release(); |
13157 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
13158 | 0 | _impl_.name_.Set("", GetArena()); |
13159 | 0 | } |
13160 | 0 | return released; |
13161 | 0 | } |
13162 | 0 | inline void DescriptorProto::set_allocated_name(std::string* value) { |
13163 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13164 | 0 | if (value != nullptr) { |
13165 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13166 | 0 | } else { |
13167 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13168 | 0 | } |
13169 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
13170 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
13171 | 0 | _impl_.name_.Set("", GetArena()); |
13172 | 0 | } |
13173 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name) |
13174 | 0 | } |
13175 | | |
13176 | | // repeated .google.protobuf.FieldDescriptorProto field = 2; |
13177 | 0 | inline int DescriptorProto::_internal_field_size() const { |
13178 | 0 | return _internal_field().size(); |
13179 | 0 | } |
13180 | 0 | inline int DescriptorProto::field_size() const { |
13181 | 0 | return _internal_field_size(); |
13182 | 0 | } |
13183 | 0 | inline void DescriptorProto::clear_field() { |
13184 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13185 | 0 | _impl_.field_.Clear(); |
13186 | 0 | } |
13187 | | inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_field(int index) |
13188 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13189 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field) |
13190 | 0 | return _internal_mutable_field()->Mutable(index); |
13191 | 0 | } |
13192 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* DescriptorProto::mutable_field() |
13193 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13194 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field) |
13195 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13196 | 0 | return _internal_mutable_field(); |
13197 | 0 | } |
13198 | | inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::field(int index) const |
13199 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13200 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field) |
13201 | 0 | return _internal_field().Get(index); |
13202 | 0 | } |
13203 | 0 | inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_field() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13204 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13205 | 0 | ::google::protobuf::FieldDescriptorProto* _add = _internal_mutable_field()->Add(); |
13206 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field) |
13207 | 0 | return _add; |
13208 | 0 | } |
13209 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& DescriptorProto::field() const |
13210 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13211 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field) |
13212 | 0 | return _internal_field(); |
13213 | 0 | } |
13214 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& |
13215 | 0 | DescriptorProto::_internal_field() const { |
13216 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13217 | 0 | return _impl_.field_; |
13218 | 0 | } |
13219 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* |
13220 | 0 | DescriptorProto::_internal_mutable_field() { |
13221 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13222 | 0 | return &_impl_.field_; |
13223 | 0 | } |
13224 | | |
13225 | | // repeated .google.protobuf.FieldDescriptorProto extension = 6; |
13226 | 0 | inline int DescriptorProto::_internal_extension_size() const { |
13227 | 0 | return _internal_extension().size(); |
13228 | 0 | } |
13229 | 0 | inline int DescriptorProto::extension_size() const { |
13230 | 0 | return _internal_extension_size(); |
13231 | 0 | } |
13232 | 0 | inline void DescriptorProto::clear_extension() { |
13233 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13234 | 0 | _impl_.extension_.Clear(); |
13235 | 0 | } |
13236 | | inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::mutable_extension(int index) |
13237 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13238 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension) |
13239 | 0 | return _internal_mutable_extension()->Mutable(index); |
13240 | 0 | } |
13241 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* DescriptorProto::mutable_extension() |
13242 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13243 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension) |
13244 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13245 | 0 | return _internal_mutable_extension(); |
13246 | 0 | } |
13247 | | inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::extension(int index) const |
13248 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13249 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension) |
13250 | 0 | return _internal_extension().Get(index); |
13251 | 0 | } |
13252 | 0 | inline ::google::protobuf::FieldDescriptorProto* DescriptorProto::add_extension() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13253 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13254 | 0 | ::google::protobuf::FieldDescriptorProto* _add = _internal_mutable_extension()->Add(); |
13255 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension) |
13256 | 0 | return _add; |
13257 | 0 | } |
13258 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& DescriptorProto::extension() const |
13259 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13260 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension) |
13261 | 0 | return _internal_extension(); |
13262 | 0 | } |
13263 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& |
13264 | 0 | DescriptorProto::_internal_extension() const { |
13265 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13266 | 0 | return _impl_.extension_; |
13267 | 0 | } |
13268 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* |
13269 | 0 | DescriptorProto::_internal_mutable_extension() { |
13270 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13271 | 0 | return &_impl_.extension_; |
13272 | 0 | } |
13273 | | |
13274 | | // repeated .google.protobuf.DescriptorProto nested_type = 3; |
13275 | 0 | inline int DescriptorProto::_internal_nested_type_size() const { |
13276 | 0 | return _internal_nested_type().size(); |
13277 | 0 | } |
13278 | 0 | inline int DescriptorProto::nested_type_size() const { |
13279 | 0 | return _internal_nested_type_size(); |
13280 | 0 | } |
13281 | 0 | inline void DescriptorProto::clear_nested_type() { |
13282 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13283 | 0 | _impl_.nested_type_.Clear(); |
13284 | 0 | } |
13285 | | inline ::google::protobuf::DescriptorProto* DescriptorProto::mutable_nested_type(int index) |
13286 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13287 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type) |
13288 | 0 | return _internal_mutable_nested_type()->Mutable(index); |
13289 | 0 | } |
13290 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* DescriptorProto::mutable_nested_type() |
13291 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13292 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type) |
13293 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13294 | 0 | return _internal_mutable_nested_type(); |
13295 | 0 | } |
13296 | | inline const ::google::protobuf::DescriptorProto& DescriptorProto::nested_type(int index) const |
13297 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13298 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type) |
13299 | 0 | return _internal_nested_type().Get(index); |
13300 | 0 | } |
13301 | 0 | inline ::google::protobuf::DescriptorProto* DescriptorProto::add_nested_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13302 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13303 | 0 | ::google::protobuf::DescriptorProto* _add = _internal_mutable_nested_type()->Add(); |
13304 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type) |
13305 | 0 | return _add; |
13306 | 0 | } |
13307 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& DescriptorProto::nested_type() const |
13308 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13309 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type) |
13310 | 0 | return _internal_nested_type(); |
13311 | 0 | } |
13312 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& |
13313 | 0 | DescriptorProto::_internal_nested_type() const { |
13314 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13315 | 0 | return _impl_.nested_type_; |
13316 | 0 | } |
13317 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* |
13318 | 0 | DescriptorProto::_internal_mutable_nested_type() { |
13319 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13320 | 0 | return &_impl_.nested_type_; |
13321 | 0 | } |
13322 | | |
13323 | | // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
13324 | 0 | inline int DescriptorProto::_internal_enum_type_size() const { |
13325 | 0 | return _internal_enum_type().size(); |
13326 | 0 | } |
13327 | 0 | inline int DescriptorProto::enum_type_size() const { |
13328 | 0 | return _internal_enum_type_size(); |
13329 | 0 | } |
13330 | 0 | inline void DescriptorProto::clear_enum_type() { |
13331 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13332 | 0 | _impl_.enum_type_.Clear(); |
13333 | 0 | } |
13334 | | inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::mutable_enum_type(int index) |
13335 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13336 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type) |
13337 | 0 | return _internal_mutable_enum_type()->Mutable(index); |
13338 | 0 | } |
13339 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* DescriptorProto::mutable_enum_type() |
13340 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13341 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type) |
13342 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13343 | 0 | return _internal_mutable_enum_type(); |
13344 | 0 | } |
13345 | | inline const ::google::protobuf::EnumDescriptorProto& DescriptorProto::enum_type(int index) const |
13346 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13347 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type) |
13348 | 0 | return _internal_enum_type().Get(index); |
13349 | 0 | } |
13350 | 0 | inline ::google::protobuf::EnumDescriptorProto* DescriptorProto::add_enum_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13351 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13352 | 0 | ::google::protobuf::EnumDescriptorProto* _add = _internal_mutable_enum_type()->Add(); |
13353 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type) |
13354 | 0 | return _add; |
13355 | 0 | } |
13356 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& DescriptorProto::enum_type() const |
13357 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13358 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type) |
13359 | 0 | return _internal_enum_type(); |
13360 | 0 | } |
13361 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& |
13362 | 0 | DescriptorProto::_internal_enum_type() const { |
13363 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13364 | 0 | return _impl_.enum_type_; |
13365 | 0 | } |
13366 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* |
13367 | 0 | DescriptorProto::_internal_mutable_enum_type() { |
13368 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13369 | 0 | return &_impl_.enum_type_; |
13370 | 0 | } |
13371 | | |
13372 | | // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
13373 | 0 | inline int DescriptorProto::_internal_extension_range_size() const { |
13374 | 0 | return _internal_extension_range().size(); |
13375 | 0 | } |
13376 | 0 | inline int DescriptorProto::extension_range_size() const { |
13377 | 0 | return _internal_extension_range_size(); |
13378 | 0 | } |
13379 | 0 | inline void DescriptorProto::clear_extension_range() { |
13380 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13381 | 0 | _impl_.extension_range_.Clear(); |
13382 | 0 | } |
13383 | | inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::mutable_extension_range(int index) |
13384 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13385 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range) |
13386 | 0 | return _internal_mutable_extension_range()->Mutable(index); |
13387 | 0 | } |
13388 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>* DescriptorProto::mutable_extension_range() |
13389 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13390 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range) |
13391 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13392 | 0 | return _internal_mutable_extension_range(); |
13393 | 0 | } |
13394 | | inline const ::google::protobuf::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const |
13395 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13396 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range) |
13397 | 0 | return _internal_extension_range().Get(index); |
13398 | 0 | } |
13399 | 0 | inline ::google::protobuf::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13400 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13401 | 0 | ::google::protobuf::DescriptorProto_ExtensionRange* _add = _internal_mutable_extension_range()->Add(); |
13402 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range) |
13403 | 0 | return _add; |
13404 | 0 | } |
13405 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>& DescriptorProto::extension_range() const |
13406 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13407 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range) |
13408 | 0 | return _internal_extension_range(); |
13409 | 0 | } |
13410 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>& |
13411 | 0 | DescriptorProto::_internal_extension_range() const { |
13412 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13413 | 0 | return _impl_.extension_range_; |
13414 | 0 | } |
13415 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>* |
13416 | 0 | DescriptorProto::_internal_mutable_extension_range() { |
13417 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13418 | 0 | return &_impl_.extension_range_; |
13419 | 0 | } |
13420 | | |
13421 | | // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
13422 | 0 | inline int DescriptorProto::_internal_oneof_decl_size() const { |
13423 | 0 | return _internal_oneof_decl().size(); |
13424 | 0 | } |
13425 | 0 | inline int DescriptorProto::oneof_decl_size() const { |
13426 | 0 | return _internal_oneof_decl_size(); |
13427 | 0 | } |
13428 | 0 | inline void DescriptorProto::clear_oneof_decl() { |
13429 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13430 | 0 | _impl_.oneof_decl_.Clear(); |
13431 | 0 | } |
13432 | | inline ::google::protobuf::OneofDescriptorProto* DescriptorProto::mutable_oneof_decl(int index) |
13433 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13434 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl) |
13435 | 0 | return _internal_mutable_oneof_decl()->Mutable(index); |
13436 | 0 | } |
13437 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>* DescriptorProto::mutable_oneof_decl() |
13438 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13439 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl) |
13440 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13441 | 0 | return _internal_mutable_oneof_decl(); |
13442 | 0 | } |
13443 | | inline const ::google::protobuf::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const |
13444 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13445 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl) |
13446 | 0 | return _internal_oneof_decl().Get(index); |
13447 | 0 | } |
13448 | 0 | inline ::google::protobuf::OneofDescriptorProto* DescriptorProto::add_oneof_decl() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13449 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13450 | 0 | ::google::protobuf::OneofDescriptorProto* _add = _internal_mutable_oneof_decl()->Add(); |
13451 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl) |
13452 | 0 | return _add; |
13453 | 0 | } |
13454 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>& DescriptorProto::oneof_decl() const |
13455 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13456 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl) |
13457 | 0 | return _internal_oneof_decl(); |
13458 | 0 | } |
13459 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>& |
13460 | 0 | DescriptorProto::_internal_oneof_decl() const { |
13461 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13462 | 0 | return _impl_.oneof_decl_; |
13463 | 0 | } |
13464 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>* |
13465 | 0 | DescriptorProto::_internal_mutable_oneof_decl() { |
13466 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13467 | 0 | return &_impl_.oneof_decl_; |
13468 | 0 | } |
13469 | | |
13470 | | // optional .google.protobuf.MessageOptions options = 7; |
13471 | 0 | inline bool DescriptorProto::has_options() const { |
13472 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
13473 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
13474 | 0 | return value; |
13475 | 0 | } |
13476 | 0 | inline void DescriptorProto::clear_options() { |
13477 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13478 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
13479 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13480 | 0 | } |
13481 | 0 | inline const ::google::protobuf::MessageOptions& DescriptorProto::_internal_options() const { |
13482 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13483 | 0 | const ::google::protobuf::MessageOptions* p = _impl_.options_; |
13484 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::MessageOptions&>(::google::protobuf::_MessageOptions_default_instance_); |
13485 | 0 | } |
13486 | 0 | inline const ::google::protobuf::MessageOptions& DescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13487 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options) |
13488 | 0 | return _internal_options(); |
13489 | 0 | } |
13490 | 0 | inline void DescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::MessageOptions* value) { |
13491 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13492 | 0 | if (GetArena() == nullptr) { |
13493 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
13494 | 0 | } |
13495 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::MessageOptions*>(value); |
13496 | 0 | if (value != nullptr) { |
13497 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13498 | 0 | } else { |
13499 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13500 | 0 | } |
13501 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.options) |
13502 | 0 | } |
13503 | 0 | inline ::google::protobuf::MessageOptions* DescriptorProto::release_options() { |
13504 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13505 | 0 |
|
13506 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13507 | 0 | ::google::protobuf::MessageOptions* released = _impl_.options_; |
13508 | 0 | _impl_.options_ = nullptr; |
13509 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
13510 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
13511 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13512 | 0 | if (GetArena() == nullptr) { |
13513 | 0 | delete old; |
13514 | 0 | } |
13515 | 0 | } else { |
13516 | 0 | if (GetArena() != nullptr) { |
13517 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13518 | 0 | } |
13519 | 0 | } |
13520 | 0 | return released; |
13521 | 0 | } |
13522 | 0 | inline ::google::protobuf::MessageOptions* DescriptorProto::unsafe_arena_release_options() { |
13523 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13524 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.options) |
13525 | 0 |
|
13526 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13527 | 0 | ::google::protobuf::MessageOptions* temp = _impl_.options_; |
13528 | 0 | _impl_.options_ = nullptr; |
13529 | 0 | return temp; |
13530 | 0 | } |
13531 | 0 | inline ::google::protobuf::MessageOptions* DescriptorProto::_internal_mutable_options() { |
13532 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13533 | 0 | if (_impl_.options_ == nullptr) { |
13534 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::MessageOptions>(GetArena()); |
13535 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::MessageOptions*>(p); |
13536 | 0 | } |
13537 | 0 | return _impl_.options_; |
13538 | 0 | } |
13539 | 0 | inline ::google::protobuf::MessageOptions* DescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13540 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13541 | 0 | ::google::protobuf::MessageOptions* _msg = _internal_mutable_options(); |
13542 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options) |
13543 | 0 | return _msg; |
13544 | 0 | } |
13545 | 0 | inline void DescriptorProto::set_allocated_options(::google::protobuf::MessageOptions* value) { |
13546 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
13547 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13548 | 0 | if (message_arena == nullptr) { |
13549 | 0 | delete (_impl_.options_); |
13550 | 0 | } |
13551 | 0 |
|
13552 | 0 | if (value != nullptr) { |
13553 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
13554 | 0 | if (message_arena != submessage_arena) { |
13555 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
13556 | 0 | } |
13557 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13558 | 0 | } else { |
13559 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13560 | 0 | } |
13561 | 0 |
|
13562 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::MessageOptions*>(value); |
13563 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options) |
13564 | 0 | } |
13565 | | |
13566 | | // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
13567 | 0 | inline int DescriptorProto::_internal_reserved_range_size() const { |
13568 | 0 | return _internal_reserved_range().size(); |
13569 | 0 | } |
13570 | 0 | inline int DescriptorProto::reserved_range_size() const { |
13571 | 0 | return _internal_reserved_range_size(); |
13572 | 0 | } |
13573 | 0 | inline void DescriptorProto::clear_reserved_range() { |
13574 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13575 | 0 | _impl_.reserved_range_.Clear(); |
13576 | 0 | } |
13577 | | inline ::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::mutable_reserved_range(int index) |
13578 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13579 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_range) |
13580 | 0 | return _internal_mutable_reserved_range()->Mutable(index); |
13581 | 0 | } |
13582 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>* DescriptorProto::mutable_reserved_range() |
13583 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13584 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_range) |
13585 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13586 | 0 | return _internal_mutable_reserved_range(); |
13587 | 0 | } |
13588 | | inline const ::google::protobuf::DescriptorProto_ReservedRange& DescriptorProto::reserved_range(int index) const |
13589 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13590 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_range) |
13591 | 0 | return _internal_reserved_range().Get(index); |
13592 | 0 | } |
13593 | 0 | inline ::google::protobuf::DescriptorProto_ReservedRange* DescriptorProto::add_reserved_range() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13594 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13595 | 0 | ::google::protobuf::DescriptorProto_ReservedRange* _add = _internal_mutable_reserved_range()->Add(); |
13596 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_range) |
13597 | 0 | return _add; |
13598 | 0 | } |
13599 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>& DescriptorProto::reserved_range() const |
13600 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13601 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_range) |
13602 | 0 | return _internal_reserved_range(); |
13603 | 0 | } |
13604 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>& |
13605 | 0 | DescriptorProto::_internal_reserved_range() const { |
13606 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13607 | 0 | return _impl_.reserved_range_; |
13608 | 0 | } |
13609 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>* |
13610 | 0 | DescriptorProto::_internal_mutable_reserved_range() { |
13611 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13612 | 0 | return &_impl_.reserved_range_; |
13613 | 0 | } |
13614 | | |
13615 | | // repeated string reserved_name = 10; |
13616 | 0 | inline int DescriptorProto::_internal_reserved_name_size() const { |
13617 | 0 | return _internal_reserved_name().size(); |
13618 | 0 | } |
13619 | 0 | inline int DescriptorProto::reserved_name_size() const { |
13620 | 0 | return _internal_reserved_name_size(); |
13621 | 0 | } |
13622 | 0 | inline void DescriptorProto::clear_reserved_name() { |
13623 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13624 | 0 | _impl_.reserved_name_.Clear(); |
13625 | 0 | } |
13626 | 0 | inline std::string* DescriptorProto::add_reserved_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13627 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13628 | 0 | std::string* _s = _internal_mutable_reserved_name()->Add(); |
13629 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name) |
13630 | 0 | return _s; |
13631 | 0 | } |
13632 | | inline const std::string& DescriptorProto::reserved_name(int index) const |
13633 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13634 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name) |
13635 | 0 | return _internal_reserved_name().Get(index); |
13636 | 0 | } |
13637 | | inline std::string* DescriptorProto::mutable_reserved_name(int index) |
13638 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13639 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name) |
13640 | 0 | return _internal_mutable_reserved_name()->Mutable(index); |
13641 | 0 | } |
13642 | | template <typename Arg_, typename... Args_> |
13643 | | inline void DescriptorProto::set_reserved_name(int index, Arg_&& value, Args_... args) { |
13644 | | ::google::protobuf::internal::AssignToString( |
13645 | | *_internal_mutable_reserved_name()->Mutable(index), |
13646 | | std::forward<Arg_>(value), args... ); |
13647 | | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name) |
13648 | | } |
13649 | | template <typename Arg_, typename... Args_> |
13650 | | inline void DescriptorProto::add_reserved_name(Arg_&& value, Args_... args) { |
13651 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
13652 | | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_reserved_name(), |
13653 | | std::forward<Arg_>(value), |
13654 | | args... ); |
13655 | | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name) |
13656 | | } |
13657 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
13658 | 0 | DescriptorProto::reserved_name() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13659 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name) |
13660 | 0 | return _internal_reserved_name(); |
13661 | 0 | } |
13662 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
13663 | 0 | DescriptorProto::mutable_reserved_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13664 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name) |
13665 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13666 | 0 | return _internal_mutable_reserved_name(); |
13667 | 0 | } |
13668 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
13669 | 0 | DescriptorProto::_internal_reserved_name() const { |
13670 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13671 | 0 | return _impl_.reserved_name_; |
13672 | 0 | } |
13673 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
13674 | 0 | DescriptorProto::_internal_mutable_reserved_name() { |
13675 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13676 | 0 | return &_impl_.reserved_name_; |
13677 | 0 | } |
13678 | | |
13679 | | // ------------------------------------------------------------------- |
13680 | | |
13681 | | // ExtensionRangeOptions_Declaration |
13682 | | |
13683 | | // optional int32 number = 1; |
13684 | 0 | inline bool ExtensionRangeOptions_Declaration::has_number() const { |
13685 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
13686 | 0 | return value; |
13687 | 0 | } |
13688 | 0 | inline void ExtensionRangeOptions_Declaration::clear_number() { |
13689 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13690 | 0 | _impl_.number_ = 0; |
13691 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
13692 | 0 | } |
13693 | 0 | inline ::int32_t ExtensionRangeOptions_Declaration::number() const { |
13694 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.Declaration.number) |
13695 | 0 | return _internal_number(); |
13696 | 0 | } |
13697 | 0 | inline void ExtensionRangeOptions_Declaration::set_number(::int32_t value) { |
13698 | 0 | _internal_set_number(value); |
13699 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
13700 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.Declaration.number) |
13701 | 0 | } |
13702 | 0 | inline ::int32_t ExtensionRangeOptions_Declaration::_internal_number() const { |
13703 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13704 | 0 | return _impl_.number_; |
13705 | 0 | } |
13706 | 0 | inline void ExtensionRangeOptions_Declaration::_internal_set_number(::int32_t value) { |
13707 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13708 | 0 | _impl_.number_ = value; |
13709 | 0 | } |
13710 | | |
13711 | | // optional string full_name = 2; |
13712 | 0 | inline bool ExtensionRangeOptions_Declaration::has_full_name() const { |
13713 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13714 | 0 | return value; |
13715 | 0 | } |
13716 | 0 | inline void ExtensionRangeOptions_Declaration::clear_full_name() { |
13717 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13718 | 0 | _impl_.full_name_.ClearToEmpty(); |
13719 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13720 | 0 | } |
13721 | | inline const std::string& ExtensionRangeOptions_Declaration::full_name() const |
13722 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13723 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.Declaration.full_name) |
13724 | 0 | return _internal_full_name(); |
13725 | 0 | } |
13726 | | template <typename Arg_, typename... Args_> |
13727 | | inline PROTOBUF_ALWAYS_INLINE void ExtensionRangeOptions_Declaration::set_full_name(Arg_&& arg, |
13728 | | Args_... args) { |
13729 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
13730 | | _impl_._has_bits_[0] |= 0x00000001u; |
13731 | | _impl_.full_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
13732 | | // @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.Declaration.full_name) |
13733 | | } |
13734 | 0 | inline std::string* ExtensionRangeOptions_Declaration::mutable_full_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13735 | 0 | std::string* _s = _internal_mutable_full_name(); |
13736 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.Declaration.full_name) |
13737 | 0 | return _s; |
13738 | 0 | } |
13739 | 0 | inline const std::string& ExtensionRangeOptions_Declaration::_internal_full_name() const { |
13740 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13741 | 0 | return _impl_.full_name_.Get(); |
13742 | 0 | } |
13743 | 0 | inline void ExtensionRangeOptions_Declaration::_internal_set_full_name(const std::string& value) { |
13744 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13745 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13746 | 0 | _impl_.full_name_.Set(value, GetArena()); |
13747 | 0 | } |
13748 | 0 | inline std::string* ExtensionRangeOptions_Declaration::_internal_mutable_full_name() { |
13749 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13750 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13751 | 0 | return _impl_.full_name_.Mutable( GetArena()); |
13752 | 0 | } |
13753 | 0 | inline std::string* ExtensionRangeOptions_Declaration::release_full_name() { |
13754 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13755 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ExtensionRangeOptions.Declaration.full_name) |
13756 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
13757 | 0 | return nullptr; |
13758 | 0 | } |
13759 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13760 | 0 | auto* released = _impl_.full_name_.Release(); |
13761 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
13762 | 0 | _impl_.full_name_.Set("", GetArena()); |
13763 | 0 | } |
13764 | 0 | return released; |
13765 | 0 | } |
13766 | 0 | inline void ExtensionRangeOptions_Declaration::set_allocated_full_name(std::string* value) { |
13767 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13768 | 0 | if (value != nullptr) { |
13769 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13770 | 0 | } else { |
13771 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13772 | 0 | } |
13773 | 0 | _impl_.full_name_.SetAllocated(value, GetArena()); |
13774 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.full_name_.IsDefault()) { |
13775 | 0 | _impl_.full_name_.Set("", GetArena()); |
13776 | 0 | } |
13777 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ExtensionRangeOptions.Declaration.full_name) |
13778 | 0 | } |
13779 | | |
13780 | | // optional string type = 3; |
13781 | 0 | inline bool ExtensionRangeOptions_Declaration::has_type() const { |
13782 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
13783 | 0 | return value; |
13784 | 0 | } |
13785 | 0 | inline void ExtensionRangeOptions_Declaration::clear_type() { |
13786 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13787 | 0 | _impl_.type_.ClearToEmpty(); |
13788 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13789 | 0 | } |
13790 | | inline const std::string& ExtensionRangeOptions_Declaration::type() const |
13791 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13792 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.Declaration.type) |
13793 | 0 | return _internal_type(); |
13794 | 0 | } |
13795 | | template <typename Arg_, typename... Args_> |
13796 | | inline PROTOBUF_ALWAYS_INLINE void ExtensionRangeOptions_Declaration::set_type(Arg_&& arg, |
13797 | | Args_... args) { |
13798 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
13799 | | _impl_._has_bits_[0] |= 0x00000002u; |
13800 | | _impl_.type_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
13801 | | // @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.Declaration.type) |
13802 | | } |
13803 | 0 | inline std::string* ExtensionRangeOptions_Declaration::mutable_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13804 | 0 | std::string* _s = _internal_mutable_type(); |
13805 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.Declaration.type) |
13806 | 0 | return _s; |
13807 | 0 | } |
13808 | 0 | inline const std::string& ExtensionRangeOptions_Declaration::_internal_type() const { |
13809 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13810 | 0 | return _impl_.type_.Get(); |
13811 | 0 | } |
13812 | 0 | inline void ExtensionRangeOptions_Declaration::_internal_set_type(const std::string& value) { |
13813 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13814 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13815 | 0 | _impl_.type_.Set(value, GetArena()); |
13816 | 0 | } |
13817 | 0 | inline std::string* ExtensionRangeOptions_Declaration::_internal_mutable_type() { |
13818 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13819 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13820 | 0 | return _impl_.type_.Mutable( GetArena()); |
13821 | 0 | } |
13822 | 0 | inline std::string* ExtensionRangeOptions_Declaration::release_type() { |
13823 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13824 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ExtensionRangeOptions.Declaration.type) |
13825 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
13826 | 0 | return nullptr; |
13827 | 0 | } |
13828 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13829 | 0 | auto* released = _impl_.type_.Release(); |
13830 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
13831 | 0 | _impl_.type_.Set("", GetArena()); |
13832 | 0 | } |
13833 | 0 | return released; |
13834 | 0 | } |
13835 | 0 | inline void ExtensionRangeOptions_Declaration::set_allocated_type(std::string* value) { |
13836 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13837 | 0 | if (value != nullptr) { |
13838 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13839 | 0 | } else { |
13840 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13841 | 0 | } |
13842 | 0 | _impl_.type_.SetAllocated(value, GetArena()); |
13843 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.type_.IsDefault()) { |
13844 | 0 | _impl_.type_.Set("", GetArena()); |
13845 | 0 | } |
13846 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ExtensionRangeOptions.Declaration.type) |
13847 | 0 | } |
13848 | | |
13849 | | // optional bool reserved = 5; |
13850 | 0 | inline bool ExtensionRangeOptions_Declaration::has_reserved() const { |
13851 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
13852 | 0 | return value; |
13853 | 0 | } |
13854 | 0 | inline void ExtensionRangeOptions_Declaration::clear_reserved() { |
13855 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13856 | 0 | _impl_.reserved_ = false; |
13857 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
13858 | 0 | } |
13859 | 0 | inline bool ExtensionRangeOptions_Declaration::reserved() const { |
13860 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.Declaration.reserved) |
13861 | 0 | return _internal_reserved(); |
13862 | 0 | } |
13863 | 0 | inline void ExtensionRangeOptions_Declaration::set_reserved(bool value) { |
13864 | 0 | _internal_set_reserved(value); |
13865 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
13866 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.Declaration.reserved) |
13867 | 0 | } |
13868 | 0 | inline bool ExtensionRangeOptions_Declaration::_internal_reserved() const { |
13869 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13870 | 0 | return _impl_.reserved_; |
13871 | 0 | } |
13872 | 0 | inline void ExtensionRangeOptions_Declaration::_internal_set_reserved(bool value) { |
13873 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13874 | 0 | _impl_.reserved_ = value; |
13875 | 0 | } |
13876 | | |
13877 | | // optional bool repeated = 6; |
13878 | 0 | inline bool ExtensionRangeOptions_Declaration::has_repeated() const { |
13879 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
13880 | 0 | return value; |
13881 | 0 | } |
13882 | 0 | inline void ExtensionRangeOptions_Declaration::clear_repeated() { |
13883 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13884 | 0 | _impl_.repeated_ = false; |
13885 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
13886 | 0 | } |
13887 | 0 | inline bool ExtensionRangeOptions_Declaration::repeated() const { |
13888 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.Declaration.repeated) |
13889 | 0 | return _internal_repeated(); |
13890 | 0 | } |
13891 | 0 | inline void ExtensionRangeOptions_Declaration::set_repeated(bool value) { |
13892 | 0 | _internal_set_repeated(value); |
13893 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
13894 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.Declaration.repeated) |
13895 | 0 | } |
13896 | 0 | inline bool ExtensionRangeOptions_Declaration::_internal_repeated() const { |
13897 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13898 | 0 | return _impl_.repeated_; |
13899 | 0 | } |
13900 | 0 | inline void ExtensionRangeOptions_Declaration::_internal_set_repeated(bool value) { |
13901 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13902 | 0 | _impl_.repeated_ = value; |
13903 | 0 | } |
13904 | | |
13905 | | // ------------------------------------------------------------------- |
13906 | | |
13907 | | // ExtensionRangeOptions |
13908 | | |
13909 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
13910 | 0 | inline int ExtensionRangeOptions::_internal_uninterpreted_option_size() const { |
13911 | 0 | return _internal_uninterpreted_option().size(); |
13912 | 0 | } |
13913 | 0 | inline int ExtensionRangeOptions::uninterpreted_option_size() const { |
13914 | 0 | return _internal_uninterpreted_option_size(); |
13915 | 0 | } |
13916 | 0 | inline void ExtensionRangeOptions::clear_uninterpreted_option() { |
13917 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13918 | 0 | _impl_.uninterpreted_option_.Clear(); |
13919 | 0 | } |
13920 | | inline ::google::protobuf::UninterpretedOption* ExtensionRangeOptions::mutable_uninterpreted_option(int index) |
13921 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13922 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
13923 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
13924 | 0 | } |
13925 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* ExtensionRangeOptions::mutable_uninterpreted_option() |
13926 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13927 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
13928 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13929 | 0 | return _internal_mutable_uninterpreted_option(); |
13930 | 0 | } |
13931 | | inline const ::google::protobuf::UninterpretedOption& ExtensionRangeOptions::uninterpreted_option(int index) const |
13932 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13933 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
13934 | 0 | return _internal_uninterpreted_option().Get(index); |
13935 | 0 | } |
13936 | 0 | inline ::google::protobuf::UninterpretedOption* ExtensionRangeOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13937 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13938 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
13939 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
13940 | 0 | return _add; |
13941 | 0 | } |
13942 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& ExtensionRangeOptions::uninterpreted_option() const |
13943 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13944 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
13945 | 0 | return _internal_uninterpreted_option(); |
13946 | 0 | } |
13947 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
13948 | 0 | ExtensionRangeOptions::_internal_uninterpreted_option() const { |
13949 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13950 | 0 | return _impl_.uninterpreted_option_; |
13951 | 0 | } |
13952 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
13953 | 0 | ExtensionRangeOptions::_internal_mutable_uninterpreted_option() { |
13954 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13955 | 0 | return &_impl_.uninterpreted_option_; |
13956 | 0 | } |
13957 | | |
13958 | | // repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE]; |
13959 | 0 | inline int ExtensionRangeOptions::_internal_declaration_size() const { |
13960 | 0 | return _internal_declaration().size(); |
13961 | 0 | } |
13962 | 0 | inline int ExtensionRangeOptions::declaration_size() const { |
13963 | 0 | return _internal_declaration_size(); |
13964 | 0 | } |
13965 | 0 | inline void ExtensionRangeOptions::clear_declaration() { |
13966 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13967 | 0 | _impl_.declaration_.Clear(); |
13968 | 0 | } |
13969 | | inline ::google::protobuf::ExtensionRangeOptions_Declaration* ExtensionRangeOptions::mutable_declaration(int index) |
13970 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13971 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.declaration) |
13972 | 0 | return _internal_mutable_declaration()->Mutable(index); |
13973 | 0 | } |
13974 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>* ExtensionRangeOptions::mutable_declaration() |
13975 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13976 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ExtensionRangeOptions.declaration) |
13977 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13978 | 0 | return _internal_mutable_declaration(); |
13979 | 0 | } |
13980 | | inline const ::google::protobuf::ExtensionRangeOptions_Declaration& ExtensionRangeOptions::declaration(int index) const |
13981 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13982 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.declaration) |
13983 | 0 | return _internal_declaration().Get(index); |
13984 | 0 | } |
13985 | 0 | inline ::google::protobuf::ExtensionRangeOptions_Declaration* ExtensionRangeOptions::add_declaration() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13986 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13987 | 0 | ::google::protobuf::ExtensionRangeOptions_Declaration* _add = _internal_mutable_declaration()->Add(); |
13988 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.ExtensionRangeOptions.declaration) |
13989 | 0 | return _add; |
13990 | 0 | } |
13991 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>& ExtensionRangeOptions::declaration() const |
13992 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13993 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.ExtensionRangeOptions.declaration) |
13994 | 0 | return _internal_declaration(); |
13995 | 0 | } |
13996 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>& |
13997 | 0 | ExtensionRangeOptions::_internal_declaration() const { |
13998 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13999 | 0 | return _impl_.declaration_; |
14000 | 0 | } |
14001 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>* |
14002 | 0 | ExtensionRangeOptions::_internal_mutable_declaration() { |
14003 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14004 | 0 | return &_impl_.declaration_; |
14005 | 0 | } |
14006 | | |
14007 | | // optional .google.protobuf.FeatureSet features = 50; |
14008 | 0 | inline bool ExtensionRangeOptions::has_features() const { |
14009 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
14010 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
14011 | 0 | return value; |
14012 | 0 | } |
14013 | 0 | inline void ExtensionRangeOptions::clear_features() { |
14014 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14015 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
14016 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14017 | 0 | } |
14018 | 0 | inline const ::google::protobuf::FeatureSet& ExtensionRangeOptions::_internal_features() const { |
14019 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14020 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
14021 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
14022 | 0 | } |
14023 | 0 | inline const ::google::protobuf::FeatureSet& ExtensionRangeOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14024 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.features) |
14025 | 0 | return _internal_features(); |
14026 | 0 | } |
14027 | 0 | inline void ExtensionRangeOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
14028 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14029 | 0 | if (GetArena() == nullptr) { |
14030 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
14031 | 0 | } |
14032 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
14033 | 0 | if (value != nullptr) { |
14034 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14035 | 0 | } else { |
14036 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14037 | 0 | } |
14038 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.ExtensionRangeOptions.features) |
14039 | 0 | } |
14040 | 0 | inline ::google::protobuf::FeatureSet* ExtensionRangeOptions::release_features() { |
14041 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14042 | 0 |
|
14043 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14044 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
14045 | 0 | _impl_.features_ = nullptr; |
14046 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
14047 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
14048 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
14049 | 0 | if (GetArena() == nullptr) { |
14050 | 0 | delete old; |
14051 | 0 | } |
14052 | 0 | } else { |
14053 | 0 | if (GetArena() != nullptr) { |
14054 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
14055 | 0 | } |
14056 | 0 | } |
14057 | 0 | return released; |
14058 | 0 | } |
14059 | 0 | inline ::google::protobuf::FeatureSet* ExtensionRangeOptions::unsafe_arena_release_features() { |
14060 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14061 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ExtensionRangeOptions.features) |
14062 | 0 |
|
14063 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14064 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
14065 | 0 | _impl_.features_ = nullptr; |
14066 | 0 | return temp; |
14067 | 0 | } |
14068 | 0 | inline ::google::protobuf::FeatureSet* ExtensionRangeOptions::_internal_mutable_features() { |
14069 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14070 | 0 | if (_impl_.features_ == nullptr) { |
14071 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
14072 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
14073 | 0 | } |
14074 | 0 | return _impl_.features_; |
14075 | 0 | } |
14076 | 0 | inline ::google::protobuf::FeatureSet* ExtensionRangeOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14077 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14078 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
14079 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.features) |
14080 | 0 | return _msg; |
14081 | 0 | } |
14082 | 0 | inline void ExtensionRangeOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
14083 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
14084 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14085 | 0 | if (message_arena == nullptr) { |
14086 | 0 | delete (_impl_.features_); |
14087 | 0 | } |
14088 | 0 |
|
14089 | 0 | if (value != nullptr) { |
14090 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
14091 | 0 | if (message_arena != submessage_arena) { |
14092 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
14093 | 0 | } |
14094 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14095 | 0 | } else { |
14096 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14097 | 0 | } |
14098 | 0 |
|
14099 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
14100 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ExtensionRangeOptions.features) |
14101 | 0 | } |
14102 | | |
14103 | | // optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE]; |
14104 | 0 | inline bool ExtensionRangeOptions::has_verification() const { |
14105 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
14106 | 0 | return value; |
14107 | 0 | } |
14108 | 0 | inline void ExtensionRangeOptions::clear_verification() { |
14109 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14110 | 0 | _impl_.verification_ = 1; |
14111 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14112 | 0 | } |
14113 | 0 | inline ::google::protobuf::ExtensionRangeOptions_VerificationState ExtensionRangeOptions::verification() const { |
14114 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.verification) |
14115 | 0 | return _internal_verification(); |
14116 | 0 | } |
14117 | 0 | inline void ExtensionRangeOptions::set_verification(::google::protobuf::ExtensionRangeOptions_VerificationState value) { |
14118 | 0 | _internal_set_verification(value); |
14119 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14120 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.ExtensionRangeOptions.verification) |
14121 | 0 | } |
14122 | 0 | inline ::google::protobuf::ExtensionRangeOptions_VerificationState ExtensionRangeOptions::_internal_verification() const { |
14123 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14124 | 0 | return static_cast<::google::protobuf::ExtensionRangeOptions_VerificationState>(_impl_.verification_); |
14125 | 0 | } |
14126 | 0 | inline void ExtensionRangeOptions::_internal_set_verification(::google::protobuf::ExtensionRangeOptions_VerificationState value) { |
14127 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14128 | 0 | assert(::google::protobuf::ExtensionRangeOptions_VerificationState_IsValid(value)); |
14129 | 0 | _impl_.verification_ = value; |
14130 | 0 | } |
14131 | | |
14132 | | // ------------------------------------------------------------------- |
14133 | | |
14134 | | // FieldDescriptorProto |
14135 | | |
14136 | | // optional string name = 1; |
14137 | 0 | inline bool FieldDescriptorProto::has_name() const { |
14138 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
14139 | 0 | return value; |
14140 | 0 | } |
14141 | 0 | inline void FieldDescriptorProto::clear_name() { |
14142 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14143 | 0 | _impl_.name_.ClearToEmpty(); |
14144 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14145 | 0 | } |
14146 | | inline const std::string& FieldDescriptorProto::name() const |
14147 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14148 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name) |
14149 | 0 | return _internal_name(); |
14150 | 0 | } |
14151 | | template <typename Arg_, typename... Args_> |
14152 | | inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_name(Arg_&& arg, |
14153 | | Args_... args) { |
14154 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
14155 | | _impl_._has_bits_[0] |= 0x00000001u; |
14156 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
14157 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name) |
14158 | | } |
14159 | 0 | inline std::string* FieldDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14160 | 0 | std::string* _s = _internal_mutable_name(); |
14161 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name) |
14162 | 0 | return _s; |
14163 | 0 | } |
14164 | 0 | inline const std::string& FieldDescriptorProto::_internal_name() const { |
14165 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14166 | 0 | return _impl_.name_.Get(); |
14167 | 0 | } |
14168 | 0 | inline void FieldDescriptorProto::_internal_set_name(const std::string& value) { |
14169 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14170 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14171 | 0 | _impl_.name_.Set(value, GetArena()); |
14172 | 0 | } |
14173 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_name() { |
14174 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14175 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14176 | 0 | return _impl_.name_.Mutable( GetArena()); |
14177 | 0 | } |
14178 | 0 | inline std::string* FieldDescriptorProto::release_name() { |
14179 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14180 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.name) |
14181 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
14182 | 0 | return nullptr; |
14183 | 0 | } |
14184 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14185 | 0 | auto* released = _impl_.name_.Release(); |
14186 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
14187 | 0 | _impl_.name_.Set("", GetArena()); |
14188 | 0 | } |
14189 | 0 | return released; |
14190 | 0 | } |
14191 | 0 | inline void FieldDescriptorProto::set_allocated_name(std::string* value) { |
14192 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14193 | 0 | if (value != nullptr) { |
14194 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14195 | 0 | } else { |
14196 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14197 | 0 | } |
14198 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
14199 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
14200 | 0 | _impl_.name_.Set("", GetArena()); |
14201 | 0 | } |
14202 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name) |
14203 | 0 | } |
14204 | | |
14205 | | // optional int32 number = 3; |
14206 | 0 | inline bool FieldDescriptorProto::has_number() const { |
14207 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
14208 | 0 | return value; |
14209 | 0 | } |
14210 | 0 | inline void FieldDescriptorProto::clear_number() { |
14211 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14212 | 0 | _impl_.number_ = 0; |
14213 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
14214 | 0 | } |
14215 | 0 | inline ::int32_t FieldDescriptorProto::number() const { |
14216 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number) |
14217 | 0 | return _internal_number(); |
14218 | 0 | } |
14219 | 0 | inline void FieldDescriptorProto::set_number(::int32_t value) { |
14220 | 0 | _internal_set_number(value); |
14221 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
14222 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number) |
14223 | 0 | } |
14224 | 0 | inline ::int32_t FieldDescriptorProto::_internal_number() const { |
14225 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14226 | 0 | return _impl_.number_; |
14227 | 0 | } |
14228 | 0 | inline void FieldDescriptorProto::_internal_set_number(::int32_t value) { |
14229 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14230 | 0 | _impl_.number_ = value; |
14231 | 0 | } |
14232 | | |
14233 | | // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
14234 | 0 | inline bool FieldDescriptorProto::has_label() const { |
14235 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; |
14236 | 0 | return value; |
14237 | 0 | } |
14238 | 0 | inline void FieldDescriptorProto::clear_label() { |
14239 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14240 | 0 | _impl_.label_ = 1; |
14241 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
14242 | 0 | } |
14243 | 0 | inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::label() const { |
14244 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label) |
14245 | 0 | return _internal_label(); |
14246 | 0 | } |
14247 | 0 | inline void FieldDescriptorProto::set_label(::google::protobuf::FieldDescriptorProto_Label value) { |
14248 | 0 | _internal_set_label(value); |
14249 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
14250 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label) |
14251 | 0 | } |
14252 | 0 | inline ::google::protobuf::FieldDescriptorProto_Label FieldDescriptorProto::_internal_label() const { |
14253 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14254 | 0 | return static_cast<::google::protobuf::FieldDescriptorProto_Label>(_impl_.label_); |
14255 | 0 | } |
14256 | 0 | inline void FieldDescriptorProto::_internal_set_label(::google::protobuf::FieldDescriptorProto_Label value) { |
14257 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14258 | 0 | assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value)); |
14259 | 0 | _impl_.label_ = value; |
14260 | 0 | } |
14261 | | |
14262 | | // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
14263 | 0 | inline bool FieldDescriptorProto::has_type() const { |
14264 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; |
14265 | 0 | return value; |
14266 | 0 | } |
14267 | 0 | inline void FieldDescriptorProto::clear_type() { |
14268 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14269 | 0 | _impl_.type_ = 1; |
14270 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
14271 | 0 | } |
14272 | 0 | inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::type() const { |
14273 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type) |
14274 | 0 | return _internal_type(); |
14275 | 0 | } |
14276 | 0 | inline void FieldDescriptorProto::set_type(::google::protobuf::FieldDescriptorProto_Type value) { |
14277 | 0 | _internal_set_type(value); |
14278 | 0 | _impl_._has_bits_[0] |= 0x00000400u; |
14279 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type) |
14280 | 0 | } |
14281 | 0 | inline ::google::protobuf::FieldDescriptorProto_Type FieldDescriptorProto::_internal_type() const { |
14282 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14283 | 0 | return static_cast<::google::protobuf::FieldDescriptorProto_Type>(_impl_.type_); |
14284 | 0 | } |
14285 | 0 | inline void FieldDescriptorProto::_internal_set_type(::google::protobuf::FieldDescriptorProto_Type value) { |
14286 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14287 | 0 | assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value)); |
14288 | 0 | _impl_.type_ = value; |
14289 | 0 | } |
14290 | | |
14291 | | // optional string type_name = 6; |
14292 | 0 | inline bool FieldDescriptorProto::has_type_name() const { |
14293 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
14294 | 0 | return value; |
14295 | 0 | } |
14296 | 0 | inline void FieldDescriptorProto::clear_type_name() { |
14297 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14298 | 0 | _impl_.type_name_.ClearToEmpty(); |
14299 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
14300 | 0 | } |
14301 | | inline const std::string& FieldDescriptorProto::type_name() const |
14302 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14303 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name) |
14304 | 0 | return _internal_type_name(); |
14305 | 0 | } |
14306 | | template <typename Arg_, typename... Args_> |
14307 | | inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_type_name(Arg_&& arg, |
14308 | | Args_... args) { |
14309 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
14310 | | _impl_._has_bits_[0] |= 0x00000004u; |
14311 | | _impl_.type_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
14312 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name) |
14313 | | } |
14314 | 0 | inline std::string* FieldDescriptorProto::mutable_type_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14315 | 0 | std::string* _s = _internal_mutable_type_name(); |
14316 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name) |
14317 | 0 | return _s; |
14318 | 0 | } |
14319 | 0 | inline const std::string& FieldDescriptorProto::_internal_type_name() const { |
14320 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14321 | 0 | return _impl_.type_name_.Get(); |
14322 | 0 | } |
14323 | 0 | inline void FieldDescriptorProto::_internal_set_type_name(const std::string& value) { |
14324 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14325 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
14326 | 0 | _impl_.type_name_.Set(value, GetArena()); |
14327 | 0 | } |
14328 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_type_name() { |
14329 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14330 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
14331 | 0 | return _impl_.type_name_.Mutable( GetArena()); |
14332 | 0 | } |
14333 | 0 | inline std::string* FieldDescriptorProto::release_type_name() { |
14334 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14335 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.type_name) |
14336 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
14337 | 0 | return nullptr; |
14338 | 0 | } |
14339 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
14340 | 0 | auto* released = _impl_.type_name_.Release(); |
14341 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
14342 | 0 | _impl_.type_name_.Set("", GetArena()); |
14343 | 0 | } |
14344 | 0 | return released; |
14345 | 0 | } |
14346 | 0 | inline void FieldDescriptorProto::set_allocated_type_name(std::string* value) { |
14347 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14348 | 0 | if (value != nullptr) { |
14349 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
14350 | 0 | } else { |
14351 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
14352 | 0 | } |
14353 | 0 | _impl_.type_name_.SetAllocated(value, GetArena()); |
14354 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.type_name_.IsDefault()) { |
14355 | 0 | _impl_.type_name_.Set("", GetArena()); |
14356 | 0 | } |
14357 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name) |
14358 | 0 | } |
14359 | | |
14360 | | // optional string extendee = 2; |
14361 | 0 | inline bool FieldDescriptorProto::has_extendee() const { |
14362 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
14363 | 0 | return value; |
14364 | 0 | } |
14365 | 0 | inline void FieldDescriptorProto::clear_extendee() { |
14366 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14367 | 0 | _impl_.extendee_.ClearToEmpty(); |
14368 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14369 | 0 | } |
14370 | | inline const std::string& FieldDescriptorProto::extendee() const |
14371 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14372 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee) |
14373 | 0 | return _internal_extendee(); |
14374 | 0 | } |
14375 | | template <typename Arg_, typename... Args_> |
14376 | | inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_extendee(Arg_&& arg, |
14377 | | Args_... args) { |
14378 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
14379 | | _impl_._has_bits_[0] |= 0x00000002u; |
14380 | | _impl_.extendee_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
14381 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee) |
14382 | | } |
14383 | 0 | inline std::string* FieldDescriptorProto::mutable_extendee() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14384 | 0 | std::string* _s = _internal_mutable_extendee(); |
14385 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee) |
14386 | 0 | return _s; |
14387 | 0 | } |
14388 | 0 | inline const std::string& FieldDescriptorProto::_internal_extendee() const { |
14389 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14390 | 0 | return _impl_.extendee_.Get(); |
14391 | 0 | } |
14392 | 0 | inline void FieldDescriptorProto::_internal_set_extendee(const std::string& value) { |
14393 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14394 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14395 | 0 | _impl_.extendee_.Set(value, GetArena()); |
14396 | 0 | } |
14397 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_extendee() { |
14398 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14399 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14400 | 0 | return _impl_.extendee_.Mutable( GetArena()); |
14401 | 0 | } |
14402 | 0 | inline std::string* FieldDescriptorProto::release_extendee() { |
14403 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14404 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.extendee) |
14405 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
14406 | 0 | return nullptr; |
14407 | 0 | } |
14408 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14409 | 0 | auto* released = _impl_.extendee_.Release(); |
14410 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
14411 | 0 | _impl_.extendee_.Set("", GetArena()); |
14412 | 0 | } |
14413 | 0 | return released; |
14414 | 0 | } |
14415 | 0 | inline void FieldDescriptorProto::set_allocated_extendee(std::string* value) { |
14416 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14417 | 0 | if (value != nullptr) { |
14418 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14419 | 0 | } else { |
14420 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14421 | 0 | } |
14422 | 0 | _impl_.extendee_.SetAllocated(value, GetArena()); |
14423 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.extendee_.IsDefault()) { |
14424 | 0 | _impl_.extendee_.Set("", GetArena()); |
14425 | 0 | } |
14426 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee) |
14427 | 0 | } |
14428 | | |
14429 | | // optional string default_value = 7; |
14430 | 0 | inline bool FieldDescriptorProto::has_default_value() const { |
14431 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
14432 | 0 | return value; |
14433 | 0 | } |
14434 | 0 | inline void FieldDescriptorProto::clear_default_value() { |
14435 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14436 | 0 | _impl_.default_value_.ClearToEmpty(); |
14437 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
14438 | 0 | } |
14439 | | inline const std::string& FieldDescriptorProto::default_value() const |
14440 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14441 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value) |
14442 | 0 | return _internal_default_value(); |
14443 | 0 | } |
14444 | | template <typename Arg_, typename... Args_> |
14445 | | inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_default_value(Arg_&& arg, |
14446 | | Args_... args) { |
14447 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
14448 | | _impl_._has_bits_[0] |= 0x00000008u; |
14449 | | _impl_.default_value_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
14450 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value) |
14451 | | } |
14452 | 0 | inline std::string* FieldDescriptorProto::mutable_default_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14453 | 0 | std::string* _s = _internal_mutable_default_value(); |
14454 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value) |
14455 | 0 | return _s; |
14456 | 0 | } |
14457 | 0 | inline const std::string& FieldDescriptorProto::_internal_default_value() const { |
14458 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14459 | 0 | return _impl_.default_value_.Get(); |
14460 | 0 | } |
14461 | 0 | inline void FieldDescriptorProto::_internal_set_default_value(const std::string& value) { |
14462 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14463 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
14464 | 0 | _impl_.default_value_.Set(value, GetArena()); |
14465 | 0 | } |
14466 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_default_value() { |
14467 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14468 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
14469 | 0 | return _impl_.default_value_.Mutable( GetArena()); |
14470 | 0 | } |
14471 | 0 | inline std::string* FieldDescriptorProto::release_default_value() { |
14472 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14473 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.default_value) |
14474 | 0 | if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { |
14475 | 0 | return nullptr; |
14476 | 0 | } |
14477 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
14478 | 0 | auto* released = _impl_.default_value_.Release(); |
14479 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
14480 | 0 | _impl_.default_value_.Set("", GetArena()); |
14481 | 0 | } |
14482 | 0 | return released; |
14483 | 0 | } |
14484 | 0 | inline void FieldDescriptorProto::set_allocated_default_value(std::string* value) { |
14485 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14486 | 0 | if (value != nullptr) { |
14487 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
14488 | 0 | } else { |
14489 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
14490 | 0 | } |
14491 | 0 | _impl_.default_value_.SetAllocated(value, GetArena()); |
14492 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.default_value_.IsDefault()) { |
14493 | 0 | _impl_.default_value_.Set("", GetArena()); |
14494 | 0 | } |
14495 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.default_value) |
14496 | 0 | } |
14497 | | |
14498 | | // optional int32 oneof_index = 9; |
14499 | 0 | inline bool FieldDescriptorProto::has_oneof_index() const { |
14500 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; |
14501 | 0 | return value; |
14502 | 0 | } |
14503 | 0 | inline void FieldDescriptorProto::clear_oneof_index() { |
14504 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14505 | 0 | _impl_.oneof_index_ = 0; |
14506 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
14507 | 0 | } |
14508 | 0 | inline ::int32_t FieldDescriptorProto::oneof_index() const { |
14509 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.oneof_index) |
14510 | 0 | return _internal_oneof_index(); |
14511 | 0 | } |
14512 | 0 | inline void FieldDescriptorProto::set_oneof_index(::int32_t value) { |
14513 | 0 | _internal_set_oneof_index(value); |
14514 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
14515 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.oneof_index) |
14516 | 0 | } |
14517 | 0 | inline ::int32_t FieldDescriptorProto::_internal_oneof_index() const { |
14518 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14519 | 0 | return _impl_.oneof_index_; |
14520 | 0 | } |
14521 | 0 | inline void FieldDescriptorProto::_internal_set_oneof_index(::int32_t value) { |
14522 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14523 | 0 | _impl_.oneof_index_ = value; |
14524 | 0 | } |
14525 | | |
14526 | | // optional string json_name = 10; |
14527 | 0 | inline bool FieldDescriptorProto::has_json_name() const { |
14528 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
14529 | 0 | return value; |
14530 | 0 | } |
14531 | 0 | inline void FieldDescriptorProto::clear_json_name() { |
14532 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14533 | 0 | _impl_.json_name_.ClearToEmpty(); |
14534 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
14535 | 0 | } |
14536 | | inline const std::string& FieldDescriptorProto::json_name() const |
14537 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14538 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.json_name) |
14539 | 0 | return _internal_json_name(); |
14540 | 0 | } |
14541 | | template <typename Arg_, typename... Args_> |
14542 | | inline PROTOBUF_ALWAYS_INLINE void FieldDescriptorProto::set_json_name(Arg_&& arg, |
14543 | | Args_... args) { |
14544 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
14545 | | _impl_._has_bits_[0] |= 0x00000010u; |
14546 | | _impl_.json_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
14547 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.json_name) |
14548 | | } |
14549 | 0 | inline std::string* FieldDescriptorProto::mutable_json_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14550 | 0 | std::string* _s = _internal_mutable_json_name(); |
14551 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.json_name) |
14552 | 0 | return _s; |
14553 | 0 | } |
14554 | 0 | inline const std::string& FieldDescriptorProto::_internal_json_name() const { |
14555 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14556 | 0 | return _impl_.json_name_.Get(); |
14557 | 0 | } |
14558 | 0 | inline void FieldDescriptorProto::_internal_set_json_name(const std::string& value) { |
14559 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14560 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
14561 | 0 | _impl_.json_name_.Set(value, GetArena()); |
14562 | 0 | } |
14563 | 0 | inline std::string* FieldDescriptorProto::_internal_mutable_json_name() { |
14564 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14565 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
14566 | 0 | return _impl_.json_name_.Mutable( GetArena()); |
14567 | 0 | } |
14568 | 0 | inline std::string* FieldDescriptorProto::release_json_name() { |
14569 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14570 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.json_name) |
14571 | 0 | if ((_impl_._has_bits_[0] & 0x00000010u) == 0) { |
14572 | 0 | return nullptr; |
14573 | 0 | } |
14574 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
14575 | 0 | auto* released = _impl_.json_name_.Release(); |
14576 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
14577 | 0 | _impl_.json_name_.Set("", GetArena()); |
14578 | 0 | } |
14579 | 0 | return released; |
14580 | 0 | } |
14581 | 0 | inline void FieldDescriptorProto::set_allocated_json_name(std::string* value) { |
14582 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14583 | 0 | if (value != nullptr) { |
14584 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
14585 | 0 | } else { |
14586 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
14587 | 0 | } |
14588 | 0 | _impl_.json_name_.SetAllocated(value, GetArena()); |
14589 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.json_name_.IsDefault()) { |
14590 | 0 | _impl_.json_name_.Set("", GetArena()); |
14591 | 0 | } |
14592 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.json_name) |
14593 | 0 | } |
14594 | | |
14595 | | // optional .google.protobuf.FieldOptions options = 8; |
14596 | 0 | inline bool FieldDescriptorProto::has_options() const { |
14597 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
14598 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
14599 | 0 | return value; |
14600 | 0 | } |
14601 | 0 | inline void FieldDescriptorProto::clear_options() { |
14602 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14603 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
14604 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
14605 | 0 | } |
14606 | 0 | inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::_internal_options() const { |
14607 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14608 | 0 | const ::google::protobuf::FieldOptions* p = _impl_.options_; |
14609 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FieldOptions&>(::google::protobuf::_FieldOptions_default_instance_); |
14610 | 0 | } |
14611 | 0 | inline const ::google::protobuf::FieldOptions& FieldDescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14612 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.options) |
14613 | 0 | return _internal_options(); |
14614 | 0 | } |
14615 | 0 | inline void FieldDescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::FieldOptions* value) { |
14616 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14617 | 0 | if (GetArena() == nullptr) { |
14618 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
14619 | 0 | } |
14620 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::FieldOptions*>(value); |
14621 | 0 | if (value != nullptr) { |
14622 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
14623 | 0 | } else { |
14624 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
14625 | 0 | } |
14626 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldDescriptorProto.options) |
14627 | 0 | } |
14628 | 0 | inline ::google::protobuf::FieldOptions* FieldDescriptorProto::release_options() { |
14629 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14630 | 0 |
|
14631 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
14632 | 0 | ::google::protobuf::FieldOptions* released = _impl_.options_; |
14633 | 0 | _impl_.options_ = nullptr; |
14634 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
14635 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
14636 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
14637 | 0 | if (GetArena() == nullptr) { |
14638 | 0 | delete old; |
14639 | 0 | } |
14640 | 0 | } else { |
14641 | 0 | if (GetArena() != nullptr) { |
14642 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
14643 | 0 | } |
14644 | 0 | } |
14645 | 0 | return released; |
14646 | 0 | } |
14647 | 0 | inline ::google::protobuf::FieldOptions* FieldDescriptorProto::unsafe_arena_release_options() { |
14648 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14649 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.options) |
14650 | 0 |
|
14651 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
14652 | 0 | ::google::protobuf::FieldOptions* temp = _impl_.options_; |
14653 | 0 | _impl_.options_ = nullptr; |
14654 | 0 | return temp; |
14655 | 0 | } |
14656 | 0 | inline ::google::protobuf::FieldOptions* FieldDescriptorProto::_internal_mutable_options() { |
14657 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14658 | 0 | if (_impl_.options_ == nullptr) { |
14659 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FieldOptions>(GetArena()); |
14660 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::FieldOptions*>(p); |
14661 | 0 | } |
14662 | 0 | return _impl_.options_; |
14663 | 0 | } |
14664 | 0 | inline ::google::protobuf::FieldOptions* FieldDescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14665 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
14666 | 0 | ::google::protobuf::FieldOptions* _msg = _internal_mutable_options(); |
14667 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.options) |
14668 | 0 | return _msg; |
14669 | 0 | } |
14670 | 0 | inline void FieldDescriptorProto::set_allocated_options(::google::protobuf::FieldOptions* value) { |
14671 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
14672 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14673 | 0 | if (message_arena == nullptr) { |
14674 | 0 | delete (_impl_.options_); |
14675 | 0 | } |
14676 | 0 |
|
14677 | 0 | if (value != nullptr) { |
14678 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
14679 | 0 | if (message_arena != submessage_arena) { |
14680 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
14681 | 0 | } |
14682 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
14683 | 0 | } else { |
14684 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
14685 | 0 | } |
14686 | 0 |
|
14687 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::FieldOptions*>(value); |
14688 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.options) |
14689 | 0 | } |
14690 | | |
14691 | | // optional bool proto3_optional = 17; |
14692 | 0 | inline bool FieldDescriptorProto::has_proto3_optional() const { |
14693 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; |
14694 | 0 | return value; |
14695 | 0 | } |
14696 | 0 | inline void FieldDescriptorProto::clear_proto3_optional() { |
14697 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14698 | 0 | _impl_.proto3_optional_ = false; |
14699 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
14700 | 0 | } |
14701 | 0 | inline bool FieldDescriptorProto::proto3_optional() const { |
14702 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.proto3_optional) |
14703 | 0 | return _internal_proto3_optional(); |
14704 | 0 | } |
14705 | 0 | inline void FieldDescriptorProto::set_proto3_optional(bool value) { |
14706 | 0 | _internal_set_proto3_optional(value); |
14707 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
14708 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.proto3_optional) |
14709 | 0 | } |
14710 | 0 | inline bool FieldDescriptorProto::_internal_proto3_optional() const { |
14711 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14712 | 0 | return _impl_.proto3_optional_; |
14713 | 0 | } |
14714 | 0 | inline void FieldDescriptorProto::_internal_set_proto3_optional(bool value) { |
14715 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14716 | 0 | _impl_.proto3_optional_ = value; |
14717 | 0 | } |
14718 | | |
14719 | | // ------------------------------------------------------------------- |
14720 | | |
14721 | | // OneofDescriptorProto |
14722 | | |
14723 | | // optional string name = 1; |
14724 | 0 | inline bool OneofDescriptorProto::has_name() const { |
14725 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
14726 | 0 | return value; |
14727 | 0 | } |
14728 | 0 | inline void OneofDescriptorProto::clear_name() { |
14729 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14730 | 0 | _impl_.name_.ClearToEmpty(); |
14731 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14732 | 0 | } |
14733 | | inline const std::string& OneofDescriptorProto::name() const |
14734 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14735 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name) |
14736 | 0 | return _internal_name(); |
14737 | 0 | } |
14738 | | template <typename Arg_, typename... Args_> |
14739 | | inline PROTOBUF_ALWAYS_INLINE void OneofDescriptorProto::set_name(Arg_&& arg, |
14740 | | Args_... args) { |
14741 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
14742 | | _impl_._has_bits_[0] |= 0x00000001u; |
14743 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
14744 | | // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name) |
14745 | | } |
14746 | 0 | inline std::string* OneofDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14747 | 0 | std::string* _s = _internal_mutable_name(); |
14748 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name) |
14749 | 0 | return _s; |
14750 | 0 | } |
14751 | 0 | inline const std::string& OneofDescriptorProto::_internal_name() const { |
14752 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14753 | 0 | return _impl_.name_.Get(); |
14754 | 0 | } |
14755 | 0 | inline void OneofDescriptorProto::_internal_set_name(const std::string& value) { |
14756 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14757 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14758 | 0 | _impl_.name_.Set(value, GetArena()); |
14759 | 0 | } |
14760 | 0 | inline std::string* OneofDescriptorProto::_internal_mutable_name() { |
14761 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14762 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14763 | 0 | return _impl_.name_.Mutable( GetArena()); |
14764 | 0 | } |
14765 | 0 | inline std::string* OneofDescriptorProto::release_name() { |
14766 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14767 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.name) |
14768 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
14769 | 0 | return nullptr; |
14770 | 0 | } |
14771 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14772 | 0 | auto* released = _impl_.name_.Release(); |
14773 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
14774 | 0 | _impl_.name_.Set("", GetArena()); |
14775 | 0 | } |
14776 | 0 | return released; |
14777 | 0 | } |
14778 | 0 | inline void OneofDescriptorProto::set_allocated_name(std::string* value) { |
14779 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14780 | 0 | if (value != nullptr) { |
14781 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14782 | 0 | } else { |
14783 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14784 | 0 | } |
14785 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
14786 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
14787 | 0 | _impl_.name_.Set("", GetArena()); |
14788 | 0 | } |
14789 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name) |
14790 | 0 | } |
14791 | | |
14792 | | // optional .google.protobuf.OneofOptions options = 2; |
14793 | 0 | inline bool OneofDescriptorProto::has_options() const { |
14794 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
14795 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
14796 | 0 | return value; |
14797 | 0 | } |
14798 | 0 | inline void OneofDescriptorProto::clear_options() { |
14799 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14800 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
14801 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14802 | 0 | } |
14803 | 0 | inline const ::google::protobuf::OneofOptions& OneofDescriptorProto::_internal_options() const { |
14804 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14805 | 0 | const ::google::protobuf::OneofOptions* p = _impl_.options_; |
14806 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::OneofOptions&>(::google::protobuf::_OneofOptions_default_instance_); |
14807 | 0 | } |
14808 | 0 | inline const ::google::protobuf::OneofOptions& OneofDescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14809 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.options) |
14810 | 0 | return _internal_options(); |
14811 | 0 | } |
14812 | 0 | inline void OneofDescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::OneofOptions* value) { |
14813 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14814 | 0 | if (GetArena() == nullptr) { |
14815 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
14816 | 0 | } |
14817 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::OneofOptions*>(value); |
14818 | 0 | if (value != nullptr) { |
14819 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14820 | 0 | } else { |
14821 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14822 | 0 | } |
14823 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.OneofDescriptorProto.options) |
14824 | 0 | } |
14825 | 0 | inline ::google::protobuf::OneofOptions* OneofDescriptorProto::release_options() { |
14826 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14827 | 0 |
|
14828 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14829 | 0 | ::google::protobuf::OneofOptions* released = _impl_.options_; |
14830 | 0 | _impl_.options_ = nullptr; |
14831 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
14832 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
14833 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
14834 | 0 | if (GetArena() == nullptr) { |
14835 | 0 | delete old; |
14836 | 0 | } |
14837 | 0 | } else { |
14838 | 0 | if (GetArena() != nullptr) { |
14839 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
14840 | 0 | } |
14841 | 0 | } |
14842 | 0 | return released; |
14843 | 0 | } |
14844 | 0 | inline ::google::protobuf::OneofOptions* OneofDescriptorProto::unsafe_arena_release_options() { |
14845 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14846 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.options) |
14847 | 0 |
|
14848 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14849 | 0 | ::google::protobuf::OneofOptions* temp = _impl_.options_; |
14850 | 0 | _impl_.options_ = nullptr; |
14851 | 0 | return temp; |
14852 | 0 | } |
14853 | 0 | inline ::google::protobuf::OneofOptions* OneofDescriptorProto::_internal_mutable_options() { |
14854 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14855 | 0 | if (_impl_.options_ == nullptr) { |
14856 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::OneofOptions>(GetArena()); |
14857 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::OneofOptions*>(p); |
14858 | 0 | } |
14859 | 0 | return _impl_.options_; |
14860 | 0 | } |
14861 | 0 | inline ::google::protobuf::OneofOptions* OneofDescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14862 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14863 | 0 | ::google::protobuf::OneofOptions* _msg = _internal_mutable_options(); |
14864 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.options) |
14865 | 0 | return _msg; |
14866 | 0 | } |
14867 | 0 | inline void OneofDescriptorProto::set_allocated_options(::google::protobuf::OneofOptions* value) { |
14868 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
14869 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14870 | 0 | if (message_arena == nullptr) { |
14871 | 0 | delete (_impl_.options_); |
14872 | 0 | } |
14873 | 0 |
|
14874 | 0 | if (value != nullptr) { |
14875 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
14876 | 0 | if (message_arena != submessage_arena) { |
14877 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
14878 | 0 | } |
14879 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14880 | 0 | } else { |
14881 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14882 | 0 | } |
14883 | 0 |
|
14884 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::OneofOptions*>(value); |
14885 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.options) |
14886 | 0 | } |
14887 | | |
14888 | | // ------------------------------------------------------------------- |
14889 | | |
14890 | | // EnumDescriptorProto_EnumReservedRange |
14891 | | |
14892 | | // optional int32 start = 1; |
14893 | 0 | inline bool EnumDescriptorProto_EnumReservedRange::has_start() const { |
14894 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
14895 | 0 | return value; |
14896 | 0 | } |
14897 | 0 | inline void EnumDescriptorProto_EnumReservedRange::clear_start() { |
14898 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14899 | 0 | _impl_.start_ = 0; |
14900 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14901 | 0 | } |
14902 | 0 | inline ::int32_t EnumDescriptorProto_EnumReservedRange::start() const { |
14903 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.start) |
14904 | 0 | return _internal_start(); |
14905 | 0 | } |
14906 | 0 | inline void EnumDescriptorProto_EnumReservedRange::set_start(::int32_t value) { |
14907 | 0 | _internal_set_start(value); |
14908 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14909 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.start) |
14910 | 0 | } |
14911 | 0 | inline ::int32_t EnumDescriptorProto_EnumReservedRange::_internal_start() const { |
14912 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14913 | 0 | return _impl_.start_; |
14914 | 0 | } |
14915 | 0 | inline void EnumDescriptorProto_EnumReservedRange::_internal_set_start(::int32_t value) { |
14916 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14917 | 0 | _impl_.start_ = value; |
14918 | 0 | } |
14919 | | |
14920 | | // optional int32 end = 2; |
14921 | 0 | inline bool EnumDescriptorProto_EnumReservedRange::has_end() const { |
14922 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
14923 | 0 | return value; |
14924 | 0 | } |
14925 | 0 | inline void EnumDescriptorProto_EnumReservedRange::clear_end() { |
14926 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14927 | 0 | _impl_.end_ = 0; |
14928 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
14929 | 0 | } |
14930 | 0 | inline ::int32_t EnumDescriptorProto_EnumReservedRange::end() const { |
14931 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.end) |
14932 | 0 | return _internal_end(); |
14933 | 0 | } |
14934 | 0 | inline void EnumDescriptorProto_EnumReservedRange::set_end(::int32_t value) { |
14935 | 0 | _internal_set_end(value); |
14936 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
14937 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.end) |
14938 | 0 | } |
14939 | 0 | inline ::int32_t EnumDescriptorProto_EnumReservedRange::_internal_end() const { |
14940 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14941 | 0 | return _impl_.end_; |
14942 | 0 | } |
14943 | 0 | inline void EnumDescriptorProto_EnumReservedRange::_internal_set_end(::int32_t value) { |
14944 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14945 | 0 | _impl_.end_ = value; |
14946 | 0 | } |
14947 | | |
14948 | | // ------------------------------------------------------------------- |
14949 | | |
14950 | | // EnumDescriptorProto |
14951 | | |
14952 | | // optional string name = 1; |
14953 | 0 | inline bool EnumDescriptorProto::has_name() const { |
14954 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
14955 | 0 | return value; |
14956 | 0 | } |
14957 | 0 | inline void EnumDescriptorProto::clear_name() { |
14958 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14959 | 0 | _impl_.name_.ClearToEmpty(); |
14960 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
14961 | 0 | } |
14962 | | inline const std::string& EnumDescriptorProto::name() const |
14963 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14964 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name) |
14965 | 0 | return _internal_name(); |
14966 | 0 | } |
14967 | | template <typename Arg_, typename... Args_> |
14968 | | inline PROTOBUF_ALWAYS_INLINE void EnumDescriptorProto::set_name(Arg_&& arg, |
14969 | | Args_... args) { |
14970 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
14971 | | _impl_._has_bits_[0] |= 0x00000001u; |
14972 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
14973 | | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name) |
14974 | | } |
14975 | 0 | inline std::string* EnumDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
14976 | 0 | std::string* _s = _internal_mutable_name(); |
14977 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name) |
14978 | 0 | return _s; |
14979 | 0 | } |
14980 | 0 | inline const std::string& EnumDescriptorProto::_internal_name() const { |
14981 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
14982 | 0 | return _impl_.name_.Get(); |
14983 | 0 | } |
14984 | 0 | inline void EnumDescriptorProto::_internal_set_name(const std::string& value) { |
14985 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14986 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14987 | 0 | _impl_.name_.Set(value, GetArena()); |
14988 | 0 | } |
14989 | 0 | inline std::string* EnumDescriptorProto::_internal_mutable_name() { |
14990 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14991 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
14992 | 0 | return _impl_.name_.Mutable( GetArena()); |
14993 | 0 | } |
14994 | 0 | inline std::string* EnumDescriptorProto::release_name() { |
14995 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
14996 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.name) |
14997 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
14998 | 0 | return nullptr; |
14999 | 0 | } |
15000 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
15001 | 0 | auto* released = _impl_.name_.Release(); |
15002 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
15003 | 0 | _impl_.name_.Set("", GetArena()); |
15004 | 0 | } |
15005 | 0 | return released; |
15006 | 0 | } |
15007 | 0 | inline void EnumDescriptorProto::set_allocated_name(std::string* value) { |
15008 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15009 | 0 | if (value != nullptr) { |
15010 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
15011 | 0 | } else { |
15012 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
15013 | 0 | } |
15014 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
15015 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
15016 | 0 | _impl_.name_.Set("", GetArena()); |
15017 | 0 | } |
15018 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.name) |
15019 | 0 | } |
15020 | | |
15021 | | // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
15022 | 0 | inline int EnumDescriptorProto::_internal_value_size() const { |
15023 | 0 | return _internal_value().size(); |
15024 | 0 | } |
15025 | 0 | inline int EnumDescriptorProto::value_size() const { |
15026 | 0 | return _internal_value_size(); |
15027 | 0 | } |
15028 | 0 | inline void EnumDescriptorProto::clear_value() { |
15029 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15030 | 0 | _impl_.value_.Clear(); |
15031 | 0 | } |
15032 | | inline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::mutable_value(int index) |
15033 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15034 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.value) |
15035 | 0 | return _internal_mutable_value()->Mutable(index); |
15036 | 0 | } |
15037 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>* EnumDescriptorProto::mutable_value() |
15038 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15039 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.value) |
15040 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15041 | 0 | return _internal_mutable_value(); |
15042 | 0 | } |
15043 | | inline const ::google::protobuf::EnumValueDescriptorProto& EnumDescriptorProto::value(int index) const |
15044 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15045 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.value) |
15046 | 0 | return _internal_value().Get(index); |
15047 | 0 | } |
15048 | 0 | inline ::google::protobuf::EnumValueDescriptorProto* EnumDescriptorProto::add_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15049 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15050 | 0 | ::google::protobuf::EnumValueDescriptorProto* _add = _internal_mutable_value()->Add(); |
15051 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.value) |
15052 | 0 | return _add; |
15053 | 0 | } |
15054 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>& EnumDescriptorProto::value() const |
15055 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15056 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.value) |
15057 | 0 | return _internal_value(); |
15058 | 0 | } |
15059 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>& |
15060 | 0 | EnumDescriptorProto::_internal_value() const { |
15061 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15062 | 0 | return _impl_.value_; |
15063 | 0 | } |
15064 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>* |
15065 | 0 | EnumDescriptorProto::_internal_mutable_value() { |
15066 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15067 | 0 | return &_impl_.value_; |
15068 | 0 | } |
15069 | | |
15070 | | // optional .google.protobuf.EnumOptions options = 3; |
15071 | 0 | inline bool EnumDescriptorProto::has_options() const { |
15072 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
15073 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
15074 | 0 | return value; |
15075 | 0 | } |
15076 | 0 | inline void EnumDescriptorProto::clear_options() { |
15077 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15078 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
15079 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15080 | 0 | } |
15081 | 0 | inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::_internal_options() const { |
15082 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15083 | 0 | const ::google::protobuf::EnumOptions* p = _impl_.options_; |
15084 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::EnumOptions&>(::google::protobuf::_EnumOptions_default_instance_); |
15085 | 0 | } |
15086 | 0 | inline const ::google::protobuf::EnumOptions& EnumDescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15087 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.options) |
15088 | 0 | return _internal_options(); |
15089 | 0 | } |
15090 | 0 | inline void EnumDescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::EnumOptions* value) { |
15091 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15092 | 0 | if (GetArena() == nullptr) { |
15093 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
15094 | 0 | } |
15095 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::EnumOptions*>(value); |
15096 | 0 | if (value != nullptr) { |
15097 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15098 | 0 | } else { |
15099 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15100 | 0 | } |
15101 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumDescriptorProto.options) |
15102 | 0 | } |
15103 | 0 | inline ::google::protobuf::EnumOptions* EnumDescriptorProto::release_options() { |
15104 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15105 | 0 |
|
15106 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15107 | 0 | ::google::protobuf::EnumOptions* released = _impl_.options_; |
15108 | 0 | _impl_.options_ = nullptr; |
15109 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
15110 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
15111 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
15112 | 0 | if (GetArena() == nullptr) { |
15113 | 0 | delete old; |
15114 | 0 | } |
15115 | 0 | } else { |
15116 | 0 | if (GetArena() != nullptr) { |
15117 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
15118 | 0 | } |
15119 | 0 | } |
15120 | 0 | return released; |
15121 | 0 | } |
15122 | 0 | inline ::google::protobuf::EnumOptions* EnumDescriptorProto::unsafe_arena_release_options() { |
15123 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15124 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.options) |
15125 | 0 |
|
15126 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15127 | 0 | ::google::protobuf::EnumOptions* temp = _impl_.options_; |
15128 | 0 | _impl_.options_ = nullptr; |
15129 | 0 | return temp; |
15130 | 0 | } |
15131 | 0 | inline ::google::protobuf::EnumOptions* EnumDescriptorProto::_internal_mutable_options() { |
15132 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15133 | 0 | if (_impl_.options_ == nullptr) { |
15134 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::EnumOptions>(GetArena()); |
15135 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::EnumOptions*>(p); |
15136 | 0 | } |
15137 | 0 | return _impl_.options_; |
15138 | 0 | } |
15139 | 0 | inline ::google::protobuf::EnumOptions* EnumDescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15140 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15141 | 0 | ::google::protobuf::EnumOptions* _msg = _internal_mutable_options(); |
15142 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.options) |
15143 | 0 | return _msg; |
15144 | 0 | } |
15145 | 0 | inline void EnumDescriptorProto::set_allocated_options(::google::protobuf::EnumOptions* value) { |
15146 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
15147 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15148 | 0 | if (message_arena == nullptr) { |
15149 | 0 | delete (_impl_.options_); |
15150 | 0 | } |
15151 | 0 |
|
15152 | 0 | if (value != nullptr) { |
15153 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
15154 | 0 | if (message_arena != submessage_arena) { |
15155 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
15156 | 0 | } |
15157 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15158 | 0 | } else { |
15159 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15160 | 0 | } |
15161 | 0 |
|
15162 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::EnumOptions*>(value); |
15163 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.options) |
15164 | 0 | } |
15165 | | |
15166 | | // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; |
15167 | 0 | inline int EnumDescriptorProto::_internal_reserved_range_size() const { |
15168 | 0 | return _internal_reserved_range().size(); |
15169 | 0 | } |
15170 | 0 | inline int EnumDescriptorProto::reserved_range_size() const { |
15171 | 0 | return _internal_reserved_range_size(); |
15172 | 0 | } |
15173 | 0 | inline void EnumDescriptorProto::clear_reserved_range() { |
15174 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15175 | 0 | _impl_.reserved_range_.Clear(); |
15176 | 0 | } |
15177 | | inline ::google::protobuf::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::mutable_reserved_range(int index) |
15178 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15179 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_range) |
15180 | 0 | return _internal_mutable_reserved_range()->Mutable(index); |
15181 | 0 | } |
15182 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>* EnumDescriptorProto::mutable_reserved_range() |
15183 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15184 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_range) |
15185 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15186 | 0 | return _internal_mutable_reserved_range(); |
15187 | 0 | } |
15188 | | inline const ::google::protobuf::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::reserved_range(int index) const |
15189 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15190 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_range) |
15191 | 0 | return _internal_reserved_range().Get(index); |
15192 | 0 | } |
15193 | 0 | inline ::google::protobuf::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::add_reserved_range() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15194 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15195 | 0 | ::google::protobuf::EnumDescriptorProto_EnumReservedRange* _add = _internal_mutable_reserved_range()->Add(); |
15196 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_range) |
15197 | 0 | return _add; |
15198 | 0 | } |
15199 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>& EnumDescriptorProto::reserved_range() const |
15200 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15201 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_range) |
15202 | 0 | return _internal_reserved_range(); |
15203 | 0 | } |
15204 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>& |
15205 | 0 | EnumDescriptorProto::_internal_reserved_range() const { |
15206 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15207 | 0 | return _impl_.reserved_range_; |
15208 | 0 | } |
15209 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>* |
15210 | 0 | EnumDescriptorProto::_internal_mutable_reserved_range() { |
15211 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15212 | 0 | return &_impl_.reserved_range_; |
15213 | 0 | } |
15214 | | |
15215 | | // repeated string reserved_name = 5; |
15216 | 0 | inline int EnumDescriptorProto::_internal_reserved_name_size() const { |
15217 | 0 | return _internal_reserved_name().size(); |
15218 | 0 | } |
15219 | 0 | inline int EnumDescriptorProto::reserved_name_size() const { |
15220 | 0 | return _internal_reserved_name_size(); |
15221 | 0 | } |
15222 | 0 | inline void EnumDescriptorProto::clear_reserved_name() { |
15223 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15224 | 0 | _impl_.reserved_name_.Clear(); |
15225 | 0 | } |
15226 | 0 | inline std::string* EnumDescriptorProto::add_reserved_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15227 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15228 | 0 | std::string* _s = _internal_mutable_reserved_name()->Add(); |
15229 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.EnumDescriptorProto.reserved_name) |
15230 | 0 | return _s; |
15231 | 0 | } |
15232 | | inline const std::string& EnumDescriptorProto::reserved_name(int index) const |
15233 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15234 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_name) |
15235 | 0 | return _internal_reserved_name().Get(index); |
15236 | 0 | } |
15237 | | inline std::string* EnumDescriptorProto::mutable_reserved_name(int index) |
15238 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15239 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_name) |
15240 | 0 | return _internal_mutable_reserved_name()->Mutable(index); |
15241 | 0 | } |
15242 | | template <typename Arg_, typename... Args_> |
15243 | | inline void EnumDescriptorProto::set_reserved_name(int index, Arg_&& value, Args_... args) { |
15244 | | ::google::protobuf::internal::AssignToString( |
15245 | | *_internal_mutable_reserved_name()->Mutable(index), |
15246 | | std::forward<Arg_>(value), args... ); |
15247 | | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name) |
15248 | | } |
15249 | | template <typename Arg_, typename... Args_> |
15250 | | inline void EnumDescriptorProto::add_reserved_name(Arg_&& value, Args_... args) { |
15251 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
15252 | | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_reserved_name(), |
15253 | | std::forward<Arg_>(value), |
15254 | | args... ); |
15255 | | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name) |
15256 | | } |
15257 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
15258 | 0 | EnumDescriptorProto::reserved_name() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15259 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_name) |
15260 | 0 | return _internal_reserved_name(); |
15261 | 0 | } |
15262 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
15263 | 0 | EnumDescriptorProto::mutable_reserved_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15264 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_name) |
15265 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15266 | 0 | return _internal_mutable_reserved_name(); |
15267 | 0 | } |
15268 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
15269 | 0 | EnumDescriptorProto::_internal_reserved_name() const { |
15270 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15271 | 0 | return _impl_.reserved_name_; |
15272 | 0 | } |
15273 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
15274 | 0 | EnumDescriptorProto::_internal_mutable_reserved_name() { |
15275 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15276 | 0 | return &_impl_.reserved_name_; |
15277 | 0 | } |
15278 | | |
15279 | | // ------------------------------------------------------------------- |
15280 | | |
15281 | | // EnumValueDescriptorProto |
15282 | | |
15283 | | // optional string name = 1; |
15284 | 0 | inline bool EnumValueDescriptorProto::has_name() const { |
15285 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
15286 | 0 | return value; |
15287 | 0 | } |
15288 | 0 | inline void EnumValueDescriptorProto::clear_name() { |
15289 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15290 | 0 | _impl_.name_.ClearToEmpty(); |
15291 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
15292 | 0 | } |
15293 | | inline const std::string& EnumValueDescriptorProto::name() const |
15294 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15295 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name) |
15296 | 0 | return _internal_name(); |
15297 | 0 | } |
15298 | | template <typename Arg_, typename... Args_> |
15299 | | inline PROTOBUF_ALWAYS_INLINE void EnumValueDescriptorProto::set_name(Arg_&& arg, |
15300 | | Args_... args) { |
15301 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
15302 | | _impl_._has_bits_[0] |= 0x00000001u; |
15303 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
15304 | | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name) |
15305 | | } |
15306 | 0 | inline std::string* EnumValueDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15307 | 0 | std::string* _s = _internal_mutable_name(); |
15308 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name) |
15309 | 0 | return _s; |
15310 | 0 | } |
15311 | 0 | inline const std::string& EnumValueDescriptorProto::_internal_name() const { |
15312 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15313 | 0 | return _impl_.name_.Get(); |
15314 | 0 | } |
15315 | 0 | inline void EnumValueDescriptorProto::_internal_set_name(const std::string& value) { |
15316 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15317 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
15318 | 0 | _impl_.name_.Set(value, GetArena()); |
15319 | 0 | } |
15320 | 0 | inline std::string* EnumValueDescriptorProto::_internal_mutable_name() { |
15321 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15322 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
15323 | 0 | return _impl_.name_.Mutable( GetArena()); |
15324 | 0 | } |
15325 | 0 | inline std::string* EnumValueDescriptorProto::release_name() { |
15326 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15327 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.name) |
15328 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
15329 | 0 | return nullptr; |
15330 | 0 | } |
15331 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
15332 | 0 | auto* released = _impl_.name_.Release(); |
15333 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
15334 | 0 | _impl_.name_.Set("", GetArena()); |
15335 | 0 | } |
15336 | 0 | return released; |
15337 | 0 | } |
15338 | 0 | inline void EnumValueDescriptorProto::set_allocated_name(std::string* value) { |
15339 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15340 | 0 | if (value != nullptr) { |
15341 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
15342 | 0 | } else { |
15343 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
15344 | 0 | } |
15345 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
15346 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
15347 | 0 | _impl_.name_.Set("", GetArena()); |
15348 | 0 | } |
15349 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name) |
15350 | 0 | } |
15351 | | |
15352 | | // optional int32 number = 2; |
15353 | 0 | inline bool EnumValueDescriptorProto::has_number() const { |
15354 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
15355 | 0 | return value; |
15356 | 0 | } |
15357 | 0 | inline void EnumValueDescriptorProto::clear_number() { |
15358 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15359 | 0 | _impl_.number_ = 0; |
15360 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
15361 | 0 | } |
15362 | 0 | inline ::int32_t EnumValueDescriptorProto::number() const { |
15363 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number) |
15364 | 0 | return _internal_number(); |
15365 | 0 | } |
15366 | 0 | inline void EnumValueDescriptorProto::set_number(::int32_t value) { |
15367 | 0 | _internal_set_number(value); |
15368 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
15369 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number) |
15370 | 0 | } |
15371 | 0 | inline ::int32_t EnumValueDescriptorProto::_internal_number() const { |
15372 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15373 | 0 | return _impl_.number_; |
15374 | 0 | } |
15375 | 0 | inline void EnumValueDescriptorProto::_internal_set_number(::int32_t value) { |
15376 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15377 | 0 | _impl_.number_ = value; |
15378 | 0 | } |
15379 | | |
15380 | | // optional .google.protobuf.EnumValueOptions options = 3; |
15381 | 0 | inline bool EnumValueDescriptorProto::has_options() const { |
15382 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
15383 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
15384 | 0 | return value; |
15385 | 0 | } |
15386 | 0 | inline void EnumValueDescriptorProto::clear_options() { |
15387 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15388 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
15389 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15390 | 0 | } |
15391 | 0 | inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::_internal_options() const { |
15392 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15393 | 0 | const ::google::protobuf::EnumValueOptions* p = _impl_.options_; |
15394 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::EnumValueOptions&>(::google::protobuf::_EnumValueOptions_default_instance_); |
15395 | 0 | } |
15396 | 0 | inline const ::google::protobuf::EnumValueOptions& EnumValueDescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15397 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options) |
15398 | 0 | return _internal_options(); |
15399 | 0 | } |
15400 | 0 | inline void EnumValueDescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::EnumValueOptions* value) { |
15401 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15402 | 0 | if (GetArena() == nullptr) { |
15403 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
15404 | 0 | } |
15405 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::EnumValueOptions*>(value); |
15406 | 0 | if (value != nullptr) { |
15407 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15408 | 0 | } else { |
15409 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15410 | 0 | } |
15411 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValueDescriptorProto.options) |
15412 | 0 | } |
15413 | 0 | inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::release_options() { |
15414 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15415 | 0 |
|
15416 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15417 | 0 | ::google::protobuf::EnumValueOptions* released = _impl_.options_; |
15418 | 0 | _impl_.options_ = nullptr; |
15419 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
15420 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
15421 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
15422 | 0 | if (GetArena() == nullptr) { |
15423 | 0 | delete old; |
15424 | 0 | } |
15425 | 0 | } else { |
15426 | 0 | if (GetArena() != nullptr) { |
15427 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
15428 | 0 | } |
15429 | 0 | } |
15430 | 0 | return released; |
15431 | 0 | } |
15432 | 0 | inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::unsafe_arena_release_options() { |
15433 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15434 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.options) |
15435 | 0 |
|
15436 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15437 | 0 | ::google::protobuf::EnumValueOptions* temp = _impl_.options_; |
15438 | 0 | _impl_.options_ = nullptr; |
15439 | 0 | return temp; |
15440 | 0 | } |
15441 | 0 | inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::_internal_mutable_options() { |
15442 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15443 | 0 | if (_impl_.options_ == nullptr) { |
15444 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::EnumValueOptions>(GetArena()); |
15445 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::EnumValueOptions*>(p); |
15446 | 0 | } |
15447 | 0 | return _impl_.options_; |
15448 | 0 | } |
15449 | 0 | inline ::google::protobuf::EnumValueOptions* EnumValueDescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15450 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15451 | 0 | ::google::protobuf::EnumValueOptions* _msg = _internal_mutable_options(); |
15452 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options) |
15453 | 0 | return _msg; |
15454 | 0 | } |
15455 | 0 | inline void EnumValueDescriptorProto::set_allocated_options(::google::protobuf::EnumValueOptions* value) { |
15456 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
15457 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15458 | 0 | if (message_arena == nullptr) { |
15459 | 0 | delete (_impl_.options_); |
15460 | 0 | } |
15461 | 0 |
|
15462 | 0 | if (value != nullptr) { |
15463 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
15464 | 0 | if (message_arena != submessage_arena) { |
15465 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
15466 | 0 | } |
15467 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15468 | 0 | } else { |
15469 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15470 | 0 | } |
15471 | 0 |
|
15472 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::EnumValueOptions*>(value); |
15473 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options) |
15474 | 0 | } |
15475 | | |
15476 | | // ------------------------------------------------------------------- |
15477 | | |
15478 | | // ServiceDescriptorProto |
15479 | | |
15480 | | // optional string name = 1; |
15481 | 0 | inline bool ServiceDescriptorProto::has_name() const { |
15482 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
15483 | 0 | return value; |
15484 | 0 | } |
15485 | 0 | inline void ServiceDescriptorProto::clear_name() { |
15486 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15487 | 0 | _impl_.name_.ClearToEmpty(); |
15488 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
15489 | 0 | } |
15490 | | inline const std::string& ServiceDescriptorProto::name() const |
15491 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15492 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name) |
15493 | 0 | return _internal_name(); |
15494 | 0 | } |
15495 | | template <typename Arg_, typename... Args_> |
15496 | | inline PROTOBUF_ALWAYS_INLINE void ServiceDescriptorProto::set_name(Arg_&& arg, |
15497 | | Args_... args) { |
15498 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
15499 | | _impl_._has_bits_[0] |= 0x00000001u; |
15500 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
15501 | | // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name) |
15502 | | } |
15503 | 0 | inline std::string* ServiceDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15504 | 0 | std::string* _s = _internal_mutable_name(); |
15505 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name) |
15506 | 0 | return _s; |
15507 | 0 | } |
15508 | 0 | inline const std::string& ServiceDescriptorProto::_internal_name() const { |
15509 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15510 | 0 | return _impl_.name_.Get(); |
15511 | 0 | } |
15512 | 0 | inline void ServiceDescriptorProto::_internal_set_name(const std::string& value) { |
15513 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15514 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
15515 | 0 | _impl_.name_.Set(value, GetArena()); |
15516 | 0 | } |
15517 | 0 | inline std::string* ServiceDescriptorProto::_internal_mutable_name() { |
15518 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15519 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
15520 | 0 | return _impl_.name_.Mutable( GetArena()); |
15521 | 0 | } |
15522 | 0 | inline std::string* ServiceDescriptorProto::release_name() { |
15523 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15524 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.name) |
15525 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
15526 | 0 | return nullptr; |
15527 | 0 | } |
15528 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
15529 | 0 | auto* released = _impl_.name_.Release(); |
15530 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
15531 | 0 | _impl_.name_.Set("", GetArena()); |
15532 | 0 | } |
15533 | 0 | return released; |
15534 | 0 | } |
15535 | 0 | inline void ServiceDescriptorProto::set_allocated_name(std::string* value) { |
15536 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15537 | 0 | if (value != nullptr) { |
15538 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
15539 | 0 | } else { |
15540 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
15541 | 0 | } |
15542 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
15543 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
15544 | 0 | _impl_.name_.Set("", GetArena()); |
15545 | 0 | } |
15546 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name) |
15547 | 0 | } |
15548 | | |
15549 | | // repeated .google.protobuf.MethodDescriptorProto method = 2; |
15550 | 0 | inline int ServiceDescriptorProto::_internal_method_size() const { |
15551 | 0 | return _internal_method().size(); |
15552 | 0 | } |
15553 | 0 | inline int ServiceDescriptorProto::method_size() const { |
15554 | 0 | return _internal_method_size(); |
15555 | 0 | } |
15556 | 0 | inline void ServiceDescriptorProto::clear_method() { |
15557 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15558 | 0 | _impl_.method_.Clear(); |
15559 | 0 | } |
15560 | | inline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::mutable_method(int index) |
15561 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15562 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.method) |
15563 | 0 | return _internal_mutable_method()->Mutable(index); |
15564 | 0 | } |
15565 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>* ServiceDescriptorProto::mutable_method() |
15566 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15567 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method) |
15568 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15569 | 0 | return _internal_mutable_method(); |
15570 | 0 | } |
15571 | | inline const ::google::protobuf::MethodDescriptorProto& ServiceDescriptorProto::method(int index) const |
15572 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15573 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method) |
15574 | 0 | return _internal_method().Get(index); |
15575 | 0 | } |
15576 | 0 | inline ::google::protobuf::MethodDescriptorProto* ServiceDescriptorProto::add_method() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15577 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15578 | 0 | ::google::protobuf::MethodDescriptorProto* _add = _internal_mutable_method()->Add(); |
15579 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method) |
15580 | 0 | return _add; |
15581 | 0 | } |
15582 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>& ServiceDescriptorProto::method() const |
15583 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15584 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method) |
15585 | 0 | return _internal_method(); |
15586 | 0 | } |
15587 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>& |
15588 | 0 | ServiceDescriptorProto::_internal_method() const { |
15589 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15590 | 0 | return _impl_.method_; |
15591 | 0 | } |
15592 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>* |
15593 | 0 | ServiceDescriptorProto::_internal_mutable_method() { |
15594 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15595 | 0 | return &_impl_.method_; |
15596 | 0 | } |
15597 | | |
15598 | | // optional .google.protobuf.ServiceOptions options = 3; |
15599 | 0 | inline bool ServiceDescriptorProto::has_options() const { |
15600 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
15601 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
15602 | 0 | return value; |
15603 | 0 | } |
15604 | 0 | inline void ServiceDescriptorProto::clear_options() { |
15605 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15606 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
15607 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15608 | 0 | } |
15609 | 0 | inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::_internal_options() const { |
15610 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15611 | 0 | const ::google::protobuf::ServiceOptions* p = _impl_.options_; |
15612 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::ServiceOptions&>(::google::protobuf::_ServiceOptions_default_instance_); |
15613 | 0 | } |
15614 | 0 | inline const ::google::protobuf::ServiceOptions& ServiceDescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15615 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options) |
15616 | 0 | return _internal_options(); |
15617 | 0 | } |
15618 | 0 | inline void ServiceDescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::ServiceOptions* value) { |
15619 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15620 | 0 | if (GetArena() == nullptr) { |
15621 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
15622 | 0 | } |
15623 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::ServiceOptions*>(value); |
15624 | 0 | if (value != nullptr) { |
15625 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15626 | 0 | } else { |
15627 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15628 | 0 | } |
15629 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.ServiceDescriptorProto.options) |
15630 | 0 | } |
15631 | 0 | inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::release_options() { |
15632 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15633 | 0 |
|
15634 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15635 | 0 | ::google::protobuf::ServiceOptions* released = _impl_.options_; |
15636 | 0 | _impl_.options_ = nullptr; |
15637 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
15638 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
15639 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
15640 | 0 | if (GetArena() == nullptr) { |
15641 | 0 | delete old; |
15642 | 0 | } |
15643 | 0 | } else { |
15644 | 0 | if (GetArena() != nullptr) { |
15645 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
15646 | 0 | } |
15647 | 0 | } |
15648 | 0 | return released; |
15649 | 0 | } |
15650 | 0 | inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::unsafe_arena_release_options() { |
15651 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15652 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.options) |
15653 | 0 |
|
15654 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15655 | 0 | ::google::protobuf::ServiceOptions* temp = _impl_.options_; |
15656 | 0 | _impl_.options_ = nullptr; |
15657 | 0 | return temp; |
15658 | 0 | } |
15659 | 0 | inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::_internal_mutable_options() { |
15660 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15661 | 0 | if (_impl_.options_ == nullptr) { |
15662 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::ServiceOptions>(GetArena()); |
15663 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::ServiceOptions*>(p); |
15664 | 0 | } |
15665 | 0 | return _impl_.options_; |
15666 | 0 | } |
15667 | 0 | inline ::google::protobuf::ServiceOptions* ServiceDescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15668 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15669 | 0 | ::google::protobuf::ServiceOptions* _msg = _internal_mutable_options(); |
15670 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options) |
15671 | 0 | return _msg; |
15672 | 0 | } |
15673 | 0 | inline void ServiceDescriptorProto::set_allocated_options(::google::protobuf::ServiceOptions* value) { |
15674 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
15675 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15676 | 0 | if (message_arena == nullptr) { |
15677 | 0 | delete (_impl_.options_); |
15678 | 0 | } |
15679 | 0 |
|
15680 | 0 | if (value != nullptr) { |
15681 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
15682 | 0 | if (message_arena != submessage_arena) { |
15683 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
15684 | 0 | } |
15685 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15686 | 0 | } else { |
15687 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15688 | 0 | } |
15689 | 0 |
|
15690 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::ServiceOptions*>(value); |
15691 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options) |
15692 | 0 | } |
15693 | | |
15694 | | // ------------------------------------------------------------------- |
15695 | | |
15696 | | // MethodDescriptorProto |
15697 | | |
15698 | | // optional string name = 1; |
15699 | 0 | inline bool MethodDescriptorProto::has_name() const { |
15700 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
15701 | 0 | return value; |
15702 | 0 | } |
15703 | 0 | inline void MethodDescriptorProto::clear_name() { |
15704 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15705 | 0 | _impl_.name_.ClearToEmpty(); |
15706 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
15707 | 0 | } |
15708 | | inline const std::string& MethodDescriptorProto::name() const |
15709 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15710 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name) |
15711 | 0 | return _internal_name(); |
15712 | 0 | } |
15713 | | template <typename Arg_, typename... Args_> |
15714 | | inline PROTOBUF_ALWAYS_INLINE void MethodDescriptorProto::set_name(Arg_&& arg, |
15715 | | Args_... args) { |
15716 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
15717 | | _impl_._has_bits_[0] |= 0x00000001u; |
15718 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
15719 | | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name) |
15720 | | } |
15721 | 0 | inline std::string* MethodDescriptorProto::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15722 | 0 | std::string* _s = _internal_mutable_name(); |
15723 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name) |
15724 | 0 | return _s; |
15725 | 0 | } |
15726 | 0 | inline const std::string& MethodDescriptorProto::_internal_name() const { |
15727 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15728 | 0 | return _impl_.name_.Get(); |
15729 | 0 | } |
15730 | 0 | inline void MethodDescriptorProto::_internal_set_name(const std::string& value) { |
15731 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15732 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
15733 | 0 | _impl_.name_.Set(value, GetArena()); |
15734 | 0 | } |
15735 | 0 | inline std::string* MethodDescriptorProto::_internal_mutable_name() { |
15736 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15737 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
15738 | 0 | return _impl_.name_.Mutable( GetArena()); |
15739 | 0 | } |
15740 | 0 | inline std::string* MethodDescriptorProto::release_name() { |
15741 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15742 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.name) |
15743 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
15744 | 0 | return nullptr; |
15745 | 0 | } |
15746 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
15747 | 0 | auto* released = _impl_.name_.Release(); |
15748 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
15749 | 0 | _impl_.name_.Set("", GetArena()); |
15750 | 0 | } |
15751 | 0 | return released; |
15752 | 0 | } |
15753 | 0 | inline void MethodDescriptorProto::set_allocated_name(std::string* value) { |
15754 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15755 | 0 | if (value != nullptr) { |
15756 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
15757 | 0 | } else { |
15758 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
15759 | 0 | } |
15760 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
15761 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
15762 | 0 | _impl_.name_.Set("", GetArena()); |
15763 | 0 | } |
15764 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.name) |
15765 | 0 | } |
15766 | | |
15767 | | // optional string input_type = 2; |
15768 | 0 | inline bool MethodDescriptorProto::has_input_type() const { |
15769 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
15770 | 0 | return value; |
15771 | 0 | } |
15772 | 0 | inline void MethodDescriptorProto::clear_input_type() { |
15773 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15774 | 0 | _impl_.input_type_.ClearToEmpty(); |
15775 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15776 | 0 | } |
15777 | | inline const std::string& MethodDescriptorProto::input_type() const |
15778 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15779 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type) |
15780 | 0 | return _internal_input_type(); |
15781 | 0 | } |
15782 | | template <typename Arg_, typename... Args_> |
15783 | | inline PROTOBUF_ALWAYS_INLINE void MethodDescriptorProto::set_input_type(Arg_&& arg, |
15784 | | Args_... args) { |
15785 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
15786 | | _impl_._has_bits_[0] |= 0x00000002u; |
15787 | | _impl_.input_type_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
15788 | | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type) |
15789 | | } |
15790 | 0 | inline std::string* MethodDescriptorProto::mutable_input_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15791 | 0 | std::string* _s = _internal_mutable_input_type(); |
15792 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type) |
15793 | 0 | return _s; |
15794 | 0 | } |
15795 | 0 | inline const std::string& MethodDescriptorProto::_internal_input_type() const { |
15796 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15797 | 0 | return _impl_.input_type_.Get(); |
15798 | 0 | } |
15799 | 0 | inline void MethodDescriptorProto::_internal_set_input_type(const std::string& value) { |
15800 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15801 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15802 | 0 | _impl_.input_type_.Set(value, GetArena()); |
15803 | 0 | } |
15804 | 0 | inline std::string* MethodDescriptorProto::_internal_mutable_input_type() { |
15805 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15806 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15807 | 0 | return _impl_.input_type_.Mutable( GetArena()); |
15808 | 0 | } |
15809 | 0 | inline std::string* MethodDescriptorProto::release_input_type() { |
15810 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15811 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.input_type) |
15812 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
15813 | 0 | return nullptr; |
15814 | 0 | } |
15815 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15816 | 0 | auto* released = _impl_.input_type_.Release(); |
15817 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
15818 | 0 | _impl_.input_type_.Set("", GetArena()); |
15819 | 0 | } |
15820 | 0 | return released; |
15821 | 0 | } |
15822 | 0 | inline void MethodDescriptorProto::set_allocated_input_type(std::string* value) { |
15823 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15824 | 0 | if (value != nullptr) { |
15825 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
15826 | 0 | } else { |
15827 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
15828 | 0 | } |
15829 | 0 | _impl_.input_type_.SetAllocated(value, GetArena()); |
15830 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.input_type_.IsDefault()) { |
15831 | 0 | _impl_.input_type_.Set("", GetArena()); |
15832 | 0 | } |
15833 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.input_type) |
15834 | 0 | } |
15835 | | |
15836 | | // optional string output_type = 3; |
15837 | 0 | inline bool MethodDescriptorProto::has_output_type() const { |
15838 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
15839 | 0 | return value; |
15840 | 0 | } |
15841 | 0 | inline void MethodDescriptorProto::clear_output_type() { |
15842 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15843 | 0 | _impl_.output_type_.ClearToEmpty(); |
15844 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
15845 | 0 | } |
15846 | | inline const std::string& MethodDescriptorProto::output_type() const |
15847 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15848 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type) |
15849 | 0 | return _internal_output_type(); |
15850 | 0 | } |
15851 | | template <typename Arg_, typename... Args_> |
15852 | | inline PROTOBUF_ALWAYS_INLINE void MethodDescriptorProto::set_output_type(Arg_&& arg, |
15853 | | Args_... args) { |
15854 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
15855 | | _impl_._has_bits_[0] |= 0x00000004u; |
15856 | | _impl_.output_type_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
15857 | | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type) |
15858 | | } |
15859 | 0 | inline std::string* MethodDescriptorProto::mutable_output_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15860 | 0 | std::string* _s = _internal_mutable_output_type(); |
15861 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type) |
15862 | 0 | return _s; |
15863 | 0 | } |
15864 | 0 | inline const std::string& MethodDescriptorProto::_internal_output_type() const { |
15865 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15866 | 0 | return _impl_.output_type_.Get(); |
15867 | 0 | } |
15868 | 0 | inline void MethodDescriptorProto::_internal_set_output_type(const std::string& value) { |
15869 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15870 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
15871 | 0 | _impl_.output_type_.Set(value, GetArena()); |
15872 | 0 | } |
15873 | 0 | inline std::string* MethodDescriptorProto::_internal_mutable_output_type() { |
15874 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15875 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
15876 | 0 | return _impl_.output_type_.Mutable( GetArena()); |
15877 | 0 | } |
15878 | 0 | inline std::string* MethodDescriptorProto::release_output_type() { |
15879 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15880 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.output_type) |
15881 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
15882 | 0 | return nullptr; |
15883 | 0 | } |
15884 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
15885 | 0 | auto* released = _impl_.output_type_.Release(); |
15886 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
15887 | 0 | _impl_.output_type_.Set("", GetArena()); |
15888 | 0 | } |
15889 | 0 | return released; |
15890 | 0 | } |
15891 | 0 | inline void MethodDescriptorProto::set_allocated_output_type(std::string* value) { |
15892 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15893 | 0 | if (value != nullptr) { |
15894 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
15895 | 0 | } else { |
15896 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
15897 | 0 | } |
15898 | 0 | _impl_.output_type_.SetAllocated(value, GetArena()); |
15899 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.output_type_.IsDefault()) { |
15900 | 0 | _impl_.output_type_.Set("", GetArena()); |
15901 | 0 | } |
15902 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.output_type) |
15903 | 0 | } |
15904 | | |
15905 | | // optional .google.protobuf.MethodOptions options = 4; |
15906 | 0 | inline bool MethodDescriptorProto::has_options() const { |
15907 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
15908 | 0 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
15909 | 0 | return value; |
15910 | 0 | } |
15911 | 0 | inline void MethodDescriptorProto::clear_options() { |
15912 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15913 | 0 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
15914 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
15915 | 0 | } |
15916 | 0 | inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::_internal_options() const { |
15917 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
15918 | 0 | const ::google::protobuf::MethodOptions* p = _impl_.options_; |
15919 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::MethodOptions&>(::google::protobuf::_MethodOptions_default_instance_); |
15920 | 0 | } |
15921 | 0 | inline const ::google::protobuf::MethodOptions& MethodDescriptorProto::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15922 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.options) |
15923 | 0 | return _internal_options(); |
15924 | 0 | } |
15925 | 0 | inline void MethodDescriptorProto::unsafe_arena_set_allocated_options(::google::protobuf::MethodOptions* value) { |
15926 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15927 | 0 | if (GetArena() == nullptr) { |
15928 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.options_); |
15929 | 0 | } |
15930 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::MethodOptions*>(value); |
15931 | 0 | if (value != nullptr) { |
15932 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
15933 | 0 | } else { |
15934 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
15935 | 0 | } |
15936 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MethodDescriptorProto.options) |
15937 | 0 | } |
15938 | 0 | inline ::google::protobuf::MethodOptions* MethodDescriptorProto::release_options() { |
15939 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15940 | 0 |
|
15941 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
15942 | 0 | ::google::protobuf::MethodOptions* released = _impl_.options_; |
15943 | 0 | _impl_.options_ = nullptr; |
15944 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
15945 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
15946 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
15947 | 0 | if (GetArena() == nullptr) { |
15948 | 0 | delete old; |
15949 | 0 | } |
15950 | 0 | } else { |
15951 | 0 | if (GetArena() != nullptr) { |
15952 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
15953 | 0 | } |
15954 | 0 | } |
15955 | 0 | return released; |
15956 | 0 | } |
15957 | 0 | inline ::google::protobuf::MethodOptions* MethodDescriptorProto::unsafe_arena_release_options() { |
15958 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15959 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.options) |
15960 | 0 |
|
15961 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
15962 | 0 | ::google::protobuf::MethodOptions* temp = _impl_.options_; |
15963 | 0 | _impl_.options_ = nullptr; |
15964 | 0 | return temp; |
15965 | 0 | } |
15966 | 0 | inline ::google::protobuf::MethodOptions* MethodDescriptorProto::_internal_mutable_options() { |
15967 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15968 | 0 | if (_impl_.options_ == nullptr) { |
15969 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::MethodOptions>(GetArena()); |
15970 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::MethodOptions*>(p); |
15971 | 0 | } |
15972 | 0 | return _impl_.options_; |
15973 | 0 | } |
15974 | 0 | inline ::google::protobuf::MethodOptions* MethodDescriptorProto::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
15975 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
15976 | 0 | ::google::protobuf::MethodOptions* _msg = _internal_mutable_options(); |
15977 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.options) |
15978 | 0 | return _msg; |
15979 | 0 | } |
15980 | 0 | inline void MethodDescriptorProto::set_allocated_options(::google::protobuf::MethodOptions* value) { |
15981 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
15982 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
15983 | 0 | if (message_arena == nullptr) { |
15984 | 0 | delete (_impl_.options_); |
15985 | 0 | } |
15986 | 0 |
|
15987 | 0 | if (value != nullptr) { |
15988 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
15989 | 0 | if (message_arena != submessage_arena) { |
15990 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
15991 | 0 | } |
15992 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
15993 | 0 | } else { |
15994 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
15995 | 0 | } |
15996 | 0 |
|
15997 | 0 | _impl_.options_ = reinterpret_cast<::google::protobuf::MethodOptions*>(value); |
15998 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.options) |
15999 | 0 | } |
16000 | | |
16001 | | // optional bool client_streaming = 5 [default = false]; |
16002 | 0 | inline bool MethodDescriptorProto::has_client_streaming() const { |
16003 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
16004 | 0 | return value; |
16005 | 0 | } |
16006 | 0 | inline void MethodDescriptorProto::clear_client_streaming() { |
16007 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16008 | 0 | _impl_.client_streaming_ = false; |
16009 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
16010 | 0 | } |
16011 | 0 | inline bool MethodDescriptorProto::client_streaming() const { |
16012 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.client_streaming) |
16013 | 0 | return _internal_client_streaming(); |
16014 | 0 | } |
16015 | 0 | inline void MethodDescriptorProto::set_client_streaming(bool value) { |
16016 | 0 | _internal_set_client_streaming(value); |
16017 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
16018 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.client_streaming) |
16019 | 0 | } |
16020 | 0 | inline bool MethodDescriptorProto::_internal_client_streaming() const { |
16021 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16022 | 0 | return _impl_.client_streaming_; |
16023 | 0 | } |
16024 | 0 | inline void MethodDescriptorProto::_internal_set_client_streaming(bool value) { |
16025 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16026 | 0 | _impl_.client_streaming_ = value; |
16027 | 0 | } |
16028 | | |
16029 | | // optional bool server_streaming = 6 [default = false]; |
16030 | 0 | inline bool MethodDescriptorProto::has_server_streaming() const { |
16031 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
16032 | 0 | return value; |
16033 | 0 | } |
16034 | 0 | inline void MethodDescriptorProto::clear_server_streaming() { |
16035 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16036 | 0 | _impl_.server_streaming_ = false; |
16037 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
16038 | 0 | } |
16039 | 0 | inline bool MethodDescriptorProto::server_streaming() const { |
16040 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.server_streaming) |
16041 | 0 | return _internal_server_streaming(); |
16042 | 0 | } |
16043 | 0 | inline void MethodDescriptorProto::set_server_streaming(bool value) { |
16044 | 0 | _internal_set_server_streaming(value); |
16045 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
16046 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.server_streaming) |
16047 | 0 | } |
16048 | 0 | inline bool MethodDescriptorProto::_internal_server_streaming() const { |
16049 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16050 | 0 | return _impl_.server_streaming_; |
16051 | 0 | } |
16052 | 0 | inline void MethodDescriptorProto::_internal_set_server_streaming(bool value) { |
16053 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16054 | 0 | _impl_.server_streaming_ = value; |
16055 | 0 | } |
16056 | | |
16057 | | // ------------------------------------------------------------------- |
16058 | | |
16059 | | // FileOptions |
16060 | | |
16061 | | // optional string java_package = 1; |
16062 | 0 | inline bool FileOptions::has_java_package() const { |
16063 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
16064 | 0 | return value; |
16065 | 0 | } |
16066 | 0 | inline void FileOptions::clear_java_package() { |
16067 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16068 | 0 | _impl_.java_package_.ClearToEmpty(); |
16069 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
16070 | 0 | } |
16071 | | inline const std::string& FileOptions::java_package() const |
16072 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16073 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package) |
16074 | 0 | return _internal_java_package(); |
16075 | 0 | } |
16076 | | template <typename Arg_, typename... Args_> |
16077 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_java_package(Arg_&& arg, |
16078 | | Args_... args) { |
16079 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
16080 | | _impl_._has_bits_[0] |= 0x00000001u; |
16081 | | _impl_.java_package_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
16082 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package) |
16083 | | } |
16084 | 0 | inline std::string* FileOptions::mutable_java_package() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16085 | 0 | std::string* _s = _internal_mutable_java_package(); |
16086 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package) |
16087 | 0 | return _s; |
16088 | 0 | } |
16089 | 0 | inline const std::string& FileOptions::_internal_java_package() const { |
16090 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16091 | 0 | return _impl_.java_package_.Get(); |
16092 | 0 | } |
16093 | 0 | inline void FileOptions::_internal_set_java_package(const std::string& value) { |
16094 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16095 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
16096 | 0 | _impl_.java_package_.Set(value, GetArena()); |
16097 | 0 | } |
16098 | 0 | inline std::string* FileOptions::_internal_mutable_java_package() { |
16099 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16100 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
16101 | 0 | return _impl_.java_package_.Mutable( GetArena()); |
16102 | 0 | } |
16103 | 0 | inline std::string* FileOptions::release_java_package() { |
16104 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16105 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_package) |
16106 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
16107 | 0 | return nullptr; |
16108 | 0 | } |
16109 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
16110 | 0 | auto* released = _impl_.java_package_.Release(); |
16111 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
16112 | 0 | _impl_.java_package_.Set("", GetArena()); |
16113 | 0 | } |
16114 | 0 | return released; |
16115 | 0 | } |
16116 | 0 | inline void FileOptions::set_allocated_java_package(std::string* value) { |
16117 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16118 | 0 | if (value != nullptr) { |
16119 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
16120 | 0 | } else { |
16121 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
16122 | 0 | } |
16123 | 0 | _impl_.java_package_.SetAllocated(value, GetArena()); |
16124 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.java_package_.IsDefault()) { |
16125 | 0 | _impl_.java_package_.Set("", GetArena()); |
16126 | 0 | } |
16127 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_package) |
16128 | 0 | } |
16129 | | |
16130 | | // optional string java_outer_classname = 8; |
16131 | 0 | inline bool FileOptions::has_java_outer_classname() const { |
16132 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
16133 | 0 | return value; |
16134 | 0 | } |
16135 | 0 | inline void FileOptions::clear_java_outer_classname() { |
16136 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16137 | 0 | _impl_.java_outer_classname_.ClearToEmpty(); |
16138 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
16139 | 0 | } |
16140 | | inline const std::string& FileOptions::java_outer_classname() const |
16141 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16142 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname) |
16143 | 0 | return _internal_java_outer_classname(); |
16144 | 0 | } |
16145 | | template <typename Arg_, typename... Args_> |
16146 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_java_outer_classname(Arg_&& arg, |
16147 | | Args_... args) { |
16148 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
16149 | | _impl_._has_bits_[0] |= 0x00000002u; |
16150 | | _impl_.java_outer_classname_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
16151 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname) |
16152 | | } |
16153 | 0 | inline std::string* FileOptions::mutable_java_outer_classname() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16154 | 0 | std::string* _s = _internal_mutable_java_outer_classname(); |
16155 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname) |
16156 | 0 | return _s; |
16157 | 0 | } |
16158 | 0 | inline const std::string& FileOptions::_internal_java_outer_classname() const { |
16159 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16160 | 0 | return _impl_.java_outer_classname_.Get(); |
16161 | 0 | } |
16162 | 0 | inline void FileOptions::_internal_set_java_outer_classname(const std::string& value) { |
16163 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16164 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
16165 | 0 | _impl_.java_outer_classname_.Set(value, GetArena()); |
16166 | 0 | } |
16167 | 0 | inline std::string* FileOptions::_internal_mutable_java_outer_classname() { |
16168 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16169 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
16170 | 0 | return _impl_.java_outer_classname_.Mutable( GetArena()); |
16171 | 0 | } |
16172 | 0 | inline std::string* FileOptions::release_java_outer_classname() { |
16173 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16174 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_outer_classname) |
16175 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
16176 | 0 | return nullptr; |
16177 | 0 | } |
16178 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
16179 | 0 | auto* released = _impl_.java_outer_classname_.Release(); |
16180 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
16181 | 0 | _impl_.java_outer_classname_.Set("", GetArena()); |
16182 | 0 | } |
16183 | 0 | return released; |
16184 | 0 | } |
16185 | 0 | inline void FileOptions::set_allocated_java_outer_classname(std::string* value) { |
16186 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16187 | 0 | if (value != nullptr) { |
16188 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
16189 | 0 | } else { |
16190 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
16191 | 0 | } |
16192 | 0 | _impl_.java_outer_classname_.SetAllocated(value, GetArena()); |
16193 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.java_outer_classname_.IsDefault()) { |
16194 | 0 | _impl_.java_outer_classname_.Set("", GetArena()); |
16195 | 0 | } |
16196 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_outer_classname) |
16197 | 0 | } |
16198 | | |
16199 | | // optional bool java_multiple_files = 10 [default = false]; |
16200 | 0 | inline bool FileOptions::has_java_multiple_files() const { |
16201 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; |
16202 | 0 | return value; |
16203 | 0 | } |
16204 | 0 | inline void FileOptions::clear_java_multiple_files() { |
16205 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16206 | 0 | _impl_.java_multiple_files_ = false; |
16207 | 0 | _impl_._has_bits_[0] &= ~0x00000800u; |
16208 | 0 | } |
16209 | 0 | inline bool FileOptions::java_multiple_files() const { |
16210 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multiple_files) |
16211 | 0 | return _internal_java_multiple_files(); |
16212 | 0 | } |
16213 | 0 | inline void FileOptions::set_java_multiple_files(bool value) { |
16214 | 0 | _internal_set_java_multiple_files(value); |
16215 | 0 | _impl_._has_bits_[0] |= 0x00000800u; |
16216 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multiple_files) |
16217 | 0 | } |
16218 | 0 | inline bool FileOptions::_internal_java_multiple_files() const { |
16219 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16220 | 0 | return _impl_.java_multiple_files_; |
16221 | 0 | } |
16222 | 0 | inline void FileOptions::_internal_set_java_multiple_files(bool value) { |
16223 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16224 | 0 | _impl_.java_multiple_files_ = value; |
16225 | 0 | } |
16226 | | |
16227 | | // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; |
16228 | 0 | inline bool FileOptions::has_java_generate_equals_and_hash() const { |
16229 | 0 | bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; |
16230 | 0 | return value; |
16231 | 0 | } |
16232 | 0 | inline void FileOptions::clear_java_generate_equals_and_hash() { |
16233 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16234 | 0 | _impl_.java_generate_equals_and_hash_ = false; |
16235 | 0 | _impl_._has_bits_[0] &= ~0x00001000u; |
16236 | 0 | } |
16237 | 0 | inline bool FileOptions::java_generate_equals_and_hash() const { |
16238 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generate_equals_and_hash) |
16239 | 0 | return _internal_java_generate_equals_and_hash(); |
16240 | 0 | } |
16241 | 0 | inline void FileOptions::set_java_generate_equals_and_hash(bool value) { |
16242 | 0 | _internal_set_java_generate_equals_and_hash(value); |
16243 | 0 | _impl_._has_bits_[0] |= 0x00001000u; |
16244 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generate_equals_and_hash) |
16245 | 0 | } |
16246 | 0 | inline bool FileOptions::_internal_java_generate_equals_and_hash() const { |
16247 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16248 | 0 | return _impl_.java_generate_equals_and_hash_; |
16249 | 0 | } |
16250 | 0 | inline void FileOptions::_internal_set_java_generate_equals_and_hash(bool value) { |
16251 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16252 | 0 | _impl_.java_generate_equals_and_hash_ = value; |
16253 | 0 | } |
16254 | | |
16255 | | // optional bool java_string_check_utf8 = 27 [default = false]; |
16256 | 0 | inline bool FileOptions::has_java_string_check_utf8() const { |
16257 | 0 | bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; |
16258 | 0 | return value; |
16259 | 0 | } |
16260 | 0 | inline void FileOptions::clear_java_string_check_utf8() { |
16261 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16262 | 0 | _impl_.java_string_check_utf8_ = false; |
16263 | 0 | _impl_._has_bits_[0] &= ~0x00002000u; |
16264 | 0 | } |
16265 | 0 | inline bool FileOptions::java_string_check_utf8() const { |
16266 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_check_utf8) |
16267 | 0 | return _internal_java_string_check_utf8(); |
16268 | 0 | } |
16269 | 0 | inline void FileOptions::set_java_string_check_utf8(bool value) { |
16270 | 0 | _internal_set_java_string_check_utf8(value); |
16271 | 0 | _impl_._has_bits_[0] |= 0x00002000u; |
16272 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_check_utf8) |
16273 | 0 | } |
16274 | 0 | inline bool FileOptions::_internal_java_string_check_utf8() const { |
16275 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16276 | 0 | return _impl_.java_string_check_utf8_; |
16277 | 0 | } |
16278 | 0 | inline void FileOptions::_internal_set_java_string_check_utf8(bool value) { |
16279 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16280 | 0 | _impl_.java_string_check_utf8_ = value; |
16281 | 0 | } |
16282 | | |
16283 | | // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; |
16284 | 0 | inline bool FileOptions::has_optimize_for() const { |
16285 | 0 | bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; |
16286 | 0 | return value; |
16287 | 0 | } |
16288 | 0 | inline void FileOptions::clear_optimize_for() { |
16289 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16290 | 0 | _impl_.optimize_for_ = 1; |
16291 | 0 | _impl_._has_bits_[0] &= ~0x00040000u; |
16292 | 0 | } |
16293 | 0 | inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::optimize_for() const { |
16294 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for) |
16295 | 0 | return _internal_optimize_for(); |
16296 | 0 | } |
16297 | 0 | inline void FileOptions::set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value) { |
16298 | 0 | _internal_set_optimize_for(value); |
16299 | 0 | _impl_._has_bits_[0] |= 0x00040000u; |
16300 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for) |
16301 | 0 | } |
16302 | 0 | inline ::google::protobuf::FileOptions_OptimizeMode FileOptions::_internal_optimize_for() const { |
16303 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16304 | 0 | return static_cast<::google::protobuf::FileOptions_OptimizeMode>(_impl_.optimize_for_); |
16305 | 0 | } |
16306 | 0 | inline void FileOptions::_internal_set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value) { |
16307 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16308 | 0 | assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value)); |
16309 | 0 | _impl_.optimize_for_ = value; |
16310 | 0 | } |
16311 | | |
16312 | | // optional string go_package = 11; |
16313 | 0 | inline bool FileOptions::has_go_package() const { |
16314 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
16315 | 0 | return value; |
16316 | 0 | } |
16317 | 0 | inline void FileOptions::clear_go_package() { |
16318 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16319 | 0 | _impl_.go_package_.ClearToEmpty(); |
16320 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
16321 | 0 | } |
16322 | | inline const std::string& FileOptions::go_package() const |
16323 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16324 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package) |
16325 | 0 | return _internal_go_package(); |
16326 | 0 | } |
16327 | | template <typename Arg_, typename... Args_> |
16328 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_go_package(Arg_&& arg, |
16329 | | Args_... args) { |
16330 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
16331 | | _impl_._has_bits_[0] |= 0x00000004u; |
16332 | | _impl_.go_package_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
16333 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package) |
16334 | | } |
16335 | 0 | inline std::string* FileOptions::mutable_go_package() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16336 | 0 | std::string* _s = _internal_mutable_go_package(); |
16337 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package) |
16338 | 0 | return _s; |
16339 | 0 | } |
16340 | 0 | inline const std::string& FileOptions::_internal_go_package() const { |
16341 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16342 | 0 | return _impl_.go_package_.Get(); |
16343 | 0 | } |
16344 | 0 | inline void FileOptions::_internal_set_go_package(const std::string& value) { |
16345 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16346 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
16347 | 0 | _impl_.go_package_.Set(value, GetArena()); |
16348 | 0 | } |
16349 | 0 | inline std::string* FileOptions::_internal_mutable_go_package() { |
16350 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16351 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
16352 | 0 | return _impl_.go_package_.Mutable( GetArena()); |
16353 | 0 | } |
16354 | 0 | inline std::string* FileOptions::release_go_package() { |
16355 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16356 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.go_package) |
16357 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
16358 | 0 | return nullptr; |
16359 | 0 | } |
16360 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
16361 | 0 | auto* released = _impl_.go_package_.Release(); |
16362 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
16363 | 0 | _impl_.go_package_.Set("", GetArena()); |
16364 | 0 | } |
16365 | 0 | return released; |
16366 | 0 | } |
16367 | 0 | inline void FileOptions::set_allocated_go_package(std::string* value) { |
16368 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16369 | 0 | if (value != nullptr) { |
16370 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
16371 | 0 | } else { |
16372 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
16373 | 0 | } |
16374 | 0 | _impl_.go_package_.SetAllocated(value, GetArena()); |
16375 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.go_package_.IsDefault()) { |
16376 | 0 | _impl_.go_package_.Set("", GetArena()); |
16377 | 0 | } |
16378 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go_package) |
16379 | 0 | } |
16380 | | |
16381 | | // optional bool cc_generic_services = 16 [default = false]; |
16382 | 0 | inline bool FileOptions::has_cc_generic_services() const { |
16383 | 0 | bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; |
16384 | 0 | return value; |
16385 | 0 | } |
16386 | 0 | inline void FileOptions::clear_cc_generic_services() { |
16387 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16388 | 0 | _impl_.cc_generic_services_ = false; |
16389 | 0 | _impl_._has_bits_[0] &= ~0x00004000u; |
16390 | 0 | } |
16391 | 0 | inline bool FileOptions::cc_generic_services() const { |
16392 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_services) |
16393 | 0 | return _internal_cc_generic_services(); |
16394 | 0 | } |
16395 | 0 | inline void FileOptions::set_cc_generic_services(bool value) { |
16396 | 0 | _internal_set_cc_generic_services(value); |
16397 | 0 | _impl_._has_bits_[0] |= 0x00004000u; |
16398 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_services) |
16399 | 0 | } |
16400 | 0 | inline bool FileOptions::_internal_cc_generic_services() const { |
16401 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16402 | 0 | return _impl_.cc_generic_services_; |
16403 | 0 | } |
16404 | 0 | inline void FileOptions::_internal_set_cc_generic_services(bool value) { |
16405 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16406 | 0 | _impl_.cc_generic_services_ = value; |
16407 | 0 | } |
16408 | | |
16409 | | // optional bool java_generic_services = 17 [default = false]; |
16410 | 0 | inline bool FileOptions::has_java_generic_services() const { |
16411 | 0 | bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; |
16412 | 0 | return value; |
16413 | 0 | } |
16414 | 0 | inline void FileOptions::clear_java_generic_services() { |
16415 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16416 | 0 | _impl_.java_generic_services_ = false; |
16417 | 0 | _impl_._has_bits_[0] &= ~0x00008000u; |
16418 | 0 | } |
16419 | 0 | inline bool FileOptions::java_generic_services() const { |
16420 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic_services) |
16421 | 0 | return _internal_java_generic_services(); |
16422 | 0 | } |
16423 | 0 | inline void FileOptions::set_java_generic_services(bool value) { |
16424 | 0 | _internal_set_java_generic_services(value); |
16425 | 0 | _impl_._has_bits_[0] |= 0x00008000u; |
16426 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic_services) |
16427 | 0 | } |
16428 | 0 | inline bool FileOptions::_internal_java_generic_services() const { |
16429 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16430 | 0 | return _impl_.java_generic_services_; |
16431 | 0 | } |
16432 | 0 | inline void FileOptions::_internal_set_java_generic_services(bool value) { |
16433 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16434 | 0 | _impl_.java_generic_services_ = value; |
16435 | 0 | } |
16436 | | |
16437 | | // optional bool py_generic_services = 18 [default = false]; |
16438 | 0 | inline bool FileOptions::has_py_generic_services() const { |
16439 | 0 | bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; |
16440 | 0 | return value; |
16441 | 0 | } |
16442 | 0 | inline void FileOptions::clear_py_generic_services() { |
16443 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16444 | 0 | _impl_.py_generic_services_ = false; |
16445 | 0 | _impl_._has_bits_[0] &= ~0x00010000u; |
16446 | 0 | } |
16447 | 0 | inline bool FileOptions::py_generic_services() const { |
16448 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_services) |
16449 | 0 | return _internal_py_generic_services(); |
16450 | 0 | } |
16451 | 0 | inline void FileOptions::set_py_generic_services(bool value) { |
16452 | 0 | _internal_set_py_generic_services(value); |
16453 | 0 | _impl_._has_bits_[0] |= 0x00010000u; |
16454 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services) |
16455 | 0 | } |
16456 | 0 | inline bool FileOptions::_internal_py_generic_services() const { |
16457 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16458 | 0 | return _impl_.py_generic_services_; |
16459 | 0 | } |
16460 | 0 | inline void FileOptions::_internal_set_py_generic_services(bool value) { |
16461 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16462 | 0 | _impl_.py_generic_services_ = value; |
16463 | 0 | } |
16464 | | |
16465 | | // optional bool deprecated = 23 [default = false]; |
16466 | 0 | inline bool FileOptions::has_deprecated() const { |
16467 | 0 | bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; |
16468 | 0 | return value; |
16469 | 0 | } |
16470 | 0 | inline void FileOptions::clear_deprecated() { |
16471 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16472 | 0 | _impl_.deprecated_ = false; |
16473 | 0 | _impl_._has_bits_[0] &= ~0x00020000u; |
16474 | 0 | } |
16475 | 0 | inline bool FileOptions::deprecated() const { |
16476 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated) |
16477 | 0 | return _internal_deprecated(); |
16478 | 0 | } |
16479 | 0 | inline void FileOptions::set_deprecated(bool value) { |
16480 | 0 | _internal_set_deprecated(value); |
16481 | 0 | _impl_._has_bits_[0] |= 0x00020000u; |
16482 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated) |
16483 | 0 | } |
16484 | 0 | inline bool FileOptions::_internal_deprecated() const { |
16485 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16486 | 0 | return _impl_.deprecated_; |
16487 | 0 | } |
16488 | 0 | inline void FileOptions::_internal_set_deprecated(bool value) { |
16489 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16490 | 0 | _impl_.deprecated_ = value; |
16491 | 0 | } |
16492 | | |
16493 | | // optional bool cc_enable_arenas = 31 [default = true]; |
16494 | 0 | inline bool FileOptions::has_cc_enable_arenas() const { |
16495 | 0 | bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; |
16496 | 0 | return value; |
16497 | 0 | } |
16498 | 0 | inline void FileOptions::clear_cc_enable_arenas() { |
16499 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16500 | 0 | _impl_.cc_enable_arenas_ = true; |
16501 | 0 | _impl_._has_bits_[0] &= ~0x00080000u; |
16502 | 0 | } |
16503 | 0 | inline bool FileOptions::cc_enable_arenas() const { |
16504 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_arenas) |
16505 | 0 | return _internal_cc_enable_arenas(); |
16506 | 0 | } |
16507 | 0 | inline void FileOptions::set_cc_enable_arenas(bool value) { |
16508 | 0 | _internal_set_cc_enable_arenas(value); |
16509 | 0 | _impl_._has_bits_[0] |= 0x00080000u; |
16510 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_arenas) |
16511 | 0 | } |
16512 | 0 | inline bool FileOptions::_internal_cc_enable_arenas() const { |
16513 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16514 | 0 | return _impl_.cc_enable_arenas_; |
16515 | 0 | } |
16516 | 0 | inline void FileOptions::_internal_set_cc_enable_arenas(bool value) { |
16517 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16518 | 0 | _impl_.cc_enable_arenas_ = value; |
16519 | 0 | } |
16520 | | |
16521 | | // optional string objc_class_prefix = 36; |
16522 | 0 | inline bool FileOptions::has_objc_class_prefix() const { |
16523 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
16524 | 0 | return value; |
16525 | 0 | } |
16526 | 0 | inline void FileOptions::clear_objc_class_prefix() { |
16527 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16528 | 0 | _impl_.objc_class_prefix_.ClearToEmpty(); |
16529 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
16530 | 0 | } |
16531 | | inline const std::string& FileOptions::objc_class_prefix() const |
16532 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16533 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_prefix) |
16534 | 0 | return _internal_objc_class_prefix(); |
16535 | 0 | } |
16536 | | template <typename Arg_, typename... Args_> |
16537 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_objc_class_prefix(Arg_&& arg, |
16538 | | Args_... args) { |
16539 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
16540 | | _impl_._has_bits_[0] |= 0x00000008u; |
16541 | | _impl_.objc_class_prefix_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
16542 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_prefix) |
16543 | | } |
16544 | 0 | inline std::string* FileOptions::mutable_objc_class_prefix() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16545 | 0 | std::string* _s = _internal_mutable_objc_class_prefix(); |
16546 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_class_prefix) |
16547 | 0 | return _s; |
16548 | 0 | } |
16549 | 0 | inline const std::string& FileOptions::_internal_objc_class_prefix() const { |
16550 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16551 | 0 | return _impl_.objc_class_prefix_.Get(); |
16552 | 0 | } |
16553 | 0 | inline void FileOptions::_internal_set_objc_class_prefix(const std::string& value) { |
16554 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16555 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
16556 | 0 | _impl_.objc_class_prefix_.Set(value, GetArena()); |
16557 | 0 | } |
16558 | 0 | inline std::string* FileOptions::_internal_mutable_objc_class_prefix() { |
16559 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16560 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
16561 | 0 | return _impl_.objc_class_prefix_.Mutable( GetArena()); |
16562 | 0 | } |
16563 | 0 | inline std::string* FileOptions::release_objc_class_prefix() { |
16564 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16565 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.objc_class_prefix) |
16566 | 0 | if ((_impl_._has_bits_[0] & 0x00000008u) == 0) { |
16567 | 0 | return nullptr; |
16568 | 0 | } |
16569 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
16570 | 0 | auto* released = _impl_.objc_class_prefix_.Release(); |
16571 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
16572 | 0 | _impl_.objc_class_prefix_.Set("", GetArena()); |
16573 | 0 | } |
16574 | 0 | return released; |
16575 | 0 | } |
16576 | 0 | inline void FileOptions::set_allocated_objc_class_prefix(std::string* value) { |
16577 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16578 | 0 | if (value != nullptr) { |
16579 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
16580 | 0 | } else { |
16581 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
16582 | 0 | } |
16583 | 0 | _impl_.objc_class_prefix_.SetAllocated(value, GetArena()); |
16584 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.objc_class_prefix_.IsDefault()) { |
16585 | 0 | _impl_.objc_class_prefix_.Set("", GetArena()); |
16586 | 0 | } |
16587 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.objc_class_prefix) |
16588 | 0 | } |
16589 | | |
16590 | | // optional string csharp_namespace = 37; |
16591 | 0 | inline bool FileOptions::has_csharp_namespace() const { |
16592 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
16593 | 0 | return value; |
16594 | 0 | } |
16595 | 0 | inline void FileOptions::clear_csharp_namespace() { |
16596 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16597 | 0 | _impl_.csharp_namespace_.ClearToEmpty(); |
16598 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
16599 | 0 | } |
16600 | | inline const std::string& FileOptions::csharp_namespace() const |
16601 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16602 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_namespace) |
16603 | 0 | return _internal_csharp_namespace(); |
16604 | 0 | } |
16605 | | template <typename Arg_, typename... Args_> |
16606 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_csharp_namespace(Arg_&& arg, |
16607 | | Args_... args) { |
16608 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
16609 | | _impl_._has_bits_[0] |= 0x00000010u; |
16610 | | _impl_.csharp_namespace_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
16611 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_namespace) |
16612 | | } |
16613 | 0 | inline std::string* FileOptions::mutable_csharp_namespace() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16614 | 0 | std::string* _s = _internal_mutable_csharp_namespace(); |
16615 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_namespace) |
16616 | 0 | return _s; |
16617 | 0 | } |
16618 | 0 | inline const std::string& FileOptions::_internal_csharp_namespace() const { |
16619 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16620 | 0 | return _impl_.csharp_namespace_.Get(); |
16621 | 0 | } |
16622 | 0 | inline void FileOptions::_internal_set_csharp_namespace(const std::string& value) { |
16623 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16624 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
16625 | 0 | _impl_.csharp_namespace_.Set(value, GetArena()); |
16626 | 0 | } |
16627 | 0 | inline std::string* FileOptions::_internal_mutable_csharp_namespace() { |
16628 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16629 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
16630 | 0 | return _impl_.csharp_namespace_.Mutable( GetArena()); |
16631 | 0 | } |
16632 | 0 | inline std::string* FileOptions::release_csharp_namespace() { |
16633 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16634 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.csharp_namespace) |
16635 | 0 | if ((_impl_._has_bits_[0] & 0x00000010u) == 0) { |
16636 | 0 | return nullptr; |
16637 | 0 | } |
16638 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
16639 | 0 | auto* released = _impl_.csharp_namespace_.Release(); |
16640 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
16641 | 0 | _impl_.csharp_namespace_.Set("", GetArena()); |
16642 | 0 | } |
16643 | 0 | return released; |
16644 | 0 | } |
16645 | 0 | inline void FileOptions::set_allocated_csharp_namespace(std::string* value) { |
16646 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16647 | 0 | if (value != nullptr) { |
16648 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
16649 | 0 | } else { |
16650 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
16651 | 0 | } |
16652 | 0 | _impl_.csharp_namespace_.SetAllocated(value, GetArena()); |
16653 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.csharp_namespace_.IsDefault()) { |
16654 | 0 | _impl_.csharp_namespace_.Set("", GetArena()); |
16655 | 0 | } |
16656 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace) |
16657 | 0 | } |
16658 | | |
16659 | | // optional string swift_prefix = 39; |
16660 | 0 | inline bool FileOptions::has_swift_prefix() const { |
16661 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
16662 | 0 | return value; |
16663 | 0 | } |
16664 | 0 | inline void FileOptions::clear_swift_prefix() { |
16665 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16666 | 0 | _impl_.swift_prefix_.ClearToEmpty(); |
16667 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
16668 | 0 | } |
16669 | | inline const std::string& FileOptions::swift_prefix() const |
16670 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16671 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.swift_prefix) |
16672 | 0 | return _internal_swift_prefix(); |
16673 | 0 | } |
16674 | | template <typename Arg_, typename... Args_> |
16675 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_swift_prefix(Arg_&& arg, |
16676 | | Args_... args) { |
16677 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
16678 | | _impl_._has_bits_[0] |= 0x00000020u; |
16679 | | _impl_.swift_prefix_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
16680 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.swift_prefix) |
16681 | | } |
16682 | 0 | inline std::string* FileOptions::mutable_swift_prefix() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16683 | 0 | std::string* _s = _internal_mutable_swift_prefix(); |
16684 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.swift_prefix) |
16685 | 0 | return _s; |
16686 | 0 | } |
16687 | 0 | inline const std::string& FileOptions::_internal_swift_prefix() const { |
16688 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16689 | 0 | return _impl_.swift_prefix_.Get(); |
16690 | 0 | } |
16691 | 0 | inline void FileOptions::_internal_set_swift_prefix(const std::string& value) { |
16692 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16693 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
16694 | 0 | _impl_.swift_prefix_.Set(value, GetArena()); |
16695 | 0 | } |
16696 | 0 | inline std::string* FileOptions::_internal_mutable_swift_prefix() { |
16697 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16698 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
16699 | 0 | return _impl_.swift_prefix_.Mutable( GetArena()); |
16700 | 0 | } |
16701 | 0 | inline std::string* FileOptions::release_swift_prefix() { |
16702 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16703 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.swift_prefix) |
16704 | 0 | if ((_impl_._has_bits_[0] & 0x00000020u) == 0) { |
16705 | 0 | return nullptr; |
16706 | 0 | } |
16707 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
16708 | 0 | auto* released = _impl_.swift_prefix_.Release(); |
16709 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
16710 | 0 | _impl_.swift_prefix_.Set("", GetArena()); |
16711 | 0 | } |
16712 | 0 | return released; |
16713 | 0 | } |
16714 | 0 | inline void FileOptions::set_allocated_swift_prefix(std::string* value) { |
16715 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16716 | 0 | if (value != nullptr) { |
16717 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
16718 | 0 | } else { |
16719 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
16720 | 0 | } |
16721 | 0 | _impl_.swift_prefix_.SetAllocated(value, GetArena()); |
16722 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.swift_prefix_.IsDefault()) { |
16723 | 0 | _impl_.swift_prefix_.Set("", GetArena()); |
16724 | 0 | } |
16725 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.swift_prefix) |
16726 | 0 | } |
16727 | | |
16728 | | // optional string php_class_prefix = 40; |
16729 | 0 | inline bool FileOptions::has_php_class_prefix() const { |
16730 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
16731 | 0 | return value; |
16732 | 0 | } |
16733 | 0 | inline void FileOptions::clear_php_class_prefix() { |
16734 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16735 | 0 | _impl_.php_class_prefix_.ClearToEmpty(); |
16736 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
16737 | 0 | } |
16738 | | inline const std::string& FileOptions::php_class_prefix() const |
16739 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16740 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_class_prefix) |
16741 | 0 | return _internal_php_class_prefix(); |
16742 | 0 | } |
16743 | | template <typename Arg_, typename... Args_> |
16744 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_php_class_prefix(Arg_&& arg, |
16745 | | Args_... args) { |
16746 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
16747 | | _impl_._has_bits_[0] |= 0x00000040u; |
16748 | | _impl_.php_class_prefix_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
16749 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_class_prefix) |
16750 | | } |
16751 | 0 | inline std::string* FileOptions::mutable_php_class_prefix() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16752 | 0 | std::string* _s = _internal_mutable_php_class_prefix(); |
16753 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_class_prefix) |
16754 | 0 | return _s; |
16755 | 0 | } |
16756 | 0 | inline const std::string& FileOptions::_internal_php_class_prefix() const { |
16757 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16758 | 0 | return _impl_.php_class_prefix_.Get(); |
16759 | 0 | } |
16760 | 0 | inline void FileOptions::_internal_set_php_class_prefix(const std::string& value) { |
16761 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16762 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
16763 | 0 | _impl_.php_class_prefix_.Set(value, GetArena()); |
16764 | 0 | } |
16765 | 0 | inline std::string* FileOptions::_internal_mutable_php_class_prefix() { |
16766 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16767 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
16768 | 0 | return _impl_.php_class_prefix_.Mutable( GetArena()); |
16769 | 0 | } |
16770 | 0 | inline std::string* FileOptions::release_php_class_prefix() { |
16771 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16772 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_class_prefix) |
16773 | 0 | if ((_impl_._has_bits_[0] & 0x00000040u) == 0) { |
16774 | 0 | return nullptr; |
16775 | 0 | } |
16776 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
16777 | 0 | auto* released = _impl_.php_class_prefix_.Release(); |
16778 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
16779 | 0 | _impl_.php_class_prefix_.Set("", GetArena()); |
16780 | 0 | } |
16781 | 0 | return released; |
16782 | 0 | } |
16783 | 0 | inline void FileOptions::set_allocated_php_class_prefix(std::string* value) { |
16784 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16785 | 0 | if (value != nullptr) { |
16786 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
16787 | 0 | } else { |
16788 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
16789 | 0 | } |
16790 | 0 | _impl_.php_class_prefix_.SetAllocated(value, GetArena()); |
16791 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.php_class_prefix_.IsDefault()) { |
16792 | 0 | _impl_.php_class_prefix_.Set("", GetArena()); |
16793 | 0 | } |
16794 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_class_prefix) |
16795 | 0 | } |
16796 | | |
16797 | | // optional string php_namespace = 41; |
16798 | 0 | inline bool FileOptions::has_php_namespace() const { |
16799 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; |
16800 | 0 | return value; |
16801 | 0 | } |
16802 | 0 | inline void FileOptions::clear_php_namespace() { |
16803 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16804 | 0 | _impl_.php_namespace_.ClearToEmpty(); |
16805 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
16806 | 0 | } |
16807 | | inline const std::string& FileOptions::php_namespace() const |
16808 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16809 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_namespace) |
16810 | 0 | return _internal_php_namespace(); |
16811 | 0 | } |
16812 | | template <typename Arg_, typename... Args_> |
16813 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_php_namespace(Arg_&& arg, |
16814 | | Args_... args) { |
16815 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
16816 | | _impl_._has_bits_[0] |= 0x00000080u; |
16817 | | _impl_.php_namespace_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
16818 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_namespace) |
16819 | | } |
16820 | 0 | inline std::string* FileOptions::mutable_php_namespace() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16821 | 0 | std::string* _s = _internal_mutable_php_namespace(); |
16822 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_namespace) |
16823 | 0 | return _s; |
16824 | 0 | } |
16825 | 0 | inline const std::string& FileOptions::_internal_php_namespace() const { |
16826 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16827 | 0 | return _impl_.php_namespace_.Get(); |
16828 | 0 | } |
16829 | 0 | inline void FileOptions::_internal_set_php_namespace(const std::string& value) { |
16830 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16831 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
16832 | 0 | _impl_.php_namespace_.Set(value, GetArena()); |
16833 | 0 | } |
16834 | 0 | inline std::string* FileOptions::_internal_mutable_php_namespace() { |
16835 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16836 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
16837 | 0 | return _impl_.php_namespace_.Mutable( GetArena()); |
16838 | 0 | } |
16839 | 0 | inline std::string* FileOptions::release_php_namespace() { |
16840 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16841 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_namespace) |
16842 | 0 | if ((_impl_._has_bits_[0] & 0x00000080u) == 0) { |
16843 | 0 | return nullptr; |
16844 | 0 | } |
16845 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
16846 | 0 | auto* released = _impl_.php_namespace_.Release(); |
16847 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
16848 | 0 | _impl_.php_namespace_.Set("", GetArena()); |
16849 | 0 | } |
16850 | 0 | return released; |
16851 | 0 | } |
16852 | 0 | inline void FileOptions::set_allocated_php_namespace(std::string* value) { |
16853 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16854 | 0 | if (value != nullptr) { |
16855 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
16856 | 0 | } else { |
16857 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
16858 | 0 | } |
16859 | 0 | _impl_.php_namespace_.SetAllocated(value, GetArena()); |
16860 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.php_namespace_.IsDefault()) { |
16861 | 0 | _impl_.php_namespace_.Set("", GetArena()); |
16862 | 0 | } |
16863 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_namespace) |
16864 | 0 | } |
16865 | | |
16866 | | // optional string php_metadata_namespace = 44; |
16867 | 0 | inline bool FileOptions::has_php_metadata_namespace() const { |
16868 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; |
16869 | 0 | return value; |
16870 | 0 | } |
16871 | 0 | inline void FileOptions::clear_php_metadata_namespace() { |
16872 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16873 | 0 | _impl_.php_metadata_namespace_.ClearToEmpty(); |
16874 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
16875 | 0 | } |
16876 | | inline const std::string& FileOptions::php_metadata_namespace() const |
16877 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16878 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_metadata_namespace) |
16879 | 0 | return _internal_php_metadata_namespace(); |
16880 | 0 | } |
16881 | | template <typename Arg_, typename... Args_> |
16882 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_php_metadata_namespace(Arg_&& arg, |
16883 | | Args_... args) { |
16884 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
16885 | | _impl_._has_bits_[0] |= 0x00000100u; |
16886 | | _impl_.php_metadata_namespace_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
16887 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_metadata_namespace) |
16888 | | } |
16889 | 0 | inline std::string* FileOptions::mutable_php_metadata_namespace() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16890 | 0 | std::string* _s = _internal_mutable_php_metadata_namespace(); |
16891 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_metadata_namespace) |
16892 | 0 | return _s; |
16893 | 0 | } |
16894 | 0 | inline const std::string& FileOptions::_internal_php_metadata_namespace() const { |
16895 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16896 | 0 | return _impl_.php_metadata_namespace_.Get(); |
16897 | 0 | } |
16898 | 0 | inline void FileOptions::_internal_set_php_metadata_namespace(const std::string& value) { |
16899 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16900 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
16901 | 0 | _impl_.php_metadata_namespace_.Set(value, GetArena()); |
16902 | 0 | } |
16903 | 0 | inline std::string* FileOptions::_internal_mutable_php_metadata_namespace() { |
16904 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16905 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
16906 | 0 | return _impl_.php_metadata_namespace_.Mutable( GetArena()); |
16907 | 0 | } |
16908 | 0 | inline std::string* FileOptions::release_php_metadata_namespace() { |
16909 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16910 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_metadata_namespace) |
16911 | 0 | if ((_impl_._has_bits_[0] & 0x00000100u) == 0) { |
16912 | 0 | return nullptr; |
16913 | 0 | } |
16914 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
16915 | 0 | auto* released = _impl_.php_metadata_namespace_.Release(); |
16916 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
16917 | 0 | _impl_.php_metadata_namespace_.Set("", GetArena()); |
16918 | 0 | } |
16919 | 0 | return released; |
16920 | 0 | } |
16921 | 0 | inline void FileOptions::set_allocated_php_metadata_namespace(std::string* value) { |
16922 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16923 | 0 | if (value != nullptr) { |
16924 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
16925 | 0 | } else { |
16926 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
16927 | 0 | } |
16928 | 0 | _impl_.php_metadata_namespace_.SetAllocated(value, GetArena()); |
16929 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.php_metadata_namespace_.IsDefault()) { |
16930 | 0 | _impl_.php_metadata_namespace_.Set("", GetArena()); |
16931 | 0 | } |
16932 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_metadata_namespace) |
16933 | 0 | } |
16934 | | |
16935 | | // optional string ruby_package = 45; |
16936 | 0 | inline bool FileOptions::has_ruby_package() const { |
16937 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; |
16938 | 0 | return value; |
16939 | 0 | } |
16940 | 0 | inline void FileOptions::clear_ruby_package() { |
16941 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16942 | 0 | _impl_.ruby_package_.ClearToEmpty(); |
16943 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
16944 | 0 | } |
16945 | | inline const std::string& FileOptions::ruby_package() const |
16946 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16947 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.ruby_package) |
16948 | 0 | return _internal_ruby_package(); |
16949 | 0 | } |
16950 | | template <typename Arg_, typename... Args_> |
16951 | | inline PROTOBUF_ALWAYS_INLINE void FileOptions::set_ruby_package(Arg_&& arg, |
16952 | | Args_... args) { |
16953 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
16954 | | _impl_._has_bits_[0] |= 0x00000200u; |
16955 | | _impl_.ruby_package_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
16956 | | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.ruby_package) |
16957 | | } |
16958 | 0 | inline std::string* FileOptions::mutable_ruby_package() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
16959 | 0 | std::string* _s = _internal_mutable_ruby_package(); |
16960 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.ruby_package) |
16961 | 0 | return _s; |
16962 | 0 | } |
16963 | 0 | inline const std::string& FileOptions::_internal_ruby_package() const { |
16964 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
16965 | 0 | return _impl_.ruby_package_.Get(); |
16966 | 0 | } |
16967 | 0 | inline void FileOptions::_internal_set_ruby_package(const std::string& value) { |
16968 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16969 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
16970 | 0 | _impl_.ruby_package_.Set(value, GetArena()); |
16971 | 0 | } |
16972 | 0 | inline std::string* FileOptions::_internal_mutable_ruby_package() { |
16973 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16974 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
16975 | 0 | return _impl_.ruby_package_.Mutable( GetArena()); |
16976 | 0 | } |
16977 | 0 | inline std::string* FileOptions::release_ruby_package() { |
16978 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16979 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.ruby_package) |
16980 | 0 | if ((_impl_._has_bits_[0] & 0x00000200u) == 0) { |
16981 | 0 | return nullptr; |
16982 | 0 | } |
16983 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
16984 | 0 | auto* released = _impl_.ruby_package_.Release(); |
16985 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
16986 | 0 | _impl_.ruby_package_.Set("", GetArena()); |
16987 | 0 | } |
16988 | 0 | return released; |
16989 | 0 | } |
16990 | 0 | inline void FileOptions::set_allocated_ruby_package(std::string* value) { |
16991 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
16992 | 0 | if (value != nullptr) { |
16993 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
16994 | 0 | } else { |
16995 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
16996 | 0 | } |
16997 | 0 | _impl_.ruby_package_.SetAllocated(value, GetArena()); |
16998 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.ruby_package_.IsDefault()) { |
16999 | 0 | _impl_.ruby_package_.Set("", GetArena()); |
17000 | 0 | } |
17001 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ruby_package) |
17002 | 0 | } |
17003 | | |
17004 | | // optional .google.protobuf.FeatureSet features = 50; |
17005 | 0 | inline bool FileOptions::has_features() const { |
17006 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; |
17007 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
17008 | 0 | return value; |
17009 | 0 | } |
17010 | 0 | inline void FileOptions::clear_features() { |
17011 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17012 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
17013 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
17014 | 0 | } |
17015 | 0 | inline const ::google::protobuf::FeatureSet& FileOptions::_internal_features() const { |
17016 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17017 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
17018 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
17019 | 0 | } |
17020 | 0 | inline const ::google::protobuf::FeatureSet& FileOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17021 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.features) |
17022 | 0 | return _internal_features(); |
17023 | 0 | } |
17024 | 0 | inline void FileOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
17025 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17026 | 0 | if (GetArena() == nullptr) { |
17027 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
17028 | 0 | } |
17029 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
17030 | 0 | if (value != nullptr) { |
17031 | 0 | _impl_._has_bits_[0] |= 0x00000400u; |
17032 | 0 | } else { |
17033 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
17034 | 0 | } |
17035 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileOptions.features) |
17036 | 0 | } |
17037 | 0 | inline ::google::protobuf::FeatureSet* FileOptions::release_features() { |
17038 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17039 | 0 |
|
17040 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
17041 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
17042 | 0 | _impl_.features_ = nullptr; |
17043 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
17044 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
17045 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
17046 | 0 | if (GetArena() == nullptr) { |
17047 | 0 | delete old; |
17048 | 0 | } |
17049 | 0 | } else { |
17050 | 0 | if (GetArena() != nullptr) { |
17051 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
17052 | 0 | } |
17053 | 0 | } |
17054 | 0 | return released; |
17055 | 0 | } |
17056 | 0 | inline ::google::protobuf::FeatureSet* FileOptions::unsafe_arena_release_features() { |
17057 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17058 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.features) |
17059 | 0 |
|
17060 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
17061 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
17062 | 0 | _impl_.features_ = nullptr; |
17063 | 0 | return temp; |
17064 | 0 | } |
17065 | 0 | inline ::google::protobuf::FeatureSet* FileOptions::_internal_mutable_features() { |
17066 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17067 | 0 | if (_impl_.features_ == nullptr) { |
17068 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
17069 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
17070 | 0 | } |
17071 | 0 | return _impl_.features_; |
17072 | 0 | } |
17073 | 0 | inline ::google::protobuf::FeatureSet* FileOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17074 | 0 | _impl_._has_bits_[0] |= 0x00000400u; |
17075 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
17076 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.features) |
17077 | 0 | return _msg; |
17078 | 0 | } |
17079 | 0 | inline void FileOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
17080 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
17081 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17082 | 0 | if (message_arena == nullptr) { |
17083 | 0 | delete (_impl_.features_); |
17084 | 0 | } |
17085 | 0 |
|
17086 | 0 | if (value != nullptr) { |
17087 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
17088 | 0 | if (message_arena != submessage_arena) { |
17089 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
17090 | 0 | } |
17091 | 0 | _impl_._has_bits_[0] |= 0x00000400u; |
17092 | 0 | } else { |
17093 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
17094 | 0 | } |
17095 | 0 |
|
17096 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
17097 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.features) |
17098 | 0 | } |
17099 | | |
17100 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
17101 | 0 | inline int FileOptions::_internal_uninterpreted_option_size() const { |
17102 | 0 | return _internal_uninterpreted_option().size(); |
17103 | 0 | } |
17104 | 0 | inline int FileOptions::uninterpreted_option_size() const { |
17105 | 0 | return _internal_uninterpreted_option_size(); |
17106 | 0 | } |
17107 | 0 | inline void FileOptions::clear_uninterpreted_option() { |
17108 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17109 | 0 | _impl_.uninterpreted_option_.Clear(); |
17110 | 0 | } |
17111 | | inline ::google::protobuf::UninterpretedOption* FileOptions::mutable_uninterpreted_option(int index) |
17112 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17113 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.uninterpreted_option) |
17114 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
17115 | 0 | } |
17116 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* FileOptions::mutable_uninterpreted_option() |
17117 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17118 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileOptions.uninterpreted_option) |
17119 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17120 | 0 | return _internal_mutable_uninterpreted_option(); |
17121 | 0 | } |
17122 | | inline const ::google::protobuf::UninterpretedOption& FileOptions::uninterpreted_option(int index) const |
17123 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17124 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterpreted_option) |
17125 | 0 | return _internal_uninterpreted_option().Get(index); |
17126 | 0 | } |
17127 | 0 | inline ::google::protobuf::UninterpretedOption* FileOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17128 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17129 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
17130 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterpreted_option) |
17131 | 0 | return _add; |
17132 | 0 | } |
17133 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& FileOptions::uninterpreted_option() const |
17134 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17135 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpreted_option) |
17136 | 0 | return _internal_uninterpreted_option(); |
17137 | 0 | } |
17138 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
17139 | 0 | FileOptions::_internal_uninterpreted_option() const { |
17140 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17141 | 0 | return _impl_.uninterpreted_option_; |
17142 | 0 | } |
17143 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
17144 | 0 | FileOptions::_internal_mutable_uninterpreted_option() { |
17145 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17146 | 0 | return &_impl_.uninterpreted_option_; |
17147 | 0 | } |
17148 | | |
17149 | | // ------------------------------------------------------------------- |
17150 | | |
17151 | | // MessageOptions |
17152 | | |
17153 | | // optional bool message_set_wire_format = 1 [default = false]; |
17154 | 0 | inline bool MessageOptions::has_message_set_wire_format() const { |
17155 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
17156 | 0 | return value; |
17157 | 0 | } |
17158 | 0 | inline void MessageOptions::clear_message_set_wire_format() { |
17159 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17160 | 0 | _impl_.message_set_wire_format_ = false; |
17161 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
17162 | 0 | } |
17163 | 0 | inline bool MessageOptions::message_set_wire_format() const { |
17164 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_set_wire_format) |
17165 | 0 | return _internal_message_set_wire_format(); |
17166 | 0 | } |
17167 | 0 | inline void MessageOptions::set_message_set_wire_format(bool value) { |
17168 | 0 | _internal_set_message_set_wire_format(value); |
17169 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
17170 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_set_wire_format) |
17171 | 0 | } |
17172 | 0 | inline bool MessageOptions::_internal_message_set_wire_format() const { |
17173 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17174 | 0 | return _impl_.message_set_wire_format_; |
17175 | 0 | } |
17176 | 0 | inline void MessageOptions::_internal_set_message_set_wire_format(bool value) { |
17177 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17178 | 0 | _impl_.message_set_wire_format_ = value; |
17179 | 0 | } |
17180 | | |
17181 | | // optional bool no_standard_descriptor_accessor = 2 [default = false]; |
17182 | 0 | inline bool MessageOptions::has_no_standard_descriptor_accessor() const { |
17183 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
17184 | 0 | return value; |
17185 | 0 | } |
17186 | 0 | inline void MessageOptions::clear_no_standard_descriptor_accessor() { |
17187 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17188 | 0 | _impl_.no_standard_descriptor_accessor_ = false; |
17189 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
17190 | 0 | } |
17191 | 0 | inline bool MessageOptions::no_standard_descriptor_accessor() const { |
17192 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standard_descriptor_accessor) |
17193 | 0 | return _internal_no_standard_descriptor_accessor(); |
17194 | 0 | } |
17195 | 0 | inline void MessageOptions::set_no_standard_descriptor_accessor(bool value) { |
17196 | 0 | _internal_set_no_standard_descriptor_accessor(value); |
17197 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
17198 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standard_descriptor_accessor) |
17199 | 0 | } |
17200 | 0 | inline bool MessageOptions::_internal_no_standard_descriptor_accessor() const { |
17201 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17202 | 0 | return _impl_.no_standard_descriptor_accessor_; |
17203 | 0 | } |
17204 | 0 | inline void MessageOptions::_internal_set_no_standard_descriptor_accessor(bool value) { |
17205 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17206 | 0 | _impl_.no_standard_descriptor_accessor_ = value; |
17207 | 0 | } |
17208 | | |
17209 | | // optional bool deprecated = 3 [default = false]; |
17210 | 0 | inline bool MessageOptions::has_deprecated() const { |
17211 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
17212 | 0 | return value; |
17213 | 0 | } |
17214 | 0 | inline void MessageOptions::clear_deprecated() { |
17215 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17216 | 0 | _impl_.deprecated_ = false; |
17217 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
17218 | 0 | } |
17219 | 0 | inline bool MessageOptions::deprecated() const { |
17220 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated) |
17221 | 0 | return _internal_deprecated(); |
17222 | 0 | } |
17223 | 0 | inline void MessageOptions::set_deprecated(bool value) { |
17224 | 0 | _internal_set_deprecated(value); |
17225 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
17226 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated) |
17227 | 0 | } |
17228 | 0 | inline bool MessageOptions::_internal_deprecated() const { |
17229 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17230 | 0 | return _impl_.deprecated_; |
17231 | 0 | } |
17232 | 0 | inline void MessageOptions::_internal_set_deprecated(bool value) { |
17233 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17234 | 0 | _impl_.deprecated_ = value; |
17235 | 0 | } |
17236 | | |
17237 | | // optional bool map_entry = 7; |
17238 | 0 | inline bool MessageOptions::has_map_entry() const { |
17239 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
17240 | 0 | return value; |
17241 | 0 | } |
17242 | 0 | inline void MessageOptions::clear_map_entry() { |
17243 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17244 | 0 | _impl_.map_entry_ = false; |
17245 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
17246 | 0 | } |
17247 | 0 | inline bool MessageOptions::map_entry() const { |
17248 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.map_entry) |
17249 | 0 | return _internal_map_entry(); |
17250 | 0 | } |
17251 | 0 | inline void MessageOptions::set_map_entry(bool value) { |
17252 | 0 | _internal_set_map_entry(value); |
17253 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
17254 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.map_entry) |
17255 | 0 | } |
17256 | 0 | inline bool MessageOptions::_internal_map_entry() const { |
17257 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17258 | 0 | return _impl_.map_entry_; |
17259 | 0 | } |
17260 | 0 | inline void MessageOptions::_internal_set_map_entry(bool value) { |
17261 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17262 | 0 | _impl_.map_entry_ = value; |
17263 | 0 | } |
17264 | | |
17265 | | // optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true]; |
17266 | 0 | inline bool MessageOptions::has_deprecated_legacy_json_field_conflicts() const { |
17267 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
17268 | 0 | return value; |
17269 | 0 | } |
17270 | 0 | inline void MessageOptions::clear_deprecated_legacy_json_field_conflicts() { |
17271 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17272 | 0 | _impl_.deprecated_legacy_json_field_conflicts_ = false; |
17273 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
17274 | 0 | } |
17275 | 0 | inline bool MessageOptions::deprecated_legacy_json_field_conflicts() const { |
17276 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts) |
17277 | 0 | return _internal_deprecated_legacy_json_field_conflicts(); |
17278 | 0 | } |
17279 | 0 | inline void MessageOptions::set_deprecated_legacy_json_field_conflicts(bool value) { |
17280 | 0 | _internal_set_deprecated_legacy_json_field_conflicts(value); |
17281 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
17282 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated_legacy_json_field_conflicts) |
17283 | 0 | } |
17284 | 0 | inline bool MessageOptions::_internal_deprecated_legacy_json_field_conflicts() const { |
17285 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17286 | 0 | return _impl_.deprecated_legacy_json_field_conflicts_; |
17287 | 0 | } |
17288 | 0 | inline void MessageOptions::_internal_set_deprecated_legacy_json_field_conflicts(bool value) { |
17289 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17290 | 0 | _impl_.deprecated_legacy_json_field_conflicts_ = value; |
17291 | 0 | } |
17292 | | |
17293 | | // optional .google.protobuf.FeatureSet features = 12; |
17294 | 0 | inline bool MessageOptions::has_features() const { |
17295 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
17296 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
17297 | 0 | return value; |
17298 | 0 | } |
17299 | 0 | inline void MessageOptions::clear_features() { |
17300 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17301 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
17302 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17303 | 0 | } |
17304 | 0 | inline const ::google::protobuf::FeatureSet& MessageOptions::_internal_features() const { |
17305 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17306 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
17307 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
17308 | 0 | } |
17309 | 0 | inline const ::google::protobuf::FeatureSet& MessageOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17310 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.features) |
17311 | 0 | return _internal_features(); |
17312 | 0 | } |
17313 | 0 | inline void MessageOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
17314 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17315 | 0 | if (GetArena() == nullptr) { |
17316 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
17317 | 0 | } |
17318 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
17319 | 0 | if (value != nullptr) { |
17320 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17321 | 0 | } else { |
17322 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17323 | 0 | } |
17324 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MessageOptions.features) |
17325 | 0 | } |
17326 | 0 | inline ::google::protobuf::FeatureSet* MessageOptions::release_features() { |
17327 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17328 | 0 |
|
17329 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17330 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
17331 | 0 | _impl_.features_ = nullptr; |
17332 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
17333 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
17334 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
17335 | 0 | if (GetArena() == nullptr) { |
17336 | 0 | delete old; |
17337 | 0 | } |
17338 | 0 | } else { |
17339 | 0 | if (GetArena() != nullptr) { |
17340 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
17341 | 0 | } |
17342 | 0 | } |
17343 | 0 | return released; |
17344 | 0 | } |
17345 | 0 | inline ::google::protobuf::FeatureSet* MessageOptions::unsafe_arena_release_features() { |
17346 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17347 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MessageOptions.features) |
17348 | 0 |
|
17349 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17350 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
17351 | 0 | _impl_.features_ = nullptr; |
17352 | 0 | return temp; |
17353 | 0 | } |
17354 | 0 | inline ::google::protobuf::FeatureSet* MessageOptions::_internal_mutable_features() { |
17355 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17356 | 0 | if (_impl_.features_ == nullptr) { |
17357 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
17358 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
17359 | 0 | } |
17360 | 0 | return _impl_.features_; |
17361 | 0 | } |
17362 | 0 | inline ::google::protobuf::FeatureSet* MessageOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17363 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17364 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
17365 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.features) |
17366 | 0 | return _msg; |
17367 | 0 | } |
17368 | 0 | inline void MessageOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
17369 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
17370 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17371 | 0 | if (message_arena == nullptr) { |
17372 | 0 | delete (_impl_.features_); |
17373 | 0 | } |
17374 | 0 |
|
17375 | 0 | if (value != nullptr) { |
17376 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
17377 | 0 | if (message_arena != submessage_arena) { |
17378 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
17379 | 0 | } |
17380 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17381 | 0 | } else { |
17382 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17383 | 0 | } |
17384 | 0 |
|
17385 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
17386 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MessageOptions.features) |
17387 | 0 | } |
17388 | | |
17389 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
17390 | 0 | inline int MessageOptions::_internal_uninterpreted_option_size() const { |
17391 | 0 | return _internal_uninterpreted_option().size(); |
17392 | 0 | } |
17393 | 0 | inline int MessageOptions::uninterpreted_option_size() const { |
17394 | 0 | return _internal_uninterpreted_option_size(); |
17395 | 0 | } |
17396 | 0 | inline void MessageOptions::clear_uninterpreted_option() { |
17397 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17398 | 0 | _impl_.uninterpreted_option_.Clear(); |
17399 | 0 | } |
17400 | | inline ::google::protobuf::UninterpretedOption* MessageOptions::mutable_uninterpreted_option(int index) |
17401 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17402 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.uninterpreted_option) |
17403 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
17404 | 0 | } |
17405 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* MessageOptions::mutable_uninterpreted_option() |
17406 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17407 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.MessageOptions.uninterpreted_option) |
17408 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17409 | 0 | return _internal_mutable_uninterpreted_option(); |
17410 | 0 | } |
17411 | | inline const ::google::protobuf::UninterpretedOption& MessageOptions::uninterpreted_option(int index) const |
17412 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17413 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpreted_option) |
17414 | 0 | return _internal_uninterpreted_option().Get(index); |
17415 | 0 | } |
17416 | 0 | inline ::google::protobuf::UninterpretedOption* MessageOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17417 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17418 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
17419 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpreted_option) |
17420 | 0 | return _add; |
17421 | 0 | } |
17422 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& MessageOptions::uninterpreted_option() const |
17423 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17424 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterpreted_option) |
17425 | 0 | return _internal_uninterpreted_option(); |
17426 | 0 | } |
17427 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
17428 | 0 | MessageOptions::_internal_uninterpreted_option() const { |
17429 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17430 | 0 | return _impl_.uninterpreted_option_; |
17431 | 0 | } |
17432 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
17433 | 0 | MessageOptions::_internal_mutable_uninterpreted_option() { |
17434 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17435 | 0 | return &_impl_.uninterpreted_option_; |
17436 | 0 | } |
17437 | | |
17438 | | // ------------------------------------------------------------------- |
17439 | | |
17440 | | // FieldOptions_EditionDefault |
17441 | | |
17442 | | // optional .google.protobuf.Edition edition = 3; |
17443 | 0 | inline bool FieldOptions_EditionDefault::has_edition() const { |
17444 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
17445 | 0 | return value; |
17446 | 0 | } |
17447 | 0 | inline void FieldOptions_EditionDefault::clear_edition() { |
17448 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17449 | 0 | _impl_.edition_ = 0; |
17450 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
17451 | 0 | } |
17452 | 0 | inline ::google::protobuf::Edition FieldOptions_EditionDefault::edition() const { |
17453 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.EditionDefault.edition) |
17454 | 0 | return _internal_edition(); |
17455 | 0 | } |
17456 | 0 | inline void FieldOptions_EditionDefault::set_edition(::google::protobuf::Edition value) { |
17457 | 0 | _internal_set_edition(value); |
17458 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
17459 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.EditionDefault.edition) |
17460 | 0 | } |
17461 | 0 | inline ::google::protobuf::Edition FieldOptions_EditionDefault::_internal_edition() const { |
17462 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17463 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.edition_); |
17464 | 0 | } |
17465 | 0 | inline void FieldOptions_EditionDefault::_internal_set_edition(::google::protobuf::Edition value) { |
17466 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17467 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
17468 | 0 | _impl_.edition_ = value; |
17469 | 0 | } |
17470 | | |
17471 | | // optional string value = 2; |
17472 | 0 | inline bool FieldOptions_EditionDefault::has_value() const { |
17473 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
17474 | 0 | return value; |
17475 | 0 | } |
17476 | 0 | inline void FieldOptions_EditionDefault::clear_value() { |
17477 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17478 | 0 | _impl_.value_.ClearToEmpty(); |
17479 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17480 | 0 | } |
17481 | | inline const std::string& FieldOptions_EditionDefault::value() const |
17482 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17483 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.EditionDefault.value) |
17484 | 0 | return _internal_value(); |
17485 | 0 | } |
17486 | | template <typename Arg_, typename... Args_> |
17487 | | inline PROTOBUF_ALWAYS_INLINE void FieldOptions_EditionDefault::set_value(Arg_&& arg, |
17488 | | Args_... args) { |
17489 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
17490 | | _impl_._has_bits_[0] |= 0x00000001u; |
17491 | | _impl_.value_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
17492 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.EditionDefault.value) |
17493 | | } |
17494 | 0 | inline std::string* FieldOptions_EditionDefault::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17495 | 0 | std::string* _s = _internal_mutable_value(); |
17496 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.EditionDefault.value) |
17497 | 0 | return _s; |
17498 | 0 | } |
17499 | 0 | inline const std::string& FieldOptions_EditionDefault::_internal_value() const { |
17500 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17501 | 0 | return _impl_.value_.Get(); |
17502 | 0 | } |
17503 | 0 | inline void FieldOptions_EditionDefault::_internal_set_value(const std::string& value) { |
17504 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17505 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17506 | 0 | _impl_.value_.Set(value, GetArena()); |
17507 | 0 | } |
17508 | 0 | inline std::string* FieldOptions_EditionDefault::_internal_mutable_value() { |
17509 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17510 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17511 | 0 | return _impl_.value_.Mutable( GetArena()); |
17512 | 0 | } |
17513 | 0 | inline std::string* FieldOptions_EditionDefault::release_value() { |
17514 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17515 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldOptions.EditionDefault.value) |
17516 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
17517 | 0 | return nullptr; |
17518 | 0 | } |
17519 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17520 | 0 | auto* released = _impl_.value_.Release(); |
17521 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
17522 | 0 | _impl_.value_.Set("", GetArena()); |
17523 | 0 | } |
17524 | 0 | return released; |
17525 | 0 | } |
17526 | 0 | inline void FieldOptions_EditionDefault::set_allocated_value(std::string* value) { |
17527 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17528 | 0 | if (value != nullptr) { |
17529 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17530 | 0 | } else { |
17531 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17532 | 0 | } |
17533 | 0 | _impl_.value_.SetAllocated(value, GetArena()); |
17534 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.value_.IsDefault()) { |
17535 | 0 | _impl_.value_.Set("", GetArena()); |
17536 | 0 | } |
17537 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldOptions.EditionDefault.value) |
17538 | 0 | } |
17539 | | |
17540 | | // ------------------------------------------------------------------- |
17541 | | |
17542 | | // FieldOptions_FeatureSupport |
17543 | | |
17544 | | // optional .google.protobuf.Edition edition_introduced = 1; |
17545 | 0 | inline bool FieldOptions_FeatureSupport::has_edition_introduced() const { |
17546 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
17547 | 0 | return value; |
17548 | 0 | } |
17549 | 0 | inline void FieldOptions_FeatureSupport::clear_edition_introduced() { |
17550 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17551 | 0 | _impl_.edition_introduced_ = 0; |
17552 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
17553 | 0 | } |
17554 | 0 | inline ::google::protobuf::Edition FieldOptions_FeatureSupport::edition_introduced() const { |
17555 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.FeatureSupport.edition_introduced) |
17556 | 0 | return _internal_edition_introduced(); |
17557 | 0 | } |
17558 | 0 | inline void FieldOptions_FeatureSupport::set_edition_introduced(::google::protobuf::Edition value) { |
17559 | 0 | _internal_set_edition_introduced(value); |
17560 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
17561 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.FeatureSupport.edition_introduced) |
17562 | 0 | } |
17563 | 0 | inline ::google::protobuf::Edition FieldOptions_FeatureSupport::_internal_edition_introduced() const { |
17564 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17565 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.edition_introduced_); |
17566 | 0 | } |
17567 | 0 | inline void FieldOptions_FeatureSupport::_internal_set_edition_introduced(::google::protobuf::Edition value) { |
17568 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17569 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
17570 | 0 | _impl_.edition_introduced_ = value; |
17571 | 0 | } |
17572 | | |
17573 | | // optional .google.protobuf.Edition edition_deprecated = 2; |
17574 | 0 | inline bool FieldOptions_FeatureSupport::has_edition_deprecated() const { |
17575 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
17576 | 0 | return value; |
17577 | 0 | } |
17578 | 0 | inline void FieldOptions_FeatureSupport::clear_edition_deprecated() { |
17579 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17580 | 0 | _impl_.edition_deprecated_ = 0; |
17581 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
17582 | 0 | } |
17583 | 0 | inline ::google::protobuf::Edition FieldOptions_FeatureSupport::edition_deprecated() const { |
17584 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.FeatureSupport.edition_deprecated) |
17585 | 0 | return _internal_edition_deprecated(); |
17586 | 0 | } |
17587 | 0 | inline void FieldOptions_FeatureSupport::set_edition_deprecated(::google::protobuf::Edition value) { |
17588 | 0 | _internal_set_edition_deprecated(value); |
17589 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
17590 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.FeatureSupport.edition_deprecated) |
17591 | 0 | } |
17592 | 0 | inline ::google::protobuf::Edition FieldOptions_FeatureSupport::_internal_edition_deprecated() const { |
17593 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17594 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.edition_deprecated_); |
17595 | 0 | } |
17596 | 0 | inline void FieldOptions_FeatureSupport::_internal_set_edition_deprecated(::google::protobuf::Edition value) { |
17597 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17598 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
17599 | 0 | _impl_.edition_deprecated_ = value; |
17600 | 0 | } |
17601 | | |
17602 | | // optional string deprecation_warning = 3; |
17603 | 0 | inline bool FieldOptions_FeatureSupport::has_deprecation_warning() const { |
17604 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
17605 | 0 | return value; |
17606 | 0 | } |
17607 | 0 | inline void FieldOptions_FeatureSupport::clear_deprecation_warning() { |
17608 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17609 | 0 | _impl_.deprecation_warning_.ClearToEmpty(); |
17610 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17611 | 0 | } |
17612 | | inline const std::string& FieldOptions_FeatureSupport::deprecation_warning() const |
17613 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17614 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.FeatureSupport.deprecation_warning) |
17615 | 0 | return _internal_deprecation_warning(); |
17616 | 0 | } |
17617 | | template <typename Arg_, typename... Args_> |
17618 | | inline PROTOBUF_ALWAYS_INLINE void FieldOptions_FeatureSupport::set_deprecation_warning(Arg_&& arg, |
17619 | | Args_... args) { |
17620 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
17621 | | _impl_._has_bits_[0] |= 0x00000001u; |
17622 | | _impl_.deprecation_warning_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
17623 | | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.FeatureSupport.deprecation_warning) |
17624 | | } |
17625 | 0 | inline std::string* FieldOptions_FeatureSupport::mutable_deprecation_warning() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17626 | 0 | std::string* _s = _internal_mutable_deprecation_warning(); |
17627 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.FeatureSupport.deprecation_warning) |
17628 | 0 | return _s; |
17629 | 0 | } |
17630 | 0 | inline const std::string& FieldOptions_FeatureSupport::_internal_deprecation_warning() const { |
17631 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17632 | 0 | return _impl_.deprecation_warning_.Get(); |
17633 | 0 | } |
17634 | 0 | inline void FieldOptions_FeatureSupport::_internal_set_deprecation_warning(const std::string& value) { |
17635 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17636 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17637 | 0 | _impl_.deprecation_warning_.Set(value, GetArena()); |
17638 | 0 | } |
17639 | 0 | inline std::string* FieldOptions_FeatureSupport::_internal_mutable_deprecation_warning() { |
17640 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17641 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17642 | 0 | return _impl_.deprecation_warning_.Mutable( GetArena()); |
17643 | 0 | } |
17644 | 0 | inline std::string* FieldOptions_FeatureSupport::release_deprecation_warning() { |
17645 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17646 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldOptions.FeatureSupport.deprecation_warning) |
17647 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
17648 | 0 | return nullptr; |
17649 | 0 | } |
17650 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17651 | 0 | auto* released = _impl_.deprecation_warning_.Release(); |
17652 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
17653 | 0 | _impl_.deprecation_warning_.Set("", GetArena()); |
17654 | 0 | } |
17655 | 0 | return released; |
17656 | 0 | } |
17657 | 0 | inline void FieldOptions_FeatureSupport::set_allocated_deprecation_warning(std::string* value) { |
17658 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17659 | 0 | if (value != nullptr) { |
17660 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
17661 | 0 | } else { |
17662 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
17663 | 0 | } |
17664 | 0 | _impl_.deprecation_warning_.SetAllocated(value, GetArena()); |
17665 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.deprecation_warning_.IsDefault()) { |
17666 | 0 | _impl_.deprecation_warning_.Set("", GetArena()); |
17667 | 0 | } |
17668 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldOptions.FeatureSupport.deprecation_warning) |
17669 | 0 | } |
17670 | | |
17671 | | // optional .google.protobuf.Edition edition_removed = 4; |
17672 | 0 | inline bool FieldOptions_FeatureSupport::has_edition_removed() const { |
17673 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
17674 | 0 | return value; |
17675 | 0 | } |
17676 | 0 | inline void FieldOptions_FeatureSupport::clear_edition_removed() { |
17677 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17678 | 0 | _impl_.edition_removed_ = 0; |
17679 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
17680 | 0 | } |
17681 | 0 | inline ::google::protobuf::Edition FieldOptions_FeatureSupport::edition_removed() const { |
17682 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.FeatureSupport.edition_removed) |
17683 | 0 | return _internal_edition_removed(); |
17684 | 0 | } |
17685 | 0 | inline void FieldOptions_FeatureSupport::set_edition_removed(::google::protobuf::Edition value) { |
17686 | 0 | _internal_set_edition_removed(value); |
17687 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
17688 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.FeatureSupport.edition_removed) |
17689 | 0 | } |
17690 | 0 | inline ::google::protobuf::Edition FieldOptions_FeatureSupport::_internal_edition_removed() const { |
17691 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17692 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.edition_removed_); |
17693 | 0 | } |
17694 | 0 | inline void FieldOptions_FeatureSupport::_internal_set_edition_removed(::google::protobuf::Edition value) { |
17695 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17696 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
17697 | 0 | _impl_.edition_removed_ = value; |
17698 | 0 | } |
17699 | | |
17700 | | // ------------------------------------------------------------------- |
17701 | | |
17702 | | // FieldOptions |
17703 | | |
17704 | | // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; |
17705 | 0 | inline bool FieldOptions::has_ctype() const { |
17706 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
17707 | 0 | return value; |
17708 | 0 | } |
17709 | 0 | inline void FieldOptions::clear_ctype() { |
17710 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17711 | 0 | _impl_.ctype_ = 0; |
17712 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
17713 | 0 | } |
17714 | 0 | inline ::google::protobuf::FieldOptions_CType FieldOptions::ctype() const { |
17715 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype) |
17716 | 0 | return _internal_ctype(); |
17717 | 0 | } |
17718 | 0 | inline void FieldOptions::set_ctype(::google::protobuf::FieldOptions_CType value) { |
17719 | 0 | _internal_set_ctype(value); |
17720 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
17721 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype) |
17722 | 0 | } |
17723 | 0 | inline ::google::protobuf::FieldOptions_CType FieldOptions::_internal_ctype() const { |
17724 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17725 | 0 | return static_cast<::google::protobuf::FieldOptions_CType>(_impl_.ctype_); |
17726 | 0 | } |
17727 | 0 | inline void FieldOptions::_internal_set_ctype(::google::protobuf::FieldOptions_CType value) { |
17728 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17729 | 0 | assert(::google::protobuf::FieldOptions_CType_IsValid(value)); |
17730 | 0 | _impl_.ctype_ = value; |
17731 | 0 | } |
17732 | | |
17733 | | // optional bool packed = 2; |
17734 | 0 | inline bool FieldOptions::has_packed() const { |
17735 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
17736 | 0 | return value; |
17737 | 0 | } |
17738 | 0 | inline void FieldOptions::clear_packed() { |
17739 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17740 | 0 | _impl_.packed_ = false; |
17741 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
17742 | 0 | } |
17743 | 0 | inline bool FieldOptions::packed() const { |
17744 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed) |
17745 | 0 | return _internal_packed(); |
17746 | 0 | } |
17747 | 0 | inline void FieldOptions::set_packed(bool value) { |
17748 | 0 | _internal_set_packed(value); |
17749 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
17750 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed) |
17751 | 0 | } |
17752 | 0 | inline bool FieldOptions::_internal_packed() const { |
17753 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17754 | 0 | return _impl_.packed_; |
17755 | 0 | } |
17756 | 0 | inline void FieldOptions::_internal_set_packed(bool value) { |
17757 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17758 | 0 | _impl_.packed_ = value; |
17759 | 0 | } |
17760 | | |
17761 | | // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; |
17762 | 0 | inline bool FieldOptions::has_jstype() const { |
17763 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
17764 | 0 | return value; |
17765 | 0 | } |
17766 | 0 | inline void FieldOptions::clear_jstype() { |
17767 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17768 | 0 | _impl_.jstype_ = 0; |
17769 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
17770 | 0 | } |
17771 | 0 | inline ::google::protobuf::FieldOptions_JSType FieldOptions::jstype() const { |
17772 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype) |
17773 | 0 | return _internal_jstype(); |
17774 | 0 | } |
17775 | 0 | inline void FieldOptions::set_jstype(::google::protobuf::FieldOptions_JSType value) { |
17776 | 0 | _internal_set_jstype(value); |
17777 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
17778 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.jstype) |
17779 | 0 | } |
17780 | 0 | inline ::google::protobuf::FieldOptions_JSType FieldOptions::_internal_jstype() const { |
17781 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17782 | 0 | return static_cast<::google::protobuf::FieldOptions_JSType>(_impl_.jstype_); |
17783 | 0 | } |
17784 | 0 | inline void FieldOptions::_internal_set_jstype(::google::protobuf::FieldOptions_JSType value) { |
17785 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17786 | 0 | assert(::google::protobuf::FieldOptions_JSType_IsValid(value)); |
17787 | 0 | _impl_.jstype_ = value; |
17788 | 0 | } |
17789 | | |
17790 | | // optional bool lazy = 5 [default = false]; |
17791 | 0 | inline bool FieldOptions::has_lazy() const { |
17792 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
17793 | 0 | return value; |
17794 | 0 | } |
17795 | 0 | inline void FieldOptions::clear_lazy() { |
17796 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17797 | 0 | _impl_.lazy_ = false; |
17798 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
17799 | 0 | } |
17800 | 0 | inline bool FieldOptions::lazy() const { |
17801 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy) |
17802 | 0 | return _internal_lazy(); |
17803 | 0 | } |
17804 | 0 | inline void FieldOptions::set_lazy(bool value) { |
17805 | 0 | _internal_set_lazy(value); |
17806 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
17807 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy) |
17808 | 0 | } |
17809 | 0 | inline bool FieldOptions::_internal_lazy() const { |
17810 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17811 | 0 | return _impl_.lazy_; |
17812 | 0 | } |
17813 | 0 | inline void FieldOptions::_internal_set_lazy(bool value) { |
17814 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17815 | 0 | _impl_.lazy_ = value; |
17816 | 0 | } |
17817 | | |
17818 | | // optional bool unverified_lazy = 15 [default = false]; |
17819 | 0 | inline bool FieldOptions::has_unverified_lazy() const { |
17820 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
17821 | 0 | return value; |
17822 | 0 | } |
17823 | 0 | inline void FieldOptions::clear_unverified_lazy() { |
17824 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17825 | 0 | _impl_.unverified_lazy_ = false; |
17826 | 0 | _impl_._has_bits_[0] &= ~0x00000040u; |
17827 | 0 | } |
17828 | 0 | inline bool FieldOptions::unverified_lazy() const { |
17829 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.unverified_lazy) |
17830 | 0 | return _internal_unverified_lazy(); |
17831 | 0 | } |
17832 | 0 | inline void FieldOptions::set_unverified_lazy(bool value) { |
17833 | 0 | _internal_set_unverified_lazy(value); |
17834 | 0 | _impl_._has_bits_[0] |= 0x00000040u; |
17835 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.unverified_lazy) |
17836 | 0 | } |
17837 | 0 | inline bool FieldOptions::_internal_unverified_lazy() const { |
17838 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17839 | 0 | return _impl_.unverified_lazy_; |
17840 | 0 | } |
17841 | 0 | inline void FieldOptions::_internal_set_unverified_lazy(bool value) { |
17842 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17843 | 0 | _impl_.unverified_lazy_ = value; |
17844 | 0 | } |
17845 | | |
17846 | | // optional bool deprecated = 3 [default = false]; |
17847 | 0 | inline bool FieldOptions::has_deprecated() const { |
17848 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; |
17849 | 0 | return value; |
17850 | 0 | } |
17851 | 0 | inline void FieldOptions::clear_deprecated() { |
17852 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17853 | 0 | _impl_.deprecated_ = false; |
17854 | 0 | _impl_._has_bits_[0] &= ~0x00000080u; |
17855 | 0 | } |
17856 | 0 | inline bool FieldOptions::deprecated() const { |
17857 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated) |
17858 | 0 | return _internal_deprecated(); |
17859 | 0 | } |
17860 | 0 | inline void FieldOptions::set_deprecated(bool value) { |
17861 | 0 | _internal_set_deprecated(value); |
17862 | 0 | _impl_._has_bits_[0] |= 0x00000080u; |
17863 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated) |
17864 | 0 | } |
17865 | 0 | inline bool FieldOptions::_internal_deprecated() const { |
17866 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17867 | 0 | return _impl_.deprecated_; |
17868 | 0 | } |
17869 | 0 | inline void FieldOptions::_internal_set_deprecated(bool value) { |
17870 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17871 | 0 | _impl_.deprecated_ = value; |
17872 | 0 | } |
17873 | | |
17874 | | // optional bool weak = 10 [default = false]; |
17875 | 0 | inline bool FieldOptions::has_weak() const { |
17876 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; |
17877 | 0 | return value; |
17878 | 0 | } |
17879 | 0 | inline void FieldOptions::clear_weak() { |
17880 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17881 | 0 | _impl_.weak_ = false; |
17882 | 0 | _impl_._has_bits_[0] &= ~0x00000100u; |
17883 | 0 | } |
17884 | 0 | inline bool FieldOptions::weak() const { |
17885 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak) |
17886 | 0 | return _internal_weak(); |
17887 | 0 | } |
17888 | 0 | inline void FieldOptions::set_weak(bool value) { |
17889 | 0 | _internal_set_weak(value); |
17890 | 0 | _impl_._has_bits_[0] |= 0x00000100u; |
17891 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak) |
17892 | 0 | } |
17893 | 0 | inline bool FieldOptions::_internal_weak() const { |
17894 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17895 | 0 | return _impl_.weak_; |
17896 | 0 | } |
17897 | 0 | inline void FieldOptions::_internal_set_weak(bool value) { |
17898 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17899 | 0 | _impl_.weak_ = value; |
17900 | 0 | } |
17901 | | |
17902 | | // optional bool debug_redact = 16 [default = false]; |
17903 | 0 | inline bool FieldOptions::has_debug_redact() const { |
17904 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; |
17905 | 0 | return value; |
17906 | 0 | } |
17907 | 0 | inline void FieldOptions::clear_debug_redact() { |
17908 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17909 | 0 | _impl_.debug_redact_ = false; |
17910 | 0 | _impl_._has_bits_[0] &= ~0x00000200u; |
17911 | 0 | } |
17912 | 0 | inline bool FieldOptions::debug_redact() const { |
17913 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.debug_redact) |
17914 | 0 | return _internal_debug_redact(); |
17915 | 0 | } |
17916 | 0 | inline void FieldOptions::set_debug_redact(bool value) { |
17917 | 0 | _internal_set_debug_redact(value); |
17918 | 0 | _impl_._has_bits_[0] |= 0x00000200u; |
17919 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.debug_redact) |
17920 | 0 | } |
17921 | 0 | inline bool FieldOptions::_internal_debug_redact() const { |
17922 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17923 | 0 | return _impl_.debug_redact_; |
17924 | 0 | } |
17925 | 0 | inline void FieldOptions::_internal_set_debug_redact(bool value) { |
17926 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17927 | 0 | _impl_.debug_redact_ = value; |
17928 | 0 | } |
17929 | | |
17930 | | // optional .google.protobuf.FieldOptions.OptionRetention retention = 17; |
17931 | 0 | inline bool FieldOptions::has_retention() const { |
17932 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; |
17933 | 0 | return value; |
17934 | 0 | } |
17935 | 0 | inline void FieldOptions::clear_retention() { |
17936 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17937 | 0 | _impl_.retention_ = 0; |
17938 | 0 | _impl_._has_bits_[0] &= ~0x00000400u; |
17939 | 0 | } |
17940 | 0 | inline ::google::protobuf::FieldOptions_OptionRetention FieldOptions::retention() const { |
17941 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.retention) |
17942 | 0 | return _internal_retention(); |
17943 | 0 | } |
17944 | 0 | inline void FieldOptions::set_retention(::google::protobuf::FieldOptions_OptionRetention value) { |
17945 | 0 | _internal_set_retention(value); |
17946 | 0 | _impl_._has_bits_[0] |= 0x00000400u; |
17947 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.retention) |
17948 | 0 | } |
17949 | 0 | inline ::google::protobuf::FieldOptions_OptionRetention FieldOptions::_internal_retention() const { |
17950 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17951 | 0 | return static_cast<::google::protobuf::FieldOptions_OptionRetention>(_impl_.retention_); |
17952 | 0 | } |
17953 | 0 | inline void FieldOptions::_internal_set_retention(::google::protobuf::FieldOptions_OptionRetention value) { |
17954 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17955 | 0 | assert(::google::protobuf::FieldOptions_OptionRetention_IsValid(value)); |
17956 | 0 | _impl_.retention_ = value; |
17957 | 0 | } |
17958 | | |
17959 | | // repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19; |
17960 | 0 | inline int FieldOptions::_internal_targets_size() const { |
17961 | 0 | return _internal_targets().size(); |
17962 | 0 | } |
17963 | 0 | inline int FieldOptions::targets_size() const { |
17964 | 0 | return _internal_targets_size(); |
17965 | 0 | } |
17966 | 0 | inline void FieldOptions::clear_targets() { |
17967 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17968 | 0 | _impl_.targets_.Clear(); |
17969 | 0 | } |
17970 | 0 | inline ::google::protobuf::FieldOptions_OptionTargetType FieldOptions::targets(int index) const { |
17971 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.targets) |
17972 | 0 | return static_cast<::google::protobuf::FieldOptions_OptionTargetType>(_internal_targets().Get(index)); |
17973 | 0 | } |
17974 | 0 | inline void FieldOptions::set_targets(int index, ::google::protobuf::FieldOptions_OptionTargetType value) { |
17975 | 0 | assert(::google::protobuf::FieldOptions_OptionTargetType_IsValid(value)); |
17976 | 0 | _internal_mutable_targets()->Set(index, value); |
17977 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.targets) |
17978 | 0 | } |
17979 | 0 | inline void FieldOptions::add_targets(::google::protobuf::FieldOptions_OptionTargetType value) { |
17980 | 0 | assert(::google::protobuf::FieldOptions_OptionTargetType_IsValid(value)); |
17981 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17982 | 0 | _internal_mutable_targets()->Add(value); |
17983 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.targets) |
17984 | 0 | } |
17985 | | inline const ::google::protobuf::RepeatedField<int>& FieldOptions::targets() const |
17986 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17987 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.targets) |
17988 | 0 | return _internal_targets(); |
17989 | 0 | } |
17990 | | inline ::google::protobuf::RepeatedField<int>* FieldOptions::mutable_targets() |
17991 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
17992 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.targets) |
17993 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
17994 | 0 | return _internal_mutable_targets(); |
17995 | 0 | } |
17996 | | inline const ::google::protobuf::RepeatedField<int>& FieldOptions::_internal_targets() |
17997 | 0 | const { |
17998 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
17999 | 0 | return _impl_.targets_; |
18000 | 0 | } |
18001 | 0 | inline ::google::protobuf::RepeatedField<int>* FieldOptions::_internal_mutable_targets() { |
18002 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18003 | 0 | return &_impl_.targets_; |
18004 | 0 | } |
18005 | | |
18006 | | // repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20; |
18007 | 0 | inline int FieldOptions::_internal_edition_defaults_size() const { |
18008 | 0 | return _internal_edition_defaults().size(); |
18009 | 0 | } |
18010 | 0 | inline int FieldOptions::edition_defaults_size() const { |
18011 | 0 | return _internal_edition_defaults_size(); |
18012 | 0 | } |
18013 | 0 | inline void FieldOptions::clear_edition_defaults() { |
18014 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18015 | 0 | _impl_.edition_defaults_.Clear(); |
18016 | 0 | } |
18017 | | inline ::google::protobuf::FieldOptions_EditionDefault* FieldOptions::mutable_edition_defaults(int index) |
18018 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18019 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.edition_defaults) |
18020 | 0 | return _internal_mutable_edition_defaults()->Mutable(index); |
18021 | 0 | } |
18022 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>* FieldOptions::mutable_edition_defaults() |
18023 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18024 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.edition_defaults) |
18025 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18026 | 0 | return _internal_mutable_edition_defaults(); |
18027 | 0 | } |
18028 | | inline const ::google::protobuf::FieldOptions_EditionDefault& FieldOptions::edition_defaults(int index) const |
18029 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18030 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.edition_defaults) |
18031 | 0 | return _internal_edition_defaults().Get(index); |
18032 | 0 | } |
18033 | 0 | inline ::google::protobuf::FieldOptions_EditionDefault* FieldOptions::add_edition_defaults() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18034 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18035 | 0 | ::google::protobuf::FieldOptions_EditionDefault* _add = _internal_mutable_edition_defaults()->Add(); |
18036 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.edition_defaults) |
18037 | 0 | return _add; |
18038 | 0 | } |
18039 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>& FieldOptions::edition_defaults() const |
18040 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18041 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.edition_defaults) |
18042 | 0 | return _internal_edition_defaults(); |
18043 | 0 | } |
18044 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>& |
18045 | 0 | FieldOptions::_internal_edition_defaults() const { |
18046 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18047 | 0 | return _impl_.edition_defaults_; |
18048 | 0 | } |
18049 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>* |
18050 | 0 | FieldOptions::_internal_mutable_edition_defaults() { |
18051 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18052 | 0 | return &_impl_.edition_defaults_; |
18053 | 0 | } |
18054 | | |
18055 | | // optional .google.protobuf.FeatureSet features = 21; |
18056 | 0 | inline bool FieldOptions::has_features() const { |
18057 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
18058 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
18059 | 0 | return value; |
18060 | 0 | } |
18061 | 0 | inline void FieldOptions::clear_features() { |
18062 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18063 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
18064 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18065 | 0 | } |
18066 | 0 | inline const ::google::protobuf::FeatureSet& FieldOptions::_internal_features() const { |
18067 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18068 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
18069 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
18070 | 0 | } |
18071 | 0 | inline const ::google::protobuf::FeatureSet& FieldOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18072 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.features) |
18073 | 0 | return _internal_features(); |
18074 | 0 | } |
18075 | 0 | inline void FieldOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
18076 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18077 | 0 | if (GetArena() == nullptr) { |
18078 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
18079 | 0 | } |
18080 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
18081 | 0 | if (value != nullptr) { |
18082 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18083 | 0 | } else { |
18084 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18085 | 0 | } |
18086 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldOptions.features) |
18087 | 0 | } |
18088 | 0 | inline ::google::protobuf::FeatureSet* FieldOptions::release_features() { |
18089 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18090 | 0 |
|
18091 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18092 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
18093 | 0 | _impl_.features_ = nullptr; |
18094 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
18095 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
18096 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18097 | 0 | if (GetArena() == nullptr) { |
18098 | 0 | delete old; |
18099 | 0 | } |
18100 | 0 | } else { |
18101 | 0 | if (GetArena() != nullptr) { |
18102 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18103 | 0 | } |
18104 | 0 | } |
18105 | 0 | return released; |
18106 | 0 | } |
18107 | 0 | inline ::google::protobuf::FeatureSet* FieldOptions::unsafe_arena_release_features() { |
18108 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18109 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldOptions.features) |
18110 | 0 |
|
18111 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18112 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
18113 | 0 | _impl_.features_ = nullptr; |
18114 | 0 | return temp; |
18115 | 0 | } |
18116 | 0 | inline ::google::protobuf::FeatureSet* FieldOptions::_internal_mutable_features() { |
18117 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18118 | 0 | if (_impl_.features_ == nullptr) { |
18119 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
18120 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
18121 | 0 | } |
18122 | 0 | return _impl_.features_; |
18123 | 0 | } |
18124 | 0 | inline ::google::protobuf::FeatureSet* FieldOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18125 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18126 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
18127 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.features) |
18128 | 0 | return _msg; |
18129 | 0 | } |
18130 | 0 | inline void FieldOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
18131 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
18132 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18133 | 0 | if (message_arena == nullptr) { |
18134 | 0 | delete (_impl_.features_); |
18135 | 0 | } |
18136 | 0 |
|
18137 | 0 | if (value != nullptr) { |
18138 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
18139 | 0 | if (message_arena != submessage_arena) { |
18140 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
18141 | 0 | } |
18142 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18143 | 0 | } else { |
18144 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18145 | 0 | } |
18146 | 0 |
|
18147 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
18148 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldOptions.features) |
18149 | 0 | } |
18150 | | |
18151 | | // optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22; |
18152 | 0 | inline bool FieldOptions::has_feature_support() const { |
18153 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
18154 | 0 | PROTOBUF_ASSUME(!value || _impl_.feature_support_ != nullptr); |
18155 | 0 | return value; |
18156 | 0 | } |
18157 | 0 | inline void FieldOptions::clear_feature_support() { |
18158 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18159 | 0 | if (_impl_.feature_support_ != nullptr) _impl_.feature_support_->Clear(); |
18160 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18161 | 0 | } |
18162 | 0 | inline const ::google::protobuf::FieldOptions_FeatureSupport& FieldOptions::_internal_feature_support() const { |
18163 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18164 | 0 | const ::google::protobuf::FieldOptions_FeatureSupport* p = _impl_.feature_support_; |
18165 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FieldOptions_FeatureSupport&>(::google::protobuf::_FieldOptions_FeatureSupport_default_instance_); |
18166 | 0 | } |
18167 | 0 | inline const ::google::protobuf::FieldOptions_FeatureSupport& FieldOptions::feature_support() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18168 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.feature_support) |
18169 | 0 | return _internal_feature_support(); |
18170 | 0 | } |
18171 | 0 | inline void FieldOptions::unsafe_arena_set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value) { |
18172 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18173 | 0 | if (GetArena() == nullptr) { |
18174 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.feature_support_); |
18175 | 0 | } |
18176 | 0 | _impl_.feature_support_ = reinterpret_cast<::google::protobuf::FieldOptions_FeatureSupport*>(value); |
18177 | 0 | if (value != nullptr) { |
18178 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18179 | 0 | } else { |
18180 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18181 | 0 | } |
18182 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldOptions.feature_support) |
18183 | 0 | } |
18184 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* FieldOptions::release_feature_support() { |
18185 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18186 | 0 |
|
18187 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18188 | 0 | ::google::protobuf::FieldOptions_FeatureSupport* released = _impl_.feature_support_; |
18189 | 0 | _impl_.feature_support_ = nullptr; |
18190 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
18191 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
18192 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18193 | 0 | if (GetArena() == nullptr) { |
18194 | 0 | delete old; |
18195 | 0 | } |
18196 | 0 | } else { |
18197 | 0 | if (GetArena() != nullptr) { |
18198 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18199 | 0 | } |
18200 | 0 | } |
18201 | 0 | return released; |
18202 | 0 | } |
18203 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* FieldOptions::unsafe_arena_release_feature_support() { |
18204 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18205 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FieldOptions.feature_support) |
18206 | 0 |
|
18207 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18208 | 0 | ::google::protobuf::FieldOptions_FeatureSupport* temp = _impl_.feature_support_; |
18209 | 0 | _impl_.feature_support_ = nullptr; |
18210 | 0 | return temp; |
18211 | 0 | } |
18212 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* FieldOptions::_internal_mutable_feature_support() { |
18213 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18214 | 0 | if (_impl_.feature_support_ == nullptr) { |
18215 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FieldOptions_FeatureSupport>(GetArena()); |
18216 | 0 | _impl_.feature_support_ = reinterpret_cast<::google::protobuf::FieldOptions_FeatureSupport*>(p); |
18217 | 0 | } |
18218 | 0 | return _impl_.feature_support_; |
18219 | 0 | } |
18220 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* FieldOptions::mutable_feature_support() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18221 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18222 | 0 | ::google::protobuf::FieldOptions_FeatureSupport* _msg = _internal_mutable_feature_support(); |
18223 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.feature_support) |
18224 | 0 | return _msg; |
18225 | 0 | } |
18226 | 0 | inline void FieldOptions::set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value) { |
18227 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
18228 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18229 | 0 | if (message_arena == nullptr) { |
18230 | 0 | delete (_impl_.feature_support_); |
18231 | 0 | } |
18232 | 0 |
|
18233 | 0 | if (value != nullptr) { |
18234 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
18235 | 0 | if (message_arena != submessage_arena) { |
18236 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
18237 | 0 | } |
18238 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18239 | 0 | } else { |
18240 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18241 | 0 | } |
18242 | 0 |
|
18243 | 0 | _impl_.feature_support_ = reinterpret_cast<::google::protobuf::FieldOptions_FeatureSupport*>(value); |
18244 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldOptions.feature_support) |
18245 | 0 | } |
18246 | | |
18247 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
18248 | 0 | inline int FieldOptions::_internal_uninterpreted_option_size() const { |
18249 | 0 | return _internal_uninterpreted_option().size(); |
18250 | 0 | } |
18251 | 0 | inline int FieldOptions::uninterpreted_option_size() const { |
18252 | 0 | return _internal_uninterpreted_option_size(); |
18253 | 0 | } |
18254 | 0 | inline void FieldOptions::clear_uninterpreted_option() { |
18255 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18256 | 0 | _impl_.uninterpreted_option_.Clear(); |
18257 | 0 | } |
18258 | | inline ::google::protobuf::UninterpretedOption* FieldOptions::mutable_uninterpreted_option(int index) |
18259 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18260 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.uninterpreted_option) |
18261 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
18262 | 0 | } |
18263 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* FieldOptions::mutable_uninterpreted_option() |
18264 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18265 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.uninterpreted_option) |
18266 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18267 | 0 | return _internal_mutable_uninterpreted_option(); |
18268 | 0 | } |
18269 | | inline const ::google::protobuf::UninterpretedOption& FieldOptions::uninterpreted_option(int index) const |
18270 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18271 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpreted_option) |
18272 | 0 | return _internal_uninterpreted_option().Get(index); |
18273 | 0 | } |
18274 | 0 | inline ::google::protobuf::UninterpretedOption* FieldOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18275 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18276 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
18277 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpreted_option) |
18278 | 0 | return _add; |
18279 | 0 | } |
18280 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& FieldOptions::uninterpreted_option() const |
18281 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18282 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpreted_option) |
18283 | 0 | return _internal_uninterpreted_option(); |
18284 | 0 | } |
18285 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
18286 | 0 | FieldOptions::_internal_uninterpreted_option() const { |
18287 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18288 | 0 | return _impl_.uninterpreted_option_; |
18289 | 0 | } |
18290 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
18291 | 0 | FieldOptions::_internal_mutable_uninterpreted_option() { |
18292 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18293 | 0 | return &_impl_.uninterpreted_option_; |
18294 | 0 | } |
18295 | | |
18296 | | // ------------------------------------------------------------------- |
18297 | | |
18298 | | // OneofOptions |
18299 | | |
18300 | | // optional .google.protobuf.FeatureSet features = 1; |
18301 | 0 | inline bool OneofOptions::has_features() const { |
18302 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
18303 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
18304 | 0 | return value; |
18305 | 0 | } |
18306 | 0 | inline void OneofOptions::clear_features() { |
18307 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18308 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
18309 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18310 | 0 | } |
18311 | 0 | inline const ::google::protobuf::FeatureSet& OneofOptions::_internal_features() const { |
18312 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18313 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
18314 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
18315 | 0 | } |
18316 | 0 | inline const ::google::protobuf::FeatureSet& OneofOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18317 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.OneofOptions.features) |
18318 | 0 | return _internal_features(); |
18319 | 0 | } |
18320 | 0 | inline void OneofOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
18321 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18322 | 0 | if (GetArena() == nullptr) { |
18323 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
18324 | 0 | } |
18325 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
18326 | 0 | if (value != nullptr) { |
18327 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18328 | 0 | } else { |
18329 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18330 | 0 | } |
18331 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.OneofOptions.features) |
18332 | 0 | } |
18333 | 0 | inline ::google::protobuf::FeatureSet* OneofOptions::release_features() { |
18334 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18335 | 0 |
|
18336 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18337 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
18338 | 0 | _impl_.features_ = nullptr; |
18339 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
18340 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
18341 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18342 | 0 | if (GetArena() == nullptr) { |
18343 | 0 | delete old; |
18344 | 0 | } |
18345 | 0 | } else { |
18346 | 0 | if (GetArena() != nullptr) { |
18347 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18348 | 0 | } |
18349 | 0 | } |
18350 | 0 | return released; |
18351 | 0 | } |
18352 | 0 | inline ::google::protobuf::FeatureSet* OneofOptions::unsafe_arena_release_features() { |
18353 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18354 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.OneofOptions.features) |
18355 | 0 |
|
18356 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18357 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
18358 | 0 | _impl_.features_ = nullptr; |
18359 | 0 | return temp; |
18360 | 0 | } |
18361 | 0 | inline ::google::protobuf::FeatureSet* OneofOptions::_internal_mutable_features() { |
18362 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18363 | 0 | if (_impl_.features_ == nullptr) { |
18364 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
18365 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
18366 | 0 | } |
18367 | 0 | return _impl_.features_; |
18368 | 0 | } |
18369 | 0 | inline ::google::protobuf::FeatureSet* OneofOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18370 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18371 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
18372 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofOptions.features) |
18373 | 0 | return _msg; |
18374 | 0 | } |
18375 | 0 | inline void OneofOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
18376 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
18377 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18378 | 0 | if (message_arena == nullptr) { |
18379 | 0 | delete (_impl_.features_); |
18380 | 0 | } |
18381 | 0 |
|
18382 | 0 | if (value != nullptr) { |
18383 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
18384 | 0 | if (message_arena != submessage_arena) { |
18385 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
18386 | 0 | } |
18387 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18388 | 0 | } else { |
18389 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18390 | 0 | } |
18391 | 0 |
|
18392 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
18393 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofOptions.features) |
18394 | 0 | } |
18395 | | |
18396 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
18397 | 0 | inline int OneofOptions::_internal_uninterpreted_option_size() const { |
18398 | 0 | return _internal_uninterpreted_option().size(); |
18399 | 0 | } |
18400 | 0 | inline int OneofOptions::uninterpreted_option_size() const { |
18401 | 0 | return _internal_uninterpreted_option_size(); |
18402 | 0 | } |
18403 | 0 | inline void OneofOptions::clear_uninterpreted_option() { |
18404 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18405 | 0 | _impl_.uninterpreted_option_.Clear(); |
18406 | 0 | } |
18407 | | inline ::google::protobuf::UninterpretedOption* OneofOptions::mutable_uninterpreted_option(int index) |
18408 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18409 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofOptions.uninterpreted_option) |
18410 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
18411 | 0 | } |
18412 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* OneofOptions::mutable_uninterpreted_option() |
18413 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18414 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.OneofOptions.uninterpreted_option) |
18415 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18416 | 0 | return _internal_mutable_uninterpreted_option(); |
18417 | 0 | } |
18418 | | inline const ::google::protobuf::UninterpretedOption& OneofOptions::uninterpreted_option(int index) const |
18419 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18420 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.OneofOptions.uninterpreted_option) |
18421 | 0 | return _internal_uninterpreted_option().Get(index); |
18422 | 0 | } |
18423 | 0 | inline ::google::protobuf::UninterpretedOption* OneofOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18424 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18425 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
18426 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.OneofOptions.uninterpreted_option) |
18427 | 0 | return _add; |
18428 | 0 | } |
18429 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& OneofOptions::uninterpreted_option() const |
18430 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18431 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.OneofOptions.uninterpreted_option) |
18432 | 0 | return _internal_uninterpreted_option(); |
18433 | 0 | } |
18434 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
18435 | 0 | OneofOptions::_internal_uninterpreted_option() const { |
18436 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18437 | 0 | return _impl_.uninterpreted_option_; |
18438 | 0 | } |
18439 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
18440 | 0 | OneofOptions::_internal_mutable_uninterpreted_option() { |
18441 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18442 | 0 | return &_impl_.uninterpreted_option_; |
18443 | 0 | } |
18444 | | |
18445 | | // ------------------------------------------------------------------- |
18446 | | |
18447 | | // EnumOptions |
18448 | | |
18449 | | // optional bool allow_alias = 2; |
18450 | 0 | inline bool EnumOptions::has_allow_alias() const { |
18451 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
18452 | 0 | return value; |
18453 | 0 | } |
18454 | 0 | inline void EnumOptions::clear_allow_alias() { |
18455 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18456 | 0 | _impl_.allow_alias_ = false; |
18457 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18458 | 0 | } |
18459 | 0 | inline bool EnumOptions::allow_alias() const { |
18460 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias) |
18461 | 0 | return _internal_allow_alias(); |
18462 | 0 | } |
18463 | 0 | inline void EnumOptions::set_allow_alias(bool value) { |
18464 | 0 | _internal_set_allow_alias(value); |
18465 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18466 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias) |
18467 | 0 | } |
18468 | 0 | inline bool EnumOptions::_internal_allow_alias() const { |
18469 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18470 | 0 | return _impl_.allow_alias_; |
18471 | 0 | } |
18472 | 0 | inline void EnumOptions::_internal_set_allow_alias(bool value) { |
18473 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18474 | 0 | _impl_.allow_alias_ = value; |
18475 | 0 | } |
18476 | | |
18477 | | // optional bool deprecated = 3 [default = false]; |
18478 | 0 | inline bool EnumOptions::has_deprecated() const { |
18479 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
18480 | 0 | return value; |
18481 | 0 | } |
18482 | 0 | inline void EnumOptions::clear_deprecated() { |
18483 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18484 | 0 | _impl_.deprecated_ = false; |
18485 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
18486 | 0 | } |
18487 | 0 | inline bool EnumOptions::deprecated() const { |
18488 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated) |
18489 | 0 | return _internal_deprecated(); |
18490 | 0 | } |
18491 | 0 | inline void EnumOptions::set_deprecated(bool value) { |
18492 | 0 | _internal_set_deprecated(value); |
18493 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
18494 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated) |
18495 | 0 | } |
18496 | 0 | inline bool EnumOptions::_internal_deprecated() const { |
18497 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18498 | 0 | return _impl_.deprecated_; |
18499 | 0 | } |
18500 | 0 | inline void EnumOptions::_internal_set_deprecated(bool value) { |
18501 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18502 | 0 | _impl_.deprecated_ = value; |
18503 | 0 | } |
18504 | | |
18505 | | // optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true]; |
18506 | 0 | inline bool EnumOptions::has_deprecated_legacy_json_field_conflicts() const { |
18507 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
18508 | 0 | return value; |
18509 | 0 | } |
18510 | 0 | inline void EnumOptions::clear_deprecated_legacy_json_field_conflicts() { |
18511 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18512 | 0 | _impl_.deprecated_legacy_json_field_conflicts_ = false; |
18513 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
18514 | 0 | } |
18515 | 0 | inline bool EnumOptions::deprecated_legacy_json_field_conflicts() const { |
18516 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts) |
18517 | 0 | return _internal_deprecated_legacy_json_field_conflicts(); |
18518 | 0 | } |
18519 | 0 | inline void EnumOptions::set_deprecated_legacy_json_field_conflicts(bool value) { |
18520 | 0 | _internal_set_deprecated_legacy_json_field_conflicts(value); |
18521 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
18522 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated_legacy_json_field_conflicts) |
18523 | 0 | } |
18524 | 0 | inline bool EnumOptions::_internal_deprecated_legacy_json_field_conflicts() const { |
18525 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18526 | 0 | return _impl_.deprecated_legacy_json_field_conflicts_; |
18527 | 0 | } |
18528 | 0 | inline void EnumOptions::_internal_set_deprecated_legacy_json_field_conflicts(bool value) { |
18529 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18530 | 0 | _impl_.deprecated_legacy_json_field_conflicts_ = value; |
18531 | 0 | } |
18532 | | |
18533 | | // optional .google.protobuf.FeatureSet features = 7; |
18534 | 0 | inline bool EnumOptions::has_features() const { |
18535 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
18536 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
18537 | 0 | return value; |
18538 | 0 | } |
18539 | 0 | inline void EnumOptions::clear_features() { |
18540 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18541 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
18542 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18543 | 0 | } |
18544 | 0 | inline const ::google::protobuf::FeatureSet& EnumOptions::_internal_features() const { |
18545 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18546 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
18547 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
18548 | 0 | } |
18549 | 0 | inline const ::google::protobuf::FeatureSet& EnumOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18550 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.features) |
18551 | 0 | return _internal_features(); |
18552 | 0 | } |
18553 | 0 | inline void EnumOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
18554 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18555 | 0 | if (GetArena() == nullptr) { |
18556 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
18557 | 0 | } |
18558 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
18559 | 0 | if (value != nullptr) { |
18560 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18561 | 0 | } else { |
18562 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18563 | 0 | } |
18564 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumOptions.features) |
18565 | 0 | } |
18566 | 0 | inline ::google::protobuf::FeatureSet* EnumOptions::release_features() { |
18567 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18568 | 0 |
|
18569 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18570 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
18571 | 0 | _impl_.features_ = nullptr; |
18572 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
18573 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
18574 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18575 | 0 | if (GetArena() == nullptr) { |
18576 | 0 | delete old; |
18577 | 0 | } |
18578 | 0 | } else { |
18579 | 0 | if (GetArena() != nullptr) { |
18580 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18581 | 0 | } |
18582 | 0 | } |
18583 | 0 | return released; |
18584 | 0 | } |
18585 | 0 | inline ::google::protobuf::FeatureSet* EnumOptions::unsafe_arena_release_features() { |
18586 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18587 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumOptions.features) |
18588 | 0 |
|
18589 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18590 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
18591 | 0 | _impl_.features_ = nullptr; |
18592 | 0 | return temp; |
18593 | 0 | } |
18594 | 0 | inline ::google::protobuf::FeatureSet* EnumOptions::_internal_mutable_features() { |
18595 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18596 | 0 | if (_impl_.features_ == nullptr) { |
18597 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
18598 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
18599 | 0 | } |
18600 | 0 | return _impl_.features_; |
18601 | 0 | } |
18602 | 0 | inline ::google::protobuf::FeatureSet* EnumOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18603 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18604 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
18605 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.features) |
18606 | 0 | return _msg; |
18607 | 0 | } |
18608 | 0 | inline void EnumOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
18609 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
18610 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18611 | 0 | if (message_arena == nullptr) { |
18612 | 0 | delete (_impl_.features_); |
18613 | 0 | } |
18614 | 0 |
|
18615 | 0 | if (value != nullptr) { |
18616 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
18617 | 0 | if (message_arena != submessage_arena) { |
18618 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
18619 | 0 | } |
18620 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18621 | 0 | } else { |
18622 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18623 | 0 | } |
18624 | 0 |
|
18625 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
18626 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumOptions.features) |
18627 | 0 | } |
18628 | | |
18629 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
18630 | 0 | inline int EnumOptions::_internal_uninterpreted_option_size() const { |
18631 | 0 | return _internal_uninterpreted_option().size(); |
18632 | 0 | } |
18633 | 0 | inline int EnumOptions::uninterpreted_option_size() const { |
18634 | 0 | return _internal_uninterpreted_option_size(); |
18635 | 0 | } |
18636 | 0 | inline void EnumOptions::clear_uninterpreted_option() { |
18637 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18638 | 0 | _impl_.uninterpreted_option_.Clear(); |
18639 | 0 | } |
18640 | | inline ::google::protobuf::UninterpretedOption* EnumOptions::mutable_uninterpreted_option(int index) |
18641 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18642 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterpreted_option) |
18643 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
18644 | 0 | } |
18645 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* EnumOptions::mutable_uninterpreted_option() |
18646 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18647 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uninterpreted_option) |
18648 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18649 | 0 | return _internal_mutable_uninterpreted_option(); |
18650 | 0 | } |
18651 | | inline const ::google::protobuf::UninterpretedOption& EnumOptions::uninterpreted_option(int index) const |
18652 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18653 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option) |
18654 | 0 | return _internal_uninterpreted_option().Get(index); |
18655 | 0 | } |
18656 | 0 | inline ::google::protobuf::UninterpretedOption* EnumOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18657 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18658 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
18659 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option) |
18660 | 0 | return _add; |
18661 | 0 | } |
18662 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& EnumOptions::uninterpreted_option() const |
18663 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18664 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option) |
18665 | 0 | return _internal_uninterpreted_option(); |
18666 | 0 | } |
18667 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
18668 | 0 | EnumOptions::_internal_uninterpreted_option() const { |
18669 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18670 | 0 | return _impl_.uninterpreted_option_; |
18671 | 0 | } |
18672 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
18673 | 0 | EnumOptions::_internal_mutable_uninterpreted_option() { |
18674 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18675 | 0 | return &_impl_.uninterpreted_option_; |
18676 | 0 | } |
18677 | | |
18678 | | // ------------------------------------------------------------------- |
18679 | | |
18680 | | // EnumValueOptions |
18681 | | |
18682 | | // optional bool deprecated = 1 [default = false]; |
18683 | 0 | inline bool EnumValueOptions::has_deprecated() const { |
18684 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
18685 | 0 | return value; |
18686 | 0 | } |
18687 | 0 | inline void EnumValueOptions::clear_deprecated() { |
18688 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18689 | 0 | _impl_.deprecated_ = false; |
18690 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
18691 | 0 | } |
18692 | 0 | inline bool EnumValueOptions::deprecated() const { |
18693 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.deprecated) |
18694 | 0 | return _internal_deprecated(); |
18695 | 0 | } |
18696 | 0 | inline void EnumValueOptions::set_deprecated(bool value) { |
18697 | 0 | _internal_set_deprecated(value); |
18698 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
18699 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.deprecated) |
18700 | 0 | } |
18701 | 0 | inline bool EnumValueOptions::_internal_deprecated() const { |
18702 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18703 | 0 | return _impl_.deprecated_; |
18704 | 0 | } |
18705 | 0 | inline void EnumValueOptions::_internal_set_deprecated(bool value) { |
18706 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18707 | 0 | _impl_.deprecated_ = value; |
18708 | 0 | } |
18709 | | |
18710 | | // optional .google.protobuf.FeatureSet features = 2; |
18711 | 0 | inline bool EnumValueOptions::has_features() const { |
18712 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
18713 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
18714 | 0 | return value; |
18715 | 0 | } |
18716 | 0 | inline void EnumValueOptions::clear_features() { |
18717 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18718 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
18719 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18720 | 0 | } |
18721 | 0 | inline const ::google::protobuf::FeatureSet& EnumValueOptions::_internal_features() const { |
18722 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18723 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
18724 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
18725 | 0 | } |
18726 | 0 | inline const ::google::protobuf::FeatureSet& EnumValueOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18727 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.features) |
18728 | 0 | return _internal_features(); |
18729 | 0 | } |
18730 | 0 | inline void EnumValueOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
18731 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18732 | 0 | if (GetArena() == nullptr) { |
18733 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
18734 | 0 | } |
18735 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
18736 | 0 | if (value != nullptr) { |
18737 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18738 | 0 | } else { |
18739 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18740 | 0 | } |
18741 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValueOptions.features) |
18742 | 0 | } |
18743 | 0 | inline ::google::protobuf::FeatureSet* EnumValueOptions::release_features() { |
18744 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18745 | 0 |
|
18746 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18747 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
18748 | 0 | _impl_.features_ = nullptr; |
18749 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
18750 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
18751 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18752 | 0 | if (GetArena() == nullptr) { |
18753 | 0 | delete old; |
18754 | 0 | } |
18755 | 0 | } else { |
18756 | 0 | if (GetArena() != nullptr) { |
18757 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18758 | 0 | } |
18759 | 0 | } |
18760 | 0 | return released; |
18761 | 0 | } |
18762 | 0 | inline ::google::protobuf::FeatureSet* EnumValueOptions::unsafe_arena_release_features() { |
18763 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18764 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueOptions.features) |
18765 | 0 |
|
18766 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18767 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
18768 | 0 | _impl_.features_ = nullptr; |
18769 | 0 | return temp; |
18770 | 0 | } |
18771 | 0 | inline ::google::protobuf::FeatureSet* EnumValueOptions::_internal_mutable_features() { |
18772 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18773 | 0 | if (_impl_.features_ == nullptr) { |
18774 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
18775 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
18776 | 0 | } |
18777 | 0 | return _impl_.features_; |
18778 | 0 | } |
18779 | 0 | inline ::google::protobuf::FeatureSet* EnumValueOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18780 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18781 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
18782 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.features) |
18783 | 0 | return _msg; |
18784 | 0 | } |
18785 | 0 | inline void EnumValueOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
18786 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
18787 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18788 | 0 | if (message_arena == nullptr) { |
18789 | 0 | delete (_impl_.features_); |
18790 | 0 | } |
18791 | 0 |
|
18792 | 0 | if (value != nullptr) { |
18793 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
18794 | 0 | if (message_arena != submessage_arena) { |
18795 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
18796 | 0 | } |
18797 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
18798 | 0 | } else { |
18799 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18800 | 0 | } |
18801 | 0 |
|
18802 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
18803 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueOptions.features) |
18804 | 0 | } |
18805 | | |
18806 | | // optional bool debug_redact = 3 [default = false]; |
18807 | 0 | inline bool EnumValueOptions::has_debug_redact() const { |
18808 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
18809 | 0 | return value; |
18810 | 0 | } |
18811 | 0 | inline void EnumValueOptions::clear_debug_redact() { |
18812 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18813 | 0 | _impl_.debug_redact_ = false; |
18814 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
18815 | 0 | } |
18816 | 0 | inline bool EnumValueOptions::debug_redact() const { |
18817 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.debug_redact) |
18818 | 0 | return _internal_debug_redact(); |
18819 | 0 | } |
18820 | 0 | inline void EnumValueOptions::set_debug_redact(bool value) { |
18821 | 0 | _internal_set_debug_redact(value); |
18822 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
18823 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.debug_redact) |
18824 | 0 | } |
18825 | 0 | inline bool EnumValueOptions::_internal_debug_redact() const { |
18826 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18827 | 0 | return _impl_.debug_redact_; |
18828 | 0 | } |
18829 | 0 | inline void EnumValueOptions::_internal_set_debug_redact(bool value) { |
18830 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18831 | 0 | _impl_.debug_redact_ = value; |
18832 | 0 | } |
18833 | | |
18834 | | // optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4; |
18835 | 0 | inline bool EnumValueOptions::has_feature_support() const { |
18836 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
18837 | 0 | PROTOBUF_ASSUME(!value || _impl_.feature_support_ != nullptr); |
18838 | 0 | return value; |
18839 | 0 | } |
18840 | 0 | inline void EnumValueOptions::clear_feature_support() { |
18841 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18842 | 0 | if (_impl_.feature_support_ != nullptr) _impl_.feature_support_->Clear(); |
18843 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18844 | 0 | } |
18845 | 0 | inline const ::google::protobuf::FieldOptions_FeatureSupport& EnumValueOptions::_internal_feature_support() const { |
18846 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18847 | 0 | const ::google::protobuf::FieldOptions_FeatureSupport* p = _impl_.feature_support_; |
18848 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FieldOptions_FeatureSupport&>(::google::protobuf::_FieldOptions_FeatureSupport_default_instance_); |
18849 | 0 | } |
18850 | 0 | inline const ::google::protobuf::FieldOptions_FeatureSupport& EnumValueOptions::feature_support() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18851 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.feature_support) |
18852 | 0 | return _internal_feature_support(); |
18853 | 0 | } |
18854 | 0 | inline void EnumValueOptions::unsafe_arena_set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value) { |
18855 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18856 | 0 | if (GetArena() == nullptr) { |
18857 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.feature_support_); |
18858 | 0 | } |
18859 | 0 | _impl_.feature_support_ = reinterpret_cast<::google::protobuf::FieldOptions_FeatureSupport*>(value); |
18860 | 0 | if (value != nullptr) { |
18861 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18862 | 0 | } else { |
18863 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18864 | 0 | } |
18865 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValueOptions.feature_support) |
18866 | 0 | } |
18867 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* EnumValueOptions::release_feature_support() { |
18868 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18869 | 0 |
|
18870 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18871 | 0 | ::google::protobuf::FieldOptions_FeatureSupport* released = _impl_.feature_support_; |
18872 | 0 | _impl_.feature_support_ = nullptr; |
18873 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
18874 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
18875 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18876 | 0 | if (GetArena() == nullptr) { |
18877 | 0 | delete old; |
18878 | 0 | } |
18879 | 0 | } else { |
18880 | 0 | if (GetArena() != nullptr) { |
18881 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
18882 | 0 | } |
18883 | 0 | } |
18884 | 0 | return released; |
18885 | 0 | } |
18886 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* EnumValueOptions::unsafe_arena_release_feature_support() { |
18887 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18888 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueOptions.feature_support) |
18889 | 0 |
|
18890 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18891 | 0 | ::google::protobuf::FieldOptions_FeatureSupport* temp = _impl_.feature_support_; |
18892 | 0 | _impl_.feature_support_ = nullptr; |
18893 | 0 | return temp; |
18894 | 0 | } |
18895 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* EnumValueOptions::_internal_mutable_feature_support() { |
18896 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18897 | 0 | if (_impl_.feature_support_ == nullptr) { |
18898 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FieldOptions_FeatureSupport>(GetArena()); |
18899 | 0 | _impl_.feature_support_ = reinterpret_cast<::google::protobuf::FieldOptions_FeatureSupport*>(p); |
18900 | 0 | } |
18901 | 0 | return _impl_.feature_support_; |
18902 | 0 | } |
18903 | 0 | inline ::google::protobuf::FieldOptions_FeatureSupport* EnumValueOptions::mutable_feature_support() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18904 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18905 | 0 | ::google::protobuf::FieldOptions_FeatureSupport* _msg = _internal_mutable_feature_support(); |
18906 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.feature_support) |
18907 | 0 | return _msg; |
18908 | 0 | } |
18909 | 0 | inline void EnumValueOptions::set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* value) { |
18910 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
18911 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18912 | 0 | if (message_arena == nullptr) { |
18913 | 0 | delete (_impl_.feature_support_); |
18914 | 0 | } |
18915 | 0 |
|
18916 | 0 | if (value != nullptr) { |
18917 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
18918 | 0 | if (message_arena != submessage_arena) { |
18919 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
18920 | 0 | } |
18921 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
18922 | 0 | } else { |
18923 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
18924 | 0 | } |
18925 | 0 |
|
18926 | 0 | _impl_.feature_support_ = reinterpret_cast<::google::protobuf::FieldOptions_FeatureSupport*>(value); |
18927 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueOptions.feature_support) |
18928 | 0 | } |
18929 | | |
18930 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
18931 | 0 | inline int EnumValueOptions::_internal_uninterpreted_option_size() const { |
18932 | 0 | return _internal_uninterpreted_option().size(); |
18933 | 0 | } |
18934 | 0 | inline int EnumValueOptions::uninterpreted_option_size() const { |
18935 | 0 | return _internal_uninterpreted_option_size(); |
18936 | 0 | } |
18937 | 0 | inline void EnumValueOptions::clear_uninterpreted_option() { |
18938 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18939 | 0 | _impl_.uninterpreted_option_.Clear(); |
18940 | 0 | } |
18941 | | inline ::google::protobuf::UninterpretedOption* EnumValueOptions::mutable_uninterpreted_option(int index) |
18942 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18943 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.uninterpreted_option) |
18944 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
18945 | 0 | } |
18946 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* EnumValueOptions::mutable_uninterpreted_option() |
18947 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18948 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValueOptions.uninterpreted_option) |
18949 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18950 | 0 | return _internal_mutable_uninterpreted_option(); |
18951 | 0 | } |
18952 | | inline const ::google::protobuf::UninterpretedOption& EnumValueOptions::uninterpreted_option(int index) const |
18953 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18954 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninterpreted_option) |
18955 | 0 | return _internal_uninterpreted_option().Get(index); |
18956 | 0 | } |
18957 | 0 | inline ::google::protobuf::UninterpretedOption* EnumValueOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18958 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18959 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
18960 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninterpreted_option) |
18961 | 0 | return _add; |
18962 | 0 | } |
18963 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& EnumValueOptions::uninterpreted_option() const |
18964 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
18965 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninterpreted_option) |
18966 | 0 | return _internal_uninterpreted_option(); |
18967 | 0 | } |
18968 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
18969 | 0 | EnumValueOptions::_internal_uninterpreted_option() const { |
18970 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18971 | 0 | return _impl_.uninterpreted_option_; |
18972 | 0 | } |
18973 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
18974 | 0 | EnumValueOptions::_internal_mutable_uninterpreted_option() { |
18975 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18976 | 0 | return &_impl_.uninterpreted_option_; |
18977 | 0 | } |
18978 | | |
18979 | | // ------------------------------------------------------------------- |
18980 | | |
18981 | | // ServiceOptions |
18982 | | |
18983 | | // optional .google.protobuf.FeatureSet features = 34; |
18984 | 0 | inline bool ServiceOptions::has_features() const { |
18985 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
18986 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
18987 | 0 | return value; |
18988 | 0 | } |
18989 | 0 | inline void ServiceOptions::clear_features() { |
18990 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
18991 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
18992 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
18993 | 0 | } |
18994 | 0 | inline const ::google::protobuf::FeatureSet& ServiceOptions::_internal_features() const { |
18995 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
18996 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
18997 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
18998 | 0 | } |
18999 | 0 | inline const ::google::protobuf::FeatureSet& ServiceOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19000 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.features) |
19001 | 0 | return _internal_features(); |
19002 | 0 | } |
19003 | 0 | inline void ServiceOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
19004 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19005 | 0 | if (GetArena() == nullptr) { |
19006 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
19007 | 0 | } |
19008 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
19009 | 0 | if (value != nullptr) { |
19010 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19011 | 0 | } else { |
19012 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19013 | 0 | } |
19014 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.ServiceOptions.features) |
19015 | 0 | } |
19016 | 0 | inline ::google::protobuf::FeatureSet* ServiceOptions::release_features() { |
19017 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19018 | 0 |
|
19019 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19020 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
19021 | 0 | _impl_.features_ = nullptr; |
19022 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
19023 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
19024 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
19025 | 0 | if (GetArena() == nullptr) { |
19026 | 0 | delete old; |
19027 | 0 | } |
19028 | 0 | } else { |
19029 | 0 | if (GetArena() != nullptr) { |
19030 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
19031 | 0 | } |
19032 | 0 | } |
19033 | 0 | return released; |
19034 | 0 | } |
19035 | 0 | inline ::google::protobuf::FeatureSet* ServiceOptions::unsafe_arena_release_features() { |
19036 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19037 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.ServiceOptions.features) |
19038 | 0 |
|
19039 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19040 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
19041 | 0 | _impl_.features_ = nullptr; |
19042 | 0 | return temp; |
19043 | 0 | } |
19044 | 0 | inline ::google::protobuf::FeatureSet* ServiceOptions::_internal_mutable_features() { |
19045 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19046 | 0 | if (_impl_.features_ == nullptr) { |
19047 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
19048 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
19049 | 0 | } |
19050 | 0 | return _impl_.features_; |
19051 | 0 | } |
19052 | 0 | inline ::google::protobuf::FeatureSet* ServiceOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19053 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19054 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
19055 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.features) |
19056 | 0 | return _msg; |
19057 | 0 | } |
19058 | 0 | inline void ServiceOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
19059 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
19060 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19061 | 0 | if (message_arena == nullptr) { |
19062 | 0 | delete (_impl_.features_); |
19063 | 0 | } |
19064 | 0 |
|
19065 | 0 | if (value != nullptr) { |
19066 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
19067 | 0 | if (message_arena != submessage_arena) { |
19068 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
19069 | 0 | } |
19070 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19071 | 0 | } else { |
19072 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19073 | 0 | } |
19074 | 0 |
|
19075 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
19076 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceOptions.features) |
19077 | 0 | } |
19078 | | |
19079 | | // optional bool deprecated = 33 [default = false]; |
19080 | 0 | inline bool ServiceOptions::has_deprecated() const { |
19081 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
19082 | 0 | return value; |
19083 | 0 | } |
19084 | 0 | inline void ServiceOptions::clear_deprecated() { |
19085 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19086 | 0 | _impl_.deprecated_ = false; |
19087 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19088 | 0 | } |
19089 | 0 | inline bool ServiceOptions::deprecated() const { |
19090 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecated) |
19091 | 0 | return _internal_deprecated(); |
19092 | 0 | } |
19093 | 0 | inline void ServiceOptions::set_deprecated(bool value) { |
19094 | 0 | _internal_set_deprecated(value); |
19095 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
19096 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecated) |
19097 | 0 | } |
19098 | 0 | inline bool ServiceOptions::_internal_deprecated() const { |
19099 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19100 | 0 | return _impl_.deprecated_; |
19101 | 0 | } |
19102 | 0 | inline void ServiceOptions::_internal_set_deprecated(bool value) { |
19103 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19104 | 0 | _impl_.deprecated_ = value; |
19105 | 0 | } |
19106 | | |
19107 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
19108 | 0 | inline int ServiceOptions::_internal_uninterpreted_option_size() const { |
19109 | 0 | return _internal_uninterpreted_option().size(); |
19110 | 0 | } |
19111 | 0 | inline int ServiceOptions::uninterpreted_option_size() const { |
19112 | 0 | return _internal_uninterpreted_option_size(); |
19113 | 0 | } |
19114 | 0 | inline void ServiceOptions::clear_uninterpreted_option() { |
19115 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19116 | 0 | _impl_.uninterpreted_option_.Clear(); |
19117 | 0 | } |
19118 | | inline ::google::protobuf::UninterpretedOption* ServiceOptions::mutable_uninterpreted_option(int index) |
19119 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19120 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.uninterpreted_option) |
19121 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
19122 | 0 | } |
19123 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* ServiceOptions::mutable_uninterpreted_option() |
19124 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19125 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceOptions.uninterpreted_option) |
19126 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19127 | 0 | return _internal_mutable_uninterpreted_option(); |
19128 | 0 | } |
19129 | | inline const ::google::protobuf::UninterpretedOption& ServiceOptions::uninterpreted_option(int index) const |
19130 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19131 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpreted_option) |
19132 | 0 | return _internal_uninterpreted_option().Get(index); |
19133 | 0 | } |
19134 | 0 | inline ::google::protobuf::UninterpretedOption* ServiceOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19135 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19136 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
19137 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpreted_option) |
19138 | 0 | return _add; |
19139 | 0 | } |
19140 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& ServiceOptions::uninterpreted_option() const |
19141 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19142 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterpreted_option) |
19143 | 0 | return _internal_uninterpreted_option(); |
19144 | 0 | } |
19145 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
19146 | 0 | ServiceOptions::_internal_uninterpreted_option() const { |
19147 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19148 | 0 | return _impl_.uninterpreted_option_; |
19149 | 0 | } |
19150 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
19151 | 0 | ServiceOptions::_internal_mutable_uninterpreted_option() { |
19152 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19153 | 0 | return &_impl_.uninterpreted_option_; |
19154 | 0 | } |
19155 | | |
19156 | | // ------------------------------------------------------------------- |
19157 | | |
19158 | | // MethodOptions |
19159 | | |
19160 | | // optional bool deprecated = 33 [default = false]; |
19161 | 0 | inline bool MethodOptions::has_deprecated() const { |
19162 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
19163 | 0 | return value; |
19164 | 0 | } |
19165 | 0 | inline void MethodOptions::clear_deprecated() { |
19166 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19167 | 0 | _impl_.deprecated_ = false; |
19168 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19169 | 0 | } |
19170 | 0 | inline bool MethodOptions::deprecated() const { |
19171 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated) |
19172 | 0 | return _internal_deprecated(); |
19173 | 0 | } |
19174 | 0 | inline void MethodOptions::set_deprecated(bool value) { |
19175 | 0 | _internal_set_deprecated(value); |
19176 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
19177 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated) |
19178 | 0 | } |
19179 | 0 | inline bool MethodOptions::_internal_deprecated() const { |
19180 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19181 | 0 | return _impl_.deprecated_; |
19182 | 0 | } |
19183 | 0 | inline void MethodOptions::_internal_set_deprecated(bool value) { |
19184 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19185 | 0 | _impl_.deprecated_ = value; |
19186 | 0 | } |
19187 | | |
19188 | | // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; |
19189 | 0 | inline bool MethodOptions::has_idempotency_level() const { |
19190 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
19191 | 0 | return value; |
19192 | 0 | } |
19193 | 0 | inline void MethodOptions::clear_idempotency_level() { |
19194 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19195 | 0 | _impl_.idempotency_level_ = 0; |
19196 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
19197 | 0 | } |
19198 | 0 | inline ::google::protobuf::MethodOptions_IdempotencyLevel MethodOptions::idempotency_level() const { |
19199 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.idempotency_level) |
19200 | 0 | return _internal_idempotency_level(); |
19201 | 0 | } |
19202 | 0 | inline void MethodOptions::set_idempotency_level(::google::protobuf::MethodOptions_IdempotencyLevel value) { |
19203 | 0 | _internal_set_idempotency_level(value); |
19204 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
19205 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.idempotency_level) |
19206 | 0 | } |
19207 | 0 | inline ::google::protobuf::MethodOptions_IdempotencyLevel MethodOptions::_internal_idempotency_level() const { |
19208 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19209 | 0 | return static_cast<::google::protobuf::MethodOptions_IdempotencyLevel>(_impl_.idempotency_level_); |
19210 | 0 | } |
19211 | 0 | inline void MethodOptions::_internal_set_idempotency_level(::google::protobuf::MethodOptions_IdempotencyLevel value) { |
19212 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19213 | 0 | assert(::google::protobuf::MethodOptions_IdempotencyLevel_IsValid(value)); |
19214 | 0 | _impl_.idempotency_level_ = value; |
19215 | 0 | } |
19216 | | |
19217 | | // optional .google.protobuf.FeatureSet features = 35; |
19218 | 0 | inline bool MethodOptions::has_features() const { |
19219 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
19220 | 0 | PROTOBUF_ASSUME(!value || _impl_.features_ != nullptr); |
19221 | 0 | return value; |
19222 | 0 | } |
19223 | 0 | inline void MethodOptions::clear_features() { |
19224 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19225 | 0 | if (_impl_.features_ != nullptr) _impl_.features_->Clear(); |
19226 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19227 | 0 | } |
19228 | 0 | inline const ::google::protobuf::FeatureSet& MethodOptions::_internal_features() const { |
19229 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19230 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.features_; |
19231 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
19232 | 0 | } |
19233 | 0 | inline const ::google::protobuf::FeatureSet& MethodOptions::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19234 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.features) |
19235 | 0 | return _internal_features(); |
19236 | 0 | } |
19237 | 0 | inline void MethodOptions::unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* value) { |
19238 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19239 | 0 | if (GetArena() == nullptr) { |
19240 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.features_); |
19241 | 0 | } |
19242 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
19243 | 0 | if (value != nullptr) { |
19244 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19245 | 0 | } else { |
19246 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19247 | 0 | } |
19248 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MethodOptions.features) |
19249 | 0 | } |
19250 | 0 | inline ::google::protobuf::FeatureSet* MethodOptions::release_features() { |
19251 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19252 | 0 |
|
19253 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19254 | 0 | ::google::protobuf::FeatureSet* released = _impl_.features_; |
19255 | 0 | _impl_.features_ = nullptr; |
19256 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
19257 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
19258 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
19259 | 0 | if (GetArena() == nullptr) { |
19260 | 0 | delete old; |
19261 | 0 | } |
19262 | 0 | } else { |
19263 | 0 | if (GetArena() != nullptr) { |
19264 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
19265 | 0 | } |
19266 | 0 | } |
19267 | 0 | return released; |
19268 | 0 | } |
19269 | 0 | inline ::google::protobuf::FeatureSet* MethodOptions::unsafe_arena_release_features() { |
19270 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19271 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.MethodOptions.features) |
19272 | 0 |
|
19273 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19274 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.features_; |
19275 | 0 | _impl_.features_ = nullptr; |
19276 | 0 | return temp; |
19277 | 0 | } |
19278 | 0 | inline ::google::protobuf::FeatureSet* MethodOptions::_internal_mutable_features() { |
19279 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19280 | 0 | if (_impl_.features_ == nullptr) { |
19281 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
19282 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
19283 | 0 | } |
19284 | 0 | return _impl_.features_; |
19285 | 0 | } |
19286 | 0 | inline ::google::protobuf::FeatureSet* MethodOptions::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19287 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19288 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_features(); |
19289 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.features) |
19290 | 0 | return _msg; |
19291 | 0 | } |
19292 | 0 | inline void MethodOptions::set_allocated_features(::google::protobuf::FeatureSet* value) { |
19293 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
19294 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19295 | 0 | if (message_arena == nullptr) { |
19296 | 0 | delete (_impl_.features_); |
19297 | 0 | } |
19298 | 0 |
|
19299 | 0 | if (value != nullptr) { |
19300 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
19301 | 0 | if (message_arena != submessage_arena) { |
19302 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
19303 | 0 | } |
19304 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19305 | 0 | } else { |
19306 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19307 | 0 | } |
19308 | 0 |
|
19309 | 0 | _impl_.features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
19310 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodOptions.features) |
19311 | 0 | } |
19312 | | |
19313 | | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
19314 | 0 | inline int MethodOptions::_internal_uninterpreted_option_size() const { |
19315 | 0 | return _internal_uninterpreted_option().size(); |
19316 | 0 | } |
19317 | 0 | inline int MethodOptions::uninterpreted_option_size() const { |
19318 | 0 | return _internal_uninterpreted_option_size(); |
19319 | 0 | } |
19320 | 0 | inline void MethodOptions::clear_uninterpreted_option() { |
19321 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19322 | 0 | _impl_.uninterpreted_option_.Clear(); |
19323 | 0 | } |
19324 | | inline ::google::protobuf::UninterpretedOption* MethodOptions::mutable_uninterpreted_option(int index) |
19325 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19326 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.uninterpreted_option) |
19327 | 0 | return _internal_mutable_uninterpreted_option()->Mutable(index); |
19328 | 0 | } |
19329 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* MethodOptions::mutable_uninterpreted_option() |
19330 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19331 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.MethodOptions.uninterpreted_option) |
19332 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19333 | 0 | return _internal_mutable_uninterpreted_option(); |
19334 | 0 | } |
19335 | | inline const ::google::protobuf::UninterpretedOption& MethodOptions::uninterpreted_option(int index) const |
19336 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19337 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpreted_option) |
19338 | 0 | return _internal_uninterpreted_option().Get(index); |
19339 | 0 | } |
19340 | 0 | inline ::google::protobuf::UninterpretedOption* MethodOptions::add_uninterpreted_option() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19341 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19342 | 0 | ::google::protobuf::UninterpretedOption* _add = _internal_mutable_uninterpreted_option()->Add(); |
19343 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpreted_option) |
19344 | 0 | return _add; |
19345 | 0 | } |
19346 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& MethodOptions::uninterpreted_option() const |
19347 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19348 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpreted_option) |
19349 | 0 | return _internal_uninterpreted_option(); |
19350 | 0 | } |
19351 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& |
19352 | 0 | MethodOptions::_internal_uninterpreted_option() const { |
19353 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19354 | 0 | return _impl_.uninterpreted_option_; |
19355 | 0 | } |
19356 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* |
19357 | 0 | MethodOptions::_internal_mutable_uninterpreted_option() { |
19358 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19359 | 0 | return &_impl_.uninterpreted_option_; |
19360 | 0 | } |
19361 | | |
19362 | | // ------------------------------------------------------------------- |
19363 | | |
19364 | | // UninterpretedOption_NamePart |
19365 | | |
19366 | | // required string name_part = 1; |
19367 | 0 | inline bool UninterpretedOption_NamePart::has_name_part() const { |
19368 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
19369 | 0 | return value; |
19370 | 0 | } |
19371 | 0 | inline void UninterpretedOption_NamePart::clear_name_part() { |
19372 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19373 | 0 | _impl_.name_part_.ClearToEmpty(); |
19374 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19375 | 0 | } |
19376 | | inline const std::string& UninterpretedOption_NamePart::name_part() const |
19377 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19378 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part) |
19379 | 0 | return _internal_name_part(); |
19380 | 0 | } |
19381 | | template <typename Arg_, typename... Args_> |
19382 | | inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption_NamePart::set_name_part(Arg_&& arg, |
19383 | | Args_... args) { |
19384 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
19385 | | _impl_._has_bits_[0] |= 0x00000001u; |
19386 | | _impl_.name_part_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
19387 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part) |
19388 | | } |
19389 | 0 | inline std::string* UninterpretedOption_NamePart::mutable_name_part() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19390 | 0 | std::string* _s = _internal_mutable_name_part(); |
19391 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part) |
19392 | 0 | return _s; |
19393 | 0 | } |
19394 | 0 | inline const std::string& UninterpretedOption_NamePart::_internal_name_part() const { |
19395 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19396 | 0 | return _impl_.name_part_.Get(); |
19397 | 0 | } |
19398 | 0 | inline void UninterpretedOption_NamePart::_internal_set_name_part(const std::string& value) { |
19399 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19400 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19401 | 0 | _impl_.name_part_.Set(value, GetArena()); |
19402 | 0 | } |
19403 | 0 | inline std::string* UninterpretedOption_NamePart::_internal_mutable_name_part() { |
19404 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19405 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19406 | 0 | return _impl_.name_part_.Mutable( GetArena()); |
19407 | 0 | } |
19408 | 0 | inline std::string* UninterpretedOption_NamePart::release_name_part() { |
19409 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19410 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.NamePart.name_part) |
19411 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
19412 | 0 | return nullptr; |
19413 | 0 | } |
19414 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19415 | 0 | auto* released = _impl_.name_part_.Release(); |
19416 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
19417 | 0 | _impl_.name_part_.Set("", GetArena()); |
19418 | 0 | } |
19419 | 0 | return released; |
19420 | 0 | } |
19421 | 0 | inline void UninterpretedOption_NamePart::set_allocated_name_part(std::string* value) { |
19422 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19423 | 0 | if (value != nullptr) { |
19424 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19425 | 0 | } else { |
19426 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19427 | 0 | } |
19428 | 0 | _impl_.name_part_.SetAllocated(value, GetArena()); |
19429 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_part_.IsDefault()) { |
19430 | 0 | _impl_.name_part_.Set("", GetArena()); |
19431 | 0 | } |
19432 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part) |
19433 | 0 | } |
19434 | | |
19435 | | // required bool is_extension = 2; |
19436 | 0 | inline bool UninterpretedOption_NamePart::has_is_extension() const { |
19437 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
19438 | 0 | return value; |
19439 | 0 | } |
19440 | 0 | inline void UninterpretedOption_NamePart::clear_is_extension() { |
19441 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19442 | 0 | _impl_.is_extension_ = false; |
19443 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19444 | 0 | } |
19445 | 0 | inline bool UninterpretedOption_NamePart::is_extension() const { |
19446 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.is_extension) |
19447 | 0 | return _internal_is_extension(); |
19448 | 0 | } |
19449 | 0 | inline void UninterpretedOption_NamePart::set_is_extension(bool value) { |
19450 | 0 | _internal_set_is_extension(value); |
19451 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
19452 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.is_extension) |
19453 | 0 | } |
19454 | 0 | inline bool UninterpretedOption_NamePart::_internal_is_extension() const { |
19455 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19456 | 0 | return _impl_.is_extension_; |
19457 | 0 | } |
19458 | 0 | inline void UninterpretedOption_NamePart::_internal_set_is_extension(bool value) { |
19459 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19460 | 0 | _impl_.is_extension_ = value; |
19461 | 0 | } |
19462 | | |
19463 | | // ------------------------------------------------------------------- |
19464 | | |
19465 | | // UninterpretedOption |
19466 | | |
19467 | | // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
19468 | 0 | inline int UninterpretedOption::_internal_name_size() const { |
19469 | 0 | return _internal_name().size(); |
19470 | 0 | } |
19471 | 0 | inline int UninterpretedOption::name_size() const { |
19472 | 0 | return _internal_name_size(); |
19473 | 0 | } |
19474 | 0 | inline void UninterpretedOption::clear_name() { |
19475 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19476 | 0 | _impl_.name_.Clear(); |
19477 | 0 | } |
19478 | | inline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::mutable_name(int index) |
19479 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19480 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.name) |
19481 | 0 | return _internal_mutable_name()->Mutable(index); |
19482 | 0 | } |
19483 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>* UninterpretedOption::mutable_name() |
19484 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19485 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOption.name) |
19486 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19487 | 0 | return _internal_mutable_name(); |
19488 | 0 | } |
19489 | | inline const ::google::protobuf::UninterpretedOption_NamePart& UninterpretedOption::name(int index) const |
19490 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19491 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name) |
19492 | 0 | return _internal_name().Get(index); |
19493 | 0 | } |
19494 | 0 | inline ::google::protobuf::UninterpretedOption_NamePart* UninterpretedOption::add_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19495 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19496 | 0 | ::google::protobuf::UninterpretedOption_NamePart* _add = _internal_mutable_name()->Add(); |
19497 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name) |
19498 | 0 | return _add; |
19499 | 0 | } |
19500 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>& UninterpretedOption::name() const |
19501 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19502 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.name) |
19503 | 0 | return _internal_name(); |
19504 | 0 | } |
19505 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>& |
19506 | 0 | UninterpretedOption::_internal_name() const { |
19507 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19508 | 0 | return _impl_.name_; |
19509 | 0 | } |
19510 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>* |
19511 | 0 | UninterpretedOption::_internal_mutable_name() { |
19512 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19513 | 0 | return &_impl_.name_; |
19514 | 0 | } |
19515 | | |
19516 | | // optional string identifier_value = 3; |
19517 | 0 | inline bool UninterpretedOption::has_identifier_value() const { |
19518 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
19519 | 0 | return value; |
19520 | 0 | } |
19521 | 0 | inline void UninterpretedOption::clear_identifier_value() { |
19522 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19523 | 0 | _impl_.identifier_value_.ClearToEmpty(); |
19524 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19525 | 0 | } |
19526 | | inline const std::string& UninterpretedOption::identifier_value() const |
19527 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19528 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value) |
19529 | 0 | return _internal_identifier_value(); |
19530 | 0 | } |
19531 | | template <typename Arg_, typename... Args_> |
19532 | | inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption::set_identifier_value(Arg_&& arg, |
19533 | | Args_... args) { |
19534 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
19535 | | _impl_._has_bits_[0] |= 0x00000001u; |
19536 | | _impl_.identifier_value_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
19537 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value) |
19538 | | } |
19539 | 0 | inline std::string* UninterpretedOption::mutable_identifier_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19540 | 0 | std::string* _s = _internal_mutable_identifier_value(); |
19541 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value) |
19542 | 0 | return _s; |
19543 | 0 | } |
19544 | 0 | inline const std::string& UninterpretedOption::_internal_identifier_value() const { |
19545 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19546 | 0 | return _impl_.identifier_value_.Get(); |
19547 | 0 | } |
19548 | 0 | inline void UninterpretedOption::_internal_set_identifier_value(const std::string& value) { |
19549 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19550 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19551 | 0 | _impl_.identifier_value_.Set(value, GetArena()); |
19552 | 0 | } |
19553 | 0 | inline std::string* UninterpretedOption::_internal_mutable_identifier_value() { |
19554 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19555 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19556 | 0 | return _impl_.identifier_value_.Mutable( GetArena()); |
19557 | 0 | } |
19558 | 0 | inline std::string* UninterpretedOption::release_identifier_value() { |
19559 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19560 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.identifier_value) |
19561 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
19562 | 0 | return nullptr; |
19563 | 0 | } |
19564 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19565 | 0 | auto* released = _impl_.identifier_value_.Release(); |
19566 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
19567 | 0 | _impl_.identifier_value_.Set("", GetArena()); |
19568 | 0 | } |
19569 | 0 | return released; |
19570 | 0 | } |
19571 | 0 | inline void UninterpretedOption::set_allocated_identifier_value(std::string* value) { |
19572 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19573 | 0 | if (value != nullptr) { |
19574 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19575 | 0 | } else { |
19576 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19577 | 0 | } |
19578 | 0 | _impl_.identifier_value_.SetAllocated(value, GetArena()); |
19579 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.identifier_value_.IsDefault()) { |
19580 | 0 | _impl_.identifier_value_.Set("", GetArena()); |
19581 | 0 | } |
19582 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.identifier_value) |
19583 | 0 | } |
19584 | | |
19585 | | // optional uint64 positive_int_value = 4; |
19586 | 0 | inline bool UninterpretedOption::has_positive_int_value() const { |
19587 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
19588 | 0 | return value; |
19589 | 0 | } |
19590 | 0 | inline void UninterpretedOption::clear_positive_int_value() { |
19591 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19592 | 0 | _impl_.positive_int_value_ = ::uint64_t{0u}; |
19593 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
19594 | 0 | } |
19595 | 0 | inline ::uint64_t UninterpretedOption::positive_int_value() const { |
19596 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.positive_int_value) |
19597 | 0 | return _internal_positive_int_value(); |
19598 | 0 | } |
19599 | 0 | inline void UninterpretedOption::set_positive_int_value(::uint64_t value) { |
19600 | 0 | _internal_set_positive_int_value(value); |
19601 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
19602 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.positive_int_value) |
19603 | 0 | } |
19604 | 0 | inline ::uint64_t UninterpretedOption::_internal_positive_int_value() const { |
19605 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19606 | 0 | return _impl_.positive_int_value_; |
19607 | 0 | } |
19608 | 0 | inline void UninterpretedOption::_internal_set_positive_int_value(::uint64_t value) { |
19609 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19610 | 0 | _impl_.positive_int_value_ = value; |
19611 | 0 | } |
19612 | | |
19613 | | // optional int64 negative_int_value = 5; |
19614 | 0 | inline bool UninterpretedOption::has_negative_int_value() const { |
19615 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
19616 | 0 | return value; |
19617 | 0 | } |
19618 | 0 | inline void UninterpretedOption::clear_negative_int_value() { |
19619 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19620 | 0 | _impl_.negative_int_value_ = ::int64_t{0}; |
19621 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
19622 | 0 | } |
19623 | 0 | inline ::int64_t UninterpretedOption::negative_int_value() const { |
19624 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.negative_int_value) |
19625 | 0 | return _internal_negative_int_value(); |
19626 | 0 | } |
19627 | 0 | inline void UninterpretedOption::set_negative_int_value(::int64_t value) { |
19628 | 0 | _internal_set_negative_int_value(value); |
19629 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
19630 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.negative_int_value) |
19631 | 0 | } |
19632 | 0 | inline ::int64_t UninterpretedOption::_internal_negative_int_value() const { |
19633 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19634 | 0 | return _impl_.negative_int_value_; |
19635 | 0 | } |
19636 | 0 | inline void UninterpretedOption::_internal_set_negative_int_value(::int64_t value) { |
19637 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19638 | 0 | _impl_.negative_int_value_ = value; |
19639 | 0 | } |
19640 | | |
19641 | | // optional double double_value = 6; |
19642 | 0 | inline bool UninterpretedOption::has_double_value() const { |
19643 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
19644 | 0 | return value; |
19645 | 0 | } |
19646 | 0 | inline void UninterpretedOption::clear_double_value() { |
19647 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19648 | 0 | _impl_.double_value_ = 0; |
19649 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
19650 | 0 | } |
19651 | 0 | inline double UninterpretedOption::double_value() const { |
19652 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.double_value) |
19653 | 0 | return _internal_double_value(); |
19654 | 0 | } |
19655 | 0 | inline void UninterpretedOption::set_double_value(double value) { |
19656 | 0 | _internal_set_double_value(value); |
19657 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
19658 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.double_value) |
19659 | 0 | } |
19660 | 0 | inline double UninterpretedOption::_internal_double_value() const { |
19661 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19662 | 0 | return _impl_.double_value_; |
19663 | 0 | } |
19664 | 0 | inline void UninterpretedOption::_internal_set_double_value(double value) { |
19665 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19666 | 0 | _impl_.double_value_ = value; |
19667 | 0 | } |
19668 | | |
19669 | | // optional bytes string_value = 7; |
19670 | 0 | inline bool UninterpretedOption::has_string_value() const { |
19671 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
19672 | 0 | return value; |
19673 | 0 | } |
19674 | 0 | inline void UninterpretedOption::clear_string_value() { |
19675 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19676 | 0 | _impl_.string_value_.ClearToEmpty(); |
19677 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19678 | 0 | } |
19679 | | inline const std::string& UninterpretedOption::string_value() const |
19680 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19681 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value) |
19682 | 0 | return _internal_string_value(); |
19683 | 0 | } |
19684 | | template <typename Arg_, typename... Args_> |
19685 | | inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption::set_string_value(Arg_&& arg, |
19686 | | Args_... args) { |
19687 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
19688 | | _impl_._has_bits_[0] |= 0x00000002u; |
19689 | | _impl_.string_value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
19690 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value) |
19691 | | } |
19692 | 0 | inline std::string* UninterpretedOption::mutable_string_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19693 | 0 | std::string* _s = _internal_mutable_string_value(); |
19694 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value) |
19695 | 0 | return _s; |
19696 | 0 | } |
19697 | 0 | inline const std::string& UninterpretedOption::_internal_string_value() const { |
19698 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19699 | 0 | return _impl_.string_value_.Get(); |
19700 | 0 | } |
19701 | 0 | inline void UninterpretedOption::_internal_set_string_value(const std::string& value) { |
19702 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19703 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
19704 | 0 | _impl_.string_value_.Set(value, GetArena()); |
19705 | 0 | } |
19706 | 0 | inline std::string* UninterpretedOption::_internal_mutable_string_value() { |
19707 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19708 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
19709 | 0 | return _impl_.string_value_.Mutable( GetArena()); |
19710 | 0 | } |
19711 | 0 | inline std::string* UninterpretedOption::release_string_value() { |
19712 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19713 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.string_value) |
19714 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
19715 | 0 | return nullptr; |
19716 | 0 | } |
19717 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19718 | 0 | auto* released = _impl_.string_value_.Release(); |
19719 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
19720 | 0 | _impl_.string_value_.Set("", GetArena()); |
19721 | 0 | } |
19722 | 0 | return released; |
19723 | 0 | } |
19724 | 0 | inline void UninterpretedOption::set_allocated_string_value(std::string* value) { |
19725 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19726 | 0 | if (value != nullptr) { |
19727 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
19728 | 0 | } else { |
19729 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19730 | 0 | } |
19731 | 0 | _impl_.string_value_.SetAllocated(value, GetArena()); |
19732 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.string_value_.IsDefault()) { |
19733 | 0 | _impl_.string_value_.Set("", GetArena()); |
19734 | 0 | } |
19735 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.string_value) |
19736 | 0 | } |
19737 | | |
19738 | | // optional string aggregate_value = 8; |
19739 | 0 | inline bool UninterpretedOption::has_aggregate_value() const { |
19740 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
19741 | 0 | return value; |
19742 | 0 | } |
19743 | 0 | inline void UninterpretedOption::clear_aggregate_value() { |
19744 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19745 | 0 | _impl_.aggregate_value_.ClearToEmpty(); |
19746 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
19747 | 0 | } |
19748 | | inline const std::string& UninterpretedOption::aggregate_value() const |
19749 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19750 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value) |
19751 | 0 | return _internal_aggregate_value(); |
19752 | 0 | } |
19753 | | template <typename Arg_, typename... Args_> |
19754 | | inline PROTOBUF_ALWAYS_INLINE void UninterpretedOption::set_aggregate_value(Arg_&& arg, |
19755 | | Args_... args) { |
19756 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
19757 | | _impl_._has_bits_[0] |= 0x00000004u; |
19758 | | _impl_.aggregate_value_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
19759 | | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value) |
19760 | | } |
19761 | 0 | inline std::string* UninterpretedOption::mutable_aggregate_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
19762 | 0 | std::string* _s = _internal_mutable_aggregate_value(); |
19763 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value) |
19764 | 0 | return _s; |
19765 | 0 | } |
19766 | 0 | inline const std::string& UninterpretedOption::_internal_aggregate_value() const { |
19767 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19768 | 0 | return _impl_.aggregate_value_.Get(); |
19769 | 0 | } |
19770 | 0 | inline void UninterpretedOption::_internal_set_aggregate_value(const std::string& value) { |
19771 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19772 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
19773 | 0 | _impl_.aggregate_value_.Set(value, GetArena()); |
19774 | 0 | } |
19775 | 0 | inline std::string* UninterpretedOption::_internal_mutable_aggregate_value() { |
19776 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19777 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
19778 | 0 | return _impl_.aggregate_value_.Mutable( GetArena()); |
19779 | 0 | } |
19780 | 0 | inline std::string* UninterpretedOption::release_aggregate_value() { |
19781 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19782 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.aggregate_value) |
19783 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
19784 | 0 | return nullptr; |
19785 | 0 | } |
19786 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
19787 | 0 | auto* released = _impl_.aggregate_value_.Release(); |
19788 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
19789 | 0 | _impl_.aggregate_value_.Set("", GetArena()); |
19790 | 0 | } |
19791 | 0 | return released; |
19792 | 0 | } |
19793 | 0 | inline void UninterpretedOption::set_allocated_aggregate_value(std::string* value) { |
19794 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19795 | 0 | if (value != nullptr) { |
19796 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
19797 | 0 | } else { |
19798 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
19799 | 0 | } |
19800 | 0 | _impl_.aggregate_value_.SetAllocated(value, GetArena()); |
19801 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.aggregate_value_.IsDefault()) { |
19802 | 0 | _impl_.aggregate_value_.Set("", GetArena()); |
19803 | 0 | } |
19804 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.aggregate_value) |
19805 | 0 | } |
19806 | | |
19807 | | // ------------------------------------------------------------------- |
19808 | | |
19809 | | // FeatureSet |
19810 | | |
19811 | | // optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
19812 | 0 | inline bool FeatureSet::has_field_presence() const { |
19813 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
19814 | 0 | return value; |
19815 | 0 | } |
19816 | 0 | inline void FeatureSet::clear_field_presence() { |
19817 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19818 | 0 | _impl_.field_presence_ = 0; |
19819 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
19820 | 0 | } |
19821 | 0 | inline ::google::protobuf::FeatureSet_FieldPresence FeatureSet::field_presence() const { |
19822 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSet.field_presence) |
19823 | 0 | return _internal_field_presence(); |
19824 | 0 | } |
19825 | 0 | inline void FeatureSet::set_field_presence(::google::protobuf::FeatureSet_FieldPresence value) { |
19826 | 0 | _internal_set_field_presence(value); |
19827 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
19828 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSet.field_presence) |
19829 | 0 | } |
19830 | 0 | inline ::google::protobuf::FeatureSet_FieldPresence FeatureSet::_internal_field_presence() const { |
19831 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19832 | 0 | return static_cast<::google::protobuf::FeatureSet_FieldPresence>(_impl_.field_presence_); |
19833 | 0 | } |
19834 | 0 | inline void FeatureSet::_internal_set_field_presence(::google::protobuf::FeatureSet_FieldPresence value) { |
19835 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19836 | 0 | assert(::google::protobuf::FeatureSet_FieldPresence_IsValid(value)); |
19837 | 0 | _impl_.field_presence_ = value; |
19838 | 0 | } |
19839 | | |
19840 | | // optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { |
19841 | 0 | inline bool FeatureSet::has_enum_type() const { |
19842 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
19843 | 0 | return value; |
19844 | 0 | } |
19845 | 0 | inline void FeatureSet::clear_enum_type() { |
19846 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19847 | 0 | _impl_.enum_type_ = 0; |
19848 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
19849 | 0 | } |
19850 | 0 | inline ::google::protobuf::FeatureSet_EnumType FeatureSet::enum_type() const { |
19851 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSet.enum_type) |
19852 | 0 | return _internal_enum_type(); |
19853 | 0 | } |
19854 | 0 | inline void FeatureSet::set_enum_type(::google::protobuf::FeatureSet_EnumType value) { |
19855 | 0 | _internal_set_enum_type(value); |
19856 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
19857 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSet.enum_type) |
19858 | 0 | } |
19859 | 0 | inline ::google::protobuf::FeatureSet_EnumType FeatureSet::_internal_enum_type() const { |
19860 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19861 | 0 | return static_cast<::google::protobuf::FeatureSet_EnumType>(_impl_.enum_type_); |
19862 | 0 | } |
19863 | 0 | inline void FeatureSet::_internal_set_enum_type(::google::protobuf::FeatureSet_EnumType value) { |
19864 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19865 | 0 | assert(::google::protobuf::FeatureSet_EnumType_IsValid(value)); |
19866 | 0 | _impl_.enum_type_ = value; |
19867 | 0 | } |
19868 | | |
19869 | | // optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
19870 | 0 | inline bool FeatureSet::has_repeated_field_encoding() const { |
19871 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
19872 | 0 | return value; |
19873 | 0 | } |
19874 | 0 | inline void FeatureSet::clear_repeated_field_encoding() { |
19875 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19876 | 0 | _impl_.repeated_field_encoding_ = 0; |
19877 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
19878 | 0 | } |
19879 | 0 | inline ::google::protobuf::FeatureSet_RepeatedFieldEncoding FeatureSet::repeated_field_encoding() const { |
19880 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSet.repeated_field_encoding) |
19881 | 0 | return _internal_repeated_field_encoding(); |
19882 | 0 | } |
19883 | 0 | inline void FeatureSet::set_repeated_field_encoding(::google::protobuf::FeatureSet_RepeatedFieldEncoding value) { |
19884 | 0 | _internal_set_repeated_field_encoding(value); |
19885 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
19886 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSet.repeated_field_encoding) |
19887 | 0 | } |
19888 | 0 | inline ::google::protobuf::FeatureSet_RepeatedFieldEncoding FeatureSet::_internal_repeated_field_encoding() const { |
19889 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19890 | 0 | return static_cast<::google::protobuf::FeatureSet_RepeatedFieldEncoding>(_impl_.repeated_field_encoding_); |
19891 | 0 | } |
19892 | 0 | inline void FeatureSet::_internal_set_repeated_field_encoding(::google::protobuf::FeatureSet_RepeatedFieldEncoding value) { |
19893 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19894 | 0 | assert(::google::protobuf::FeatureSet_RepeatedFieldEncoding_IsValid(value)); |
19895 | 0 | _impl_.repeated_field_encoding_ = value; |
19896 | 0 | } |
19897 | | |
19898 | | // optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
19899 | 0 | inline bool FeatureSet::has_utf8_validation() const { |
19900 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
19901 | 0 | return value; |
19902 | 0 | } |
19903 | 0 | inline void FeatureSet::clear_utf8_validation() { |
19904 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19905 | 0 | _impl_.utf8_validation_ = 0; |
19906 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
19907 | 0 | } |
19908 | 0 | inline ::google::protobuf::FeatureSet_Utf8Validation FeatureSet::utf8_validation() const { |
19909 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSet.utf8_validation) |
19910 | 0 | return _internal_utf8_validation(); |
19911 | 0 | } |
19912 | 0 | inline void FeatureSet::set_utf8_validation(::google::protobuf::FeatureSet_Utf8Validation value) { |
19913 | 0 | _internal_set_utf8_validation(value); |
19914 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
19915 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSet.utf8_validation) |
19916 | 0 | } |
19917 | 0 | inline ::google::protobuf::FeatureSet_Utf8Validation FeatureSet::_internal_utf8_validation() const { |
19918 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19919 | 0 | return static_cast<::google::protobuf::FeatureSet_Utf8Validation>(_impl_.utf8_validation_); |
19920 | 0 | } |
19921 | 0 | inline void FeatureSet::_internal_set_utf8_validation(::google::protobuf::FeatureSet_Utf8Validation value) { |
19922 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19923 | 0 | assert(::google::protobuf::FeatureSet_Utf8Validation_IsValid(value)); |
19924 | 0 | _impl_.utf8_validation_ = value; |
19925 | 0 | } |
19926 | | |
19927 | | // optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
19928 | 0 | inline bool FeatureSet::has_message_encoding() const { |
19929 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
19930 | 0 | return value; |
19931 | 0 | } |
19932 | 0 | inline void FeatureSet::clear_message_encoding() { |
19933 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19934 | 0 | _impl_.message_encoding_ = 0; |
19935 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
19936 | 0 | } |
19937 | 0 | inline ::google::protobuf::FeatureSet_MessageEncoding FeatureSet::message_encoding() const { |
19938 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSet.message_encoding) |
19939 | 0 | return _internal_message_encoding(); |
19940 | 0 | } |
19941 | 0 | inline void FeatureSet::set_message_encoding(::google::protobuf::FeatureSet_MessageEncoding value) { |
19942 | 0 | _internal_set_message_encoding(value); |
19943 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
19944 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSet.message_encoding) |
19945 | 0 | } |
19946 | 0 | inline ::google::protobuf::FeatureSet_MessageEncoding FeatureSet::_internal_message_encoding() const { |
19947 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19948 | 0 | return static_cast<::google::protobuf::FeatureSet_MessageEncoding>(_impl_.message_encoding_); |
19949 | 0 | } |
19950 | 0 | inline void FeatureSet::_internal_set_message_encoding(::google::protobuf::FeatureSet_MessageEncoding value) { |
19951 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19952 | 0 | assert(::google::protobuf::FeatureSet_MessageEncoding_IsValid(value)); |
19953 | 0 | _impl_.message_encoding_ = value; |
19954 | 0 | } |
19955 | | |
19956 | | // 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 = { |
19957 | 0 | inline bool FeatureSet::has_json_format() const { |
19958 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
19959 | 0 | return value; |
19960 | 0 | } |
19961 | 0 | inline void FeatureSet::clear_json_format() { |
19962 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19963 | 0 | _impl_.json_format_ = 0; |
19964 | 0 | _impl_._has_bits_[0] &= ~0x00000020u; |
19965 | 0 | } |
19966 | 0 | inline ::google::protobuf::FeatureSet_JsonFormat FeatureSet::json_format() const { |
19967 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSet.json_format) |
19968 | 0 | return _internal_json_format(); |
19969 | 0 | } |
19970 | 0 | inline void FeatureSet::set_json_format(::google::protobuf::FeatureSet_JsonFormat value) { |
19971 | 0 | _internal_set_json_format(value); |
19972 | 0 | _impl_._has_bits_[0] |= 0x00000020u; |
19973 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSet.json_format) |
19974 | 0 | } |
19975 | 0 | inline ::google::protobuf::FeatureSet_JsonFormat FeatureSet::_internal_json_format() const { |
19976 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
19977 | 0 | return static_cast<::google::protobuf::FeatureSet_JsonFormat>(_impl_.json_format_); |
19978 | 0 | } |
19979 | 0 | inline void FeatureSet::_internal_set_json_format(::google::protobuf::FeatureSet_JsonFormat value) { |
19980 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19981 | 0 | assert(::google::protobuf::FeatureSet_JsonFormat_IsValid(value)); |
19982 | 0 | _impl_.json_format_ = value; |
19983 | 0 | } |
19984 | | |
19985 | | // ------------------------------------------------------------------- |
19986 | | |
19987 | | // FeatureSetDefaults_FeatureSetEditionDefault |
19988 | | |
19989 | | // optional .google.protobuf.Edition edition = 3; |
19990 | 0 | inline bool FeatureSetDefaults_FeatureSetEditionDefault::has_edition() const { |
19991 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
19992 | 0 | return value; |
19993 | 0 | } |
19994 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::clear_edition() { |
19995 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
19996 | 0 | _impl_.edition_ = 0; |
19997 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
19998 | 0 | } |
19999 | 0 | inline ::google::protobuf::Edition FeatureSetDefaults_FeatureSetEditionDefault::edition() const { |
20000 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition) |
20001 | 0 | return _internal_edition(); |
20002 | 0 | } |
20003 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::set_edition(::google::protobuf::Edition value) { |
20004 | 0 | _internal_set_edition(value); |
20005 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
20006 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition) |
20007 | 0 | } |
20008 | 0 | inline ::google::protobuf::Edition FeatureSetDefaults_FeatureSetEditionDefault::_internal_edition() const { |
20009 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20010 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.edition_); |
20011 | 0 | } |
20012 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::_internal_set_edition(::google::protobuf::Edition value) { |
20013 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20014 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
20015 | 0 | _impl_.edition_ = value; |
20016 | 0 | } |
20017 | | |
20018 | | // optional .google.protobuf.FeatureSet overridable_features = 4; |
20019 | 0 | inline bool FeatureSetDefaults_FeatureSetEditionDefault::has_overridable_features() const { |
20020 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
20021 | 0 | PROTOBUF_ASSUME(!value || _impl_.overridable_features_ != nullptr); |
20022 | 0 | return value; |
20023 | 0 | } |
20024 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::clear_overridable_features() { |
20025 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20026 | 0 | if (_impl_.overridable_features_ != nullptr) _impl_.overridable_features_->Clear(); |
20027 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
20028 | 0 | } |
20029 | 0 | inline const ::google::protobuf::FeatureSet& FeatureSetDefaults_FeatureSetEditionDefault::_internal_overridable_features() const { |
20030 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20031 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.overridable_features_; |
20032 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
20033 | 0 | } |
20034 | 0 | inline const ::google::protobuf::FeatureSet& FeatureSetDefaults_FeatureSetEditionDefault::overridable_features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20035 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridable_features) |
20036 | 0 | return _internal_overridable_features(); |
20037 | 0 | } |
20038 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::unsafe_arena_set_allocated_overridable_features(::google::protobuf::FeatureSet* value) { |
20039 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20040 | 0 | if (GetArena() == nullptr) { |
20041 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.overridable_features_); |
20042 | 0 | } |
20043 | 0 | _impl_.overridable_features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
20044 | 0 | if (value != nullptr) { |
20045 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
20046 | 0 | } else { |
20047 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
20048 | 0 | } |
20049 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridable_features) |
20050 | 0 | } |
20051 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::release_overridable_features() { |
20052 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20053 | 0 |
|
20054 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
20055 | 0 | ::google::protobuf::FeatureSet* released = _impl_.overridable_features_; |
20056 | 0 | _impl_.overridable_features_ = nullptr; |
20057 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
20058 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
20059 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
20060 | 0 | if (GetArena() == nullptr) { |
20061 | 0 | delete old; |
20062 | 0 | } |
20063 | 0 | } else { |
20064 | 0 | if (GetArena() != nullptr) { |
20065 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
20066 | 0 | } |
20067 | 0 | } |
20068 | 0 | return released; |
20069 | 0 | } |
20070 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::unsafe_arena_release_overridable_features() { |
20071 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20072 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridable_features) |
20073 | 0 |
|
20074 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
20075 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.overridable_features_; |
20076 | 0 | _impl_.overridable_features_ = nullptr; |
20077 | 0 | return temp; |
20078 | 0 | } |
20079 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::_internal_mutable_overridable_features() { |
20080 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20081 | 0 | if (_impl_.overridable_features_ == nullptr) { |
20082 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
20083 | 0 | _impl_.overridable_features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
20084 | 0 | } |
20085 | 0 | return _impl_.overridable_features_; |
20086 | 0 | } |
20087 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::mutable_overridable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20088 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
20089 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_overridable_features(); |
20090 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridable_features) |
20091 | 0 | return _msg; |
20092 | 0 | } |
20093 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::set_allocated_overridable_features(::google::protobuf::FeatureSet* value) { |
20094 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
20095 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20096 | 0 | if (message_arena == nullptr) { |
20097 | 0 | delete (_impl_.overridable_features_); |
20098 | 0 | } |
20099 | 0 |
|
20100 | 0 | if (value != nullptr) { |
20101 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
20102 | 0 | if (message_arena != submessage_arena) { |
20103 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
20104 | 0 | } |
20105 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
20106 | 0 | } else { |
20107 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
20108 | 0 | } |
20109 | 0 |
|
20110 | 0 | _impl_.overridable_features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
20111 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridable_features) |
20112 | 0 | } |
20113 | | |
20114 | | // optional .google.protobuf.FeatureSet fixed_features = 5; |
20115 | 0 | inline bool FeatureSetDefaults_FeatureSetEditionDefault::has_fixed_features() const { |
20116 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
20117 | 0 | PROTOBUF_ASSUME(!value || _impl_.fixed_features_ != nullptr); |
20118 | 0 | return value; |
20119 | 0 | } |
20120 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::clear_fixed_features() { |
20121 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20122 | 0 | if (_impl_.fixed_features_ != nullptr) _impl_.fixed_features_->Clear(); |
20123 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
20124 | 0 | } |
20125 | 0 | inline const ::google::protobuf::FeatureSet& FeatureSetDefaults_FeatureSetEditionDefault::_internal_fixed_features() const { |
20126 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20127 | 0 | const ::google::protobuf::FeatureSet* p = _impl_.fixed_features_; |
20128 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::FeatureSet&>(::google::protobuf::_FeatureSet_default_instance_); |
20129 | 0 | } |
20130 | 0 | inline const ::google::protobuf::FeatureSet& FeatureSetDefaults_FeatureSetEditionDefault::fixed_features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20131 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixed_features) |
20132 | 0 | return _internal_fixed_features(); |
20133 | 0 | } |
20134 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::unsafe_arena_set_allocated_fixed_features(::google::protobuf::FeatureSet* value) { |
20135 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20136 | 0 | if (GetArena() == nullptr) { |
20137 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.fixed_features_); |
20138 | 0 | } |
20139 | 0 | _impl_.fixed_features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
20140 | 0 | if (value != nullptr) { |
20141 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
20142 | 0 | } else { |
20143 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
20144 | 0 | } |
20145 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixed_features) |
20146 | 0 | } |
20147 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::release_fixed_features() { |
20148 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20149 | 0 |
|
20150 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
20151 | 0 | ::google::protobuf::FeatureSet* released = _impl_.fixed_features_; |
20152 | 0 | _impl_.fixed_features_ = nullptr; |
20153 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
20154 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
20155 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
20156 | 0 | if (GetArena() == nullptr) { |
20157 | 0 | delete old; |
20158 | 0 | } |
20159 | 0 | } else { |
20160 | 0 | if (GetArena() != nullptr) { |
20161 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
20162 | 0 | } |
20163 | 0 | } |
20164 | 0 | return released; |
20165 | 0 | } |
20166 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::unsafe_arena_release_fixed_features() { |
20167 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20168 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixed_features) |
20169 | 0 |
|
20170 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
20171 | 0 | ::google::protobuf::FeatureSet* temp = _impl_.fixed_features_; |
20172 | 0 | _impl_.fixed_features_ = nullptr; |
20173 | 0 | return temp; |
20174 | 0 | } |
20175 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::_internal_mutable_fixed_features() { |
20176 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20177 | 0 | if (_impl_.fixed_features_ == nullptr) { |
20178 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::FeatureSet>(GetArena()); |
20179 | 0 | _impl_.fixed_features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(p); |
20180 | 0 | } |
20181 | 0 | return _impl_.fixed_features_; |
20182 | 0 | } |
20183 | 0 | inline ::google::protobuf::FeatureSet* FeatureSetDefaults_FeatureSetEditionDefault::mutable_fixed_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20184 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
20185 | 0 | ::google::protobuf::FeatureSet* _msg = _internal_mutable_fixed_features(); |
20186 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixed_features) |
20187 | 0 | return _msg; |
20188 | 0 | } |
20189 | 0 | inline void FeatureSetDefaults_FeatureSetEditionDefault::set_allocated_fixed_features(::google::protobuf::FeatureSet* value) { |
20190 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
20191 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20192 | 0 | if (message_arena == nullptr) { |
20193 | 0 | delete (_impl_.fixed_features_); |
20194 | 0 | } |
20195 | 0 |
|
20196 | 0 | if (value != nullptr) { |
20197 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
20198 | 0 | if (message_arena != submessage_arena) { |
20199 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
20200 | 0 | } |
20201 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
20202 | 0 | } else { |
20203 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
20204 | 0 | } |
20205 | 0 |
|
20206 | 0 | _impl_.fixed_features_ = reinterpret_cast<::google::protobuf::FeatureSet*>(value); |
20207 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixed_features) |
20208 | 0 | } |
20209 | | |
20210 | | // ------------------------------------------------------------------- |
20211 | | |
20212 | | // FeatureSetDefaults |
20213 | | |
20214 | | // repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1; |
20215 | 0 | inline int FeatureSetDefaults::_internal_defaults_size() const { |
20216 | 0 | return _internal_defaults().size(); |
20217 | 0 | } |
20218 | 0 | inline int FeatureSetDefaults::defaults_size() const { |
20219 | 0 | return _internal_defaults_size(); |
20220 | 0 | } |
20221 | 0 | inline void FeatureSetDefaults::clear_defaults() { |
20222 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20223 | 0 | _impl_.defaults_.Clear(); |
20224 | 0 | } |
20225 | | inline ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault* FeatureSetDefaults::mutable_defaults(int index) |
20226 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20227 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.FeatureSetDefaults.defaults) |
20228 | 0 | return _internal_mutable_defaults()->Mutable(index); |
20229 | 0 | } |
20230 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>* FeatureSetDefaults::mutable_defaults() |
20231 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20232 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FeatureSetDefaults.defaults) |
20233 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20234 | 0 | return _internal_mutable_defaults(); |
20235 | 0 | } |
20236 | | inline const ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault& FeatureSetDefaults::defaults(int index) const |
20237 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20238 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.defaults) |
20239 | 0 | return _internal_defaults().Get(index); |
20240 | 0 | } |
20241 | 0 | inline ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault* FeatureSetDefaults::add_defaults() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20242 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20243 | 0 | ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault* _add = _internal_mutable_defaults()->Add(); |
20244 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.FeatureSetDefaults.defaults) |
20245 | 0 | return _add; |
20246 | 0 | } |
20247 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>& FeatureSetDefaults::defaults() const |
20248 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20249 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.FeatureSetDefaults.defaults) |
20250 | 0 | return _internal_defaults(); |
20251 | 0 | } |
20252 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>& |
20253 | 0 | FeatureSetDefaults::_internal_defaults() const { |
20254 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20255 | 0 | return _impl_.defaults_; |
20256 | 0 | } |
20257 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>* |
20258 | 0 | FeatureSetDefaults::_internal_mutable_defaults() { |
20259 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20260 | 0 | return &_impl_.defaults_; |
20261 | 0 | } |
20262 | | |
20263 | | // optional .google.protobuf.Edition minimum_edition = 4; |
20264 | 0 | inline bool FeatureSetDefaults::has_minimum_edition() const { |
20265 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
20266 | 0 | return value; |
20267 | 0 | } |
20268 | 0 | inline void FeatureSetDefaults::clear_minimum_edition() { |
20269 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20270 | 0 | _impl_.minimum_edition_ = 0; |
20271 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
20272 | 0 | } |
20273 | 0 | inline ::google::protobuf::Edition FeatureSetDefaults::minimum_edition() const { |
20274 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.minimum_edition) |
20275 | 0 | return _internal_minimum_edition(); |
20276 | 0 | } |
20277 | 0 | inline void FeatureSetDefaults::set_minimum_edition(::google::protobuf::Edition value) { |
20278 | 0 | _internal_set_minimum_edition(value); |
20279 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
20280 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSetDefaults.minimum_edition) |
20281 | 0 | } |
20282 | 0 | inline ::google::protobuf::Edition FeatureSetDefaults::_internal_minimum_edition() const { |
20283 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20284 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.minimum_edition_); |
20285 | 0 | } |
20286 | 0 | inline void FeatureSetDefaults::_internal_set_minimum_edition(::google::protobuf::Edition value) { |
20287 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20288 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
20289 | 0 | _impl_.minimum_edition_ = value; |
20290 | 0 | } |
20291 | | |
20292 | | // optional .google.protobuf.Edition maximum_edition = 5; |
20293 | 0 | inline bool FeatureSetDefaults::has_maximum_edition() const { |
20294 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
20295 | 0 | return value; |
20296 | 0 | } |
20297 | 0 | inline void FeatureSetDefaults::clear_maximum_edition() { |
20298 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20299 | 0 | _impl_.maximum_edition_ = 0; |
20300 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
20301 | 0 | } |
20302 | 0 | inline ::google::protobuf::Edition FeatureSetDefaults::maximum_edition() const { |
20303 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.FeatureSetDefaults.maximum_edition) |
20304 | 0 | return _internal_maximum_edition(); |
20305 | 0 | } |
20306 | 0 | inline void FeatureSetDefaults::set_maximum_edition(::google::protobuf::Edition value) { |
20307 | 0 | _internal_set_maximum_edition(value); |
20308 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
20309 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.FeatureSetDefaults.maximum_edition) |
20310 | 0 | } |
20311 | 0 | inline ::google::protobuf::Edition FeatureSetDefaults::_internal_maximum_edition() const { |
20312 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20313 | 0 | return static_cast<::google::protobuf::Edition>(_impl_.maximum_edition_); |
20314 | 0 | } |
20315 | 0 | inline void FeatureSetDefaults::_internal_set_maximum_edition(::google::protobuf::Edition value) { |
20316 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20317 | 0 | assert(::google::protobuf::Edition_IsValid(value)); |
20318 | 0 | _impl_.maximum_edition_ = value; |
20319 | 0 | } |
20320 | | |
20321 | | // ------------------------------------------------------------------- |
20322 | | |
20323 | | // SourceCodeInfo_Location |
20324 | | |
20325 | | // repeated int32 path = 1 [packed = true]; |
20326 | 0 | inline int SourceCodeInfo_Location::_internal_path_size() const { |
20327 | 0 | return _internal_path().size(); |
20328 | 0 | } |
20329 | 0 | inline int SourceCodeInfo_Location::path_size() const { |
20330 | 0 | return _internal_path_size(); |
20331 | 0 | } |
20332 | 0 | inline void SourceCodeInfo_Location::clear_path() { |
20333 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20334 | 0 | _impl_.path_.Clear(); |
20335 | 0 | } |
20336 | 0 | inline ::int32_t SourceCodeInfo_Location::path(int index) const { |
20337 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.path) |
20338 | 0 | return _internal_path().Get(index); |
20339 | 0 | } |
20340 | 0 | inline void SourceCodeInfo_Location::set_path(int index, ::int32_t value) { |
20341 | 0 | _internal_mutable_path()->Set(index, value); |
20342 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.path) |
20343 | 0 | } |
20344 | 0 | inline void SourceCodeInfo_Location::add_path(::int32_t value) { |
20345 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20346 | 0 | _internal_mutable_path()->Add(value); |
20347 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.path) |
20348 | 0 | } |
20349 | | inline const ::google::protobuf::RepeatedField<::int32_t>& SourceCodeInfo_Location::path() const |
20350 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20351 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.path) |
20352 | 0 | return _internal_path(); |
20353 | 0 | } |
20354 | | inline ::google::protobuf::RepeatedField<::int32_t>* SourceCodeInfo_Location::mutable_path() |
20355 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20356 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.path) |
20357 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20358 | 0 | return _internal_mutable_path(); |
20359 | 0 | } |
20360 | | inline const ::google::protobuf::RepeatedField<::int32_t>& |
20361 | 0 | SourceCodeInfo_Location::_internal_path() const { |
20362 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20363 | 0 | return _impl_.path_; |
20364 | 0 | } |
20365 | 0 | inline ::google::protobuf::RepeatedField<::int32_t>* SourceCodeInfo_Location::_internal_mutable_path() { |
20366 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20367 | 0 | return &_impl_.path_; |
20368 | 0 | } |
20369 | | |
20370 | | // repeated int32 span = 2 [packed = true]; |
20371 | 0 | inline int SourceCodeInfo_Location::_internal_span_size() const { |
20372 | 0 | return _internal_span().size(); |
20373 | 0 | } |
20374 | 0 | inline int SourceCodeInfo_Location::span_size() const { |
20375 | 0 | return _internal_span_size(); |
20376 | 0 | } |
20377 | 0 | inline void SourceCodeInfo_Location::clear_span() { |
20378 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20379 | 0 | _impl_.span_.Clear(); |
20380 | 0 | } |
20381 | 0 | inline ::int32_t SourceCodeInfo_Location::span(int index) const { |
20382 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.span) |
20383 | 0 | return _internal_span().Get(index); |
20384 | 0 | } |
20385 | 0 | inline void SourceCodeInfo_Location::set_span(int index, ::int32_t value) { |
20386 | 0 | _internal_mutable_span()->Set(index, value); |
20387 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.span) |
20388 | 0 | } |
20389 | 0 | inline void SourceCodeInfo_Location::add_span(::int32_t value) { |
20390 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20391 | 0 | _internal_mutable_span()->Add(value); |
20392 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.span) |
20393 | 0 | } |
20394 | | inline const ::google::protobuf::RepeatedField<::int32_t>& SourceCodeInfo_Location::span() const |
20395 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20396 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.span) |
20397 | 0 | return _internal_span(); |
20398 | 0 | } |
20399 | | inline ::google::protobuf::RepeatedField<::int32_t>* SourceCodeInfo_Location::mutable_span() |
20400 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20401 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.span) |
20402 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20403 | 0 | return _internal_mutable_span(); |
20404 | 0 | } |
20405 | | inline const ::google::protobuf::RepeatedField<::int32_t>& |
20406 | 0 | SourceCodeInfo_Location::_internal_span() const { |
20407 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20408 | 0 | return _impl_.span_; |
20409 | 0 | } |
20410 | 0 | inline ::google::protobuf::RepeatedField<::int32_t>* SourceCodeInfo_Location::_internal_mutable_span() { |
20411 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20412 | 0 | return &_impl_.span_; |
20413 | 0 | } |
20414 | | |
20415 | | // optional string leading_comments = 3; |
20416 | 0 | inline bool SourceCodeInfo_Location::has_leading_comments() const { |
20417 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
20418 | 0 | return value; |
20419 | 0 | } |
20420 | 0 | inline void SourceCodeInfo_Location::clear_leading_comments() { |
20421 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20422 | 0 | _impl_.leading_comments_.ClearToEmpty(); |
20423 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
20424 | 0 | } |
20425 | | inline const std::string& SourceCodeInfo_Location::leading_comments() const |
20426 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20427 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments) |
20428 | 0 | return _internal_leading_comments(); |
20429 | 0 | } |
20430 | | template <typename Arg_, typename... Args_> |
20431 | | inline PROTOBUF_ALWAYS_INLINE void SourceCodeInfo_Location::set_leading_comments(Arg_&& arg, |
20432 | | Args_... args) { |
20433 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
20434 | | _impl_._has_bits_[0] |= 0x00000001u; |
20435 | | _impl_.leading_comments_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
20436 | | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments) |
20437 | | } |
20438 | 0 | inline std::string* SourceCodeInfo_Location::mutable_leading_comments() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20439 | 0 | std::string* _s = _internal_mutable_leading_comments(); |
20440 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments) |
20441 | 0 | return _s; |
20442 | 0 | } |
20443 | 0 | inline const std::string& SourceCodeInfo_Location::_internal_leading_comments() const { |
20444 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20445 | 0 | return _impl_.leading_comments_.Get(); |
20446 | 0 | } |
20447 | 0 | inline void SourceCodeInfo_Location::_internal_set_leading_comments(const std::string& value) { |
20448 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20449 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
20450 | 0 | _impl_.leading_comments_.Set(value, GetArena()); |
20451 | 0 | } |
20452 | 0 | inline std::string* SourceCodeInfo_Location::_internal_mutable_leading_comments() { |
20453 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20454 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
20455 | 0 | return _impl_.leading_comments_.Mutable( GetArena()); |
20456 | 0 | } |
20457 | 0 | inline std::string* SourceCodeInfo_Location::release_leading_comments() { |
20458 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20459 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.leading_comments) |
20460 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
20461 | 0 | return nullptr; |
20462 | 0 | } |
20463 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
20464 | 0 | auto* released = _impl_.leading_comments_.Release(); |
20465 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
20466 | 0 | _impl_.leading_comments_.Set("", GetArena()); |
20467 | 0 | } |
20468 | 0 | return released; |
20469 | 0 | } |
20470 | 0 | inline void SourceCodeInfo_Location::set_allocated_leading_comments(std::string* value) { |
20471 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20472 | 0 | if (value != nullptr) { |
20473 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
20474 | 0 | } else { |
20475 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
20476 | 0 | } |
20477 | 0 | _impl_.leading_comments_.SetAllocated(value, GetArena()); |
20478 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.leading_comments_.IsDefault()) { |
20479 | 0 | _impl_.leading_comments_.Set("", GetArena()); |
20480 | 0 | } |
20481 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments) |
20482 | 0 | } |
20483 | | |
20484 | | // optional string trailing_comments = 4; |
20485 | 0 | inline bool SourceCodeInfo_Location::has_trailing_comments() const { |
20486 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
20487 | 0 | return value; |
20488 | 0 | } |
20489 | 0 | inline void SourceCodeInfo_Location::clear_trailing_comments() { |
20490 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20491 | 0 | _impl_.trailing_comments_.ClearToEmpty(); |
20492 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
20493 | 0 | } |
20494 | | inline const std::string& SourceCodeInfo_Location::trailing_comments() const |
20495 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20496 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
20497 | 0 | return _internal_trailing_comments(); |
20498 | 0 | } |
20499 | | template <typename Arg_, typename... Args_> |
20500 | | inline PROTOBUF_ALWAYS_INLINE void SourceCodeInfo_Location::set_trailing_comments(Arg_&& arg, |
20501 | | Args_... args) { |
20502 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
20503 | | _impl_._has_bits_[0] |= 0x00000002u; |
20504 | | _impl_.trailing_comments_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
20505 | | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
20506 | | } |
20507 | 0 | inline std::string* SourceCodeInfo_Location::mutable_trailing_comments() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20508 | 0 | std::string* _s = _internal_mutable_trailing_comments(); |
20509 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
20510 | 0 | return _s; |
20511 | 0 | } |
20512 | 0 | inline const std::string& SourceCodeInfo_Location::_internal_trailing_comments() const { |
20513 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20514 | 0 | return _impl_.trailing_comments_.Get(); |
20515 | 0 | } |
20516 | 0 | inline void SourceCodeInfo_Location::_internal_set_trailing_comments(const std::string& value) { |
20517 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20518 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
20519 | 0 | _impl_.trailing_comments_.Set(value, GetArena()); |
20520 | 0 | } |
20521 | 0 | inline std::string* SourceCodeInfo_Location::_internal_mutable_trailing_comments() { |
20522 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20523 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
20524 | 0 | return _impl_.trailing_comments_.Mutable( GetArena()); |
20525 | 0 | } |
20526 | 0 | inline std::string* SourceCodeInfo_Location::release_trailing_comments() { |
20527 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20528 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
20529 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
20530 | 0 | return nullptr; |
20531 | 0 | } |
20532 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
20533 | 0 | auto* released = _impl_.trailing_comments_.Release(); |
20534 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
20535 | 0 | _impl_.trailing_comments_.Set("", GetArena()); |
20536 | 0 | } |
20537 | 0 | return released; |
20538 | 0 | } |
20539 | 0 | inline void SourceCodeInfo_Location::set_allocated_trailing_comments(std::string* value) { |
20540 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20541 | 0 | if (value != nullptr) { |
20542 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
20543 | 0 | } else { |
20544 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
20545 | 0 | } |
20546 | 0 | _impl_.trailing_comments_.SetAllocated(value, GetArena()); |
20547 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.trailing_comments_.IsDefault()) { |
20548 | 0 | _impl_.trailing_comments_.Set("", GetArena()); |
20549 | 0 | } |
20550 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
20551 | 0 | } |
20552 | | |
20553 | | // repeated string leading_detached_comments = 6; |
20554 | 0 | inline int SourceCodeInfo_Location::_internal_leading_detached_comments_size() const { |
20555 | 0 | return _internal_leading_detached_comments().size(); |
20556 | 0 | } |
20557 | 0 | inline int SourceCodeInfo_Location::leading_detached_comments_size() const { |
20558 | 0 | return _internal_leading_detached_comments_size(); |
20559 | 0 | } |
20560 | 0 | inline void SourceCodeInfo_Location::clear_leading_detached_comments() { |
20561 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20562 | 0 | _impl_.leading_detached_comments_.Clear(); |
20563 | 0 | } |
20564 | 0 | inline std::string* SourceCodeInfo_Location::add_leading_detached_comments() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20565 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20566 | 0 | std::string* _s = _internal_mutable_leading_detached_comments()->Add(); |
20567 | 0 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
20568 | 0 | return _s; |
20569 | 0 | } |
20570 | | inline const std::string& SourceCodeInfo_Location::leading_detached_comments(int index) const |
20571 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20572 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
20573 | 0 | return _internal_leading_detached_comments().Get(index); |
20574 | 0 | } |
20575 | | inline std::string* SourceCodeInfo_Location::mutable_leading_detached_comments(int index) |
20576 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20577 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
20578 | 0 | return _internal_mutable_leading_detached_comments()->Mutable(index); |
20579 | 0 | } |
20580 | | template <typename Arg_, typename... Args_> |
20581 | | inline void SourceCodeInfo_Location::set_leading_detached_comments(int index, Arg_&& value, Args_... args) { |
20582 | | ::google::protobuf::internal::AssignToString( |
20583 | | *_internal_mutable_leading_detached_comments()->Mutable(index), |
20584 | | std::forward<Arg_>(value), args... ); |
20585 | | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
20586 | | } |
20587 | | template <typename Arg_, typename... Args_> |
20588 | | inline void SourceCodeInfo_Location::add_leading_detached_comments(Arg_&& value, Args_... args) { |
20589 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
20590 | | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_leading_detached_comments(), |
20591 | | std::forward<Arg_>(value), |
20592 | | args... ); |
20593 | | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
20594 | | } |
20595 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
20596 | 0 | SourceCodeInfo_Location::leading_detached_comments() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20597 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
20598 | 0 | return _internal_leading_detached_comments(); |
20599 | 0 | } |
20600 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
20601 | 0 | SourceCodeInfo_Location::mutable_leading_detached_comments() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20602 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
20603 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20604 | 0 | return _internal_mutable_leading_detached_comments(); |
20605 | 0 | } |
20606 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
20607 | 0 | SourceCodeInfo_Location::_internal_leading_detached_comments() const { |
20608 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20609 | 0 | return _impl_.leading_detached_comments_; |
20610 | 0 | } |
20611 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
20612 | 0 | SourceCodeInfo_Location::_internal_mutable_leading_detached_comments() { |
20613 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20614 | 0 | return &_impl_.leading_detached_comments_; |
20615 | 0 | } |
20616 | | |
20617 | | // ------------------------------------------------------------------- |
20618 | | |
20619 | | // SourceCodeInfo |
20620 | | |
20621 | | // repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
20622 | 0 | inline int SourceCodeInfo::_internal_location_size() const { |
20623 | 0 | return _internal_location().size(); |
20624 | 0 | } |
20625 | 0 | inline int SourceCodeInfo::location_size() const { |
20626 | 0 | return _internal_location_size(); |
20627 | 0 | } |
20628 | 0 | inline void SourceCodeInfo::clear_location() { |
20629 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20630 | 0 | _impl_.location_.Clear(); |
20631 | 0 | } |
20632 | | inline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::mutable_location(int index) |
20633 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20634 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.location) |
20635 | 0 | return _internal_mutable_location()->Mutable(index); |
20636 | 0 | } |
20637 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>* SourceCodeInfo::mutable_location() |
20638 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20639 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.location) |
20640 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20641 | 0 | return _internal_mutable_location(); |
20642 | 0 | } |
20643 | | inline const ::google::protobuf::SourceCodeInfo_Location& SourceCodeInfo::location(int index) const |
20644 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20645 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location) |
20646 | 0 | return _internal_location().Get(index); |
20647 | 0 | } |
20648 | 0 | inline ::google::protobuf::SourceCodeInfo_Location* SourceCodeInfo::add_location() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20649 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20650 | 0 | ::google::protobuf::SourceCodeInfo_Location* _add = _internal_mutable_location()->Add(); |
20651 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location) |
20652 | 0 | return _add; |
20653 | 0 | } |
20654 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>& SourceCodeInfo::location() const |
20655 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20656 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location) |
20657 | 0 | return _internal_location(); |
20658 | 0 | } |
20659 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>& |
20660 | 0 | SourceCodeInfo::_internal_location() const { |
20661 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20662 | 0 | return _impl_.location_; |
20663 | 0 | } |
20664 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>* |
20665 | 0 | SourceCodeInfo::_internal_mutable_location() { |
20666 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20667 | 0 | return &_impl_.location_; |
20668 | 0 | } |
20669 | | |
20670 | | // ------------------------------------------------------------------- |
20671 | | |
20672 | | // GeneratedCodeInfo_Annotation |
20673 | | |
20674 | | // repeated int32 path = 1 [packed = true]; |
20675 | 0 | inline int GeneratedCodeInfo_Annotation::_internal_path_size() const { |
20676 | 0 | return _internal_path().size(); |
20677 | 0 | } |
20678 | 0 | inline int GeneratedCodeInfo_Annotation::path_size() const { |
20679 | 0 | return _internal_path_size(); |
20680 | 0 | } |
20681 | 0 | inline void GeneratedCodeInfo_Annotation::clear_path() { |
20682 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20683 | 0 | _impl_.path_.Clear(); |
20684 | 0 | } |
20685 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::path(int index) const { |
20686 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.path) |
20687 | 0 | return _internal_path().Get(index); |
20688 | 0 | } |
20689 | 0 | inline void GeneratedCodeInfo_Annotation::set_path(int index, ::int32_t value) { |
20690 | 0 | _internal_mutable_path()->Set(index, value); |
20691 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.path) |
20692 | 0 | } |
20693 | 0 | inline void GeneratedCodeInfo_Annotation::add_path(::int32_t value) { |
20694 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20695 | 0 | _internal_mutable_path()->Add(value); |
20696 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.Annotation.path) |
20697 | 0 | } |
20698 | | inline const ::google::protobuf::RepeatedField<::int32_t>& GeneratedCodeInfo_Annotation::path() const |
20699 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20700 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.Annotation.path) |
20701 | 0 | return _internal_path(); |
20702 | 0 | } |
20703 | | inline ::google::protobuf::RepeatedField<::int32_t>* GeneratedCodeInfo_Annotation::mutable_path() |
20704 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20705 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.Annotation.path) |
20706 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20707 | 0 | return _internal_mutable_path(); |
20708 | 0 | } |
20709 | | inline const ::google::protobuf::RepeatedField<::int32_t>& |
20710 | 0 | GeneratedCodeInfo_Annotation::_internal_path() const { |
20711 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20712 | 0 | return _impl_.path_; |
20713 | 0 | } |
20714 | 0 | inline ::google::protobuf::RepeatedField<::int32_t>* GeneratedCodeInfo_Annotation::_internal_mutable_path() { |
20715 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20716 | 0 | return &_impl_.path_; |
20717 | 0 | } |
20718 | | |
20719 | | // optional string source_file = 2; |
20720 | 0 | inline bool GeneratedCodeInfo_Annotation::has_source_file() const { |
20721 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
20722 | 0 | return value; |
20723 | 0 | } |
20724 | 0 | inline void GeneratedCodeInfo_Annotation::clear_source_file() { |
20725 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20726 | 0 | _impl_.source_file_.ClearToEmpty(); |
20727 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
20728 | 0 | } |
20729 | | inline const std::string& GeneratedCodeInfo_Annotation::source_file() const |
20730 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20731 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
20732 | 0 | return _internal_source_file(); |
20733 | 0 | } |
20734 | | template <typename Arg_, typename... Args_> |
20735 | | inline PROTOBUF_ALWAYS_INLINE void GeneratedCodeInfo_Annotation::set_source_file(Arg_&& arg, |
20736 | | Args_... args) { |
20737 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
20738 | | _impl_._has_bits_[0] |= 0x00000001u; |
20739 | | _impl_.source_file_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
20740 | | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
20741 | | } |
20742 | 0 | inline std::string* GeneratedCodeInfo_Annotation::mutable_source_file() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20743 | 0 | std::string* _s = _internal_mutable_source_file(); |
20744 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
20745 | 0 | return _s; |
20746 | 0 | } |
20747 | 0 | inline const std::string& GeneratedCodeInfo_Annotation::_internal_source_file() const { |
20748 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20749 | 0 | return _impl_.source_file_.Get(); |
20750 | 0 | } |
20751 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_set_source_file(const std::string& value) { |
20752 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20753 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
20754 | 0 | _impl_.source_file_.Set(value, GetArena()); |
20755 | 0 | } |
20756 | 0 | inline std::string* GeneratedCodeInfo_Annotation::_internal_mutable_source_file() { |
20757 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20758 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
20759 | 0 | return _impl_.source_file_.Mutable( GetArena()); |
20760 | 0 | } |
20761 | 0 | inline std::string* GeneratedCodeInfo_Annotation::release_source_file() { |
20762 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20763 | 0 | // @@protoc_insertion_point(field_release:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
20764 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
20765 | 0 | return nullptr; |
20766 | 0 | } |
20767 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
20768 | 0 | auto* released = _impl_.source_file_.Release(); |
20769 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
20770 | 0 | _impl_.source_file_.Set("", GetArena()); |
20771 | 0 | } |
20772 | 0 | return released; |
20773 | 0 | } |
20774 | 0 | inline void GeneratedCodeInfo_Annotation::set_allocated_source_file(std::string* value) { |
20775 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20776 | 0 | if (value != nullptr) { |
20777 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
20778 | 0 | } else { |
20779 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
20780 | 0 | } |
20781 | 0 | _impl_.source_file_.SetAllocated(value, GetArena()); |
20782 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.source_file_.IsDefault()) { |
20783 | 0 | _impl_.source_file_.Set("", GetArena()); |
20784 | 0 | } |
20785 | 0 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
20786 | 0 | } |
20787 | | |
20788 | | // optional int32 begin = 3; |
20789 | 0 | inline bool GeneratedCodeInfo_Annotation::has_begin() const { |
20790 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
20791 | 0 | return value; |
20792 | 0 | } |
20793 | 0 | inline void GeneratedCodeInfo_Annotation::clear_begin() { |
20794 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20795 | 0 | _impl_.begin_ = 0; |
20796 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
20797 | 0 | } |
20798 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::begin() const { |
20799 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.begin) |
20800 | 0 | return _internal_begin(); |
20801 | 0 | } |
20802 | 0 | inline void GeneratedCodeInfo_Annotation::set_begin(::int32_t value) { |
20803 | 0 | _internal_set_begin(value); |
20804 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
20805 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.begin) |
20806 | 0 | } |
20807 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::_internal_begin() const { |
20808 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20809 | 0 | return _impl_.begin_; |
20810 | 0 | } |
20811 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_set_begin(::int32_t value) { |
20812 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20813 | 0 | _impl_.begin_ = value; |
20814 | 0 | } |
20815 | | |
20816 | | // optional int32 end = 4; |
20817 | 0 | inline bool GeneratedCodeInfo_Annotation::has_end() const { |
20818 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
20819 | 0 | return value; |
20820 | 0 | } |
20821 | 0 | inline void GeneratedCodeInfo_Annotation::clear_end() { |
20822 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20823 | 0 | _impl_.end_ = 0; |
20824 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
20825 | 0 | } |
20826 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::end() const { |
20827 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.end) |
20828 | 0 | return _internal_end(); |
20829 | 0 | } |
20830 | 0 | inline void GeneratedCodeInfo_Annotation::set_end(::int32_t value) { |
20831 | 0 | _internal_set_end(value); |
20832 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
20833 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.end) |
20834 | 0 | } |
20835 | 0 | inline ::int32_t GeneratedCodeInfo_Annotation::_internal_end() const { |
20836 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20837 | 0 | return _impl_.end_; |
20838 | 0 | } |
20839 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_set_end(::int32_t value) { |
20840 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20841 | 0 | _impl_.end_ = value; |
20842 | 0 | } |
20843 | | |
20844 | | // optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; |
20845 | 0 | inline bool GeneratedCodeInfo_Annotation::has_semantic() const { |
20846 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
20847 | 0 | return value; |
20848 | 0 | } |
20849 | 0 | inline void GeneratedCodeInfo_Annotation::clear_semantic() { |
20850 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20851 | 0 | _impl_.semantic_ = 0; |
20852 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
20853 | 0 | } |
20854 | 0 | inline ::google::protobuf::GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation::semantic() const { |
20855 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.semantic) |
20856 | 0 | return _internal_semantic(); |
20857 | 0 | } |
20858 | 0 | inline void GeneratedCodeInfo_Annotation::set_semantic(::google::protobuf::GeneratedCodeInfo_Annotation_Semantic value) { |
20859 | 0 | _internal_set_semantic(value); |
20860 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
20861 | 0 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.semantic) |
20862 | 0 | } |
20863 | 0 | inline ::google::protobuf::GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation::_internal_semantic() const { |
20864 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20865 | 0 | return static_cast<::google::protobuf::GeneratedCodeInfo_Annotation_Semantic>(_impl_.semantic_); |
20866 | 0 | } |
20867 | 0 | inline void GeneratedCodeInfo_Annotation::_internal_set_semantic(::google::protobuf::GeneratedCodeInfo_Annotation_Semantic value) { |
20868 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20869 | 0 | assert(::google::protobuf::GeneratedCodeInfo_Annotation_Semantic_IsValid(value)); |
20870 | 0 | _impl_.semantic_ = value; |
20871 | 0 | } |
20872 | | |
20873 | | // ------------------------------------------------------------------- |
20874 | | |
20875 | | // GeneratedCodeInfo |
20876 | | |
20877 | | // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
20878 | 0 | inline int GeneratedCodeInfo::_internal_annotation_size() const { |
20879 | 0 | return _internal_annotation().size(); |
20880 | 0 | } |
20881 | 0 | inline int GeneratedCodeInfo::annotation_size() const { |
20882 | 0 | return _internal_annotation_size(); |
20883 | 0 | } |
20884 | 0 | inline void GeneratedCodeInfo::clear_annotation() { |
20885 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20886 | 0 | _impl_.annotation_.Clear(); |
20887 | 0 | } |
20888 | | inline ::google::protobuf::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::mutable_annotation(int index) |
20889 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20890 | 0 | // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.annotation) |
20891 | 0 | return _internal_mutable_annotation()->Mutable(index); |
20892 | 0 | } |
20893 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>* GeneratedCodeInfo::mutable_annotation() |
20894 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20895 | 0 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.annotation) |
20896 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20897 | 0 | return _internal_mutable_annotation(); |
20898 | 0 | } |
20899 | | inline const ::google::protobuf::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::annotation(int index) const |
20900 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20901 | 0 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.annotation) |
20902 | 0 | return _internal_annotation().Get(index); |
20903 | 0 | } |
20904 | 0 | inline ::google::protobuf::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::add_annotation() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20905 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
20906 | 0 | ::google::protobuf::GeneratedCodeInfo_Annotation* _add = _internal_mutable_annotation()->Add(); |
20907 | 0 | // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.annotation) |
20908 | 0 | return _add; |
20909 | 0 | } |
20910 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>& GeneratedCodeInfo::annotation() const |
20911 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
20912 | 0 | // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.annotation) |
20913 | 0 | return _internal_annotation(); |
20914 | 0 | } |
20915 | | inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>& |
20916 | 0 | GeneratedCodeInfo::_internal_annotation() const { |
20917 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20918 | 0 | return _impl_.annotation_; |
20919 | 0 | } |
20920 | | inline ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>* |
20921 | 0 | GeneratedCodeInfo::_internal_mutable_annotation() { |
20922 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
20923 | 0 | return &_impl_.annotation_; |
20924 | 0 | } |
20925 | | |
20926 | | #ifdef __GNUC__ |
20927 | | #pragma GCC diagnostic pop |
20928 | | #endif // __GNUC__ |
20929 | | |
20930 | | // @@protoc_insertion_point(namespace_scope) |
20931 | | } // namespace protobuf |
20932 | | } // namespace google |
20933 | | |
20934 | | |
20935 | | namespace google { |
20936 | | namespace protobuf { |
20937 | | |
20938 | | template <> |
20939 | | struct is_proto_enum<::google::protobuf::ExtensionRangeOptions_VerificationState> : std::true_type {}; |
20940 | | template <> |
20941 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::ExtensionRangeOptions_VerificationState>() { |
20942 | 0 | return ::google::protobuf::ExtensionRangeOptions_VerificationState_descriptor(); |
20943 | 0 | } |
20944 | | template <> |
20945 | | struct is_proto_enum<::google::protobuf::FieldDescriptorProto_Type> : std::true_type {}; |
20946 | | template <> |
20947 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FieldDescriptorProto_Type>() { |
20948 | 0 | return ::google::protobuf::FieldDescriptorProto_Type_descriptor(); |
20949 | 0 | } |
20950 | | template <> |
20951 | | struct is_proto_enum<::google::protobuf::FieldDescriptorProto_Label> : std::true_type {}; |
20952 | | template <> |
20953 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FieldDescriptorProto_Label>() { |
20954 | 0 | return ::google::protobuf::FieldDescriptorProto_Label_descriptor(); |
20955 | 0 | } |
20956 | | template <> |
20957 | | struct is_proto_enum<::google::protobuf::FileOptions_OptimizeMode> : std::true_type {}; |
20958 | | template <> |
20959 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FileOptions_OptimizeMode>() { |
20960 | 0 | return ::google::protobuf::FileOptions_OptimizeMode_descriptor(); |
20961 | 0 | } |
20962 | | template <> |
20963 | | struct is_proto_enum<::google::protobuf::FieldOptions_CType> : std::true_type {}; |
20964 | | template <> |
20965 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FieldOptions_CType>() { |
20966 | 0 | return ::google::protobuf::FieldOptions_CType_descriptor(); |
20967 | 0 | } |
20968 | | template <> |
20969 | | struct is_proto_enum<::google::protobuf::FieldOptions_JSType> : std::true_type {}; |
20970 | | template <> |
20971 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FieldOptions_JSType>() { |
20972 | 0 | return ::google::protobuf::FieldOptions_JSType_descriptor(); |
20973 | 0 | } |
20974 | | template <> |
20975 | | struct is_proto_enum<::google::protobuf::FieldOptions_OptionRetention> : std::true_type {}; |
20976 | | template <> |
20977 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FieldOptions_OptionRetention>() { |
20978 | 0 | return ::google::protobuf::FieldOptions_OptionRetention_descriptor(); |
20979 | 0 | } |
20980 | | template <> |
20981 | | struct is_proto_enum<::google::protobuf::FieldOptions_OptionTargetType> : std::true_type {}; |
20982 | | template <> |
20983 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FieldOptions_OptionTargetType>() { |
20984 | 0 | return ::google::protobuf::FieldOptions_OptionTargetType_descriptor(); |
20985 | 0 | } |
20986 | | template <> |
20987 | | struct is_proto_enum<::google::protobuf::MethodOptions_IdempotencyLevel> : std::true_type {}; |
20988 | | template <> |
20989 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::MethodOptions_IdempotencyLevel>() { |
20990 | 0 | return ::google::protobuf::MethodOptions_IdempotencyLevel_descriptor(); |
20991 | 0 | } |
20992 | | template <> |
20993 | | struct is_proto_enum<::google::protobuf::FeatureSet_FieldPresence> : std::true_type {}; |
20994 | | template <> |
20995 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FeatureSet_FieldPresence>() { |
20996 | 0 | return ::google::protobuf::FeatureSet_FieldPresence_descriptor(); |
20997 | 0 | } |
20998 | | template <> |
20999 | | struct is_proto_enum<::google::protobuf::FeatureSet_EnumType> : std::true_type {}; |
21000 | | template <> |
21001 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FeatureSet_EnumType>() { |
21002 | 0 | return ::google::protobuf::FeatureSet_EnumType_descriptor(); |
21003 | 0 | } |
21004 | | template <> |
21005 | | struct is_proto_enum<::google::protobuf::FeatureSet_RepeatedFieldEncoding> : std::true_type {}; |
21006 | | template <> |
21007 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FeatureSet_RepeatedFieldEncoding>() { |
21008 | 0 | return ::google::protobuf::FeatureSet_RepeatedFieldEncoding_descriptor(); |
21009 | 0 | } |
21010 | | template <> |
21011 | | struct is_proto_enum<::google::protobuf::FeatureSet_Utf8Validation> : std::true_type {}; |
21012 | | template <> |
21013 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FeatureSet_Utf8Validation>() { |
21014 | 0 | return ::google::protobuf::FeatureSet_Utf8Validation_descriptor(); |
21015 | 0 | } |
21016 | | template <> |
21017 | | struct is_proto_enum<::google::protobuf::FeatureSet_MessageEncoding> : std::true_type {}; |
21018 | | template <> |
21019 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FeatureSet_MessageEncoding>() { |
21020 | 0 | return ::google::protobuf::FeatureSet_MessageEncoding_descriptor(); |
21021 | 0 | } |
21022 | | template <> |
21023 | | struct is_proto_enum<::google::protobuf::FeatureSet_JsonFormat> : std::true_type {}; |
21024 | | template <> |
21025 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::FeatureSet_JsonFormat>() { |
21026 | 0 | return ::google::protobuf::FeatureSet_JsonFormat_descriptor(); |
21027 | 0 | } |
21028 | | template <> |
21029 | | struct is_proto_enum<::google::protobuf::GeneratedCodeInfo_Annotation_Semantic> : std::true_type {}; |
21030 | | template <> |
21031 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::GeneratedCodeInfo_Annotation_Semantic>() { |
21032 | 0 | return ::google::protobuf::GeneratedCodeInfo_Annotation_Semantic_descriptor(); |
21033 | 0 | } |
21034 | | template <> |
21035 | | struct is_proto_enum<::google::protobuf::Edition> : std::true_type {}; |
21036 | | template <> |
21037 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::Edition>() { |
21038 | 0 | return ::google::protobuf::Edition_descriptor(); |
21039 | 0 | } |
21040 | | |
21041 | | } // namespace protobuf |
21042 | | } // namespace google |
21043 | | |
21044 | | // @@protoc_insertion_point(global_scope) |
21045 | | |
21046 | | #include "google/protobuf/port_undef.inc" |
21047 | | |
21048 | | #endif // google_2fprotobuf_2fdescriptor_2eproto_2epb_2eh |